Opened 6 years ago

Closed 6 years ago

#57585 closed defect (fixed)

cctools 921 fails on snow leopard

Reported by: rmottola (Riccardo) Owned by: jeremyhu (Jeremy Huddleston Sequoia)
Priority: Normal Milestone:
Component: ports Version:
Keywords: snowleopard Cc:
Port: cctools

Description

I actually don't understand what the issue is here, but I am unable to upgrade on SL.

--->  Attempting to fetch cctools-921_0+llvm39+universal.darwin_10.i386-x86_64.tbz2 from http://fco.it.packages.macports.org/mirrors/macports-packages/cctools
--->  Attempting to fetch cctools-921_0+llvm39+universal.darwin_10.i386-x86_64.tbz2 from http://lil.fr.packages.macports.org/cctools
--->  Attempting to fetch cctools-921_0+llvm39+universal.darwin_10.i386-x86_64.tbz2 from https://packages.macports.org/cctools
--->  Fetching distfiles for cctools
--->  Verifying checksums for cctools
--->  Extracting cctools
--->  Applying patches to cctools
Warning: reinplace /^COMMON_SUBDIRS/s/ ld / / didn't change anything in /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_cctools/cctools/work/cctools-921/Makefile
Warning: reinplace s:"llvm-mc":"llvm-mc-mp-3.9": didn't change anything in /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_cctools/cctools/work/cctools-921/as/driver.c
Warning: reinplace s:/usr/local:@PREFIX@:g didn't change anything in /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_cctools/cctools/work/cctools-921/ar/Makefile
Warning: reinplace s:/opt/local/efi:/opt/local:g didn't change anything in /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_cctools/cctools/work/cctools-921/ar/Makefile
Warning: reinplace s:/Developer/opt/local:/opt/local:g didn't change anything in /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_cctools/cctools/work/cctools-921/ar/Makefile
Warning: reinplace s:/opt/local/man:/opt/local/share/man:g didn't change anything in /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_cctools/cctools/work/cctools-921/ar/Makefile
Warning: reinplace s:/opt/local/efi:/opt/local:g didn't change anything in /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_cctools/cctools/work/cctools-921/as/Makefile
Warning: reinplace s:/Developer/opt/local:/opt/local:g didn't change anything in /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_cctools/cctools/work/cctools-921/as/Makefile
Warning: reinplace s:/opt/local/man:/opt/local/share/man:g didn't change anything in /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_cctools/cctools/work/cctools-921/as/Makefile
Warning: reinplace s:/usr:@PREFIX@:g didn't change anything in /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_cctools/cctools/work/cctools-921/cbtlibs/Makefile
Warning: reinplace s:/opt/local/efi:/opt/local:g didn't change anything in /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_cctools/cctools/work/cctools-921/cbtlibs/Makefile
Warning: reinplace s:/Developer/opt/local:/opt/local:g didn't change anything in /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_cctools/cctools/work/cctools-921/cbtlibs/Makefile
Warning: reinplace s:/opt/local/man:/opt/local/share/man:g didn't change anything in /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_cctools/cctools/work/cctools-921/cbtlibs/Makefile
Warning: reinplace s:\(install .*\)-s :\1:g didn't change anything in /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_cctools/cctools/work/cctools-921/cbtlibs/Makefile
Warning: reinplace s:/usr:@PREFIX@:g didn't change anything in /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_cctools/cctools/work/cctools-921/efitools/Makefile
Warning: reinplace s:/Developer/opt/local:/opt/local:g didn't change anything in /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_cctools/cctools/work/cctools-921/efitools/Makefile
Warning: reinplace s:/opt/local/man:/opt/local/share/man:g didn't change anything in /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_cctools/cctools/work/cctools-921/efitools/Makefile
Warning: reinplace s:/usr/local:@PREFIX@:g didn't change anything in /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_cctools/cctools/work/cctools-921/gprof/Makefile
Warning: reinplace s:/opt/local/efi:/opt/local:g didn't change anything in /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_cctools/cctools/work/cctools-921/gprof/Makefile
Warning: reinplace s:/Developer/opt/local:/opt/local:g didn't change anything in /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_cctools/cctools/work/cctools-921/gprof/Makefile
Warning: reinplace s:/opt/local/man:/opt/local/share/man:g didn't change anything in /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_cctools/cctools/work/cctools-921/gprof/Makefile
Warning: reinplace s:/opt/local/efi:/opt/local:g didn't change anything in /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_cctools/cctools/work/cctools-921/include/Makefile
Warning: reinplace s:/Developer/opt/local:/opt/local:g didn't change anything in /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_cctools/cctools/work/cctools-921/include/Makefile
Warning: reinplace s:/opt/local/man:/opt/local/share/man:g didn't change anything in /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_cctools/cctools/work/cctools-921/include/Makefile
Warning: reinplace s:\(install .*\)-s :\1:g didn't change anything in /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_cctools/cctools/work/cctools-921/include/Makefile
Warning: reinplace s:/opt/local/efi:/opt/local:g didn't change anything in /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_cctools/cctools/work/cctools-921/ld/Makefile
Warning: reinplace s:/Developer/opt/local:/opt/local:g didn't change anything in /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_cctools/cctools/work/cctools-921/ld/Makefile
Warning: reinplace s:/opt/local/man:/opt/local/share/man:g didn't change anything in /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_cctools/cctools/work/cctools-921/ld/Makefile
Warning: reinplace s:/opt/local/efi:/opt/local:g didn't change anything in /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_cctools/cctools/work/cctools-921/libmacho/Makefile
Warning: reinplace s:/Developer/opt/local:/opt/local:g didn't change anything in /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_cctools/cctools/work/cctools-921/libmacho/Makefile
Warning: reinplace s:/opt/local/man:/opt/local/share/man:g didn't change anything in /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_cctools/cctools/work/cctools-921/libmacho/Makefile
Warning: reinplace s:\(install .*\)-s :\1:g didn't change anything in /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_cctools/cctools/work/cctools-921/libmacho/Makefile
Warning: reinplace s:/usr:@PREFIX@:g didn't change anything in /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_cctools/cctools/work/cctools-921/libstuff/Makefile
Warning: reinplace s:/opt/local/efi:/opt/local:g didn't change anything in /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_cctools/cctools/work/cctools-921/libstuff/Makefile
Warning: reinplace s:/opt/local/man:/opt/local/share/man:g didn't change anything in /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_cctools/cctools/work/cctools-921/libstuff/Makefile
Warning: reinplace s:\(install .*\)-s :\1:g didn't change anything in /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_cctools/cctools/work/cctools-921/libstuff/Makefile
Warning: reinplace s:/Developer/opt/local:/opt/local:g didn't change anything in /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_cctools/cctools/work/cctools-921/man/Makefile
Warning: reinplace s:/opt/local/man:/opt/local/share/man:g didn't change anything in /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_cctools/cctools/work/cctools-921/man/Makefile
Warning: reinplace s:\(install .*\)-s :\1:g didn't change anything in /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_cctools/cctools/work/cctools-921/man/Makefile
Warning: reinplace s:/opt/local/efi:/opt/local:g didn't change anything in /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_cctools/cctools/work/cctools-921/misc/Makefile
Warning: reinplace s:/Developer/opt/local:/opt/local:g didn't change anything in /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_cctools/cctools/work/cctools-921/misc/Makefile
Warning: reinplace s:/opt/local/man:/opt/local/share/man:g didn't change anything in /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_cctools/cctools/work/cctools-921/misc/Makefile
Warning: reinplace s:/usr/local:@PREFIX@:g didn't change anything in /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_cctools/cctools/work/cctools-921/otool/Makefile
Warning: reinplace s:/opt/local/efi:/opt/local:g didn't change anything in /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_cctools/cctools/work/cctools-921/otool/Makefile
Warning: reinplace s:/Developer/opt/local:/opt/local:g didn't change anything in /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_cctools/cctools/work/cctools-921/otool/Makefile
Warning: reinplace s:/opt/local/man:/opt/local/share/man:g didn't change anything in /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_cctools/cctools/work/cctools-921/otool/Makefile
Warning: reinplace s:/usr/local:@PREFIX@:g didn't change anything in /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_cctools/cctools/work/cctools-921/Makefile
Warning: reinplace s:/usr:@PREFIX@:g didn't change anything in /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_cctools/cctools/work/cctools-921/Makefile
Warning: reinplace s:@PREFIX@:/opt/local:g didn't change anything in /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_cctools/cctools/work/cctools-921/Makefile
Warning: reinplace s:/opt/local/efi:/opt/local:g didn't change anything in /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_cctools/cctools/work/cctools-921/Makefile
Warning: reinplace s:/Developer/opt/local:/opt/local:g didn't change anything in /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_cctools/cctools/work/cctools-921/Makefile
Warning: reinplace s:/opt/local/man:/opt/local/share/man:g didn't change anything in /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_cctools/cctools/work/cctools-921/Makefile
Warning: reinplace s:\(install .*\)-s :\1:g didn't change anything in /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_cctools/cctools/work/cctools-921/Makefile
--->  Configuring cctools
--->  Building cctools
Error: Failed to build cctools: command execution failed
Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_cctools/cctools/main.log for details.
Error: Follow https://guide.macports.org/#project.tickets to report a bug.

