Opened 9 years ago

Last modified 8 years ago

#46521 closed defect

cctools fails to upgrade — at Version 1

Reported by: summers@… Owned by: jeremyhu@…
Priority: Normal Milestone:
Component: ports Version: 2.3.3
Keywords: Cc:
Port: CarbonHeaders

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

mfs:mfs-mb7> sudo port upgrade outdated
--->  Computing dependencies for cctools
--->  Building cctools
Error: org.macports.build for port cctools returned: command execution failed

Here is the log file:

mfs:mfs-mb7> cat /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_cctools/cctools/main.log
version:1
:msg:main --->  Computing dependencies for cctools:info:main .:debug:main cctools has no conflicts
:debug:main Searching for dependency: libunwind-headers
:debug:main Found Dependency: receipt exists for libunwind-headers
:debug:main Searching for dependency: llvm-3.3
:debug:main Found Dependency: receipt exists for llvm-3.3
:msg:main 
:debug:main Executing org.macports.main (cctools)
:debug:main changing euid/egid - current euid: 0 - current egid: 0
:debug:main egid changed to: 501
:debug:main euid changed to: 502
:debug:main Skipping completed org.macports.archivefetch (cctools)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:main Skipping completed org.macports.fetch (cctools)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:main Skipping completed org.macports.checksum (cctools)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:main Skipping completed org.macports.extract (cctools)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:main Skipping completed org.macports.patch (cctools)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:main Skipping completed org.macports.configure (cctools)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:build build phase started at Sun Jan 11 10:26:18 EST 2015
:notice:build --->  Building cctools
:debug:build Executing proc-pre-org.macports.build-build-0
:debug:build Executing org.macports.build (cctools)
:debug:build Environment: 
CC_PRINT_OPTIONS='YES'
CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_cctools/cctools/work/.CC_PRINT_OPTIONS'
CPATH='/opt/local/include'
LIBRARY_PATH='/opt/local/lib'
MACOSX_DEPLOYMENT_TARGET='10.10'
:debug:build Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_cctools/cctools/work/cctools-862" && /usr/bin/make -j8 -w all RC_OS="macos" RC_ProjectSourceVersion=862 USE_DEPENDENCY_FILE=NO BUILD_DYLIBS=NO CC="/usr/bin/clang -Os -std=gnu99" CXX="/usr/bin/clang++ -Os -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_cctools/cctools/work/cctools-862/../ld64-236.3/src/abstraction -I/opt/local/Developer/SDKs/Darwin14.sdk/usr/include" 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_release_tarballs_ports_devel_cctools/cctools/work/cctools-862/../ld64-236.3/src/other" LTO=-DLTO_SUPPORT RC_CFLAGS="-arch x86_64 `llvm-config-mp-3.3 --cflags`" LLVM_MC="llvm-mc-mp-3.3"'
:debug:build Executing command line:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_cctools/cctools/work/cctools-862" && /usr/bin/make -j8 -w all RC_OS="macos" RC_ProjectSourceVersion=862 USE_DEPENDENCY_FILE=NO BUILD_DYLIBS=NO CC="/usr/bin/clang -Os -std=gnu99" CXX="/usr/bin/clang++ -Os -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_cctools/cctools/work/cctools-862/../ld64-236.3/src/abstraction -I/opt/local/Developer/SDKs/Darwin14.sdk/usr/include" 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_release_tarballs_ports_devel_cctools/cctools/work/cctools-862/../ld64-236.3/src/other" LTO=-DLTO_SUPPORT RC_CFLAGS="-arch x86_64 `llvm-config-mp-3.3 --cflags`" LLVM_MC="llvm-mc-mp-3.3" 
:info:build make: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_cctools/cctools/work/cctools-862'
:info:build =========== /Applications/Xcode.app/Contents/Developer/usr/bin/make all for libstuff =============
:info:build make[1]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_cctools/cctools/work/cctools-862/libstuff'
:info:build make[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_cctools/cctools/work/cctools-862/libstuff'
:info:build =========== /Applications/Xcode.app/Contents/Developer/usr/bin/make all for as =============
:info:build make[1]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_cctools/cctools/work/cctools-862/as'
:info:build make[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_cctools/cctools/work/cctools-862/as'
:info:build =========== /Applications/Xcode.app/Contents/Developer/usr/bin/make all for gprof =============
:info:build =========== /Applications/Xcode.app/Contents/Developer/usr/bin/make all for misc =============
:info:build make[1]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_cctools/cctools/work/cctools-862/misc'
:info:build /usr/bin/clang++ -Os -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_cctools/cctools/work/cctools-862/../ld64-236.3/src/abstraction -I/opt/local/Developer/SDKs/Darwin14.sdk/usr/include  -arch x86_64 -I/opt/local/libexec/llvm-3.3/include  -D_DEBUG -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -O3  -g -fno-common  -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-862/../ld64-236.3/src/other -stdlib=libc++ -c -o \
:info:build 		./PruneTrie.o ./PruneTrie.cpp
:info:build /usr/bin/clang -Os -std=gnu99 -arch x86_64 -I/opt/local/libexec/llvm-3.3/include  -D_DEBUG -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -O3  -g -fno-common  -nostdlib -r \
:info:build 		-o ./ctf_insert.private.o \
:info:build 		./ctf_insert.o -L./../libstuff -lstuff
:info:build /usr/bin/clang -Os -std=gnu99 -arch x86_64 -I/opt/local/libexec/llvm-3.3/include  -D_DEBUG -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -O3  -g -fno-common  -nostdlib -r -o ./libredo.o \
:info:build 		libredo_prebinding.o -L./../libstuff -lstuff
:info:build /usr/bin/clang -Os -std=gnu99 -arch x86_64 -I/opt/local/libexec/llvm-3.3/include  -D_DEBUG -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -O3  -g -fno-common  -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-862/../ld64-236.3/src/other -o ./ctf_insert.NEW \
:info:build 		./ctf_insert.private.o
:info:build libtool -static -o ./libredo_prebinding.a ./libredo.o
:info:build dsymutil ./ctf_insert.NEW
:info:build In file included from ./PruneTrie.cpp:24:
:info:build In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/vector:265:
:info:build In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/__bit_reference:15:
:info:build In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/algorithm:627:
:info:build In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/memory:600:
:info:build In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/iterator:332:
:info:build In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/iosfwd:90:
:info:build In file included from /usr/include/wchar.h:90:
:info:build In file included from /usr/include/stdio.h:75:
:info:build /usr/include/sys/stdio.h:39:52: error: expected function body after function declarator
:info:build int     renameat(int, const char *, int, const char *) __OSX_AVAILABLE_STARTING(__MAC_10_10, __IPHONE_8_0);
:info:build                                                        ^
:info:build /opt/local/Developer/SDKs/Darwin14.sdk/usr/include/Availability.h:159:50: note: expanded from macro '__OSX_AVAILABLE_STARTING'
:info:build     #define __OSX_AVAILABLE_STARTING(_osx, _ios) __AVAILABILITY_INTERNAL##_osx
:info:build                                                  ^
:info:build <scratch space>:171:1: note: expanded from here
:info:build __AVAILABILITY_INTERNAL__MAC_10_10
:info:build ^
:info:build In file included from ./PruneTrie.cpp:26:
:info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_cctools/cctools/work/cctools-862/../ld64-236.3/src/abstraction/MachOFileAbstraction.hpp:248:9: warning: 'CPU_SUBTYPE_ARM64_ALL' macro redefined
:info:build #define CPU_SUBTYPE_ARM64_ALL   0
:info:build         ^
:info:build /usr/include/mach/machine.h:323:9: note: previous definition is here
:info:build #define CPU_SUBTYPE_ARM64_ALL           ((cpu_subtype_t) 0)
:info:build         ^
:info:build In file included from ./PruneTrie.cpp:26:
:info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_cctools/cctools/work/cctools-862/../ld64-236.3/src/abstraction/MachOFileAbstraction.hpp:249:9: warning: 'CPU_SUBTYPE_ARM64_V8' macro redefined
:info:build #define CPU_SUBTYPE_ARM64_V8    1
:info:build         ^
:info:build /usr/include/mach/machine.h:324:9: note: previous definition is here
:info:build #define CPU_SUBTYPE_ARM64_V8            ((cpu_subtype_t) 1)
:info:build         ^
:info:build 2 warnings and 1 error generated.
:info:build make[1]: *** [PruneTrie.o] Error 1
:info:build make[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_cctools/cctools/work/cctools-862/misc'
:info:build make: *** [all] Error 1
:info:build make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_cctools/cctools/work/cctools-862'
:info:build Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_cctools/cctools/work/cctools-862" && /usr/bin/make -j8 -w all RC_OS="macos" RC_ProjectSourceVersion=862 USE_DEPENDENCY_FILE=NO BUILD_DYLIBS=NO CC="/usr/bin/clang -Os -std=gnu99" CXX="/usr/bin/clang++ -Os -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_cctools/cctools/work/cctools-862/../ld64-236.3/src/abstraction -I/opt/local/Developer/SDKs/Darwin14.sdk/usr/include" 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_release_tarballs_ports_devel_cctools/cctools/work/cctools-862/../ld64-236.3/src/other" LTO=-DLTO_SUPPORT RC_CFLAGS="-arch x86_64 `llvm-config-mp-3.3 --cflags`" LLVM_MC="llvm-mc-mp-3.3" 
:info:build Exit code: 2
:error:build org.macports.build for port cctools returned: command execution failed
:debug:build Error code: CHILDSTATUS 5089 2
:debug:build Backtrace: command execution failed
    while executing
"system -nice 0 $fullcmdstring"
    ("eval" body line 1)
    invoked from within
"eval system $notty $nice \$fullcmdstring"
    invoked from within
"command_exec build"
    (procedure "portbuild::build_main" line 8)
    invoked from within
"portbuild::build_main org.macports.build"
    ("eval" body line 1)
    invoked from within
"eval $procedure $targetname"
:info:build Warning: targets not executed for cctools: org.macports.install org.macports.build org.macports.destroot
:notice:build Please see the log file for port cctools for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_cctools/cctools/main.log

Change History (1)

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

Description: modified (diff)
Owner: changed from macports-tickets@… to jeremyhu@…
Type: updatedefect

Please remember to use WikiFormatting. The log you pasted is not from a clean build. Please clean and try again. If it fails again, attach (not paste) the new log. Thanks.

Note: See TracTickets for help on using tickets.