[MacPorts] #18025: cmake: build failure for 4-way universal: missing required architecture x86_64 in file

MacPorts noreply at macports.org
Thu Jan 15 20:01:06 PST 2009


#18025: cmake: build failure for 4-way universal: missing required architecture
x86_64 in file
-------------------------------------+--------------------------------------
 Reporter:  ryandesign@…             |       Owner:  css@…           
     Type:  defect                   |      Status:  new             
 Priority:  Normal                   |   Milestone:  Port Bugs       
Component:  ports                    |     Version:  1.7.0           
 Keywords:                           |        Port:  cmake           
-------------------------------------+--------------------------------------
 I'm on Mac OS X 10.4.11 Tiger on an Intel Mac. In my macports.conf I have
 universal_archs set to all four architectures (ppc i386 ppc64 x86_64) and
 cmake gives complaints like:

 {{{
 ld64 warning: in
 /Developer/SDKs/MacOSX10.4u.sdk/System/Library/Frameworks//Carbon.framework/Carbon,
 missing required architecture x86_64 in file
 }}}

 and

 {{{
 ld64 warning: in
 /Developer/SDKs/MacOSX10.4u.sdk/System/Library/Frameworks//Carbon.framework/Carbon,
 missing required architecture ppc64 in file
 }}}

 Carbon is not available on 64-bit, so cmake should not be attempting to
 use it when built on 64-bit architectures.

 {{{
 /usr/bin/g++-4.0 -L/mp/lib -arch ppc -arch i386 -arch ppc64 -arch x86_64
 -framework Carbon -O2 -isysroot /Developer/SDKs/MacOSX10.4u.sdk -arch ppc
 -arch i386 -arch ppc64 -arch x86_64
 -I/mp/var/macports/build/_Users_rschmidt_macports_dports_devel_cmake/work/cmake-2.6.2/Source
 -I/mp/var/macports/build/_Users_rschmidt_macports_dports_devel_cmake/work/cmake-2.6.2/Bootstrap.cmk
 cmake.o cmakemain.o cmakewizard.o cmCommandArgumentLexer.o
 cmCommandArgumentParser.o cmCommandArgumentParserHelper.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 cmGlobalGenerator.o
 cmLocalGenerator.o cmInstallGenerator.o cmInstallExportGenerator.o
 cmInstallFilesGenerator.o cmInstallScriptGenerator.o
 cmInstallTargetGenerator.o cmSourceFile.o cmSourceFileLocation.o
 cmSystemTools.o cmVersion.o cmFileTimeComparison.o
 cmGlobalUnixMakefileGenerator3.o cmLocalUnixMakefileGenerator3.o
 cmMakefileExecutableTargetGenerator.o cmMakefileLibraryTargetGenerator.o
 cmMakefileTargetGenerator.o cmMakefileUtilityTargetGenerator.o
 cmBootstrapCommands.o cmCommands.o cmTarget.o cmTest.o cmCustomCommand.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
 ld64 warning: in
 /Developer/SDKs/MacOSX10.4u.sdk/System/Library/Frameworks//Carbon.framework/Carbon,
 missing required architecture x86_64 in file
 Undefined symbols for architecture x86_64:
   _CFRelease, referenced from:
       cmFindProgramCommand::GetBundleExecutable(std::basic_string<char,
 std::char_traits<char>, std::allocator<char> >)in cmBootstrapCommands.o
       cmFindProgramCommand::GetBundleExecutable(std::basic_string<char,
 std::char_traits<char>, std::allocator<char> >)in cmBootstrapCommands.o
       cmFindProgramCommand::GetBundleExecutable(std::basic_string<char,
 std::char_traits<char>, std::allocator<char> >)in cmBootstrapCommands.o
       cmFindProgramCommand::GetBundleExecutable(std::basic_string<char,
 std::char_traits<char>, std::allocator<char> >)in cmBootstrapCommands.o
   _CFURLCreateWithFileSystemPath, referenced from:
       cmFindProgramCommand::GetBundleExecutable(std::basic_string<char,
 std::char_traits<char>, std::allocator<char> >)in cmBootstrapCommands.o
   _CFBundleCopyExecutableURL, referenced from:
       cmFindProgramCommand::GetBundleExecutable(std::basic_string<char,
 std::char_traits<char>, std::allocator<char> >)in cmBootstrapCommands.o
   _CFBundleCreate, referenced from:
       cmFindProgramCommand::GetBundleExecutable(std::basic_string<char,
 std::char_traits<char>, std::allocator<char> >)in cmBootstrapCommands.o
   _CFStringGetCString, referenced from:
       cmFindProgramCommand::GetBundleExecutable(std::basic_string<char,
 std::char_traits<char>, std::allocator<char> >)in cmBootstrapCommands.o
   _CFURLGetString, referenced from:
       cmFindProgramCommand::GetBundleExecutable(std::basic_string<char,
 std::char_traits<char>, std::allocator<char> >)in cmBootstrapCommands.o
   _CFStringCreateWithCString, referenced from:
       cmFindProgramCommand::GetBundleExecutable(std::basic_string<char,
 std::char_traits<char>, std::allocator<char> >)in cmBootstrapCommands.o
   _kCFAllocatorDefault, referenced from:
       cmFindProgramCommand::GetBundleExecutable(std::basic_string<char,
 std::char_traits<char>, std::allocator<char> >)in cmBootstrapCommands.o
       cmFindProgramCommand::GetBundleExecutable(std::basic_string<char,
 std::char_traits<char>, std::allocator<char> >)in cmBootstrapCommands.o
 ld64-62.1 failed: symbol(s) not found for architecture x86_64
 collect2: ld returned 1 exit status
 ld64 warning: in
 /Developer/SDKs/MacOSX10.4u.sdk/System/Library/Frameworks//Carbon.framework/Carbon,
 missing required architecture ppc64 in file
 Undefined symbols for architecture ppc64:
   _CFRelease, referenced from:
       cmFindProgramCommand::GetBundleExecutable(std::basic_string<char,
 std::char_traits<char>, std::allocator<char> >)in cmBootstrapCommands.o
       cmFindProgramCommand::GetBundleExecutable(std::basic_string<char,
 std::char_traits<char>, std::allocator<char> >)in cmBootstrapCommands.o
       cmFindProgramCommand::GetBundleExecutable(std::basic_string<char,
 std::char_traits<char>, std::allocator<char> >)in cmBootstrapCommands.o
       cmFindProgramCommand::GetBundleExecutable(std::basic_string<char,
 std::char_traits<char>, std::allocator<char> >)in cmBootstrapCommands.o
   _CFURLCreateWithFileSystemPath, referenced from:
       cmFindProgramCommand::GetBundleExecutable(std::basic_string<char,
 std::char_traits<char>, std::allocator<char> >)in cmBootstrapCommands.o
   _CFBundleCopyExecutableURL, referenced from:
       cmFindProgramCommand::GetBundleExecutable(std::basic_string<char,
 std::char_traits<char>, std::allocator<char> >)in cmBootstrapCommands.o
   _CFBundleCreate, referenced from:
       cmFindProgramCommand::GetBundleExecutable(std::basic_string<char,
 std::char_traits<char>, std::allocator<char> >)in cmBootstrapCommands.o
   _CFStringGetCString, referenced from:
       cmFindProgramCommand::GetBundleExecutable(std::basic_string<char,
 std::char_traits<char>, std::allocator<char> >)in cmBootstrapCommands.o
   _CFURLGetString, referenced from:
       cmFindProgramCommand::GetBundleExecutable(std::basic_string<char,
 std::char_traits<char>, std::allocator<char> >)in cmBootstrapCommands.o
   _CFStringCreateWithCString, referenced from:
       cmFindProgramCommand::GetBundleExecutable(std::basic_string<char,
 std::char_traits<char>, std::allocator<char> >)in cmBootstrapCommands.o
   _kCFAllocatorDefault, referenced from:
       _kCFAllocatorDefault$non_lazy_ptr in cmBootstrapCommands.o
 ld64-62.1 failed: symbol(s) not found for architecture ppc64
 collect2: ld returned 1 exit status
 lipo: can't open input file: /var/tmp//ccd7W6JM.out (No such file or
 directory)
 make: *** [cmake] Error 1
 ---------------------------------------------
 Error when bootstrapping CMake:
 Problem while running make
 ---------------------------------------------
 Log of errors:
 /mp/var/macports/build/_Users_rschmidt_macports_dports_devel_cmake/work/cmake-2.6.2/Bootstrap.cmk/cmake_bootstrap.log
 ---------------------------------------------
 Error: Target org.macports.configure returned: configure failure: shell
 command " cd
 "/mp/var/macports/build/_Users_rschmidt_macports_dports_devel_cmake/work/cmake-2.6.2"
 && ./configure --prefix=/mp --mandir=/share/man --docdir=/share/doc/cmake
 --disable-dependency-tracking " returned error 9
 Command output: Undefined symbols for architecture ppc64:
   _CFRelease, referenced from:
       cmFindProgramCommand::GetBundleExecutable(std::basic_string<char,
 std::char_traits<char>, std::allocator<char> >)in cmBootstrapCommands.o
       cmFindProgramCommand::GetBundleExecutable(std::basic_string<char,
 std::char_traits<char>, std::allocator<char> >)in cmBootstrapCommands.o
       cmFindProgramCommand::GetBundleExecutable(std::basic_string<char,
 std::char_traits<char>, std::allocator<char> >)in cmBootstrapCommands.o
       cmFindProgramCommand::GetBundleExecutable(std::basic_string<char,
 std::char_traits<char>, std::allocator<char> >)in cmBootstrapCommands.o
   _CFURLCreateWithFileSystemPath, referenced from:
       cmFindProgramCommand::GetBundleExecutable(std::basic_string<char,
 std::char_traits<char>, std::allocator<char> >)in cmBootstrapCommands.o
   _CFBundleCopyExecutableURL, referenced from:
       cmFindProgramCommand::GetBundleExecutable(std::basic_string<char,
 std::char_traits<char>, std::allocator<char> >)in cmBootstrapCommands.o
   _CFBundleCreate, referenced from:
       cmFindProgramCommand::GetBundleExecutable(std::basic_string<char,
 std::char_traits<char>, std::allocator<char> >)in cmBootstrapCommands.o
   _CFStringGetCString, referenced from:
       cmFindProgramCommand::GetBundleExecutable(std::basic_string<char,
 std::char_traits<char>, std::allocator<char> >)in cmBootstrapCommands.o
   _CFURLGetString, referenced from:
       cmFindProgramCommand::GetBundleExecutable(std::basic_string<char,
 std::char_traits<char>, std::allocator<char> >)in cmBootstrapCommands.o
   _CFStringCreateWithCString, referenced from:
       cmFindProgramCommand::GetBundleExecutable(std::basic_string<char,
 std::char_traits<char>, std::allocator<char> >)in cmBootstrapCommands.o
   _kCFAllocatorDefault, referenced from:
       _kCFAllocatorDefault$non_lazy_ptr in cmBootstrapCommands.o
 ld64-62.1 failed: symbol(s) not found for architecture ppc64
 collect2: ld returned 1 exit status
 lipo: can't open input file: /var/tmp//ccd7W6JM.out (No such file or
 directory)
 make: *** [cmake] Error 1
 ---------------------------------------------
 Error when bootstrapping CMake:
 Problem while running make
 ---------------------------------------------
 Log of errors:
 /mp/var/macports/build/_Users_rschmidt_macports_dports_devel_cmake/work/cmake-2.6.2/Bootstrap.cmk/cmake_bootstrap.log
 ---------------------------------------------

 Warning: the following items did not execute (for cmake):
 org.macports.activate org.macports.configure org.macports.build
 org.macports.destroot org.macports.install
 Error: Status 1 encountered during processing.
 }}}

-- 
Ticket URL: <http://trac.macports.org/ticket/18025>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list