Attachments (1)

main.log (122.6 KB) - added by rmottola (Riccardo) 6 years ago.

Download all attachments as: .zip

Change History (9)

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

Cc: jeremyhu removed
Keywords: snowleopard added; cctools SnowLeopard removed
Owner: set to jeremyhu
Status: newassigned

Please attach the main.log file; without it, we can't see what the problem is either.

comment:2 Changed 6 years ago by kencu (Ken)

I had no troubles with the upgrade on Tiger right on through to Mojave, including SnowLeopard.

Please try

sudo port clean cctools
sudo port -v sync
sudo port -v upgrade cctools

and see what happens.

comment:3 Changed 6 years ago by rmottola (Riccardo)

I just copied the whole log.. there wasn't more!

When doing Ken's suggestion

sudo port -v sync

reports one failure:

Creating port index in /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports
Error: Unable to determine location of a macOS SDK.
Failed to parse file databases/mongodb/Portfile: can't read "configure.cc_archflags": can't read "configure.compiler": can't read "compiler.fallback": can't read "configure.sdkroot": Unable to determine location of a macOS SDK.
Adding port databases/tcl-sqlite3
Adding port devel/mongo-tools

comment:4 Changed 6 years ago by rmottola (Riccardo)

Running upgrade again yields a better error. Strannge, because I did a clean before too.

