#13229 closed defect (invalid)
aquaterm 1.0.1 tries to build universally by default
Reported by: | ikedae@… | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.5.2 |
Keywords: | PowerPC | Cc: | ikedae@…, nox@…, davidm@… |
Port: | aquaterm |
Description
I could install aquaterm 1.0.1 on Intel machine, but failed on PowerPC machine.
---> Building aquaterm with target -buildstyle Deployment -target AquaTerm Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_aquaterm/work/aquaterm" && /usr/bin/xcodebuild -buildstyle Deployment -target AquaTerm " returned error 1 Command output: CompileC build/AquaTerm.build/Deployment/AQTFwk.build/Objects-normal/i386/AQTImage.o /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_aquaterm/work/aquaterm/AQTImage.m normal i386 objective-c com.apple.compilers.gcc.4_0 cd /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_aquaterm/work/aquaterm /Developer/usr/bin/gcc-4.0 -x objective-c -arch i386 -pipe -Wno-trigraphs -fpascal-strings -fasm-blocks -Os -fmessage-length=0 -mmacosx-version-min=10.1 -gdwarf-2 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_aquaterm/work/aquaterm/build/AquaTerm.build/Deployment/AQTFwk.build/AquaTerm.hmap -Wmost -Wno-four-char-constants -Wno-unknown-pragmas -F/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_aquaterm/work/aquaterm/build/Deployment -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_aquaterm/work/aquaterm/build/Deployment/include -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_aquaterm/work/aquaterm/build/AquaTerm.build/Deployment/AQTFwk.build/DerivedSources -isysroot /Developer/SDKs/MacOSX10.4u.sdk -include /Library/Caches/com.apple.Xcode.0/SharedPrecompiledHeaders/AppKit-fzfzmhufmsrrcuelyozcqkzetnym/AppKit.h -c /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_aquaterm/work/aquaterm/AQTImage.m -o /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_aquaterm/work/aquaterm/build/AquaTerm.build/Deployment/AQTFwk.build/Objects-normal/i386/AQTImage.o CompileC build/AquaTerm.build/Deployment/AQTFwk.build/Objects-normal/i386/AQTLabel.o /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_aquaterm/work/aquaterm/AQTLabel.m normal i386 objective-c com.apple.compilers.gcc.4_0 cd /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_aquaterm/work/aquaterm /Developer/usr/bin/gcc-4.0 -x objective-c -arch i386 -pipe -Wno-trigraphs -fpascal-strings -fasm-blocks -Os -fmessage-length=0 -mmacosx-version-min=10.1 -gdwarf-2 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_aquaterm/work/aquaterm/build/AquaTerm.build/Deployment/AQTFwk.build/AquaTerm.hmap -Wmost -Wno-four-char-constants -Wno-unknown-pragmas -F/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_aquaterm/work/aquaterm/build/Deployment -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_aquaterm/work/aquaterm/build/Deployment/include -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_aquaterm/work/aquaterm/build/AquaTerm.build/Deployment/AQTFwk.build/DerivedSources -isysroot /Developer/SDKs/MacOSX10.4u.sdk -include /Library/Caches/com.apple.Xcode.0/SharedPrecompiledHeaders/AppKit-fzfzmhufmsrrcuelyozcqkzetnym/AppKit.h -c /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_aquaterm/work/aquaterm/AQTLabel.m -o /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_aquaterm/work/aquaterm/build/AquaTerm.build/Deployment/AQTFwk.build/Objects-normal/i386/AQTLabel.o CompileC build/AquaTerm.build/Deployment/AQTFwk.build/Objects-normal/i386/AQTModel.o /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_aquaterm/work/aquaterm/AQTModel.m normal i386 objective-c com.apple.compilers.gcc.4_0 cd /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_aquaterm/work/aquaterm /Developer/usr/bin/gcc-4.0 -x objective-c -arch i386 -pipe -Wno-trigraphs -fpascal-strings -fasm-blocks -Os -fmessage-length=0 -mmacosx-version-min=10.1 -gdwarf-2 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_aquaterm/work/aquaterm/build/AquaTerm.build/Deployment/AQTFwk.build/AquaTerm.hmap -Wmost -Wno-four-char-constants -Wno-unknown-pragmas -F/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_aquaterm/work/aquaterm/build/Deployment -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_aquaterm/work/aquaterm/build/Deployment/include -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_aquaterm/work/aquaterm/build/AquaTerm.build/Deployment/AQTFwk.build/DerivedSources -isysroot /Developer/SDKs/MacOSX10.4u.sdk -include /Library/Caches/com.apple.Xcode.0/SharedPrecompiledHeaders/AppKit-fzfzmhufmsrrcuelyozcqkzetnym/AppKit.h -c /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_aquaterm/work/aquaterm/AQTModel.m -o /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_aquaterm/work/aquaterm/build/AquaTerm.build/Deployment/AQTFwk.build/Objects-normal/i386/AQTModel.o CompileC build/AquaTerm.build/Deployment/AQTFwk.build/Objects-normal/i386/AQTPath.o /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_aquaterm/work/aquaterm/AQTPath.m normal i386 objective-c com.apple.compilers.gcc.4_0 cd /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_aquaterm/work/aquaterm /Developer/usr/bin/gcc-4.0 -x objective-c -arch i386 -pipe -Wno-trigraphs -fpascal-strings -fasm-blocks -Os -fmessage-length=0 -mmacosx-version-min=10.1 -gdwarf-2 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_aquaterm/work/aquaterm/build/AquaTerm.build/Deployment/AQTFwk.build/AquaTerm.hmap -Wmost -Wno-four-char-constants -Wno-unknown-pragmas -F/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_aquaterm/work/aquaterm/build/Deployment -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_aquaterm/work/aquaterm/build/Deployment/include -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_aquaterm/work/aquaterm/build/AquaTerm.build/Deployment/AQTFwk.build/DerivedSources -isysroot /Developer/SDKs/MacOSX10.4u.sdk -include /Library/Caches/com.apple.Xcode.0/SharedPrecompiledHeaders/AppKit-fzfzmhufmsrrcuelyozcqkzetnym/AppKit.h -c /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_aquaterm/work/aquaterm/AQTPath.m -o /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_aquaterm/work/aquaterm/build/AquaTerm.build/Deployment/AQTFwk.build/Objects-normal/i386/AQTPath.o CompileC build/AquaTerm.build/Deployment/AQTFwk.build/Objects-normal/i386/AQTConstants.o /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_aquaterm/work/aquaterm/AQTConstants.m normal i386 objective-c com.apple.compilers.gcc.4_0 cd /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_aquaterm/work/aquaterm /Developer/usr/bin/gcc-4.0 -x objective-c -arch i386 -pipe -Wno-trigraphs -fpascal-strings -fasm-blocks -Os -fmessage-length=0 -mmacosx-version-min=10.1 -gdwarf-2 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_aquaterm/work/aquaterm/build/AquaTerm.build/Deployment/AQTFwk.build/AquaTerm.hmap -Wmost -Wno-four-char-constants -Wno-unknown-pragmas -F/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_aquaterm/work/aquaterm/build/Deployment -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_aquaterm/work/aquaterm/build/Deployment/include -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_aquaterm/work/aquaterm/build/AquaTerm.build/Deployment/AQTFwk.build/DerivedSources -isysroot /Developer/SDKs/MacOSX10.4u.sdk -include /Library/Caches/com.apple.Xcode.0/SharedPrecompiledHeaders/AppKit-fzfzmhufmsrrcuelyozcqkzetnym/AppKit.h -c /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_aquaterm/work/aquaterm/AQTConstants.m -o /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_aquaterm/work/aquaterm/build/AquaTerm.build/Deployment/AQTFwk.build/Objects-normal/i386/AQTConstants.o CompileC build/AquaTerm.build/Deployment/AQTFwk.build/Objects-normal/i386/AQTFunctions.o /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_aquaterm/work/aquaterm/AQTFunctions.m normal i386 objective-c com.apple.compilers.gcc.4_0 cd /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_aquaterm/work/aquaterm /Developer/usr/bin/gcc-4.0 -x objective-c -arch i386 -pipe -Wno-trigraphs -fpascal-strings -fasm-blocks -Os -fmessage-length=0 -mmacosx-version-min=10.1 -gdwarf-2 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_aquaterm/work/aquaterm/build/AquaTerm.build/Deployment/AQTFwk.build/AquaTerm.hmap -Wmost -Wno-four-char-constants -Wno-unknown-pragmas -F/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_aquaterm/work/aquaterm/build/Deployment -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_aquaterm/work/aquaterm/build/Deployment/include -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_aquaterm/work/aquaterm/build/AquaTerm.build/Deployment/AQTFwk.build/DerivedSources -isysroot /Developer/SDKs/MacOSX10.4u.sdk -include /Library/Caches/com.apple.Xcode.0/SharedPrecompiledHeaders/AppKit-fzfzmhufmsrrcuelyozcqkzetnym/AppKit.h -c /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_aquaterm/work/aquaterm/AQTFunctions.m -o /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_aquaterm/work/aquaterm/build/AquaTerm.build/Deployment/AQTFwk.build/Objects-normal/i386/AQTFunctions.o Ld /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_aquaterm/work/aquaterm/build/AquaTerm.build/Deployment/AQTFwk.build/Objects-normal/i386/AquaTerm normal i386 cd /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_aquaterm/work/aquaterm /Developer/usr/bin/gcc-4.0 -o /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_aquaterm/work/aquaterm/build/AquaTerm.build/Deployment/AQTFwk.build/Objects-normal/i386/AquaTerm -L/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_aquaterm/work/aquaterm/build/Deployment -F/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_aquaterm/work/aquaterm/build/Deployment -filelist /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_aquaterm/work/aquaterm/build/AquaTerm.build/Deployment/AQTFwk.build/Objects-normal/i386/AquaTerm.LinkFileList -arch i386 -prebind -Wl,-single_module -compatibility_version 1 -current_version 1 -install_name /Library/Frameworks/AquaTerm.framework/Versions/A/AquaTerm -dynamiclib -mmacosx-version-min=10.1 -framework Foundation -framework AppKit -isysroot /Developer/SDKs/MacOSX10.4u.sdk ld: in /Developer/SDKs/MacOSX10.4u.sdk/usr/local/lib/libTIFF.dylib, file is not of required architecture collect2: ld returned 1 exit status ** BUILD FAILED **
Attachments (1)
Change History (8)
comment:1 Changed 17 years ago by nox@…
Cc: | ikedae@… nox@… davidm@… added |
---|---|
Summary: | aquaterm 1.0.1 build fail on Leopard PowerPC machine → aquaterm 1.0.1 tries to build universally by default |
comment:2 Changed 17 years ago by ikedae@…
Thanks for the comment, but I've not used any 3rd party tool which will strip universal code.
comment:3 Changed 17 years ago by nox@…
Then, it's really weird, isn't MacOSX10.4u.sdk
mean to build universal binaries?
Try this:
sudo port clean aquaterm sudo port -d install aquaterm xcode.build.settings=ARCHS=ppc xcode.destroot.settings=ARCHS=ppc
Changed 17 years ago by ikedae@…
comment:5 Changed 16 years ago by ryandesign (Ryan Carsten Schmidt)
Note: the message says:
/Developer/SDKs/MacOSX10.4u.sdk/usr/local/lib/libTIFF.dylib
Note /usr/local
in the path. Apple does not provide anything in /usr/local
so I suspect you have installed a version of libtiff into /usr/local
. Having libraries installed in /usr/local
is problematic for MacPorts. Please try renaming /usr/local
(e.g. sudo mv /usr/local /usr/local-off
). Then clean the port's work area (sudo port clean --work aquaterm
) and try installing it again (sudo port install aquaterm
). If this works, I recommend you permanently leave /usr/local
empty. For any items you had installed there, install them with MacPorts instead.
comment:6 Changed 16 years ago by blb@…
Keywords: | aquaterm removed |
---|---|
Port: | aquaterm added |
Resolution: | → invalid |
Status: | new → closed |
/usr/local strikes again...
aquaterm tries to produce an universal binary by default, I think you have stripped i386 architecture from your system with a third-party tool, thus resulting in a build failure as your libTIFF.dylib isn't a fat library anymore.