Opened 10 years ago

Closed 10 years ago

#45260 closed defect (invalid)

Poppler build failing

Reported by: phillicl@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.3.1
Keywords: Cc:
Port: poppler

Description (last modified by ryandesign (Ryan Carsten Schmidt))

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

Attachments (2)

main.log (75.2 KB) - added by phillicl@… 10 years ago.
Main Log file for Poppler installation
main.2.log (71.2 KB) - added by phillicl@… 10 years ago.

Download all attachments as: .zip

Change History (8)

comment:1 Changed 10 years ago by ryandesign (Ryan Carsten Schmidt)

Description: modified (diff)
Port: poppler added

Works fine here.

Please attach the main.log file, the location of which is printed by the command port logfile poppler.

Changed 10 years ago by phillicl@…

Attachment: main.log added

Main Log file for Poppler installation

comment:2 Changed 10 years ago by phillicl@…

Attached!

comment:3 Changed 10 years ago by ryandesign (Ryan Carsten Schmidt)

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

Changed 10 years ago by phillicl@…

Attachment: main.2.log added

comment:4 Changed 10 years ago 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

comment:5 Changed 10 years ago by phillicl@…

NM!

doing a sudo port clean --all poppler

before trying to reinstall fixed the problem

Thanks for your help!

comment:6 Changed 10 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: invalid
Status: newclosed

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).

Note: See TracTickets for help on using tickets.