Re: Failed: phase compiling: matplotlib-py37-1.5.3-1 failed
Hanspeter Niederstrasser <[email protected]>
| Newsgroups | gmane.os.apple.fink.beginners |
|---|---|
| Organization | Snaggled Works |
| Message-ID | <[email protected]> |
On 10/4/20 5:18 PM, Stephen Kawalko wrote:
> 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
On 10.13, I'm getting the same failure for py27, py36, and py37. Both
built for me last year, suggesting that this is a missing declared
dependency that got uninstalled at some point.
Since you have a working matplotlib-py27, an option is to run the
command `fink list -i py37 py27` to show which pythonmods you have
installed for py27 but are missing for py37, and see if installing those
fixes the py37 build.
How does the above diagnostic output look for matplotlib-py27? Do any of
the agg sections look different?
Hanspeter
_______________________________________________
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