Opened 2 hours ago

#71336 new defect

arq_restore fails to build with gcc due to clang-only flags: error: unrecognized command line option "-fobjc-arc" etc.

Reported by: barracuda156 Owned by:
Priority: Normal Milestone:
Component: ports Version: 2.10.4
Keywords: Cc:
Port: arq_restore

Description

--->  Building arq_restore
xcodebuild: Warning: configuration Deployment is not in the project.  Building default configuration.
=== BUILDING NATIVE TARGET arq_restore OF PROJECT arq_restore WITH THE DEFAULT CONFIGURATION (Release) ===

Checking Dependencies...
warning: skipping file '/usr/lib/libz.tbd' (unexpected file type 'file' in Frameworks & Libraries build phase)

ProcessPCH /var/folders/zz/zzzivhrRnAmviuee+++++++++++/-Caches-/com.apple.Xcode.0/SharedPrecompiledHeaders/arq_restore_Prefix-exhasotsfvfhxzcwzzqqrenkpdxj/arq_restore_Prefix.pch.gch arq_restore_Prefix.pch normal ppc objective-c com.apple.compilers.gcc.4_2
    cd /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_sysutils_arq_restore/arq_restore/work/arq_restore-5.7
    /Developer/usr/bin/gcc-4.2 -x objective-c-header -arch ppc -fmessage-length=0 -pipe -std=gnu99 -Wno-trigraphs -fpascal-strings -fasm-blocks -Os -fno-common -mdynamic-no-pic -Werror -Wreturn-type -Wunused-function -Wunused-variable -Wuninitialized -Wshorten-64-to-32 -Wundeclared-selector -DUSE_OPENSSL=1 -mtune=G5 -fvisibility=hidden -Wno-deprecated-declarations -mmacosx-version-min=10.6 -gdwarf-2 -iquote /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_sysutils_arq_restore/arq_restore/work/arq_restore-5.7/build/arq_restore.build/Release/arq_restore.build/arq_restore-generated-files.hmap -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_sysutils_arq_restore/arq_restore/work/arq_restore-5.7/build/arq_restore.build/Release/arq_restore.build/arq_restore-own-target-headers.hmap -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_sysutils_arq_restore/arq_restore/work/arq_restore-5.7/build/arq_restore.build/Release/arq_restore.build/arq_restore-all-target-headers.hmap -iquote /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_sysutils_arq_restore/arq_restore/work/arq_restore-5.7/build/arq_restore.build/Release/arq_restore.build/arq_restore-project-headers.hmap -Wno-objc-designated-initializers -F/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_sysutils_arq_restore/arq_restore/work/arq_restore-5.7/build/Release -F/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_sysutils_arq_restore/arq_restore/work/arq_restore-5.7 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_sysutils_arq_restore/arq_restore/work/arq_restore-5.7/build/Release/include -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_sysutils_arq_restore/arq_restore/work/arq_restore-5.7/libssh2/include -I/opt/local/libexec/openssl10/include -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_sysutils_arq_restore/arq_restore/work/arq_restore-5.7 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_sysutils_arq_restore/arq_restore/work/arq_restore-5.7/build/arq_restore.build/Release/arq_restore.build/DerivedSources -c /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_sysutils_arq_restore/arq_restore/work/arq_restore-5.7/arq_restore_Prefix.pch -o /var/folders/zz/zzzivhrRnAmviuee+++++++++++/-Caches-/com.apple.Xcode.0/SharedPrecompiledHeaders/arq_restore_Prefix-exhasotsfvfhxzcwzzqqrenkpdxj/arq_restore_Prefix.pch.gch
cc1obj: error: unrecognized command line option "-Wno-objc-designated-initializers"

