Opened 12 years ago

Closed 12 years ago

#35232 closed defect (invalid)

cmake @2.8.8 configure failure: command execution failed

Reported by: penyuan@… Owned by: cssdev
Priority: Normal Milestone:
Component: ports Version: 2.1.1
Keywords: Cc:
Port: cmake

Description

When I try to do "sudo port install cmake +universal" on my Mac OS X 10.6.8 machine with Xcode 3.2.6 I get a "configure failure: command execution failed" error.

I've set my +universal to mean i386, x86_64, and ppc. The relavent portion of the log is below, and the full log is attached.

:info:configure /usr/bin/g++-4.2 -L/opt/local/lib -arch i386 -framework CoreFoundation -pipe -O2 -arch i386  -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_cmake/cmake/work/cmake-2.8.8-i386/Bootstrap.cmk -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_cmake/cmake/work/cmake-2.8.8-i386/Source   -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_cmake/cmake/work/cmake-2.8.8-i386/Bootstrap.cmk  cmStandardIncludes.o cmake.o cmakemain.o cmakewizard.o cmCommandArgumentLexer.o cmCommandArgumentParser.o cmCommandArgumentParserHelper.o cmDefinitions.o cmDepends.o cmDependsC.o cmDocumentationFormatter.o cmDocumentationFormatterText.o cmPolicies.o cmProperty.o cmPropertyMap.o cmPropertyDefinition.o cmPropertyDefinitionMap.o cmMakeDepend.o cmMakefile.o cmExportFileGenerator.o cmExportInstallFileGenerator.o cmInstallDirectoryGenerator.o cmGeneratedFileStream.o cmGeneratorTarget.o cmGeneratorExpression.o cmGlobalGenerator.o cmLocalGenerator.o cmInstallGenerator.o cmInstallExportGenerator.o cmInstallFilesGenerator.o cmInstallScriptGenerator.o cmInstallTargetGenerator.o cmScriptGenerator.o cmSourceFile.o cmSourceFileLocation.o cmSystemTools.o cmTestGenerator.o cmVersion.o cmFileTimeComparison.o cmGlobalUnixMakefileGenerator3.o cmLocalUnixMakefileGenerator3.o cmMakefileExecutableTargetGenerator.o cmMakefileLibraryTargetGenerator.o cmMakefileTargetGenerator.o cmMakefileUtilityTargetGenerator.o cmNewLineStyle.o cmBootstrapCommands.o cmCommands.o cmTarget.o cmTest.o cmCustomCommand.o cmCustomCommandGenerator.o cmDocumentVariables.o cmCacheManager.o cmListFileCache.o cmComputeLinkDepends.o cmComputeLinkInformation.o cmOrderDirectories.o cmComputeTargetDepends.o cmComputeComponentGraph.o cmExprLexer.o cmExprParser.o cmExprParserHelper.o cmListFileLexer.o Directory.o Glob.o RegularExpression.o SystemTools.o ProcessUNIX.o String.o System.o -o cmake
:info:configure loading initial cache file /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_cmake/cmake/work/cmake-2.8.8-i386/Bootstrap.cmk/InitialCacheFlags.cmake
:info:configure 2012-07-17 10:24:01.765 sw_vers[6756:903] CFPreferences: user home directory at file://localhost/opt/local/var/macports/home/ is unavailable. User domains will be volatile.
:info:configure -- Disable ninja generator.
:info:configure 2012-07-17 10:24:06.150 sw_vers[6761:903] CFPreferences: user home directory at file://localhost/opt/local/var/macports/home/ is unavailable. User domains will be volatile.
:info:configure -- Could NOT find Qt4 (missing:  QT_QMAKE_EXECUTABLE QT_MOC_EXECUTABLE QT_RCC_EXECUTABLE QT_UIC_EXECUTABLE QT_INCLUDE_DIR QT_LIBRARY_DIR QT_QTCORE_LIBRARY) 
:info:configure -- Configuring done
:info:configure -- Generating done
:info:configure -- Build files have been written to: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_cmake/cmake/work/cmake-2.8.8-i386
:info:configure ---------------------------------------------
:info:configure CMake has bootstrapped.  Now run make.
:info:configure --->  Configuring cmake for architecture ppc
:debug:configure Environment: CPATH='/opt/local/include' CFLAGS='-pipe -O2 -arch ppc' CPPFLAGS='-I/opt/local/include' CXXFLAGS='-pipe -O2 -arch ppc' LIBRARY_PATH='/opt/local/lib' MACOSX_DEPLOYMENT_TARGET='10.6' CMAKE_PREFIX_PATH='/opt/local' CXX='/usr/bin/g++-4.2' CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_cmake/cmake/work/.CC_PRINT_OPTIONS' F90FLAGS='-pipe -O2' LDFLAGS='-L/opt/local/lib -arch ppc' FCFLAGS='-pipe -O2' OBJC='/usr/bin/gcc-4.2' INSTALL='/usr/bin/install -c' CMAKE_INCLUDE_PATH='/opt/local/include/ncurses' CMAKE_LIBRARY_PATH='/opt/local/lib' FFLAGS='-pipe -O2' NM='/usr/bin/nm' OBJCFLAGS='-pipe -O2 -arch ppc' CC_PRINT_OPTIONS='YES' CC='/usr/bin/gcc-4.2'
:debug:configure Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_cmake/cmake/work/cmake-2.8.8-ppc" && ./configure --prefix=/opt/local --mandir=/share/man --docdir=/share/doc/cmake --parallel=4 --init=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_cmake/cmake/work/cmake-2.8.8/macports.cmake --host=powerpc-apple-darwin10.8.0'
:debug:configure Executing command line:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_cmake/cmake/work/cmake-2.8.8-ppc" && ./configure --prefix=/opt/local --mandir=/share/man --docdir=/share/doc/cmake --parallel=4 --init=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_cmake/cmake/work/cmake-2.8.8/macports.cmake --host=powerpc-apple-darwin10.8.0 
:info:configure Unknown option: --host=powerpc-apple-darwin10.8.0
:info:configure Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_cmake/cmake/work/cmake-2.8.8-ppc" && ./configure --prefix=/opt/local --mandir=/share/man --docdir=/share/doc/cmake --parallel=4 --init=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_cmake/cmake/work/cmake-2.8.8/macports.cmake --host=powerpc-apple-darwin10.8.0 
:info:configure Exit code: 1
:error:configure org.macports.configure for port cmake returned: configure failure: command execution failed
:debug:configure Error code: NONE
:debug:configure Backtrace: configure failure: command execution failed
    while executing
"$procedure $targetname"
:info:configure Warning: targets not executed for cmake: org.macports.activate org.macports.configure org.macports.build org.macports.destroot org.macports.install
:notice:configure Please see the log file for port cmake for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_cmake/cmake/main.log

Attachments (1)

main.log (128.7 KB) - added by penyuan@… 12 years ago.

Download all attachments as: .zip

Change History (3)

Changed 12 years ago by penyuan@…

Attachment: main.log added

comment:1 Changed 12 years ago by mf2k (Frank Schima)

Keywords: 10.5 universal removed
Owner: changed from macports-tickets@… to css@…

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

Resolution: invalid
Status: newclosed

Snow Leopard only runs on Intel Macs. Don't try to build for PowerPC on Snow Leopard or later.

Note: See TracTickets for help on using tickets.