#68390 closed defect (invalid)

cctools @949.0.1 broken on macOS 11: error: invalid version number in 'MACOSX_DEPLOYMENT_TARGET=11.0'

Reported by: barracuda156 Owned by: jeremyhu (Jeremy Huddleston Sequoia)
Priority: Normal Milestone:
Component: ports Version: 2.8.1
Keywords: bigsur Cc: catap (Kirill A. Korinsky), kencu (Ken)
Port: cctools

Description

/usr/bin/clang -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-949.0.1/../ld64-530/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-949.0.1/../ld64-530/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-949.0.1/include -arch x86_64 -I/opt/local/libexec/llvm-10/include  -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS   -c -o ./arch.o ../arch.c
clangclang: error: invalid version number in 'MACOSX_DEPLOYMENT_TARGET=11.0'
: error: invalid version number in 'MACOSX_DEPLOYMENT_TARGET=11.0'clang: error: invalid version number in 'MACOSX_DEPLOYMENT_TARGET=11.0'

clang: error: invalid version number in 'MACOSX_DEPLOYMENT_TARGET=11.0'
clang: error: invalid version number in 'MACOSX_DEPLOYMENT_TARGET=11.0'
make[2]: *** [allocate.o] Error 1make[2]: *** [errors.o] Error 1

make[2]: *** Waiting for unfinished jobs....
clang: error: invalid version number in 'MACOSX_DEPLOYMENT_TARGET=11.0'
make[2]: *** Waiting for unfinished jobs....
make[2]: *** [args.o] Error 1
make[2]: *** [args.o] Error 1
make[2]: *** [allocate.o] Error 1
clang: error: invalid version number in 'MACOSX_DEPLOYMENT_TARGET=11.0'
clang: error: invalid version number in 'MACOSX_DEPLOYMENT_TARGET=11.0'
make[2]: *** [arch.o] Error 1
make[2]: make[2]: *** [arch.o] Error 1
*** [errors.o] Error 1
make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_cctools/cctools/work/cctools-949.0.1/libstuff/dynamic_obj'
make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_cctools/cctools/work/cctools-949.0.1/libstuff/profile_obj'
make[1]: *** [profile] Error 2
make[1]: *** Waiting for unfinished jobs....
make[1]: *** [dynamic] Error 2
make[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_cctools/cctools/work/cctools-949.0.1/libstuff'
make: *** [all] Error 1
make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_cctools/cctools/work/cctools-949.0.1'
Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_cctools/cctools/work/cctools-949.0.1" && /usr/bin/make -j8 -w all RC_OS="macos" RC_ProjectSourceVersion=949.0.1 USE_DEPENDENCY_FILE=NO BUILD_DYLIBS=NO CC="/usr/bin/clang -Os -std=gnu99" CXX="/usr/bin/clang++ -Os -stdlib=libc++" CXXLIB="-stdlib=libc++" TRIE=-DTRIE_SUPPORT RC_ARCHS="x86_64" SDK="-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-949.0.1/../ld64-530/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-949.0.1/../ld64-530/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-949.0.1/include" LTO=-DLTO_SUPPORT RC_CFLAGS="-arch x86_64 `llvm-config-mp-10 --cflags`" LLVM_MC="llvm-mc-mp-10" 
Exit code: 2

Change History (4)

comment:1 Changed 13 months ago by barracuda156

Or do I just have some outdated version of CLT?

comment:2 Changed 13 months ago by barracuda156

UPD. Looks like CLT issue. Removed and reinstalled, it worked this time.

comment:3 Changed 13 months ago by catap (Kirill A. Korinsky)

I really doubt that macOS 11 supports i386

comment:4 Changed 13 months ago by jmroot (Joshua Root)

Resolution: invalid
Status: assignedclosed

Closing as per comment:2.

Note: See TracTickets for help on using tickets.