ProcessPCH /var/folders/zz/zzzivhrRnAmviuee+++++++++++/-Caches-/com.apple.Xcode.0/SharedPrecompiledHeaders/arq_restore_Prefix-cntvabzvucmyxtcbtxvhpgltskyb/arq_restore_Prefix.pch.gch arq_restore_Prefix.pch normal ppc objective-c com.apple.compilers.gcc.4_2
    cd /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_sysutils_arq_restore/arq_restore/work/arq_restore-5.7
    /Developer/usr/bin/gcc-4.2 -x objective-c-header -arch ppc -fmessage-length=0 -pipe -std=gnu99 -Wno-trigraphs -fpascal-strings -fasm-blocks -Os -fno-common -mdynamic-no-pic -Werror -Wreturn-type -Wunused-function -Wunused-variable -Wuninitialized -Wshorten-64-to-32 -Wundeclared-selector -DUSE_OPENSSL=1 -mtune=G5 -fvisibility=hidden -Wno-deprecated-declarations -mmacosx-version-min=10.6 -gdwarf-2 -iquote /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_sysutils_arq_restore/arq_restore/work/arq_restore-5.7/build/arq_restore.build/Release/arq_restore.build/arq_restore-generated-files.hmap -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_sysutils_arq_restore/arq_restore/work/arq_restore-5.7/build/arq_restore.build/Release/arq_restore.build/arq_restore-own-target-headers.hmap -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_sysutils_arq_restore/arq_restore/work/arq_restore-5.7/build/arq_restore.build/Release/arq_restore.build/arq_restore-all-target-headers.hmap -iquote /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_sysutils_arq_restore/arq_restore/work/arq_restore-5.7/build/arq_restore.build/Release/arq_restore.build/arq_restore-project-headers.hmap -Wno-objc-designated-initializers -F/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_sysutils_arq_restore/arq_restore/work/arq_restore-5.7/build/Release -F/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_sysutils_arq_restore/arq_restore/work/arq_restore-5.7 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_sysutils_arq_restore/arq_restore/work/arq_restore-5.7/build/Release/include -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_sysutils_arq_restore/arq_restore/work/arq_restore-5.7/libssh2/include -I/opt/local/libexec/openssl10/include -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_sysutils_arq_restore/arq_restore/work/arq_restore-5.7 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_sysutils_arq_restore/arq_restore/work/arq_restore-5.7/build/arq_restore.build/Release/arq_restore.build/DerivedSources -fobjc-arc -c /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_sysutils_arq_restore/arq_restore/work/arq_restore-5.7/arq_restore_Prefix.pch -o /var/folders/zz/zzzivhrRnAmviuee+++++++++++/-Caches-/com.apple.Xcode.0/SharedPrecompiledHeaders/arq_restore_Prefix-cntvabzvucmyxtcbtxvhpgltskyb/arq_restore_Prefix.pch.gch
cc1obj: error: unrecognized command line option "-Wno-objc-designated-initializers"
cc1obj: error: unrecognized command line option "-fobjc-arc"