/usr/bin/gcc-4.2 -Os -std=gnu99 -Os -DLTO_SUPPORT -g -I../../include -Wall -D_MACH_I386_THREAD_STATUS_FPSTATE_LEGACY_FIELD_NAMES_ -D_ARCHITECTURE_I386_FPU_FPSTATE_LEGACY_FIELD_NAMES_ -I/opt/local/include -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_cctools/cctools/work/cctools-921/../ld64-409.12/src/abstraction -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_cctools/cctools/work/cctools-921/../ld64-409.12/src/other -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_cctools/cctools/work/cctools-921/include -arch x86_64 -arch i386 -I/opt/local/libexec/llvm-3.9/include -pipe -Os -fPIC -Wall -W -Wno-unused-parameter -Wwrite-strings -Wmissing-field-initializers -pedantic -Wno-long-long -Wcovered-switch-default -Wdelete-non-virtual-dtor -Werror=date-time -DNDEBUG -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS  -pg -c -o ./allocate.o ../allocate.c
cc1: error: unrecognized command line option "-Wcovered-switch-default"
cc1: error: unrecognized command line option "-Wdelete-non-virtual-dtor"
cc1: error: -Werror=date-time: No option -Wdate-time
cc1: error: unrecognized command line option "-Wcovered-switch-default"
cc1: error: unrecognized command line option "-Wdelete-non-virtual-dtor"
cc1: error: -Werror=date-time: No option -Wdate-time
cc1: error: unrecognized command line option "-Wcovered-switch-default"
cc1: error: unrecognized command line option "-Wdelete-non-virtual-dtor"
cc1: error: -Werror=date-time: No option -Wdate-time
cc1: error: unrecognized command line option "-Wcovered-switch-default"
cc1: error: unrecognized command line option "-Wdelete-non-virtual-dtor"
cc1: error: -Werror=date-time: No option -Wdate-time

