Opened 11 years ago

Closed 10 years ago

#40289 closed defect (duplicate)

libffi: extract failed

Reported by: devasis_bassu@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.2.0
Keywords: Cc: cooljeanius (Eric Gallager)
Port: libffi

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

The installation of gcc48 with the +universal optional fails. It does succeed without the +universal option. I've tried several variations starting with a clean install of macports followed by the port install gcc48 +universal command - also failed.

Pasted below is the output from the console when I attempted to install gcc48 with +universal. I've attached the log file.

$ sudo port install gcc48 +universal
--->  Computing dependencies for gcc48
--->  Dependencies to be installed: cctools cctools-headers ld64 dyld-headers libunwind-headers llvm-3.3 libffi llvm_select cloog gmp isl autoconf m4 perl5 perl5.12 gdbm gettext expat libiconv ncurses automake libtool gcc_select libgcc libmpc mpfr
--->  Fetching archive for cctools-headers
Warning: Your DNS servers incorrectly claim to know the address of nonexistent hosts. This may cause checksum mismatches for some ports.
--->  Attempting to fetch cctools-headers-839_0.darwin_12.noarch.tbz2 from http://packages.macports.org/cctools-headers
--->  Attempting to fetch cctools-headers-839_0.darwin_12.noarch.tbz2.rmd160 from http://packages.macports.org/cctools-headers
--->  Installing cctools-headers @839_0
--->  Activating cctools-headers @839_0
--->  Cleaning cctools-headers
--->  Fetching archive for dyld-headers
--->  Attempting to fetch dyld-headers-210.2.3_0.darwin_12.noarch.tbz2 from http://packages.macports.org/dyld-headers
--->  Attempting to fetch dyld-headers-210.2.3_0.darwin_12.noarch.tbz2.rmd160 from http://packages.macports.org/dyld-headers
--->  Installing dyld-headers @210.2.3_0
--->  Activating dyld-headers @210.2.3_0
--->  Cleaning dyld-headers
--->  Fetching archive for libunwind-headers
--->  Attempting to fetch libunwind-headers-35.1_1.darwin_12.noarch.tbz2 from http://packages.macports.org/libunwind-headers
--->  Attempting to fetch libunwind-headers-35.1_1.darwin_12.noarch.tbz2.rmd160 from http://packages.macports.org/libunwind-headers
--->  Installing libunwind-headers @35.1_1
--->  Activating libunwind-headers @35.1_1
--->  Cleaning libunwind-headers
--->  Extracting libffi
Error: org.macports.extract for port libffi returned: command execution failed
Error: Failed to install libffi
Please see the log file for port libffi for details:
    /opt/local/var/macports/logs/_Volumes_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_libffi/libffi/main.log
Error: The following dependencies were not installed: cctools ld64 llvm-3.3 libffi llvm_select cloog gmp isl autoconf m4 perl5 perl5.12 gdbm gettext expat libiconv ncurses automake libtool gcc_select libgcc libmpc mpfr
To report a bug, follow the instructions in the guide:
    http://guide.macports.org/#project.tickets
Error: Processing of port gcc48 failed
$ 

Attachments (2)

main.log (36.0 KB) - added by devasis_bassu@… 11 years ago.
main.2.log (41.8 KB) - added by devasis_bassu@… 11 years ago.
libffi log

Download all attachments as: .zip

Change History (9)

Changed 11 years ago by devasis_bassu@…

Attachment: main.log added

comment:1 Changed 11 years ago by devasis_bassu@…

Forgot to mention my machine details...

Darwin Kernel Version 12.4.0: Wed May  1 17:57:12 PDT 2013; root:xnu-2050.24.15~1/RELEASE_X86_64 x86_64

$ which gcc
/usr/bin/gcc
$ gcc -v
Configured with: --prefix=/Applications/Xcode5-DP6.app/Contents/Developer/usr --with-gxx-include-dir=/usr/include/c++/4.2.1
Apple LLVM version 5.0 (clang-500.1.74) (based on LLVM 3.3svn)
Target: x86_64-apple-darwin12.4.0
Thread model: posix
$ 
Last edited 11 years ago by ryandesign (Ryan Carsten Schmidt) (previous) (diff)

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

Description: modified (diff)
Keywords: gcc48 libffi removed
Port: libffi added; gcc48 removed
Summary: gcc48 +universal Failed to install libffilibffi: extract failed

This was not a clean attempt. Please clean libffi and try again.

comment:3 in reply to:  2 Changed 11 years ago by devasis_bassu@…

Replying to ryandesign@…:

This was not a clean attempt. Please clean libffi and try again.

I did try with clean libffi - however, its still the same issue (pasted the console output below)...

