Failed: phase compiling: matplotlib-py37-1.5.3-1 failed
Stephen Kawalko <[email protected]>
| Newsgroups | gmane.os.apple.fink.beginners |
|---|---|
| Message-ID | <[email protected]> |
I encountered a 2nd problem trying to install matplotlib-py37. This time it’s with matplotlib itself instead of a dependancy. I have the current version of fink and Xcode installed. FWIW, matplotlib-py27 installs without a hitch.
[user@computer]$ fink install matplotlib-py37
Information about 10342 packages read in 1 seconds.
The following package will be installed or updated:
matplotlib-py37
Setting runtime build-lock...
dpkg-deb -b /opt/sw/src/fink.build/root-fink-buildlock-matplotlib-py37-1.5.3-1 /opt/sw/src/fink.build
dpkg-deb: building package `fink-buildlock-matplotlib-py37-1.5.3-1' in `/opt/sw/src/fink.build/fink-buildlock-matplotlib-py37-1.5.3-1_2020.10.04-14.45.22_darwin-x86_64.deb'.
Installing build-lock package...
/opt/sw/bin/dpkg-lockwait -i /opt/sw/src/fink.build/fink-buildlock-matplotlib-py37-1.5.3-1_2020.10.04-14.45.22_darwin-x86_64.deb
Selecting previously deselected package fink-buildlock-matplotlib-py37-1.5.3-1.
(Reading database ... 290970 files and directories currently installed.)
Unpacking fink-buildlock-matplotlib-py37-1.5.3-1 (from .../fink-buildlock-matplotlib-py37-1.5.3-1_2020.10.04-14.45.22_darwin-x86_64.deb) ...
Setting up fink-buildlock-matplotlib-py37-1.5.3-1 (2020.10.04-14.45.22) ...
sudo -u fink-bld [ENV] sh -c /tmp/fink.HmuD0
env LANG=C LC_ALL=C /opt/sw/bin/tar --no-same-owner --no-same-permissions -xf /opt/sw/src/matplotlib-1.5.3.tar.gz
sudo -u fink-bld [ENV] sh -c /tmp/fink.z8CT_
[ -r /opt/sw/fink/dists/stable/main/finkinfo/sci/matplotlib-py.patch ]
sudo -u fink-bld [ENV] sh -c /tmp/fink.mnb8D
sed 's|@PREFIX@|/opt/sw|g' < /opt/sw/fink/dists/stable/main/finkinfo/sci/matplotlib-py.patch | patch -p1
patching file lib/matplotlib/font_manager.py
patching file setup.cfg.template
patching file setup.py
patching file setupext.py
Hunk #1 succeeded at 154 (offset 4 lines).
Hunk #2 succeeded at 1011 (offset 8 lines).
patching file src/qhull_wrap.c
sudo -u fink-bld [ENV] sh -c /tmp/fink.TUqwn
/tmp/fink.uLeqR
#!/bin/sh -ev
if [ 37 -ge 30 ]; then
egrep -v '^gtk|^wxagg|^cairo' setup.cfg.template > setup.cfg
else
cp -a setup.cfg{.template,}
fi
export PKG_CONFIG_PATH="/opt/sw/lib/glib-2.0/pkgconfig-strict:$PKG_CONFIG_PATH"
/opt/sw/bin/python3.7 setup.py build
============================================================================
Edit setup.cfg to change the build options
BUILDING MATPLOTLIB
matplotlib: yes [1.5.3]
python: yes [3.7.8 (default, Jul 31 2020, 19:28:16) [Clang
11.0.3 (clang-1103.0.32.62)]]
platform: yes [darwin]
REQUIRED DEPENDENCIES AND EXTENSIONS
numpy: yes [version 1.14.5]
dateutil: yes [using dateutil version 2.7.3]
pytz: yes [using pytz version 2020.1]
cycler: yes [using cycler version 0.10.0]
tornado: yes [using tornado version 5.1]
pyparsing: yes [using pyparsing version 2.4.5]
libagg: yes [pkg-config information for 'libagg' could not
be found. Using local copy.]
freetype: yes [version 2.6.3]
png: yes [version 1.6.37]
qhull: yes [Using system Qhull (version unknown, no pkg-
config info)]
OPTIONAL SUBPACKAGES
sample_data: yes [installing]
toolkits: yes [installing]
tests: yes [nose 0.11.1 or later is required to run the
matplotlib test suite. Please install it with pip or
your preferred tool to run the test suite / using
unittest.mock]
toolkits_tests: yes [nose 0.11.1 or later is required to run the
matplotlib test suite. Please install it with pip or
your preferred tool to run the test suite / using
unittest.mock]
OPTIONAL BACKEND EXTENSIONS
macosx: yes [installing, darwin]
objc[84572]: +[__NSCFConstantString initialize] may have been in progress in another thread when fork() was called.
objc[84572]: +[__NSCFConstantString initialize] may have been in progress in another thread when fork() was called. We cannot safely call it or ignore it in the fork() child process. Crashing instead. Set a breakpoint on objc_initializeAfterForkError to debug.
qt5agg: no [Check timed out]
objc[84590]: +[__NSCFConstantString initialize] may have been in progress in another thread when fork() was called.
objc[84590]: +[__NSCFConstantString initialize] may have been in progress in another thread when fork() was called. We cannot safely call it or ignore it in the fork() child process. Crashing instead. Set a breakpoint on objc_initializeAfterForkError to debug.
qt4agg: no [Check timed out]
gtk3agg: no [Requires pygobject to be installed.]
gtk3cairo: no [Requires cairocffi or pycairo to be installed.]
gtkagg: no [Requires pygtk]
tkagg: yes [installing; run-time loading from Python Tcl /
Tk]
wxagg: no [requires wxPython]
gtk: no [Requires pygtk]
agg: yes [installing]
cairo: no [cairocffi or pycairo not found]
windowing: no [Microsoft Windows only]
OPTIONAL LATEX DEPENDENCIES
dvipng: yes [version 1.14]
ghostscript: yes [version 9.14]
latex: yes [version 3.14159265]
pdftops: yes [version 0.26.2]
OPTIONAL PACKAGE DATA
dlls: no [skipping due to configuration]
============================================================================
* The following required packages can not be built:
* qt5agg
### execution of /tmp/fink.uLeqR failed, exit code 1
### execution of /tmp/fink.TUqwn failed, exit code 1
Removing runtime build-lock...
Removing build-lock package...
/opt/sw/bin/dpkg-lockwait -r fink-buildlock-matplotlib-py37-1.5.3-1
(Reading database ... 290971 files and directories currently installed.)
Removing fink-buildlock-matplotlib-py37-1.5.3-1 ...
Failed: phase compiling: matplotlib-py37-1.5.3-1 failed
Before reporting any errors, please run "fink selfupdate" and try again.
Also try using "fink configure" to set your maximum build jobs to 1 and
attempt to build the package again.
If you continue to have issues, please check to see if the FAQ on Fink's
website solves the problem. If not, ask on one (not both, please) of
these mailing lists:
The Fink Users List <[email protected]>
The Fink Beginners List <[email protected]>,
with a carbon copy to the maintainer:
Kurt Schwehr <[email protected]>
Note that this is preferable to emailing just the maintainer directly,
since most fink package maintainers do not have access to all possible
hardware and software configurations.
Please try to include the complete error message in your report. This
generally consists of a compiler line starting with e.g. "gcc" or "g++"
followed by the actual error output from the compiler.
Also include the following system information:
Package manager version: 0.45.2
Distribution version: selfupdate-rsync Sun Oct 4 14:44:05 2020, 10.15, x86_64
Trees: local/main stable/main
Xcode.app: 12.0.1
Xcode command-line tools: 12.0.0.0.1.1599194153
Max. Fink build jobs: 16
——
Stephen Kawalko
_______________________________________________
Fink-beginners mailing list
[email protected]
List archive:
https://sourceforge.net/p/fink/mailman/fink-users/
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-beginners