[MacPorts] #42997: dyld: Library not loaded: /opt/local/lib/libffi.5.dylib Referenced from: /opt/local/libexec/llvm-3.3/bin/llvm-config
#42997: dyld: Library not loaded: /opt/local/lib/libffi.5.dylib Referenced from: /opt/local/libexec/llvm-3.3/bin/llvm-config -------------------------+-------------------------------- Reporter: gysungrad@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Keywords: | Port: -------------------------+-------------------------------- I ran "sudo port selfupdate" and "sudo port upgrade outdated", and get "upgrade outdated" failed. ---> Computing dependencies for ld64 ---> Building ld64 Error: org.macports.build for port ld64 returned: command execution failed Here is what main.log said. :info:build dyld: Library not loaded: /opt/local/lib/libffi.5.dylib :info:build Referenced from: /opt/local/libexec/llvm-3.3/bin/llvm-config :info:build Reason: image not found I know libffi was updated to a newer version which now provides libffi version 6 that I have now. I attached main.log. Any idea? Thanks. -- Ticket URL: <https://trac.macports.org/ticket/42997> MacPorts <http://www.macports.org/> Ports system for OS X
#42997: llvm-3.3: dyld: Library not loaded: /opt/local/lib/libffi.5.dylib Referenced from: /opt/local/libexec/llvm-3.3/bin/llvm-config --------------------------+------------------------ Reporter: gysungrad@… | Owner: jeremyhu@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: Port: llvm-3.3 | --------------------------+------------------------ Changes (by ryandesign@…): * owner: macports-tickets@… => jeremyhu@… * port: => llvm-3.3 Old description:
I ran "sudo port selfupdate" and "sudo port upgrade outdated", and get "upgrade outdated" failed.
---> Computing dependencies for ld64
---> Building ld64
Error: org.macports.build for port ld64 returned: command execution failed
Here is what main.log said.
:info:build dyld: Library not loaded: /opt/local/lib/libffi.5.dylib
:info:build Referenced from: /opt/local/libexec/llvm-3.3/bin/llvm- config
:info:build Reason: image not found
I know libffi was updated to a newer version which now provides libffi version 6 that I have now.
I attached main.log.
Any idea? Thanks.
New description: I ran "sudo port selfupdate" and "sudo port upgrade outdated", and get "upgrade outdated" failed. {{{ ---> Computing dependencies for ld64 ---> Building ld64 Error: org.macports.build for port ld64 returned: command execution failed }}} Here is what main.log said. {{{ :info:build dyld: Library not loaded: /opt/local/lib/libffi.5.dylib :info:build Referenced from: /opt/local/libexec/llvm-3.3/bin/llvm-config :info:build Reason: image not found }}} I know libffi was updated to a newer version which now provides libffi version 6 that I have now. I attached main.log. Any idea? Thanks. -- -- Ticket URL: <https://trac.macports.org/ticket/42997#comment:1> MacPorts <http://www.macports.org/> Ports system for OS X
#42997: llvm-3.3: dyld: Library not loaded: /opt/local/lib/libffi.5.dylib Referenced from: /opt/local/libexec/llvm-3.3/bin/llvm-config --------------------------+------------------------ Reporter: gysungrad@… | Owner: jeremyhu@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: Port: llvm-3.3 | --------------------------+------------------------ Comment (by jeremyhu@…): libffi was updated a year ago. llvm-3.3 also had a revbump in that time period. What is the output of: {{{ port installed llvm-3.3 }}} -- Ticket URL: <https://trac.macports.org/ticket/42997#comment:2> MacPorts <http://www.macports.org/> Ports system for OS X
#42997: llvm-3.3: dyld: Library not loaded: /opt/local/lib/libffi.5.dylib Referenced from: /opt/local/libexec/llvm-3.3/bin/llvm-config --------------------------+------------------------ Reporter: gysungrad@… | Owner: jeremyhu@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: Port: llvm-3.3 | --------------------------+------------------------ Comment (by gysungrad@…): Replying to [comment:2 jeremyhu@…]:
libffi was updated a year ago. llvm-3.3 also had a revbump in that time period.
What is the output of: {{{ port installed llvm-3.3 }}}
Here is the output {{{ The following ports are currently installed: llvm-3.3 @3.3_1 (active) }}} -- Ticket URL: <https://trac.macports.org/ticket/42997#comment:3> MacPorts <http://www.macports.org/> Ports system for OS X
#42997: llvm-3.3: dyld: Library not loaded: /opt/local/lib/libffi.5.dylib Referenced from: /opt/local/libexec/llvm-3.3/bin/llvm-config --------------------------+------------------------ Reporter: gysungrad@… | Owner: jeremyhu@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: Port: llvm-3.3 | --------------------------+------------------------ Comment (by jeremyhu@…): That makes no sense to me. How did you build 3.3_1 against a year old version of libffi? I first thought there was a dependency cycle, but libffi has no dependencies. What are the timestamps of your libffi and llvm-3.3 builds? -- Ticket URL: <https://trac.macports.org/ticket/42997#comment:4> MacPorts <http://www.macports.org/> Ports system for OS X
#42997: llvm-3.3: dyld: Library not loaded: /opt/local/lib/libffi.5.dylib Referenced from: /opt/local/libexec/llvm-3.3/bin/llvm-config --------------------------+------------------------ Reporter: gysungrad@… | Owner: jeremyhu@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: Port: llvm-3.3 | --------------------------+------------------------ Comment (by gysungrad@…): Replying to [comment:4 jeremyhu@…]:
That makes no sense to me. How did you build 3.3_1 against a year old version of libffi?
I first thought there was a dependency cycle, but libffi has no dependencies.
What are the timestamps of your libffi and llvm-3.3 builds?
I am not sure how to check that... But this is for libffi: {{{ The following ports are currently installed: libffi @3.0.10_2 libffi @3.0.13_0 (active) }}} -- Ticket URL: <https://trac.macports.org/ticket/42997#comment:5> MacPorts <http://www.macports.org/> Ports system for OS X
#42997: llvm-3.3: dyld: Library not loaded: /opt/local/lib/libffi.5.dylib Referenced from: /opt/local/libexec/llvm-3.3/bin/llvm-config --------------------------+------------------------ Reporter: gysungrad@… | Owner: jeremyhu@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: Port: llvm-3.3 | --------------------------+------------------------ Comment (by jeremyhu@…): There might be a way with port, but I just look at the timestamp on the archive: {{{ $ ls -l /opt/local/var/macports/software/libffi* total 56 -rw-r--r-- 1 root admin 54114 Jul 17 2013 libffi-3.0.13_0+universal.darwin_13.i386-x86_64.tbz2 }}} -- Ticket URL: <https://trac.macports.org/ticket/42997#comment:6> MacPorts <http://www.macports.org/> Ports system for OS X
#42997: llvm-3.3: dyld: Library not loaded: /opt/local/lib/libffi.5.dylib Referenced from: /opt/local/libexec/llvm-3.3/bin/llvm-config --------------------------+------------------------ Reporter: gysungrad@… | Owner: jeremyhu@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: Port: llvm-3.3 | --------------------------+------------------------ Comment (by gysungrad@…): Replying to [comment:6 jeremyhu@…]:
There might be a way with port, but I just look at the timestamp on the archive: {{{ $ ls -l /opt/local/var/macports/software/libffi* total 56 -rw-r--r-- 1 root admin 54114 Jul 17 2013 libffi-3.0.13_0+universal.darwin_13.i386-x86_64.tbz2 }}}
Okay, this is what I got. {{{ $ ls -l /opt/local/var/macports/software/libffi/ total 208 -rw-r--r-- 1 macports admin 64K May 23 2012 libffi-3.0.10_2.darwin_10.x86_64.tbz2 -rw-r--r-- 1 macports admin 36K Mar 21 16:21 libffi-3.0.13_0.darwin_10.x86_64.tbz2 $ ls -l /opt/local/var/macports/software/llvm-3.3/ total 420776 -rw-r--r-- 1 root admin 205M Sep 20 2013 llvm-3.3-3.3_1.darwin_10.x86_64.tbz2 }}} -- Ticket URL: <https://trac.macports.org/ticket/42997#comment:7> MacPorts <http://www.macports.org/> Ports system for OS X
#42997: llvm-3.3: dyld: Library not loaded: /opt/local/lib/libffi.5.dylib Referenced from: /opt/local/libexec/llvm-3.3/bin/llvm-config --------------------------+------------------------ Reporter: gysungrad@… | Owner: jeremyhu@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: worksforme | Keywords: Port: llvm-3.3 | --------------------------+------------------------ Changes (by jeremyhu@…): * status: new => closed * resolution: => worksforme Comment: Yeah, so ... somehow you avoided updating libffi for the past year? Please just rebuild llvm-3.3 -- Ticket URL: <https://trac.macports.org/ticket/42997#comment:8> MacPorts <http://www.macports.org/> Ports system for OS X
#42997: llvm-3.3: dyld: Library not loaded: /opt/local/lib/libffi.5.dylib Referenced from: /opt/local/libexec/llvm-3.3/bin/llvm-config --------------------------+------------------------ Reporter: gysungrad@… | Owner: jeremyhu@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: worksforme | Keywords: Port: llvm-3.3 | --------------------------+------------------------ Comment (by gysungrad@…): Replying to [comment:8 jeremyhu@…]:
Yeah, so ... somehow you avoided updating libffi for the past year?
Please just rebuild llvm-3.3
Thanks for your help. I really appreciate that. But I got error when I rebuilt llvm-3.3. I have no idea what happened... {{{ $ sudo port clean llvm-3.3 ---> Cleaning llvm-3.3 }}} Then {{{ $ sudo port upgrade -s -n --force llvm-3.3 ---> Computing dependencies for llvm-3.3 ---> Fetching distfiles for llvm-3.3 ---> Verifying checksums for llvm-3.3 ---> Extracting llvm-3.3 ---> Applying patches to llvm-3.3 ---> Configuring llvm-3.3 ---> Building llvm-3.3 ---> Staging llvm-3.3 into destroot ---> Unable to uninstall llvm-3.3 @3.3_1, the following ports depend on it: ---> cctools @839_2+llvm33 ---> ld64 @127.2_6+llvm33 Warning: Uninstall forced. Proceeding despite dependencies. ---> Deactivating llvm-3.3 @3.3_1 ---> Unable to deactivate llvm-3.3 @3.3_1, the following ports depend on it: ---> cctools @839_2+llvm33 ---> ld64 @127.2_6+llvm33 Warning: Deactivate forced. Proceeding despite dependencies. ---> Cleaning llvm-3.3 ---> Uninstalling llvm-3.3 @3.3_1 ---> Cleaning llvm-3.3 ---> Computing dependencies for llvm-3.3 ---> Installing llvm-3.3 @3.3_1 ---> Activating llvm-3.3 @3.3_1 ---> Cleaning llvm-3.3 ---> Updating database of binaries: 100.0% ---> Scanning binaries for linking errors: 100.0% ---> Found 77 broken file(s), matching files to ports ---> Found 9 broken port(s), determining rebuild order ---> Rebuilding in order jasper @1.900.1 lcms2 @2.5 ghostscript @9.01 gd2 @2.1.0 +x11 cairo @1.12.16 +x11 pango @1.30.0 +x11 GraphicsMagick @1.3.19 +q8 gnuplot @4.6.0 +luaterm+pangocairo octave @3.2.4 +atlas+gcc44 ---> Computing dependencies for jasper ---> Cleaning jasper ---> Computing dependencies for lcms2 ---> Cleaning lcms2 ---> Computing dependencies for ghostscript ---> Building ghostscript Error: org.macports.build for port ghostscript returned: command execution failed Please see the log file for port ghostscript for details: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_print_ghostscript/ghostscript/main.log Error: Unable to upgrade port: 1 Error rebuilding ghostscript while executing "error "Error rebuilding $portname"" (procedure "revupgrade_scanandrebuild" line 382) 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 93) 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 4857) }}} -- Ticket URL: <https://trac.macports.org/ticket/42997#comment:9> MacPorts <http://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts