#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:
------------------------------+---------------------------------------------
Comment(by leif):
Replying to [comment:37 jdemeyer]:
> This fails on the buildbot machine `iras`:
{{{
...
OPTIONAL BACKEND DEPENDENCIES
libpng: found, but unknown version (no pkg-config)
...
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
}}}
Read the ticket.
This is unrelated to the MPL spkg, but due to a messed-up `libpng12.pc`
file.
If you first reinstall the `libpng12` spkg, and then MPL, all should work
fine.
(Or fix `local/lib/pkgconfig/libpng12.pc` manually, most probably by
deleting the line `SAGE_ROOT=${SAGE_ROOT}`. Another cause can be having
`PKG_CONFIG_PATH` set outside the Sage environment, which is a bug in
`sage-env`, cf. also #11687.)
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/11686#comment:38>
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.