Opened 8 years ago

Closed 8 years ago

#49566 closed defect (invalid)

texlive-bin: dyld: Library not loaded: /opt/local/lib/libpoppler.55.dylib Referenced from: /opt/local/bin/pdflatex

Reported by: steve.kaeppler@… Owned by: drkp (Dan Ports)
Priority: Normal Milestone:
Component: ports Version: 2.3.4
Keywords: Cc: ryandesign (Ryan Carsten Schmidt)
Port: texlive-bin

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

Problem #1:

sudo port upgrade outdated
--->  Computing dependencies for akonadi
--->  Building akonadi
Error: org.macports.build for port akonadi returned: command execution failed
Please see the log file for port akonadi for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_akonadi/akonadi/main.log
Error: Unable to upgrade port: 1
To report a bug, follow the instructions in the guide:
    http://guide.macports.org/#project.tickets

Problem #2:

pdflatex
dyld: Library not loaded: /opt/local/lib/libpoppler.55.dylib
  Referenced from: /opt/local/bin/pdflatex
  Reason: image not found
Trace/BPT trap: 5

It is not good when one thing not upgrading screws up the whole system. Is my only option to reinstall macports? Done that once already, but it takes time I don't have to do and is bad.

Error file:

version:1
:msg:main --->  Computing dependencies for akonadi:info:main .:debug:main akonadi has no conflicts
:debug:main Searching for dependency: git
:debug:main Found Dependency: receipt exists for git
:debug:main Searching for dependency: cmake
:debug:main Found Dependency: receipt exists for cmake
:debug:main Searching for dependency: pkgconfig
:debug:main Found Dependency: receipt exists for pkgconfig
:debug:main Searching for dependency: automoc
:debug:main Found Dependency: receipt exists for automoc
:debug:main Searching for dependency: qt4-mac
:debug:main Found Dependency: receipt exists for qt4-mac
:debug:main Searching for dependency: phonon
:debug:main Found Dependency: receipt exists for phonon
:debug:main Searching for dependency: soprano
:debug:main Found Dependency: receipt exists for soprano
:debug:main Searching for dependency: boost
:debug:main Found Dependency: receipt exists for boost
:debug:main Searching for dependency: shared-mime-info
:debug:main Found Dependency: receipt exists for shared-mime-info
:debug:main Searching for dependency: qt4-mac-mariadb-plugin
:debug:main Found Dependency: receipt exists for qt4-mac-mariadb-plugin
:debug:main Searching for dependency: gcc5
:debug:main Found Dependency: receipt exists for gcc5
:debug:main Searching for dependency: mariadb-server
:debug:main Found Dependency: receipt exists for mariadb-server
:msg:main 
:debug:main Executing org.macports.main (akonadi)
:debug:main changing euid/egid - current euid: 0 - current egid: 0
:debug:main egid changed to: 501
:debug:main euid changed to: 503
:debug:main Skipping completed org.macports.archivefetch (akonadi)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:main Skipping completed org.macports.fetch (akonadi)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:main Skipping completed org.macports.checksum (akonadi)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:main Skipping completed org.macports.extract (akonadi)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:main Skipping completed org.macports.patch (akonadi)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:main Skipping completed org.macports.configure (akonadi)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:build build phase started at Mon Nov  2 16:00:42 PST 2015
:notice:build --->  Building akonadi
:debug:build Executing org.macports.build (akonadi)
:debug:build Environment: 
CC_PRINT_OPTIONS='YES'
CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_akonadi/akonadi/work/.CC_PRINT_OPTIONS'
CPATH='/opt/local/include'
LIBRARY_PATH='/opt/local/lib'
MACOSX_DEPLOYMENT_TARGET='10.8'
MOC='/opt/local/libexec/qt4/bin/moc'
PATH='/opt/local/libexec/qt4/bin:/opt/local/bin:/opt/local/sbin:/bin:/sbin:/usr/bin:/usr/sbin'
QMAKE='/opt/local/libexec/qt4/bin/qmake'
QMAKESPEC='macx-g++'
QTDIR='/opt/local/libexec/qt4'
:debug:build Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_akonadi/akonadi/work/build" && /usr/bin/make -j8 -w all VERBOSE=ON'
:debug:build Executing command line:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_akonadi/akonadi/work/build" && /usr/bin/make -j8 -w all VERBOSE=ON 
:info:build make: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_akonadi/akonadi/work/build'
:info:build make: *** No rule to make target `all'.  Stop.
:info:build make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_akonadi/akonadi/work/build'
:info:build Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_akonadi/akonadi/work/build" && /usr/bin/make -j8 -w all VERBOSE=ON 
:info:build Exit code: 2
:error:build org.macports.build for port akonadi returned: command execution failed
:debug:build Error code: CHILDSTATUS 40328 2
:debug:build Backtrace: command execution failed
    while executing
"system -nice 0 $fullcmdstring"
    ("eval" body line 1)
    invoked from within
"eval system $notty $nice \$fullcmdstring"
    invoked from within
"command_exec build"
    (procedure "portbuild::build_main" line 8)
    invoked from within
"portbuild::build_main org.macports.build"
    ("eval" body line 1)
    invoked from within
"eval $procedure $targetname"
:info:build Warning: targets not executed for akonadi: org.macports.install org.macports.build org.macports.destroot
:notice:build Please see the log file for port akonadi for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_akonadi/akonadi/main.log

Attachments (1)

error.txt (4.9 KB) - added by steve.kaeppler@… 8 years ago.

Download all attachments as: .zip

Change History (10)

Changed 8 years ago by steve.kaeppler@…

Attachment: error.txt added

comment:1 Changed 8 years ago by steve.kaeppler@…

Cc: steve.kaeppler@… added

Cc Me!

comment:2 Changed 8 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: steve.kaeppler@… removed
Description: modified (diff)

One problem per ticket, please. Since you've filed two tickets for the same problems, let's let this ticket be about pdflatex and #49567 be about akonadi.

Reinstalling MacPorts is a drastic step that is seldom necessary.

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

Owner: changed from macports-tickets@… to dports@…
Port: texlive-latex added
Summary: Macports totally messed up pdflatex and other thingstexlive-latex: dyld: Library not loaded: /opt/local/lib/libpoppler.55.dylib Referenced from: /opt/local/bin/pdflatex

comment:4 Changed 8 years ago by ryandesign (Ryan Carsten Schmidt)

Looks like texlive-latex may simply need a revbump following one of the recent poppler updates. texlive-latex is also missing a library dependency on poppler, and the many other libraries it links with... This may account for why the revbump was forgotten when poppler was updated.

comment:5 Changed 8 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: ryandesign@… added
Port: texlive-bin added; texlive-latex removed
Summary: texlive-latex: dyld: Library not loaded: /opt/local/lib/libpoppler.55.dylib Referenced from: /opt/local/bin/pdflatextexlive-bin: dyld: Library not loaded: /opt/local/lib/libpoppler.55.dylib Referenced from: /opt/local/bin/pdflatex

Sorry, I keep forgetting that texlive-latex installs symlinks pointing to files installed by texlive-bin. texlive-bin already has the required dependencies on poppler and others, and already had its revision increased in r141378 to rebuild with libpoppler.56, so you should not be seeing this problem if your ports are up to date. I realize that your ports are not up to date and you were trying to upgrade your outdated ports when the problems began. It is true that upgrading some ports (in this case poppler) while not upgrading other ports (in this case texlive-bin) can lead to the type of problem you are experiencing. This is why we recommend upgrading all ports. The problem is one of your ports, akonadi, is failing to build. We'll try to resolve that in #49567. In the mean time, you can try to upgrade your remaining ports manually. For example, to upgrade texlive-bin, run:

sudo port selfupdate
sudo port upgrade texlive-bin

If this works, you should also upgrade other outdated ports. You can see the list of outdated ports by running:

port outdated

comment:6 in reply to:  5 Changed 8 years ago by steve.kaeppler@…

Replying to ryandesign@…:

Sorry, I keep forgetting that texlive-latex installs symlinks pointing to files installed by texlive-bin. texlive-bin already has the required dependencies on poppler and others, and already had its revision increased in r141378 to rebuild with libpoppler.56, so you should not be seeing this problem if your ports are up to date. I realize that your ports are not up to date and you were trying to upgrade your outdated ports when the problems began. It is true that upgrading some ports (in this case poppler) while not upgrading other ports (in this case texlive-bin) can lead to the type of problem you are experiencing. This is why we recommend upgrading all ports. The problem is one of your ports, akonadi, is failing to build. We'll try to resolve that in #49567. In the mean time, you can try to upgrade your remaining ports manually. For example, to upgrade texlive-bin, run:

sudo port selfupdate
sudo port upgrade texlive-bin


SKaeppler-LT-2:Volumes srkaeppler$ sudo port upgrade texlive-bin
Password:
--->  Computing dependencies for potrace
--->  Fetching archive for potrace
--->  Attempting to fetch potrace-1.13_0.darwin_12.x86_64.tbz2 from http://packages.macports.org/potrace
--->  Attempting to fetch potrace-1.13_0.darwin_12.x86_64.tbz2.rmd160 from http://packages.macports.org/potrace
--->  Installing potrace @1.13_0
--->  Cleaning potrace
--->  Computing dependencies for potrace
--->  Deactivating potrace @1.12_0
--->  Cleaning potrace
--->  Activating potrace @1.13_0
--->  Cleaning potrace
--->  Computing dependencies for xorg-libXaw
--->  Fetching archive for xorg-libXaw
--->  Attempting to fetch xorg-libXaw-1.0.13_0.darwin_12.x86_64.tbz2 from http://packages.macports.org/xorg-libXaw
--->  Attempting to fetch xorg-libXaw-1.0.13_0.darwin_12.x86_64.tbz2.rmd160 from http://packages.macports.org/xorg-libXaw
--->  Installing xorg-libXaw @1.0.13_0
--->  Cleaning xorg-libXaw
--->  Computing dependencies for xorg-libXaw
--->  Deactivating xorg-libXaw @1.0.12_0
--->  Cleaning xorg-libXaw
--->  Activating xorg-libXaw @1.0.13_0
--->  Cleaning xorg-libXaw
--->  Computing dependencies for texlive-bin
--->  Fetching archive for texlive-bin
--->  Attempting to fetch texlive-bin-2015_5+x11.darwin_12.x86_64.tbz2 from http://packages.macports.org/texlive-bin
--->  Attempting to fetch texlive-bin-2015_5+x11.darwin_12.x86_64.tbz2.rmd160 from http://packages.macports.org/texlive-bin
--->  Installing texlive-bin @2015_5+x11
--->  Cleaning texlive-bin
--->  Computing dependencies for texlive-bin
--->  Deactivating texlive-bin @2015_4+x11
--->  Cleaning texlive-bin
--->  Activating texlive-bin @2015_5+x11
--->  Cleaning texlive-bin
--->  Updating database of binaries
--->  Scanning binaries for linking errors               
--->  Found 1370 broken file(s), matching files to ports 
--->  Found 7 broken port(s), determining rebuild order
--->  Rebuilding in order
     akonadi @1.13.1.20141210 +mariadb55
     qimageblitz @0.0.6 
     prison @1.0 
     kdepimlibs4 @4.14.3 
     kde4-runtime @4.14.4.20150225 +samba
     kde4-baseapps @4.14.3 
     konsole @4.14.3 
--->  Computing dependencies for akonadi
--->  Building akonadi
Error: org.macports.build for port akonadi returned: command execution failed
Please see the log file for port akonadi for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_akonadi/akonadi/main.log
Error: Unable to upgrade port: 1
Error rebuilding akonadi
    while executing
"error "Error rebuilding $portname""
    (procedure "revupgrade_scanandrebuild" line 395)
    invoked from within
"revupgrade_scanandrebuild broken_port_counts $opts"
    (procedure "macports::revupgrade" line 5)
    invoked from within
"macports::revupgrade $opts"
    (procedure "action_revupgrade" line 2)
    invoked from within
"action_revupgrade $action $portlist $opts"
    (procedure "action_upgrade" line 25)
    invoked from within
"$action_proc $action $portlist [array get global_options]"
    (procedure "process_cmd" line 103)
    invoked from within
"process_cmd $remaining_args"
    invoked from within
"if { [llength $remaining_args] > 0 } {

    # If there are remaining arguments, process those as a command
    set exit_status [process_cmd $remaining..."
    (file "/opt/local/bin/port" line 5268)

comment:7 Changed 8 years ago by ryandesign (Ryan Carsten Schmidt)

Ok great. So you successfully upgraded texlive-bin, and should therefore no longer be experiencing the reported problem with pdflatex. Correct?

comment:8 in reply to:  7 ; Changed 8 years ago by steve.kaeppler@…

Replying to ryandesign@…:

Ok great. So you successfully upgraded texlive-bin, and should therefore no longer be experiencing the reported problem with pdflatex. Correct?

Alright great pdflatex works. So the general work around is that I should upgrade the ports individually if there is some issue with one of the other ports (like the adakoni port). pdflatex for my purposes is WAYYYY more important to have working than the adakoni port since it is linked with some of the KDE stuff I downloaded a while back. As a matter of fact, I would like to just get rid of the kde things.

Last edited 8 years ago by steve.kaeppler@… (previous) (diff)

comment:9 in reply to:  8 Changed 8 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: invalid
Status: newclosed

Replying to steve.kaeppler@…:

So the general work around is that I should upgrade the ports individually if there is some issue with one of the other ports (like the adakoni port).

Yes.

pdflatex for my purposes is WAYYYY more important to have working than the adakoni port since it is linked with some of the KDE stuff I downloaded a while back. As a matter of fact, I would like to just get rid of the kde things.

Ok, you can certainly uninstall ports you no longer need.

Note: See TracTickets for help on using tickets.