[MacPorts] #45260: Poppler build failing
#45260: Poppler build failing ------------------------+-------------------------------- Reporter: phillicl@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.1 Keywords: | Port: ------------------------+-------------------------------- For some reason, while I am building poppler, it appears to not actually extract any files.
sudo port clean --all poppler ---> Cleaning poppler sudo port extract poppler ---> Computing dependencies for poppler ---> Fetching distfiles for poppler ---> Attempting to fetch poppler-0.26.5.tar.xz from http://ykf.ca.distfiles.macports.org/MacPorts/mpdistfiles/poppler ---> Verifying checksums for poppler ---> Extracting poppler cd `port work poppler`/poppler* -bash: cd: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_poppler/poppler/work/poppler*: No such file or directory
-- Ticket URL: <https://trac.macports.org/ticket/45260> MacPorts <http://www.macports.org/> Ports system for OS X
#45260: Poppler build failing -------------------------+-------------------------------- Reporter: phillicl@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.1 Resolution: | Keywords: Port: poppler | -------------------------+-------------------------------- Changes (by ryandesign@…): * port: => poppler Old description:
For some reason, while I am building poppler, it appears to not actually extract any files.
sudo port clean --all poppler ---> Cleaning poppler sudo port extract poppler ---> Computing dependencies for poppler ---> Fetching distfiles for poppler ---> Attempting to fetch poppler-0.26.5.tar.xz from http://ykf.ca.distfiles.macports.org/MacPorts/mpdistfiles/poppler ---> Verifying checksums for poppler ---> Extracting poppler cd `port work poppler`/poppler* -bash: cd: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_poppler/poppler/work/poppler*: No such file or directory
New description: For some reason, while I am building poppler, it appears to not actually extract any files. {{{
sudo port clean --all poppler ---> Cleaning poppler sudo port extract poppler ---> Computing dependencies for poppler ---> Fetching distfiles for poppler ---> Attempting to fetch poppler-0.26.5.tar.xz from http://ykf.ca.distfiles.macports.org/MacPorts/mpdistfiles/poppler ---> Verifying checksums for poppler ---> Extracting poppler cd `port work poppler`/poppler* -bash: cd: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_poppler/poppler/work/poppler*: No such file or directory }}}
-- Comment: Works fine here. Please attach the main.log file, the location of which is printed by the command `port logfile poppler`. -- Ticket URL: <https://trac.macports.org/ticket/45260#comment:1> MacPorts <http://www.macports.org/> Ports system for OS X
#45260: Poppler build failing -------------------------+-------------------------------- Reporter: phillicl@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.1 Resolution: | Keywords: Port: poppler | -------------------------+-------------------------------- Comment (by phillicl@…): Attached! -- Ticket URL: <https://trac.macports.org/ticket/45260#comment:2> MacPorts <http://www.macports.org/> Ports system for OS X
#45260: Poppler build failing -------------------------+-------------------------------- Reporter: phillicl@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.1 Resolution: | Keywords: Port: poppler | -------------------------+-------------------------------- Comment (by ryandesign@…): Ok, the log shows the reason why extraction failed: xz is linked with libintl, and libintl cannot load libiconv: {{{ :info:extract dyld: Library not loaded: /opt/local/lib/libiconv.2.dylib :info:extract Referenced from: /opt/local/lib/libintl.8.dylib :info:extract Reason: Incompatible library version: libintl.8.dylib requires version 8.0.0 or later, but libiconv.2.dylib provides version 7.0.0 }}} This problem has come up often enough that we have a pre-written answer: ProblemHotlist#libiconv-version -- Ticket URL: <https://trac.macports.org/ticket/45260#comment:3> MacPorts <http://www.macports.org/> Ports system for OS X
#45260: Poppler build failing -------------------------+-------------------------------- Reporter: phillicl@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.1 Resolution: | Keywords: Port: poppler | -------------------------+-------------------------------- Comment (by phillicl@…): Okay, Feel like I am chasing my own tail here! My problems began after doing a selfupdate on all my ports. After that several executables stopped finding the libraries they needed. I was trying to rebuild libinconv, which depended on poppler, which is where build broke. I have used this line
sudo port -n upgrade --force libiconv
and indeed I now have a working version of libiconv! (my executable that wants it is now also executing successfully.) However... poppler still won't build I have attached the new main.log -- Ticket URL: <https://trac.macports.org/ticket/45260#comment:4> MacPorts <http://www.macports.org/> Ports system for OS X
#45260: Poppler build failing -------------------------+-------------------------------- Reporter: phillicl@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.1 Resolution: | Keywords: Port: poppler | -------------------------+-------------------------------- Comment (by phillicl@…): NM! doing a sudo port clean --all poppler before trying to reinstall fixed the problem Thanks for your help! -- Ticket URL: <https://trac.macports.org/ticket/45260#comment:5> MacPorts <http://www.macports.org/> Ports system for OS X
#45260: Poppler build failing -------------------------+-------------------------------- Reporter: phillicl@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.3.1 Resolution: invalid | Keywords: Port: poppler | -------------------------+-------------------------------- Changes (by ryandesign@…): * status: new => closed * resolution: => invalid Comment: I'm glad you got it working. Remember that anytime you encounter an error, it's important to clean before trying again; that's why it's the first step in our ticket filing instructions. Your problems did not begin when you ran selfupdate; they began before, when some unknown circumstance replaced your libiconv library with an unsuitable version. If you can't identify what that circumstance and determine for certain that no other MacPorts files were replaced, consider uninstalling and reinstalling all ports (or at least deactivating and reactivating all ports). -- Ticket URL: <https://trac.macports.org/ticket/45260#comment:6> MacPorts <http://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts