Opened 13 years ago

Closed 13 years ago

#32578 closed defect (worksforme)

libffi @3.0.10 Build fail

Reported by: wademc87@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.0.3
Keywords: Cc:
Port: libffi

Description

I am currently running Mac OS X @10.7.2 with Xcode @4.2.1. The libffi port fails on the build with the following log message:

:notice:build --->  Building libffi
:debug:build Executing org.macports.build (libffi)
:debug:build Environment: CPATH='/opt/local/include' CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_libffi/libffi/work/.CC_PRINT_OPTIONS' LIBRARY_PATH='/opt/local/lib' CC_PRINT_OPTIONS='YES' MACOSX_DEPLOYMENT_TARGET='10.7'
:debug:build Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_libffi/libffi/work/libffi-3.0.10" && /usr/bin/make -j2 -w all'
:debug:build Executing command line:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_libffi/libffi/work/libffi-3.0.10" && /usr/bin/make -j2 -w all
:info:build make: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_libffi/libffi/work/libffi-3.0.10'
: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_ports_devel_libffi/libffi/work/libffi-3.0.10'
:info:build shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_libffi/libffi/work/libffi-3.0.10" && /usr/bin/make -j2 -w all " returned error 2
:error:build Target org.macports.build returned: shell command failed (see log for details)
:debug:build Backtrace: shell command failed (see log for details)
    while executing
"command_exec build"
    (procedure "portbuild::build_main" line 8)
    invoked from within
"$procedure $targetname"
:info:build Warning: the following items did not execute (for libffi): org.macports.activate org.macports.build org.macports.destroot org.macports.install
:notice:build Log for libffi is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_libffi/libffi/main.log

I have tried building with different compilers, as suggested in the Problem Hotlist for Xcode 4.2. These compilers did not fix the problem. I have also tried port uninstall and the port install, which does not fix the problem either.

Attachments (1)

main.log (2.5 KB) - added by wademc87@… 13 years ago.

Download all attachments as: .zip

Change History (7)

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

Port: libffi added

Please "sudo port clean libffi" and try again, and if it fails again, please attach the main.log file.

comment:2 in reply to:  1 Changed 13 years ago by wademc87@…

Replying to ryandesign@…:

Please "sudo port clean libffi" and try again, and if it fails again, please attach the main.log file.

I have tried that already. I am uninstalling and rebuilding macports. If that doesn't fix the problem, I'll attach the main.log file.

Changed 13 years ago by wademc87@…

Attachment: main.log added

comment:3 Changed 13 years ago by wademc87@…

Rebuilding macports did not work. I've attached the main.log file.

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

That log is not clean. Please "sudo port clean libffi" and try again and attach that main.log.

comment:5 Changed 13 years ago by wademc87@…

Sorry, that was a log from a different attempt that was not right after cleaning the port. The issue seems to have resolved itself though - a new attempt to build today succeeded.

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

Resolution: worksforme
Status: newclosed

Ok, glad you got it working.

Note: See TracTickets for help on using tickets.