[MacPorts] #35285: gimp-help-en won't upgrade - can't find libxml2
#35285: gimp-help-en won't upgrade - can't find libxml2 -------------------------------------+-------------------------------------- Reporter: david.w.watson@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.1 Keywords: | Port: gimp-help-en -------------------------------------+-------------------------------------- Running upgrade for gimp-help-en fails because it can't find module libxml2 -- Ticket URL: <https://trac.macports.org/ticket/35285> MacPorts <http://www.macports.org/> Ports system for Mac OS
#35285: gimp-help-en won't upgrade - can't find libxml2 -------------------------------------+-------------------------------------- Reporter: david.w.watson@… | Owner: devans@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.1 Keywords: | Port: gimp-help-en -------------------------------------+-------------------------------------- Changes (by ryandesign@…): * owner: macports-tickets@… => devans@… * cc: devans@… (removed) Comment: This log is incomplete. Please "sudo port clean gimp-help-en", then try again, then attach the new main.log. -- Ticket URL: <https://trac.macports.org/ticket/35285#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#35285: gimp-help-en won't upgrade - can't find libxml2 -------------------------------------+-------------------------------------- Reporter: david.w.watson@… | Owner: devans@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.1 Keywords: | Port: gimp-help-en -------------------------------------+-------------------------------------- Comment(by david.w.watson@…): Added new log file. -- Ticket URL: <https://trac.macports.org/ticket/35285#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#35285: gimp-help-en won't upgrade - can't find libxml2 -------------------------------------+-------------------------------------- Reporter: david.w.watson@… | Owner: devans@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.1 Keywords: | Port: gimp-help-en -------------------------------------+-------------------------------------- Comment(by vikingjs@…): Had the same problem; tried reinstalling libxml2 and got the following result: sudo port install libxml2 ---> Computing dependencies for libxml2 ---> Cleaning libxml2 ---> Updating database of binaries: 100.0% ---> Scanning binaries for linking errors: 100.0% ---> Found 9 broken file(s), matching files to ports ---> Found 3 broken port(s), determining rebuild order ---> Rebuilding in order gimp2 @2.6.12 +help_browser+python27 inkscape @0.48.3.1 +python26 texlive-bin @2011 +motif+x11 So the problem may not be with gimp-help per se. Not sure it matters, but I had run "port uninstall inactive" recently. -- Ticket URL: <https://trac.macports.org/ticket/35285#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
#35285: gimp-help-en won't upgrade - can't find libxml2 -------------------------------------+-------------------------------------- Reporter: david.w.watson@… | Owner: devans@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.1 Keywords: | Port: gimp-help-en -------------------------------------+-------------------------------------- Comment(by vikingjs@…): Replying to [comment:5 vikingjs@…]: Posted that response a little prematurely. After the ports identified as being broken were reinstalled, the original problem persisted.
Had the same problem; tried reinstalling libxml2 and got the following result:
sudo port install libxml2 ---> Computing dependencies for libxml2 ---> Cleaning libxml2 ---> Updating database of binaries: 100.0% ---> Scanning binaries for linking errors: 100.0% ---> Found 9 broken file(s), matching files to ports ---> Found 3 broken port(s), determining rebuild order ---> Rebuilding in order gimp2 @2.6.12 +help_browser+python27 inkscape @0.48.3.1 +python26 texlive-bin @2011 +motif+x11
So the problem may not be with gimp-help per se. Not sure it matters, but I had run "port uninstall inactive" recently.
-- Ticket URL: <https://trac.macports.org/ticket/35285#comment:6> MacPorts <http://www.macports.org/> Ports system for Mac OS
#35285: gimp-help-en won't upgrade - can't find libxml2 -------------------------------------+-------------------------------------- Reporter: david.w.watson@… | Owner: devans@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.1 Keywords: | Port: gimp-help-en -------------------------------------+-------------------------------------- Comment(by tinoucas@…): * Configure script needs argument '--without-gimp' if gimp is not yet installed. * Embedded tools/xml2po runs with python, which defaults to /usr/bin/python ; should be python2 (/opt/local/bin/python2.7). -- Ticket URL: <https://trac.macports.org/ticket/35285#comment:7> MacPorts <http://www.macports.org/> Ports system for Mac OS
#35285: gimp-help-en won't upgrade - can't find libxml2 -------------------------------------+-------------------------------------- Reporter: david.w.watson@… | Owner: devans@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.1 Keywords: | Port: gimp-help-en -------------------------------------+-------------------------------------- Comment(by kurt@…): Replying to [comment:7 tinoucas@…]:
Embedded tools/xml2po runs with python, which defaults to /usr/bin/python ; should be python2 (/opt/local/bin/python2.7). [[BR]] I had the same problem, and this edit of tools/xml2po.py fixed it for me. (Gimp was already installed)
-- Ticket URL: <https://trac.macports.org/ticket/35285#comment:8> MacPorts <http://www.macports.org/> Ports system for Mac OS
#35285: gimp-help-en won't upgrade - can't find libxml2 -------------------------------------+-------------------------------------- Reporter: david.w.watson@… | Owner: devans@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.1 Keywords: | Port: gimp-help-en -------------------------------------+-------------------------------------- Comment(by macosx12345@…): I attached a proposal of patch to the portfile (tested under Mac OS 10.6, with Python 2.7 as default), inspired by the portfile of ``gtk-doc''. -- Ticket URL: <https://trac.macports.org/ticket/35285#comment:13> MacPorts <http://www.macports.org/> Ports system for Mac OS
#35285: gimp-help-en won't upgrade - can't find libxml2 -------------------------------------+-------------------------------------- Reporter: david.w.watson@… | Owner: devans@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.1 Keywords: | Port: gimp-help-en -------------------------------------+-------------------------------------- Comment(by ram@…): Replying to [comment:13 macosx12345@…]:
I attached a proposal of patch to the portfile (tested under Mac OS 10.6, with Python 2.7 as default), inspired by the portfile of ``gtk- doc''.
Shouldn't the full path to MacPorts python be used? i.e. `/opt/local/bin/python2.7` instead of `/usr/bin/env python2.7`? -- Ticket URL: <https://trac.macports.org/ticket/35285#comment:15> MacPorts <http://www.macports.org/> Ports system for Mac OS
#35285: gimp-help-en won't upgrade - can't find libxml2 -------------------------------------+-------------------------------------- Reporter: david.w.watson@… | Owner: devans@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.1 Keywords: | Port: gimp-help-en -------------------------------------+-------------------------------------- Comment(by joshmatthews@…): Proposed portfile patch worked for me on Mac OS 10.7.1. -- Ticket URL: <https://trac.macports.org/ticket/35285#comment:18> MacPorts <http://www.macports.org/> Ports system for Mac OS
#35285: gimp-help-en won't upgrade - can't find libxml2 -------------------------------------+-------------------------------------- Reporter: david.w.watson@… | Owner: devans@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.1 Keywords: | Port: gimp-help-en -------------------------------------+-------------------------------------- Comment(by macosx12345@…): Replying to [comment:15 ram@…]:
Shouldn't the full path to MacPorts python be used? i.e. `/opt/local/bin/python2.7` instead of `/usr/bin/env python2.7`?
Maybe. Indeed, the present patch works only as long as the first pythonx.y in the `PATH` has the same version number as the requested variant of `gimp-help-en` and has an associated `libxml2`, which should be the most frequent case. Since `/usr/bin/env` may have some advantadges that I don't know, I left it and I leave it to some Python expert to give a better answer. On the other hand I made a mistake, depends_run.append should be depends_build.append since py-libxml2 is needed only during build — now corrected. -- Ticket URL: <https://trac.macports.org/ticket/35285#comment:19> MacPorts <http://www.macports.org/> Ports system for Mac OS
#35285: gimp-help-en won't upgrade - can't find libxml2 -------------------------------------+-------------------------------------- Reporter: david.w.watson@… | Owner: devans@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.1 Keywords: | Port: gimp-help-en -------------------------------------+-------------------------------------- Comment(by kristian.niemi@…): Replying to [comment:8 kurt@…]:
Replying to [comment:7 tinoucas@…]:
Embedded tools/xml2po runs with python, which defaults to /usr/bin/python ; should be python2 (/opt/local/bin/python2.7). [[BR]] I had the same problem, and this edit of tools/xml2po.py fixed it for me. (Gimp was already installed)
+1. -- Ticket URL: <https://trac.macports.org/ticket/35285#comment:23> MacPorts <http://www.macports.org/> Ports system for Mac OS
#35285: gimp-help-en won't upgrade - can't find libxml2 --------------------------------------+------------------------------------- Reporter: david.w.watson@… | Owner: devans@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.1.1 Resolution: fixed | Keywords: haspatch Port: gimp-help-en | --------------------------------------+------------------------------------- Changes (by ryandesign@…): * cc: ryandesign@… (added) * keywords: => haspatch * status: new => closed * resolution: => fixed Comment: Replying to [comment:13 macosx12345@…]:
I attached a proposal of patch to the portfile (tested under Mac OS 10.6, with Python 2.7 as default), inspired by the portfile of ``gtk- doc''.
Thanks. I committed a simplified version of this in r96105. -- Ticket URL: <https://trac.macports.org/ticket/35285#comment:26> MacPorts <http://www.macports.org/> Ports system for Mac OS
#35285: gimp-help-en won't upgrade - can't find libxml2 --------------------------------------+------------------------------------- Reporter: david.w.watson@… | Owner: devans@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.1.1 Resolution: fixed | Keywords: haspatch Port: gimp-help-en | --------------------------------------+------------------------------------- Comment(by ryusuke.numata@…): I had the same problem, and even after patching r96105, I get the attached error (main3.log). It seems the port depends on docbook-xsl as well. Just FYI. -- Ticket URL: <https://trac.macports.org/ticket/35285#comment:27> MacPorts <http://www.macports.org/> Ports system for Mac OS
#35285: gimp-help-en won't upgrade - can't find libxml2 --------------------------------------+------------------------------------- Reporter: david.w.watson@… | Owner: devans@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.1.1 Resolution: fixed | Keywords: haspatch Port: gimp-help-en | --------------------------------------+------------------------------------- Changes (by ryandesign@…): * cc: ryusuke.numata@… (added) Comment: Replying to [comment:27 ryusuke.numata@…]:
I had the same problem, and even after patching r96105, I get the attached error (main3.log). It seems the port depends on docbook-xsl as well. Just FYI.
That's a different problem, filed as #35303. -- Ticket URL: <https://trac.macports.org/ticket/35285#comment:28> MacPorts <http://www.macports.org/> Ports system for Mac OS
#35285: gimp-help-en won't upgrade - can't find libxml2 --------------------------------------+------------------------------------- Reporter: david.w.watson@… | Owner: devans@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.1.1 Resolution: fixed | Keywords: haspatch Port: gimp-help-en | --------------------------------------+------------------------------------- Comment(by ryandesign@…): Has duplicate #35461. -- Ticket URL: <https://trac.macports.org/ticket/35285#comment:29> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts