[MacPorts] #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

MacPorts noreply at macports.org
Mon Mar 24 22:21:07 PDT 2014


#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


More information about the macports-tickets mailing list