#11686: Race condition in matplotlib mkdir()
------------------------------+---------------------------------------------
   Reporter:  jdemeyer        |          Owner:  tbd          
       Type:  defect          |         Status:  needs_work   
   Priority:  minor           |      Milestone:  sage-4.7.2   
  Component:  packages        |       Keywords:               
Work_issues:                  |       Upstream:  N/A          
   Reviewer:  Leif Leonhardy  |         Author:  John Palmieri
     Merged:                  |   Dependencies:               
------------------------------+---------------------------------------------
Changes (by jdemeyer):

  * status:  positive_review => needs_work


Comment:

 This fails on the buildbot machine `iras`:
 {{{
 Warning: Attempted to overwrite SAGE_ROOT environment variable
 matplotlib-1.0.1.p0
 Machine:
 Linux iras 2.6.16.46-0.12-default #1 SMP Thu May 17 14:00:09 UTC 2007 ia64
 ia64 ia64 GNU/Linux
 [...]
 ============================================================================
 BUILDING MATPLOTLIB
             matplotlib: 1.0.1
                 python: 2.6.4 (r264:75706, Aug 16 2011, 18:26:56)  [GCC
                         4.6.1]
               platform: linux2

 REQUIRED DEPENDENCIES
                  numpy: 1.5.1
              freetype2: found, but unknown version (no pkg-config)

 OPTIONAL BACKEND DEPENDENCIES
                 libpng: found, but unknown version (no pkg-config)
                   Gtk+: no
                         * Building for Gtk+ requires pygtk; you must be
 able
                         * to "import gtk" in your build/install
 environment
                     Qt: no
                    Qt4: no
                  Cairo: no

 OPTIONAL DATE/TIMEZONE DEPENDENCIES
               datetime: present, version unknown
               dateutil: matplotlib will provide
                   pytz: matplotlib will provide
 adding pytz

 OPTIONAL USETEX DEPENDENCIES
                 dvipng: no
            ghostscript: 8.15.3
                  latex: no
 [...]
 building 'matplotlib._png' extension
 gcc -fno-strict-aliasing -g -O2 -DNDEBUG -g -O3 -Wall -Wstrict-prototypes
 -fPIC -DPY_ARRAY_UNIQUE_SYMBOL=MPL_ARRAY_API -DPYCXX_ISO_CPP_LIB=1
 
-I/home/buildbot/build/sage/iras-1/iras_full/build/sage-4.7.2.alpha1/local/include
 -I.
 
-I/home/buildbot/build/sage/iras-1/iras_full/build/sage-4.7.2.alpha1/local/lib/python2.6
 /site-packages/numpy/core/include -I.
 
-I/home/buildbot/build/sage/iras-1/iras_full/build/sage-4.7.2.alpha1/local/include/python2.6
 -c src/_png.cpp -o build/temp.linux-ia64-2.6/src/_png.o
 cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for
 Ada/C/ObjC but not for C++ [enabled by default]
 src/_png.cpp: In function ‘void init_png()’:
 src/_png.cpp:485:25: warning: variable ‘_png’ set but not used [-Wunused-
 but-set-variable]
 g++ -pthread -shared build/temp.linux-ia64-2.6/src/_png.o build/temp
 .linux-ia64-2.6/src/mplutils.o build/temp.linux-ia64-2.6/CXX/cxxsupport.o
 build/temp.linux-ia64-2.6/CXX/cxx_extensions.o build/temp.linux-
 ia64-2.6/CXX/IndirectPythonInterface.o build/temp.linux-
 ia64-2.6/CXX/cxxextensions.o
 -L/home/buildbot/build/sage/iras-1/iras_full/build/sage-4.7.2.alpha1/local/lib
 -L/home/buildbot/build/sage/iras-1/iras_full/build/sage-4.7.2.alpha1/local/lib
 -lpng -lz -lstdc++ -lm -lpython2.6 -o build/lib.linux-
 ia64-2.6/matplotlib/_png.so
 /usr/local/binutils-2.21/ia64-Linux-suse-gcc-4.5.1/bin/ld: cannot find
 -lpng
 collect2: ld returned 1 exit status
 error: command 'g++' failed with exit status 1
 Error building matplotlib package.
 }}}

 Full log:
 
[http://build.sagemath.org/sage/builders/SUSE%20ES10-64%20%28iras%29/builds/161/steps/shell_1/logs/matplotlib/text]

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/11686#comment:37>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica, 
and MATLAB

-- 
You received this message because you are subscribed to the Google Groups 
"sage-trac" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/sage-trac?hl=en.

Reply via email to