$ sudo port clean libffi
Password:
--->  Cleaning libffi
$ sudo port install gcc48 +universal
--->  Computing dependencies for gcc48
--->  Dependencies to be installed: cctools cctools-headers ld64 dyld-headers libunwind-headers llvm-3.3 libffi llvm_select cloog gmp isl autoconf m4 perl5 perl5.12 gdbm gettext expat libiconv ncurses automake libtool gcc_select libgcc libmpc mpfr
--->  Fetching archive for cctools-headers
Warning: Your DNS servers incorrectly claim to know the address of nonexistent hosts. This may cause checksum mismatches for some ports.
--->  Attempting to fetch cctools-headers-839_0.darwin_12.noarch.tbz2 from http://packages.macports.org/cctools-headers
--->  Attempting to fetch cctools-headers-839_0.darwin_12.noarch.tbz2.rmd160 from http://packages.macports.org/cctools-headers
--->  Installing cctools-headers @839_0
--->  Activating cctools-headers @839_0
--->  Cleaning cctools-headers
--->  Fetching archive for dyld-headers
--->  Attempting to fetch dyld-headers-210.2.3_0.darwin_12.noarch.tbz2 from http://packages.macports.org/dyld-headers
--->  Attempting to fetch dyld-headers-210.2.3_0.darwin_12.noarch.tbz2.rmd160 from http://packages.macports.org/dyld-headers
--->  Installing dyld-headers @210.2.3_0
--->  Activating dyld-headers @210.2.3_0
--->  Cleaning dyld-headers
--->  Fetching archive for libunwind-headers
--->  Attempting to fetch libunwind-headers-35.1_1.darwin_12.noarch.tbz2 from http://packages.macports.org/libunwind-headers
--->  Attempting to fetch libunwind-headers-35.1_1.darwin_12.noarch.tbz2.rmd160 from http://packages.macports.org/libunwind-headers
--->  Installing libunwind-headers @35.1_1
--->  Activating libunwind-headers @35.1_1
--->  Cleaning libunwind-headers
--->  Fetching archive for libffi
--->  Attempting to fetch libffi-3.0.13_0+universal.darwin_12.i386-x86_64.tbz2 from http://packages.macports.org/libffi
--->  Attempting to fetch libffi-3.0.13_0+universal.darwin_12.i386-x86_64.tbz2 from http://lil.fr.packages.macports.org/libffi
--->  Attempting to fetch libffi-3.0.13_0+universal.darwin_12.i386-x86_64.tbz2 from http://mse.uk.packages.macports.org/sites/packages.macports.org/libffi
--->  Fetching distfiles for libffi
--->  Verifying checksums for libffi
--->  Extracting libffi
Error: org.macports.extract for port libffi returned: command execution failed
Error: Failed to install libffi
Please see the log file for port libffi for details:
    /opt/local/var/macports/logs/_Volumes_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_libffi/libffi/main.log
Error: The following dependencies were not installed: cctools ld64 llvm-3.3 libffi llvm_select cloog gmp isl autoconf m4 perl5 perl5.12 gdbm gettext expat libiconv ncurses automake libtool gcc_select libgcc libmpc mpfr
To report a bug, follow the instructions in the guide:
    http://guide.macports.org/#project.tickets
Error: Processing of port gcc48 failed
$ 
Last edited 10 years ago by ryandesign (Ryan Carsten Schmidt) (previous) (diff)

comment:4 Changed 11 years ago by larryv (Lawrence Velázquez)

Clean it again and attach the libffi main.log, please.

% sudo port clean libffi gcc48
% sudo port install libffi
% echo $(port logfile libffi)

Changed 11 years ago by devasis_bassu@…

Attachment: main.2.log added

libffi log

comment:5 in reply to:  4 Changed 11 years ago by devasis_bassu@…

Replying to larryv@…:

Clean it again and attach the libffi main.log, please.

% sudo port clean libffi gcc48
% sudo port install libffi
% echo $(port logfile libffi)

All right - so I did as you suggested. The difference really is the use of +universal (my real goal was to install gcc48 +universal). Without the flag, libffi installs just fine. With it, the install blows up. I've attached the log when it blows up.

$ sudo port install libffi +universal
--->  Fetching archive for libffi
Warning: Your DNS servers incorrectly claim to know the address of nonexistent hosts. This may cause checksum mismatches for some ports.
--->  Attempting to fetch libffi-3.0.13_0+universal.darwin_12.i386-x86_64.tbz2 from http://packages.macports.org/libffi
--->  Attempting to fetch libffi-3.0.13_0+universal.darwin_12.i386-x86_64.tbz2 from http://lil.fr.packages.macports.org/libffi
--->  Attempting to fetch libffi-3.0.13_0+universal.darwin_12.i386-x86_64.tbz2 from http://mse.uk.packages.macports.org/sites/packages.macports.org/libffi
--->  Fetching distfiles for libffi
--->  Verifying checksums for libffi
--->  Extracting libffi
Error: org.macports.extract for port libffi returned: command execution failed
Please see the log file for port libffi for details:
    /opt/local/var/macports/logs/_Volumes_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_libffi/libffi/main.log
To report a bug, follow the instructions in the guide:
    http://guide.macports.org/#project.tickets
Error: Processing of port libffi failed
mcapmac2:~ dbassu$ vi /opt/local/var/macports/logs/_Volumes_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_libffi/libffi/main.log
mcapmac2:~ dbassu$ echo $(port logfile libffi)
/opt/local/var/macports/logs/_Volumes_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_libffi/libffi/main.log
mcapmac2:~ dbassu$ sudo port clean libffi gcc48
--->  Cleaning libffi
--->  Cleaning gcc48
$

Thanks, Devasis

comment:6 Changed 10 years ago by cooljeanius (Eric Gallager)

Cc: egall@… added

Cc Me!

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

Resolution: duplicate
Status: newclosed

Duplicate of #39850, which was fixed in MacPorts 2.3.

Note: See TracTickets for help on using tickets.