Full log attached

Changed 6 years ago by rmottola (Riccardo)

Attachment: main.log added

comment:5 Changed 6 years ago by kencu (Ken)

You're getting tons of warning flags added that /usr/bin/gcc-4.2 can't handle. I don't know why yet, but these flags aren't added when I build it on Tiger PPC:

TigerPPC:
/opt/local/bin/gcc-apple-4.2 -Os -std=gnu99 -Os                 -g -I../../include -Wall -D_MACH_I386_THREAD_STATUS_FPSTATE_LEGACY_FIELD_NAMES_ -D_ARCHITECTURE_I386_FPU_FPSTATE_LEGACY_FIELD_NAMES_ -I/opt/local/include -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_cctools/cctools/work/cctools-921/../ld64-409.12/src/abstraction          -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_cctools/cctools/work/cctools-921/../ld64-409.12/src/other          -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_cctools/cctools/work/cctools-921/include          -arch ppc                                                                                                                                                                                                                                                                                                                                   -c -o ./allocate.o ../allocate.c
SnowLeopard (your build):
/usr/bin/gcc-4.2             -Os -std=gnu99 -Os  -DLTO_SUPPORT  -g -I../../include -Wall -D_MACH_I386_THREAD_STATUS_FPSTATE_LEGACY_FIELD_NAMES_ -D_ARCHITECTURE_I386_FPU_FPSTATE_LEGACY_FIELD_NAMES_ -I/opt/local/include -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_cctools/cctools/work/cctools-921/../ld64-409.12/src/abstraction -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_cctools/cctools/work/cctools-921/../ld64-409.12/src/other -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_cctools/cctools/work/cctools-921/include -arch x86_64 -arch i386 -I/opt/local/libexec/llvm-3.9/include -pipe -Os -fPIC -Wall -W -Wno-unused-parameter -Wwrite-strings -Wmissing-field-initializers -pedantic -Wno-long-long -Wcovered-switch-default -Wdelete-non-virtual-dtor -Werror=date-time -DNDEBUG -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS  -pg -c -o ./allocate.o ../allocate.c

FYI, I built it on SnowLeopard with clang-3.9 which didn't burp during the build. Hopefully it can build with clang-3.4, otherwise we may have a bootstrap issue coming.

Last edited 6 years ago by kencu (Ken) (previous) (diff)

comment:6 Changed 6 years ago by rmottola (Riccardo)

Interesting... so for you it works out of the box.

I forced configure compiler to macports-clang-3.4 and the package upgraded! I wonder though since you did't need to do it, even on Tiger!

comment:7 Changed 6 years ago by kencu (Ken)

I just rebuilt this again on a stock SL VM without any portfile interventions. It built with gcc-4.2. Please reopen if this issue persists for you.

comment:8 Changed 6 years ago by kencu (Ken)

Resolution: fixed
Status: assignedclosed
Note: See TracTickets for help on using tickets.