Opened 15 years ago
Closed 15 years ago
#21099 closed defect (worksforme)
class-dump fails to build on Leopard/ppc
Reported by: | jeremyhu (Jeremy Huddleston Sequoia) | Owned by: | landonf (Landon Fuller) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.8.0 |
Keywords: | ppc Leopard 10.5 build_arch | Cc: | waqar@… |
Port: | class-dump |
Description
CompileC "build/class-dump.build/Release/class-dump (64 bit).build/Objects-normal/ppc/CDLoadCommand.o" /Volumes/MyBook/tmp/macports-build/_Volumes_MyBook_src_macports-trunk_dports_devel_class-dump/work/class-dump-3.2/src/CDLoadCommand.m normal ppc objective-c com.apple.compilers.gcc.4_0 cd /Volumes/MyBook/tmp/macports-build/_Volumes_MyBook_src_macports-trunk_dports_devel_class-dump/work/class-dump-3.2/src /Developer/usr/bin/gcc-4.0 -x objective-c -arch ppc -fmessage-length=0 -pipe -Wno-trigraphs -fpascal-strings -fasm-blocks -Os -mdynamic-no-pic -mtune=G5 -fvisibility=hidden -mmacosx-version-min=10.5 -gdwarf-2 "-I/Volumes/MyBook/tmp/macports-build/_Volumes_MyBook_src_macports-trunk_dports_devel_class-dump/work/class-dump-3.2/src/build/class-dump.build/Release/class-dump (64 bit).build/class-dump.hmap" -F/Volumes/MyBook/tmp/macports-build/_Volumes_MyBook_src_macports-trunk_dports_devel_class-dump/work/class-dump-3.2/src/build/Release -I/Volumes/MyBook/tmp/macports-build/_Volumes_MyBook_src_macports-trunk_dports_devel_class-dump/work/class-dump-3.2/src/build/Release/include "-I/Volumes/MyBook/tmp/macports-build/_Volumes_MyBook_src_macports-trunk_dports_devel_class-dump/work/class-dump-3.2/src/build/class-dump.build/Release/class-dump (64 bit).build/DerivedSources/ppc" "-I/Volumes/MyBook/tmp/macports-build/_Volumes_MyBook_src_macports-trunk_dports_devel_class-dump/work/class-dump-3.2/src/build/class-dump.build/Release/class-dump (64 bit).build/DerivedSources" -include /var/folders/zz/zzzivhrRnAmviuee+++++++++++/-Caches-/com.apple.Xcode.0/SharedPrecompiledHeaders/class-dump_Prefix-glpfocgnngftzwefylofmuritxvw/class-dump_Prefix.pch -c /Volumes/MyBook/tmp/macports-build/_Volumes_MyBook_src_macports-trunk_dports_devel_class-dump/work/class-dump-3.2/src/CDLoadCommand.m -o "/Volumes/MyBook/tmp/macports-build/_Volumes_MyBook_src_macports-trunk_dports_devel_class-dump/work/class-dump-3.2/src/build/class-dump.build/Release/class-dump (64 bit).build/Objects-normal/ppc/CDLoadCommand.o" /Volumes/MyBook/tmp/macports-build/_Volumes_MyBook_src_macports-trunk_dports_devel_class-dump/work/class-dump-3.2/src/CDLoadCommand.m: In function '-[CDLoadCommand commandName]': /Volumes/MyBook/tmp/macports-build/_Volumes_MyBook_src_macports-trunk_dports_devel_class-dump/work/class-dump-3.2/src/CDLoadCommand.m:136: error: 'LC_LAZY_LOAD_DYLIB' undeclared (first use in this function) /Volumes/MyBook/tmp/macports-build/_Volumes_MyBook_src_macports-trunk_dports_devel_class-dump/work/class-dump-3.2/src/CDLoadCommand.m:136: error: (Each undeclared identifier is reported only once /Volumes/MyBook/tmp/macports-build/_Volumes_MyBook_src_macports-trunk_dports_devel_class-dump/work/class-dump-3.2/src/CDLoadCommand.m:136: error: for each function it appears in.) /Volumes/MyBook/tmp/macports-build/_Volumes_MyBook_src_macports-trunk_dports_devel_class-dump/work/class-dump-3.2/src/CDLoadCommand.m:137: error: 'LC_ENCRYPTION_INFO' undeclared (first use in this function)
Change History (8)
comment:1 Changed 15 years ago by jeremyhu (Jeremy Huddleston Sequoia)
Owner: | changed from macports-tickets@… to waqar@… |
---|
comment:2 Changed 15 years ago by jeremyhu (Jeremy Huddleston Sequoia)
Keywords: | build_arch added |
---|
comment:3 Changed 15 years ago by jeremyhu (Jeremy Huddleston Sequoia)
Cc: | waqar@… added |
---|---|
Owner: | changed from waqar@… to landonf@… |
comment:4 Changed 15 years ago by jeremyhu (Jeremy Huddleston Sequoia)
I tried 3.3 for the heck of it... it seems to fix the ARCHS issue, but still fails to compile:
=== BUILDING NATIVE TARGET class-dump OF PROJECT class-dump WITH CONFIGURATION Release === Checking Dependencies... CompileC build/class-dump.build/Release/class-dump.build/Objects-normal/ppc/CDLoadCommand.o /Volumes/MyBook/tmp/macports-build/_Users_jeremy_src_macports-trunk_dports_devel_class-dump/work/class-dump-3.3/src/CDLoadCommand.m normal ppc objective-c com.apple.compilers.gcc.4_0 cd /Volumes/MyBook/tmp/macports-build/_Users_jeremy_src_macports-trunk_dports_devel_class-dump/work/class-dump-3.3/src /Developer/usr/bin/gcc-4.0 -x objective-c -arch ppc -fmessage-length=0 -pipe -Wno-trigraphs -fpascal-strings -fasm-blocks -Os -mdynamic-no-pic -mtune=G5 -fvisibility=hidden -mmacosx-version-min=10.5 -gdwarf-2 -I/Volumes/MyBook/tmp/macports-build/_Users_jeremy_src_macports-trunk_dports_devel_class-dump/work/class-dump-3.3/src/build/class-dump.build/Release/class-dump.build/class-dump.hmap -F/Volumes/MyBook/tmp/macports-build/_Users_jeremy_src_macports-trunk_dports_devel_class-dump/work/class-dump-3.3/src/build/Release -I/Volumes/MyBook/tmp/macports-build/_Users_jeremy_src_macports-trunk_dports_devel_class-dump/work/class-dump-3.3/src/build/Release/include -I/Volumes/MyBook/tmp/macports-build/_Users_jeremy_src_macports-trunk_dports_devel_class-dump/work/class-dump-3.3/src/build/class-dump.build/Release/class-dump.build/DerivedSources/ppc -I/Volumes/MyBook/tmp/macports-build/_Users_jeremy_src_macports-trunk_dports_devel_class-dump/work/class-dump-3.3/src/build/class-dump.build/Release/class-dump.build/DerivedSources -include /var/folders/zz/zzzivhrRnAmviuee+++++++++++/-Caches-/com.apple.Xcode.0/SharedPrecompiledHeaders/class-dump_Prefix-feywteezcgqatkgzpzoobezerxbp/class-dump_Prefix.pch -c /Volumes/MyBook/tmp/macports-build/_Users_jeremy_src_macports-trunk_dports_devel_class-dump/work/class-dump-3.3/src/CDLoadCommand.m -o /Volumes/MyBook/tmp/macports-build/_Users_jeremy_src_macports-trunk_dports_devel_class-dump/work/class-dump-3.3/src/build/class-dump.build/Release/class-dump.build/Objects-normal/ppc/CDLoadCommand.o In file included from /Volumes/MyBook/tmp/macports-build/_Users_jeremy_src_macports-trunk_dports_devel_class-dump/work/class-dump-3.3/src/CDLoadCommand.m:12: /Volumes/MyBook/tmp/macports-build/_Users_jeremy_src_macports-trunk_dports_devel_class-dump/work/class-dump-3.3/src/CDLCEncryptionInfo.h:10: error: field 'encryptionInfoCommand' has incomplete type /Volumes/MyBook/tmp/macports-build/_Users_jeremy_src_macports-trunk_dports_devel_class-dump/work/class-dump-3.3/src/CDLCEncryptionInfo.h:10: error: instance variable 'encryptionInfoCommand' has unknown size /Volumes/MyBook/tmp/macports-build/_Users_jeremy_src_macports-trunk_dports_devel_class-dump/work/class-dump-3.3/src/CDLoadCommand.m: In function '+[CDLoadCommand loadCommandWithDataCursor:machOFile:]': /Volumes/MyBook/tmp/macports-build/_Users_jeremy_src_macports-trunk_dports_devel_class-dump/work/class-dump-3.3/src/CDLoadCommand.m:75: error: 'LC_ENCRYPTION_INFO' undeclared (first use in this function) /Volumes/MyBook/tmp/macports-build/_Users_jeremy_src_macports-trunk_dports_devel_class-dump/work/class-dump-3.3/src/CDLoadCommand.m:75: error: (Each undeclared identifier is reported only once /Volumes/MyBook/tmp/macports-build/_Users_jeremy_src_macports-trunk_dports_devel_class-dump/work/class-dump-3.3/src/CDLoadCommand.m:75: error: for each function it appears in.) /Volumes/MyBook/tmp/macports-build/_Users_jeremy_src_macports-trunk_dports_devel_class-dump/work/class-dump-3.3/src/CDLoadCommand.m: In function '-[CDLoadCommand commandName]': /Volumes/MyBook/tmp/macports-build/_Users_jeremy_src_macports-trunk_dports_devel_class-dump/work/class-dump-3.3/src/CDLoadCommand.m:158: error: 'LC_LAZY_LOAD_DYLIB' undeclared (first use in this function) /Volumes/MyBook/tmp/macports-build/_Users_jeremy_src_macports-trunk_dports_devel_class-dump/work/class-dump-3.3/src/CDLoadCommand.m:159: error: 'LC_ENCRYPTION_INFO' undeclared (first use in this function) CompileC build/class-dump.build/Release/class-dump.build/Objects-normal/ppc/CDLCEncryptionInfo.o /Volumes/MyBook/tmp/macports-build/_Users_jeremy_src_macports-trunk_dports_devel_class-dump/work/class-dump-3.3/src/CDLCEncryptionInfo.m normal ppc objective-c com.apple.compilers.gcc.4_0 cd /Volumes/MyBook/tmp/macports-build/_Users_jeremy_src_macports-trunk_dports_devel_class-dump/work/class-dump-3.3/src /Developer/usr/bin/gcc-4.0 -x objective-c -arch ppc -fmessage-length=0 -pipe -Wno-trigraphs -fpascal-strings -fasm-blocks -Os -mdynamic-no-pic -mtune=G5 -fvisibility=hidden -mmacosx-version-min=10.5 -gdwarf-2 -I/Volumes/MyBook/tmp/macports-build/_Users_jeremy_src_macports-trunk_dports_devel_class-dump/work/class-dump-3.3/src/build/class-dump.build/Release/class-dump.build/class-dump.hmap -F/Volumes/MyBook/tmp/macports-build/_Users_jeremy_src_macports-trunk_dports_devel_class-dump/work/class-dump-3.3/src/build/Release -I/Volumes/MyBook/tmp/macports-build/_Users_jeremy_src_macports-trunk_dports_devel_class-dump/work/class-dump-3.3/src/build/Release/include -I/Volumes/MyBook/tmp/macports-build/_Users_jeremy_src_macports-trunk_dports_devel_class-dump/work/class-dump-3.3/src/build/class-dump.build/Release/class-dump.build/DerivedSources/ppc -I/Volumes/MyBook/tmp/macports-build/_Users_jeremy_src_macports-trunk_dports_devel_class-dump/work/class-dump-3.3/src/build/class-dump.build/Release/class-dump.build/DerivedSources -include /var/folders/zz/zzzivhrRnAmviuee+++++++++++/-Caches-/com.apple.Xcode.0/SharedPrecompiledHeaders/class-dump_Prefix-feywteezcgqatkgzpzoobezerxbp/class-dump_Prefix.pch -c /Volumes/MyBook/tmp/macports-build/_Users_jeremy_src_macports-trunk_dports_devel_class-dump/work/class-dump-3.3/src/CDLCEncryptionInfo.m -o /Volumes/MyBook/tmp/macports-build/_Users_jeremy_src_macports-trunk_dports_devel_class-dump/work/class-dump-3.3/src/build/class-dump.build/Release/class-dump.build/Objects-normal/ppc/CDLCEncryptionInfo.o In file included from /Volumes/MyBook/tmp/macports-build/_Users_jeremy_src_macports-trunk_dports_devel_class-dump/work/class-dump-3.3/src/CDLCEncryptionInfo.m:6: /Volumes/MyBook/tmp/macports-build/_Users_jeremy_src_macports-trunk_dports_devel_class-dump/work/class-dump-3.3/src/CDLCEncryptionInfo.h:10: error: field 'encryptionInfoCommand' has incomplete type /Volumes/MyBook/tmp/macports-build/_Users_jeremy_src_macports-trunk_dports_devel_class-dump/work/class-dump-3.3/src/CDLCEncryptionInfo.h:10: error: instance variable 'encryptionInfoCommand' has unknown size /Volumes/MyBook/tmp/macports-build/_Users_jeremy_src_macports-trunk_dports_devel_class-dump/work/class-dump-3.3/src/CDLCEncryptionInfo.m: In function '-[CDLCEncryptionInfo initWithDataCursor:machOFile:]': /Volumes/MyBook/tmp/macports-build/_Users_jeremy_src_macports-trunk_dports_devel_class-dump/work/class-dump-3.3/src/CDLCEncryptionInfo.m:19: error: 'encryptionInfoCommand' undeclared (first use in this function) /Volumes/MyBook/tmp/macports-build/_Users_jeremy_src_macports-trunk_dports_devel_class-dump/work/class-dump-3.3/src/CDLCEncryptionInfo.m:19: error: (Each undeclared identifier is reported only once /Volumes/MyBook/tmp/macports-build/_Users_jeremy_src_macports-trunk_dports_devel_class-dump/work/class-dump-3.3/src/CDLCEncryptionInfo.m:19: error: for each function it appears in.) /Volumes/MyBook/tmp/macports-build/_Users_jeremy_src_macports-trunk_dports_devel_class-dump/work/class-dump-3.3/src/CDLCEncryptionInfo.m: In function '-[CDLCEncryptionInfo cmd]': /Volumes/MyBook/tmp/macports-build/_Users_jeremy_src_macports-trunk_dports_devel_class-dump/work/class-dump-3.3/src/CDLCEncryptionInfo.m:31: error: 'encryptionInfoCommand' undeclared (first use in this function) /Volumes/MyBook/tmp/macports-build/_Users_jeremy_src_macports-trunk_dports_devel_class-dump/work/class-dump-3.3/src/CDLCEncryptionInfo.m: In function '-[CDLCEncryptionInfo cmdsize]': /Volumes/MyBook/tmp/macports-build/_Users_jeremy_src_macports-trunk_dports_devel_class-dump/work/class-dump-3.3/src/CDLCEncryptionInfo.m:36: error: 'encryptionInfoCommand' undeclared (first use in this function) /Volumes/MyBook/tmp/macports-build/_Users_jeremy_src_macports-trunk_dports_devel_class-dump/work/class-dump-3.3/src/CDLCEncryptionInfo.m: In function '-[CDLCEncryptionInfo cryptoff]': /Volumes/MyBook/tmp/macports-build/_Users_jeremy_src_macports-trunk_dports_devel_class-dump/work/class-dump-3.3/src/CDLCEncryptionInfo.m:41: error: 'encryptionInfoCommand' undeclared (first use in this function) /Volumes/MyBook/tmp/macports-build/_Users_jeremy_src_macports-trunk_dports_devel_class-dump/work/class-dump-3.3/src/CDLCEncryptionInfo.m: In function '-[CDLCEncryptionInfo cryptsize]': /Volumes/MyBook/tmp/macports-build/_Users_jeremy_src_macports-trunk_dports_devel_class-dump/work/class-dump-3.3/src/CDLCEncryptionInfo.m:46: error: 'encryptionInfoCommand' undeclared (first use in this function) /Volumes/MyBook/tmp/macports-build/_Users_jeremy_src_macports-trunk_dports_devel_class-dump/work/class-dump-3.3/src/CDLCEncryptionInfo.m: In function '-[CDLCEncryptionInfo cryptid]': /Volumes/MyBook/tmp/macports-build/_Users_jeremy_src_macports-trunk_dports_devel_class-dump/work/class-dump-3.3/src/CDLCEncryptionInfo.m:51: error: 'encryptionInfoCommand' undeclared (first use in this function) /Volumes/MyBook/tmp/macports-build/_Users_jeremy_src_macports-trunk_dports_devel_class-dump/work/class-dump-3.3/src/CDLCEncryptionInfo.m: In function '-[CDLCEncryptionInfo isEncrypted]': /Volumes/MyBook/tmp/macports-build/_Users_jeremy_src_macports-trunk_dports_devel_class-dump/work/class-dump-3.3/src/CDLCEncryptionInfo.m:56: error: 'encryptionInfoCommand' undeclared (first use in this function) CompileC build/class-dump.build/Release/class-dump.build/Objects-normal/ppc/CDMachOFile.o /Volumes/MyBook/tmp/macports-build/_Users_jeremy_src_macports-trunk_dports_devel_class-dump/work/class-dump-3.3/src/CDMachOFile.m normal ppc objective-c com.apple.compilers.gcc.4_0 cd /Volumes/MyBook/tmp/macports-build/_Users_jeremy_src_macports-trunk_dports_devel_class-dump/work/class-dump-3.3/src /Developer/usr/bin/gcc-4.0 -x objective-c -arch ppc -fmessage-length=0 -pipe -Wno-trigraphs -fpascal-strings -fasm-blocks -Os -mdynamic-no-pic -mtune=G5 -fvisibility=hidden -mmacosx-version-min=10.5 -gdwarf-2 -I/Volumes/MyBook/tmp/macports-build/_Users_jeremy_src_macports-trunk_dports_devel_class-dump/work/class-dump-3.3/src/build/class-dump.build/Release/class-dump.build/class-dump.hmap -F/Volumes/MyBook/tmp/macports-build/_Users_jeremy_src_macports-trunk_dports_devel_class-dump/work/class-dump-3.3/src/build/Release -I/Volumes/MyBook/tmp/macports-build/_Users_jeremy_src_macports-trunk_dports_devel_class-dump/work/class-dump-3.3/src/build/Release/include -I/Volumes/MyBook/tmp/macports-build/_Users_jeremy_src_macports-trunk_dports_devel_class-dump/work/class-dump-3.3/src/build/class-dump.build/Release/class-dump.build/DerivedSources/ppc -I/Volumes/MyBook/tmp/macports-build/_Users_jeremy_src_macports-trunk_dports_devel_class-dump/work/class-dump-3.3/src/build/class-dump.build/Release/class-dump.build/DerivedSources -include /var/folders/zz/zzzivhrRnAmviuee+++++++++++/-Caches-/com.apple.Xcode.0/SharedPrecompiledHeaders/class-dump_Prefix-feywteezcgqatkgzpzoobezerxbp/class-dump_Prefix.pch -c /Volumes/MyBook/tmp/macports-build/_Users_jeremy_src_macports-trunk_dports_devel_class-dump/work/class-dump-3.3/src/CDMachOFile.m -o /Volumes/MyBook/tmp/macports-build/_Users_jeremy_src_macports-trunk_dports_devel_class-dump/work/class-dump-3.3/src/build/class-dump.build/Release/class-dump.build/Objects-normal/ppc/CDMachOFile.o In file included from /Volumes/MyBook/tmp/macports-build/_Users_jeremy_src_macports-trunk_dports_devel_class-dump/work/class-dump-3.3/src/CDMachOFile.m:18: /Volumes/MyBook/tmp/macports-build/_Users_jeremy_src_macports-trunk_dports_devel_class-dump/work/class-dump-3.3/src/CDLCEncryptionInfo.h:10: error: field 'encryptionInfoCommand' has incomplete type /Volumes/MyBook/tmp/macports-build/_Users_jeremy_src_macports-trunk_dports_devel_class-dump/work/class-dump-3.3/src/CDLCEncryptionInfo.h:10: error: instance variable 'encryptionInfoCommand' has unknown size CompileC build/class-dump.build/Release/class-dump.build/Objects-normal/ppc/CDClassDumpVisitor.o /Volumes/MyBook/tmp/macports-build/_Users_jeremy_src_macports-trunk_dports_devel_class-dump/work/class-dump-3.3/src/CDClassDumpVisitor.m normal ppc objective-c com.apple.compilers.gcc.4_0 cd /Volumes/MyBook/tmp/macports-build/_Users_jeremy_src_macports-trunk_dports_devel_class-dump/work/class-dump-3.3/src /Developer/usr/bin/gcc-4.0 -x objective-c -arch ppc -fmessage-length=0 -pipe -Wno-trigraphs -fpascal-strings -fasm-blocks -Os -mdynamic-no-pic -mtune=G5 -fvisibility=hidden -mmacosx-version-min=10.5 -gdwarf-2 -I/Volumes/MyBook/tmp/macports-build/_Users_jeremy_src_macports-trunk_dports_devel_class-dump/work/class-dump-3.3/src/build/class-dump.build/Release/class-dump.build/class-dump.hmap -F/Volumes/MyBook/tmp/macports-build/_Users_jeremy_src_macports-trunk_dports_devel_class-dump/work/class-dump-3.3/src/build/Release -I/Volumes/MyBook/tmp/macports-build/_Users_jeremy_src_macports-trunk_dports_devel_class-dump/work/class-dump-3.3/src/build/Release/include -I/Volumes/MyBook/tmp/macports-build/_Users_jeremy_src_macports-trunk_dports_devel_class-dump/work/class-dump-3.3/src/build/class-dump.build/Release/class-dump.build/DerivedSources/ppc -I/Volumes/MyBook/tmp/macports-build/_Users_jeremy_src_macports-trunk_dports_devel_class-dump/work/class-dump-3.3/src/build/class-dump.build/Release/class-dump.build/DerivedSources -include /var/folders/zz/zzzivhrRnAmviuee+++++++++++/-Caches-/com.apple.Xcode.0/SharedPrecompiledHeaders/class-dump_Prefix-feywteezcgqatkgzpzoobezerxbp/class-dump_Prefix.pch -c /Volumes/MyBook/tmp/macports-build/_Users_jeremy_src_macports-trunk_dports_devel_class-dump/work/class-dump-3.3/src/CDClassDumpVisitor.m -o /Volumes/MyBook/tmp/macports-build/_Users_jeremy_src_macports-trunk_dports_devel_class-dump/work/class-dump-3.3/src/build/class-dump.build/Release/class-dump.build/Objects-normal/ppc/CDClassDumpVisitor.o In file included from /Volumes/MyBook/tmp/macports-build/_Users_jeremy_src_macports-trunk_dports_devel_class-dump/work/class-dump-3.3/src/CDClassDumpVisitor.m:16: /Volumes/MyBook/tmp/macports-build/_Users_jeremy_src_macports-trunk_dports_devel_class-dump/work/class-dump-3.3/src/CDLCEncryptionInfo.h:10: error: field 'encryptionInfoCommand' has incomplete type /Volumes/MyBook/tmp/macports-build/_Users_jeremy_src_macports-trunk_dports_devel_class-dump/work/class-dump-3.3/src/CDLCEncryptionInfo.h:10: error: instance variable 'encryptionInfoCommand' has unknown size === BUILDING AGGREGATE TARGET all OF PROJECT class-dump WITH CONFIGURATION Release === Checking Dependencies... ** BUILD FAILED ** The following build commands failed: class-dump: CompileC build/class-dump.build/Release/class-dump.build/Objects-normal/ppc/CDLCEncryptionInfo.o /Volumes/MyBook/tmp/macports-build/_Users_jeremy_src_macports-trunk_dports_devel_class-dump/work/class-dump-3.3/src/CDLCEncryptionInfo.m normal ppc objective-c com.apple.compilers.gcc.4_0 CompileC build/class-dump.build/Release/class-dump.build/Objects-normal/ppc/CDLoadCommand.o /Volumes/MyBook/tmp/macports-build/_Users_jeremy_src_macports-trunk_dports_devel_class-dump/work/class-dump-3.3/src/CDLoadCommand.m normal ppc objective-c com.apple.compilers.gcc.4_0 CompileC build/class-dump.build/Release/class-dump.build/Objects-normal/ppc/CDClassDumpVisitor.o /Volumes/MyBook/tmp/macports-build/_Users_jeremy_src_macports-trunk_dports_devel_class-dump/work/class-dump-3.3/src/CDClassDumpVisitor.m normal ppc objective-c com.apple.compilers.gcc.4_0 CompileC build/class-dump.build/Release/class-dump.build/Objects-normal/ppc/CDMachOFile.o /Volumes/MyBook/tmp/macports-build/_Users_jeremy_src_macports-trunk_dports_devel_class-dump/work/class-dump-3.3/src/CDMachOFile.m normal ppc objective-c com.apple.compilers.gcc.4_0 (4 failures) Error: Target org.macports.build returned: shell command "cd "/opt/local/var/macports/build/_Users_jeremy_src_macports-trunk_dports_devel_class-dump/work/class-dump-3.3/src" && xcodebuild -target "all" -configuration Release build OBJROOT=build/ SYMROOT=build/ MACOSX_DEPLOYMENT_TARGET=10.5 ARCHS=ppc SDKROOT= " returned error 1 Command output: /Volumes/MyBook/tmp/macports-build/_Users_jeremy_src_macports-trunk_dports_devel_class-dump/work/class-dump-3.3/src/CDLCEncryptionInfo.m:56: error: 'encryptionInfoCommand' undeclared (first use in this function) CompileC build/class-dump.build/Release/class-dump.build/Objects-normal/ppc/CDMachOFile.o /Volumes/MyBook/tmp/macports-build/_Users_jeremy_src_macports-trunk_dports_devel_class-dump/work/class-dump-3.3/src/CDMachOFile.m normal ppc objective-c com.apple.compilers.gcc.4_0 cd /Volumes/MyBook/tmp/macports-build/_Users_jeremy_src_macports-trunk_dports_devel_class-dump/work/class-dump-3.3/src /Developer/usr/bin/gcc-4.0 -x objective-c -arch ppc -fmessage-length=0 -pipe -Wno-trigraphs -fpascal-strings -fasm-blocks -Os -mdynamic-no-pic -mtune=G5 -fvisibility=hidden -mmacosx-version-min=10.5 -gdwarf-2 -I/Volumes/MyBook/tmp/macports-build/_Users_jeremy_src_macports-trunk_dports_devel_class-dump/work/class-dump-3.3/src/build/class-dump.build/Release/class-dump.build/class-dump.hmap -F/Volumes/MyBook/tmp/macports-build/_Users_jeremy_src_macports-trunk_dports_devel_class-dump/work/class-dump-3.3/src/build/Release -I/Volumes/MyBook/tmp/macports-build/_Users_jeremy_src_macports-trunk_dports_devel_class-dump/work/class-dump-3.3/src/build/Release/include -I/Volumes/MyBook/tmp/macports-build/_Users_jeremy_src_macports-trunk_dports_devel_class-dump/work/class-dump-3.3/src/build/class-dump.build/Release/class-dump.build/DerivedSources/ppc -I/Volumes/MyBook/tmp/macports-build/_Users_jeremy_src_macports-trunk_dports_devel_class-dump/work/class-dump-3.3/src/build/class-dump.build/Release/class-dump.build/DerivedSources -include /var/folders/zz/zzzivhrRnAmviuee+++++++++++/-Caches-/com.apple.Xcode.0/SharedPrecompiledHeaders/class-dump_Prefix-feywteezcgqatkgzpzoobezerxbp/class-dump_Prefix.pch -c /Volumes/MyBook/tmp/macports-build/_Users_jeremy_src_macports-trunk_dports_devel_class-dump/work/class-dump-3.3/src/CDMachOFile.m -o /Volumes/MyBook/tmp/macports-build/_Users_jeremy_src_macports-trunk_dports_devel_class-dump/work/class-dump-3.3/src/build/class-dump.build/Release/class-dump.build/Objects-normal/ppc/CDMachOFile.o In file included from /Volumes/MyBook/tmp/macports-build/_Users_jeremy_src_macports-trunk_dports_devel_class-dump/work/class-dump-3.3/src/CDMachOFile.m:18: /Volumes/MyBook/tmp/macports-build/_Users_jeremy_src_macports-trunk_dports_devel_class-dump/work/class-dump-3.3/src/CDLCEncryptionInfo.h:10: error: field 'encryptionInfoCommand' has incomplete type /Volumes/MyBook/tmp/macports-build/_Users_jeremy_src_macports-trunk_dports_devel_class-dump/work/class-dump-3.3/src/CDLCEncryptionInfo.h:10: error: instance variable 'encryptionInfoCommand' has unknown size CompileC build/class-dump.build/Release/class-dump.build/Objects-normal/ppc/CDClassDumpVisitor.o /Volumes/MyBook/tmp/macports-build/_Users_jeremy_src_macports-trunk_dports_devel_class-dump/work/class-dump-3.3/src/CDClassDumpVisitor.m normal ppc objective-c com.apple.compilers.gcc.4_0 cd /Volumes/MyBook/tmp/macports-build/_Users_jeremy_src_macports-trunk_dports_devel_class-dump/work/class-dump-3.3/src /Developer/usr/bin/gcc-4.0 -x objective-c -arch ppc -fmessage-length=0 -pipe -Wno-trigraphs -fpascal-strings -fasm-blocks -Os -mdynamic-no-pic -mtune=G5 -fvisibility=hidden -mmacosx-version-min=10.5 -gdwarf-2 -I/Volumes/MyBook/tmp/macports-build/_Users_jeremy_src_macports-trunk_dports_devel_class-dump/work/class-dump-3.3/src/build/class-dump.build/Release/class-dump.build/class-dump.hmap -F/Volumes/MyBook/tmp/macports-build/_Users_jeremy_src_macports-trunk_dports_devel_class-dump/work/class-dump-3.3/src/build/Release -I/Volumes/MyBook/tmp/macports-build/_Users_jeremy_src_macports-trunk_dports_devel_class-dump/work/class-dump-3.3/src/build/Release/include -I/Volumes/MyBook/tmp/macports-build/_Users_jeremy_src_macports-trunk_dports_devel_class-dump/work/class-dump-3.3/src/build/class-dump.build/Release/class-dump.build/DerivedSources/ppc -I/Volumes/MyBook/tmp/macports-build/_Users_jeremy_src_macports-trunk_dports_devel_class-dump/work/class-dump-3.3/src/build/class-dump.build/Release/class-dump.build/DerivedSources -include /var/folders/zz/zzzivhrRnAmviuee+++++++++++/-Caches-/com.apple.Xcode.0/SharedPrecompiledHeaders/class-dump_Prefix-feywteezcgqatkgzpzoobezerxbp/class-dump_Prefix.pch -c /Volumes/MyBook/tmp/macports-build/_Users_jeremy_src_macports-trunk_dports_devel_class-dump/work/class-dump-3.3/src/CDClassDumpVisitor.m -o /Volumes/MyBook/tmp/macports-build/_Users_jeremy_src_macports-trunk_dports_devel_class-dump/work/class-dump-3.3/src/build/class-dump.build/Release/class-dump.build/Objects-normal/ppc/CDClassDumpVisitor.o In file included from /Volumes/MyBook/tmp/macports-build/_Users_jeremy_src_macports-trunk_dports_devel_class-dump/work/class-dump-3.3/src/CDClassDumpVisitor.m:16: /Volumes/MyBook/tmp/macports-build/_Users_jeremy_src_macports-trunk_dports_devel_class-dump/work/class-dump-3.3/src/CDLCEncryptionInfo.h:10: error: field 'encryptionInfoCommand' has incomplete type /Volumes/MyBook/tmp/macports-build/_Users_jeremy_src_macports-trunk_dports_devel_class-dump/work/class-dump-3.3/src/CDLCEncryptionInfo.h:10: error: instance variable 'encryptionInfoCommand' has unknown size === BUILDING AGGREGATE TARGET all OF PROJECT class-dump WITH CONFIGURATION Release === Checking Dependencies... ** BUILD FAILED ** The following build commands failed: class-dump: CompileC build/class-dump.build/Release/class-dump.build/Objects-normal/ppc/CDLCEncryptionInfo.o /Volumes/MyBook/tmp/macports-build/_Users_jeremy_src_macports-trunk_dports_devel_class-dump/work/class-dump-3.3/src/CDLCEncryptionInfo.m normal ppc objective-c com.apple.compilers.gcc.4_0 CompileC build/class-dump.build/Release/class-dump.build/Objects-normal/ppc/CDLoadCommand.o /Volumes/MyBook/tmp/macports-build/_Users_jeremy_src_macports-trunk_dports_devel_class-dump/work/class-dump-3.3/src/CDLoadCommand.m normal ppc objective-c com.apple.compilers.gcc.4_0 CompileC build/class-dump.build/Release/class-dump.build/Objects-normal/ppc/CDClassDumpVisitor.o /Volumes/MyBook/tmp/macports-build/_Users_jeremy_src_macports-trunk_dports_devel_class-dump/work/class-dump-3.3/src/CDClassDumpVisitor.m normal ppc objective-c com.apple.compilers.gcc.4_0 CompileC build/class-dump.build/Release/class-dump.build/Objects-normal/ppc/CDMachOFile.o /Volumes/MyBook/tmp/macports-build/_Users_jeremy_src_macports-trunk_dports_devel_class-dump/work/class-dump-3.3/src/CDMachOFile.m normal ppc objective-c com.apple.compilers.gcc.4_0 (4 failures) Warning: the following items did not execute (for class-dump): org.macports.destroot org.macports.build Error: Unable to upgrade port: 1
comment:5 Changed 15 years ago by landonf (Landon Fuller)
It builds successfully on my local 10.5/PPC machine. LC_LAZY_LOAD_DYLIB and LC_ENCRYPTION_INFO should be defined in:
/usr/include/mach-o/loader.h
Is it possible that your Xcode installation is out-of-date?
comment:6 Changed 15 years ago by jeremyhu (Jeremy Huddleston Sequoia)
~ $ xcodebuild -version Xcode 3.1.3 Component versions: DevToolsCore-1192.0; DevToolsSupport-1186.0 BuildVersion: 9M2736
It's defined on my SL machine, but it's not defined in Leopard's XCode
comment:7 Changed 15 years ago by blb@…
I see those defines on 10.5.8, Xcode 3.1.4, Intel:
$ egrep "LC_LAZY_LOAD_DYLIB|LC_ENCRYPTION_INFO" /usr/include/mach-o/loader.h #define LC_LAZY_LOAD_DYLIB 0x20 /* delay load of dylib until first use */ #define LC_ENCRYPTION_INFO 0x21 /* encrypted segment information */
3.3 also seemed to build fine.
comment:8 Changed 15 years ago by jeremyhu (Jeremy Huddleston Sequoia)
Resolution: | → worksforme |
---|---|
Status: | new → closed |
looks like an issue with xcode-3.1.3 ... 3.1.4 works here
Note: See
TracTickets for help on using
tickets.
It is also trying to build 32bit and 64bit even though I'm not on +universal: