[MacPorts] #69546: py312-matplotlib fails to install on eMac with Leopard 10.5.8 - all dependencies installed.
MacPorts
noreply at macports.org
Wed Mar 20 05:02:10 UTC 2024
#69546: py312-matplotlib fails to install on eMac with Leopard 10.5.8 - all
dependencies installed.
-----------------------+------------------------------
Reporter: ilovecrts | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.9.1
Keywords: | Port: py312-matplotlib
-----------------------+------------------------------
I have been trying to install py312-matplotlib with "sudo port install
py312-matplotlib".
I am doing this on an eMac running Leopard 10.5.8.
All the dependencies installed successfully! Hooray!
Now I just need to get matplotlib installed. Here is the terminal output
when I attempt to install.
{{{
XXXXX:~ YYYYY$ sudo port clean py312-matplotlib
---> Cleaning py312-matplotlib
XXXXX:~ YYYYY$ sudo port install py312-matplotlib
---> Computing dependencies for py312-matplotlib
---> Fetching archive for py312-matplotlib
---> Attempting to fetch
py312-matplotlib-3.5.3_1+cairo+webagg.darwin_9.ppc.tbz2 from
http://packages.macports.org/py312-matplotlib
---> Attempting to fetch
py312-matplotlib-3.5.3_1+cairo+webagg.darwin_9.ppc.tbz2 from
http://mirror.fcix.net/macports/packages/py312-matplotlib
---> Attempting to fetch
py312-matplotlib-3.5.3_1+cairo+webagg.darwin_9.ppc.tbz2 from
http://ywg.ca.packages.macports.org/mirror/macports/packages/py312-matplotlib
---> Fetching distfiles for py312-matplotlib
---> Verifying checksums for py312-matplotlib
---> Extracting py312-matplotlib
---> Applying patches to py312-matplotlib
---> Configuring py312-matplotlib
---> Building py312-matplotlib
Error: Failed to build py312-matplotlib: command execution failed
Error: See
/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports
.org_macports_release_tarballs_ports_python_py-
matplotlib/py312-matplotlib/main.log for details.
Error: Follow https://guide.macports.org/#project.tickets if you believe
there
is a bug.
Error: Processing of port py312-matplotlib failed
XXXXX:~ YYYYY$
}}}
I examined the main.log file referenced above. Yikes, it's big!
The error messages only appear at the end.
{{{
:info:build src/qhull_wrap.cpp: In function ‘PyObject*
delaunay_impl(npy_intp, const double*, const double*, bool)’:
:info:build src/qhull_wrap.cpp:179: error: ‘class std::vector<double,
std::allocator<double> >’ has no member named ‘data’
:info:build src/qhull_wrap.cpp: In function ‘PyObject* delaunay(PyObject*,
PyObject*)’:
:info:build src/qhull_wrap.cpp:290: warning: ‘Py_VerboseFlag’ is
deprecated (declared at
/opt/local/Library/Frameworks/Python.framework/Versions/3.12/include/python3.12/cpython/pydebug.h:9)
:info:build error: command
'/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
.org_macports_release_tarballs_ports_python_py-
matplotlib/py312-matplotlib/work/compwrap/cc/usr/bin/gcc-4.2' failed with
exit code 1
:info:build Command failed: cd
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
.org_macports_release_tarballs_ports_python_py-
matplotlib/py312-matplotlib/work/matplotlib-3.5.3" &&
/opt/local/Library/Frameworks/Python.framework/Versions/3.12/bin/python3.12
setup.py --no-user-cfg build
:info:build Exit code: 1
:error:build Failed to build py312-matplotlib: command execution failed
:debug:build Error code: CHILDSTATUS 522 1
:debug:build Backtrace: command execution failed
:debug:build while executing
:debug:build "system {*}$notty {*}$callback {*}$nice $fullcmdstring"
:debug:build invoked from within
:debug:build "command_exec -callback
portprogress::target_progress_callback build"
:debug:build (procedure "portbuild::build_main" line 10)
:debug:build invoked from within
:debug:build "$procedure $targetname"
:error:build See
/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports
.org_macports_release_tarballs_ports_python_py-
matplotlib/py312-matplotlib/main.log for details.
}}}
I am a novice here and I do not understand the error here. I am early in
my learning journey. :)
I am attaching the main.log file to this ticket.
Can someone explain what is going on, why this error occurred, and how we
can fix this so matplotlib installs?
Thank you for your help and support!
--
Ticket URL: <https://trac.macports.org/ticket/69546>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list