[MacPorts] #51957: py27-matplotlib @1.5.2_0+cairo+tkinter fails to upgrade: cairo dependency
#51957: py27-matplotlib @1.5.2_0+cairo+tkinter fails to upgrade: cairo dependency ---------------------+-------------------------------- Reporter: p.bro@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Keywords: | Port: py27-matplotlib ---------------------+-------------------------------- A recent run of port upgrade outdated failed at upgrading py27-matplotlib to @1.5.2_0+cairo+tkinter at the build stage. I extracted a clean debug log from running the command sudo port -d upgrade py27-matplotlib (s. attached). The crucial bit seems to be {{{ BUILDING MATPLOTLIB matplotlib: yes [1.5.2] python: yes [2.7.12 (default, Jun 29 2016, 12:52:38) [GCC 4.2.1 Compatible Apple LLVM 7.0.2 (clang-700.1.81)]] platform: yes [darwin] [..] OPTIONAL BACKEND EXTENSIONS macosx: yes [installing, darwin] qt5agg: no [PyQt5 not found] qt4agg: no [skipping due to configuration] gtk3agg: no [skipping due to configuration] gtk3cairo: no [skipping due to configuration] gtkagg: no [skipping due to configuration] tkagg: yes [installing; run-time loading from Python Tcl / Tk] wxagg: no [skipping due to configuration] gtk: no [skipping due to configuration] agg: yes [installing] cairo: no [cairocffi or pycairo not found] windowing: no [skipping due to configuration] [..] ============================================================================ * The following required packages can not be built: * cairo Command failed: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports .org_release_tarballs_ports_python_py- matplotlib/py27-matplotlib/work/matplotlib-1.5.2" && /opt/local/Library/Frameworks/Python.framework/Versions/2.7/bin/python2.7 setup.py --no-user-cfg build }}} The following ports are installed: {{{ cairo @1.14.6_0+quartz (active) cairomm @1.10.0_3+quartz+x11 (active) py27-cairo @1.10.0_3 (active) py27-matplotlib @1.5.1_3+cairo+tkinter (active) }}} Any ideas? -- Ticket URL: <https://trac.macports.org/ticket/51957> MacPorts <https://www.macports.org/> Ports system for OS X
#51957: py27-matplotlib @1.5.2_0+cairo+tkinter fails to upgrade: cairo dependency ----------------------------+-------------------- Reporter: p.bro@… | Owner: sean@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: Port: py-matplotlib | ----------------------------+-------------------- Changes (by mf2k@…): * owner: macports-tickets@… => sean@… * cc: sean@… (removed) * port: py27-matplotlib => py-matplotlib -- Ticket URL: <https://trac.macports.org/ticket/51957#comment:1> MacPorts <https://www.macports.org/> Ports system for OS X
#51957: py27-matplotlib @1.5.2_0+cairo+tkinter fails to upgrade: cairo dependency ----------------------------+-------------------- Reporter: p.bro@… | Owner: sean@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: Port: py-matplotlib | ----------------------------+-------------------- Comment (by p.bro@…): This also affects the py34-matplotlib port (upgrading py34-matplotlib @1.5.1_3+cairo+tkinter to @1.5.2_0+cairo+tkinter). If need be, I can provide a log. -- Ticket URL: <https://trac.macports.org/ticket/51957#comment:2> MacPorts <https://www.macports.org/> Ports system for OS X
#51957: py27-matplotlib @1.5.2_0+cairo+tkinter fails to upgrade: cairo dependency ----------------------------+-------------------- Reporter: p.bro@… | Owner: sean@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: Port: py-matplotlib | ----------------------------+-------------------- Comment (by ram@…): Just got this error on updating to version 1.5.3_0, from 1.5.2_0, on Sierra. -- Ticket URL: <https://trac.macports.org/ticket/51957#comment:4> MacPorts <https://www.macports.org/> Ports system for the Mac operating system
#51957: py27-matplotlib @1.5.2_0+cairo+tkinter fails to upgrade: cairo dependency ----------------------------+-------------------- Reporter: p.bro@… | Owner: sean@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: Port: py-matplotlib | ----------------------------+-------------------- Comment (by mmoll@…): I was able to fix the problem by installing py*-cairo from source ({{{sudo port install -s py35-cairo}}}). I have cairo @1.14.6_0+quartz installed (i.e., a non-default variant), so the binary version of py*-cairo is linked against the wrong libraries that can't be found at runtime. -- Ticket URL: <https://trac.macports.org/ticket/51957#comment:6> MacPorts <https://www.macports.org/> Ports system for the Mac operating system
#51957: py27-matplotlib @1.5.2_0+cairo+tkinter fails to upgrade: cairo dependency ----------------------------+-------------------- Reporter: p.bro@… | Owner: sean@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: Port: py-matplotlib | ----------------------------+-------------------- Comment (by p.bro@…): I can confirm the workaround from mmoll - works for py27 and py34 as well, once the respective py??-cairo packages are built from source. -- Ticket URL: <https://trac.macports.org/ticket/51957#comment:7> MacPorts <https://www.macports.org/> Ports system for the Mac operating system
#51957: py27-matplotlib @1.5.2_0+cairo+tkinter fails to upgrade: cairo dependency ----------------------------+-------------------- Reporter: p.bro@… | Owner: sean@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: Port: py-matplotlib | ----------------------------+-------------------- Comment (by sean@…): mmoll, are you able to push a fix? I'm in Paris for the next week with limited access to Internet. -- Ticket URL: <https://trac.macports.org/ticket/51957#comment:8> MacPorts <https://www.macports.org/> Ports system for the Mac operating system
#51957: py27-matplotlib @1.5.2_0+cairo+tkinter fails to upgrade: cairo dependency ----------------------------+-------------------- Reporter: p.bro@… | Owner: sean@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: Port: py-matplotlib | ----------------------------+-------------------- Comment (by mmoll@…): I committed a partial fix in r153680 that at least tells people what is going wrong and how they should fix it. Not sure how to do this automatically. -- Ticket URL: <https://trac.macports.org/ticket/51957#comment:9> MacPorts <https://www.macports.org/> Ports system for the Mac operating system
#51957: py27-matplotlib @1.5.2_0+cairo+tkinter fails to upgrade: cairo dependency ----------------------------+-------------------- Reporter: p.bro@… | Owner: sean@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: Port: py-matplotlib | ----------------------------+-------------------- Comment (by sean@…): I also don't know how to do this automatically. -- Ticket URL: <https://trac.macports.org/ticket/51957#comment:10> MacPorts <https://www.macports.org/> Ports system for the Mac operating system
#51957: py27-matplotlib @1.5.2_0+cairo+tkinter fails to upgrade: cairo dependency ----------------------------+-------------------- Reporter: p.bro@… | Owner: sean@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: Port: py-matplotlib | ----------------------------+-------------------- Comment (by p.bro@…): Perhaps somebody on the macports-devel mailing list might have an idea... Perhaps we need to great a py??-cairo +quartz variant? -- Ticket URL: <https://trac.macports.org/ticket/51957#comment:11> MacPorts <https://www.macports.org/> Ports system for the Mac operating system
participants (1)
-
MacPorts