ProcessPCH /var/folders/zz/zzzivhrRnAmviuee+++++++++++/-Caches-/com.apple.Xcode.0/SharedPrecompiledHeaders/arq_restore_Prefix-drqssfsflvmvdrahsyukoxqidxjr/arq_restore_Prefix.pch.gch arq_restore_Prefix.pch normal ppc c com.apple.compilers.gcc.4_2
    cd /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_sysutils_arq_restore/arq_restore/work/arq_restore-5.7
    /Developer/usr/bin/gcc-4.2 -x c-header -arch ppc -fmessage-length=0 -pipe -std=gnu99 -Wno-trigraphs -fpascal-strings -fasm-blocks -Os -fno-common -mdynamic-no-pic -Werror -Wreturn-type -Wunused-function -Wunused-variable -Wuninitialized -Wshorten-64-to-32 -DUSE_OPENSSL=1 -mtune=G5 -fvisibility=hidden -Wno-deprecated-declarations -mmacosx-version-min=10.6 -gdwarf-2 -iquote /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_sysutils_arq_restore/arq_restore/work/arq_restore-5.7/build/arq_restore.build/Release/arq_restore.build/arq_restore-generated-files.hmap -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_sysutils_arq_restore/arq_restore/work/arq_restore-5.7/build/arq_restore.build/Release/arq_restore.build/arq_restore-own-target-headers.hmap -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_sysutils_arq_restore/arq_restore/work/arq_restore-5.7/build/arq_restore.build/Release/arq_restore.build/arq_restore-all-target-headers.hmap -iquote /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_sysutils_arq_restore/arq_restore/work/arq_restore-5.7/build/arq_restore.build/Release/arq_restore.build/arq_restore-project-headers.hmap -Wno-objc-designated-initializers -F/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_sysutils_arq_restore/arq_restore/work/arq_restore-5.7/build/Release -F/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_sysutils_arq_restore/arq_restore/work/arq_restore-5.7 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_sysutils_arq_restore/arq_restore/work/arq_restore-5.7/build/Release/include -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_sysutils_arq_restore/arq_restore/work/arq_restore-5.7/libssh2/include -I/opt/local/libexec/openssl10/include -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_sysutils_arq_restore/arq_restore/work/arq_restore-5.7 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_sysutils_arq_restore/arq_restore/work/arq_restore-5.7/build/arq_restore.build/Release/arq_restore.build/DerivedSources -c /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_sysutils_arq_restore/arq_restore/work/arq_restore-5.7/arq_restore_Prefix.pch -o /var/folders/zz/zzzivhrRnAmviuee+++++++++++/-Caches-/com.apple.Xcode.0/SharedPrecompiledHeaders/arq_restore_Prefix-drqssfsflvmvdrahsyukoxqidxjr/arq_restore_Prefix.pch.gch
cc1: error: unrecognized command line option "-Wno-objc-designated-initializers"
** BUILD FAILED **

The following build commands failed:
arq_restore:
	ProcessPCH /var/folders/zz/zzzivhrRnAmviuee+++++++++++/-Caches-/com.apple.Xcode.0/SharedPrecompiledHeaders/arq_restore_Prefix-exhasotsfvfhxzcwzzqqrenkpdxj/arq_restore_Prefix.pch.gch arq_restore_Prefix.pch normal ppc objective-c com.apple.compilers.gcc.4_2
	ProcessPCH /var/folders/zz/zzzivhrRnAmviuee+++++++++++/-Caches-/com.apple.Xcode.0/SharedPrecompiledHeaders/arq_restore_Prefix-drqssfsflvmvdrahsyukoxqidxjr/arq_restore_Prefix.pch.gch arq_restore_Prefix.pch normal ppc c com.apple.compilers.gcc.4_2
	ProcessPCH /var/folders/zz/zzzivhrRnAmviuee+++++++++++/-Caches-/com.apple.Xcode.0/SharedPrecompiledHeaders/arq_restore_Prefix-cntvabzvucmyxtcbtxvhpgltskyb/arq_restore_Prefix.pch.gch arq_restore_Prefix.pch normal ppc objective-c com.apple.compilers.gcc.4_2
(3 failures)

Command failed: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_sysutils_arq_restore/arq_restore/work/arq_restore-5.7" && OPENSSLDIR=/opt/local/libexec/openssl10 OPENSSL_DIR=/opt/local/libexec/openssl10 CMAKE_CC_COMPILER_LAUNCHER=/opt/local/bin/ccache CMAKE_OBJC_COMPILER_LAUNCHER=/opt/local/bin/ccache CMAKE_CXX_COMPILER_LAUNCHER=/opt/local/bin/ccache CMAKE_OBJCXX_COMPILER_LAUNCHER=/opt/local/bin/ccache /usr/bin/xcodebuild  -alltargets -configuration Deployment build INSTALL_PATH="/opt/local/bin"  OBJROOT="/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_sysutils_arq_restore/arq_restore/work/arq_restore-5.7/build/" SYMROOT="/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_sysutils_arq_restore/arq_restore/work/arq_restore-5.7/build/" MACOSX_DEPLOYMENT_TARGET=10.6 ARCHS=ppc SDKROOT="" GCC_VERSION=4.2 CLANG_CXX_LIBRARY="libstdc++" 
Exit code: 1
Error: Failed to build arq_restore: command execution failed

Change History (0)

Note: See TracTickets for help on using tickets.