Opened 15 years ago
Closed 15 years ago
#19882 closed defect (fixed)
Aquaterm build fails due to wrong SDK
Reported by: | david.chassin@… | Owned by: | MarcusCalhoun-Lopez (Marcus Calhoun-Lopez) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.7.1 |
Keywords: | Cc: | ||
Port: | aquaterm |
Description
This is being done as part of an octave build, but the following is the critical part. Note that Aquaterm is already installed on the system, but port doesn't seem to be aware it is. There seems to be some connection to Mac OS X 10.4 as hinted in some other posts, but nothing obvious suggests itself.
bash-3.2# port install aquaterm ---> Building 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" && xcodebuild -target "AquaTerm" -configuration Deployment build OBJROOT=build/ SYMROOT=build/ MACOSX_DEPLOYMENT_TARGET=10.5 USER_APPS_DIR=/Applications/MacPorts FRAMEWORKS_DIR=/opt/local/Library/Frameworks" returned error 1 Command output: Ld /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_aquaterm/work/aquaterm/build/Deployment/AquaTerm.framework/Versions/A/AquaTerm normal i386 cd /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_aquaterm/work/aquaterm setenv MACOSX_DEPLOYMENT_TARGET 10.5 /Developer/usr/bin/gcc-4.0 -arch i386 -dynamiclib -isysroot /Developer/SDKs/MacOSX10.4u.sdk -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 -install_name /opt/local/Library/Frameworks/AquaTerm.framework/Versions/A/AquaTerm -mmacosx-version-min=10.5 -framework Foundation -framework AppKit -prebind -Wl,-single_module -compatibility_version 1 -current_version 1 -o /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_aquaterm/work/aquaterm/build/Deployment/AquaTerm.framework/Versions/A/AquaTerm ld: library not found for -ldylib1.10.5.o collect2: ld returned 1 exit status === BUILDING NATIVE TARGET AquaTerm OF PROJECT AquaTerm WITH CONFIGURATION Deployment === Checking Dependencies... Deployment target 10.5 for architecture 'i386' and variant 'normal' is greater than the maximum value for the Mac OS X 10.4 SDK. Warning: Multiple build commands for output file /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_aquaterm/work/aquaterm/build/Deployment/AquaTerm.app/Contents/Resources/help.html Ld /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_aquaterm/work/aquaterm/build/Deployment/AquaTerm.app/Contents/MacOS/AquaTerm normal i386 cd /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_aquaterm/work/aquaterm setenv MACOSX_DEPLOYMENT_TARGET 10.5 /Developer/usr/bin/gcc-4.0 -arch i386 -isysroot /Developer/SDKs/MacOSX10.4u.sdk -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/AquaTerm.build/Objects-normal/i386/AquaTerm.LinkFileList -mmacosx-version-min=10.5 -framework Foundation -framework AppKit -framework Cocoa -framework Message -framework AquaTerm -framework AquaTerm -prebind -o /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_aquaterm/work/aquaterm/build/Deployment/AquaTerm.app/Contents/MacOS/AquaTerm ld: library not found for -lcrt1.10.5.o collect2: ld returned 1 exit status ** BUILD FAILED ** The following build commands failed: AQTFwk: Ld /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_aquaterm/work/aquaterm/build/Deployment/AquaTerm.framework/Versions/A/AquaTerm normal i386 AquaTerm: Ld /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_aquaterm/work/aquaterm/build/Deployment/AquaTerm.app/Contents/MacOS/AquaTerm normal i386 (2 failures) Error: Status 1 encountered during processing.
And further
bash-3.2# port -v build aquaterm ---> Building aquaterm === BUILDING NATIVE TARGET AQTFwk OF PROJECT AquaTerm WITH CONFIGURATION Deployment === Checking Dependencies... Warning: The Copy Bundle Resources build phase contains this target's Info.plist file 'AquaTerm.framework-Info.plist'. Deployment target 10.5 for architecture 'i386' and variant 'normal' is greater than the maximum value for the Mac OS X 10.4 SDK. Ld /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_aquaterm/work/aquaterm/build/Deployment/AquaTerm.framework/Versions/A/AquaTerm normal i386 cd /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_aquaterm/work/aquaterm setenv MACOSX_DEPLOYMENT_TARGET 10.5 /Developer/usr/bin/gcc-4.0 -arch i386 -dynamiclib -isysroot /Developer/SDKs/MacOSX10.4u.sdk -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 -install_name /opt/local/Library/Frameworks/AquaTerm.framework/Versions/A/AquaTerm -mmacosx-version-min=10.5 -framework Foundation -framework AppKit -prebind -Wl,-single_module -compatibility_version 1 -current_version 1 -o /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_aquaterm/work/aquaterm/build/Deployment/AquaTerm.framework/Versions/A/AquaTerm ld: library not found for -ldylib1.10.5.o collect2: ld returned 1 exit status === BUILDING NATIVE TARGET AquaTerm OF PROJECT AquaTerm WITH CONFIGURATION Deployment === Checking Dependencies... Deployment target 10.5 for architecture 'i386' and variant 'normal' is greater than the maximum value for the Mac OS X 10.4 SDK. Warning: Multiple build commands for output file /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_aquaterm/work/aquaterm/build/Deployment/AquaTerm.app/Contents/Resources/help.html Ld /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_aquaterm/work/aquaterm/build/Deployment/AquaTerm.app/Contents/MacOS/AquaTerm normal i386 cd /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_aquaterm/work/aquaterm setenv MACOSX_DEPLOYMENT_TARGET 10.5 /Developer/usr/bin/gcc-4.0 -arch i386 -isysroot /Developer/SDKs/MacOSX10.4u.sdk -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/AquaTerm.build/Objects-normal/i386/AquaTerm.LinkFileList -mmacosx-version-min=10.5 -framework Foundation -framework AppKit -framework Cocoa -framework Message -framework AquaTerm -framework AquaTerm -prebind -o /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_aquaterm/work/aquaterm/build/Deployment/AquaTerm.app/Contents/MacOS/AquaTerm ld: library not found for -lcrt1.10.5.o collect2: ld returned 1 exit status ** BUILD FAILED ** The following build commands failed: AQTFwk: Ld /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_aquaterm/work/aquaterm/build/Deployment/AquaTerm.framework/Versions/A/AquaTerm normal i386 AquaTerm: Ld /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_aquaterm/work/aquaterm/build/Deployment/AquaTerm.app/Contents/MacOS/AquaTerm normal i386 (2 failures) 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" && xcodebuild -target "AquaTerm" -configuration Deployment build OBJROOT=build/ SYMROOT=build/ MACOSX_DEPLOYMENT_TARGET=10.5 USER_APPS_DIR=/Applications/MacPorts FRAMEWORKS_DIR=/opt/local/Library/Frameworks" returned error 1 Command output: Ld /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_aquaterm/work/aquaterm/build/Deployment/AquaTerm.framework/Versions/A/AquaTerm normal i386 cd /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_aquaterm/work/aquaterm setenv MACOSX_DEPLOYMENT_TARGET 10.5 /Developer/usr/bin/gcc-4.0 -arch i386 -dynamiclib -isysroot /Developer/SDKs/MacOSX10.4u.sdk -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 -install_name /opt/local/Library/Frameworks/AquaTerm.framework/Versions/A/AquaTerm -mmacosx-version-min=10.5 -framework Foundation -framework AppKit -prebind -Wl,-single_module -compatibility_version 1 -current_version 1 -o /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_aquaterm/work/aquaterm/build/Deployment/AquaTerm.framework/Versions/A/AquaTerm ld: library not found for -ldylib1.10.5.o collect2: ld returned 1 exit status === BUILDING NATIVE TARGET AquaTerm OF PROJECT AquaTerm WITH CONFIGURATION Deployment === Checking Dependencies... Deployment target 10.5 for architecture 'i386' and variant 'normal' is greater than the maximum value for the Mac OS X 10.4 SDK. Warning: Multiple build commands for output file /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_aquaterm/work/aquaterm/build/Deployment/AquaTerm.app/Contents/Resources/help.html Ld /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_aquaterm/work/aquaterm/build/Deployment/AquaTerm.app/Contents/MacOS/AquaTerm normal i386 cd /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_aquaterm/work/aquaterm setenv MACOSX_DEPLOYMENT_TARGET 10.5 /Developer/usr/bin/gcc-4.0 -arch i386 -isysroot /Developer/SDKs/MacOSX10.4u.sdk -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/AquaTerm.build/Objects-normal/i386/AquaTerm.LinkFileList -mmacosx-version-min=10.5 -framework Foundation -framework AppKit -framework Cocoa -framework Message -framework AquaTerm -framework AquaTerm -prebind -o /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_aquaterm/work/aquaterm/build/Deployment/AquaTerm.app/Contents/MacOS/AquaTerm ld: library not found for -lcrt1.10.5.o collect2: ld returned 1 exit status ** BUILD FAILED ** The following build commands failed: AQTFwk: Ld /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_aquaterm/work/aquaterm/build/Deployment/AquaTerm.framework/Versions/A/AquaTerm normal i386 AquaTerm: Ld /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_aquaterm/work/aquaterm/build/Deployment/AquaTerm.app/Contents/MacOS/AquaTerm normal i386 (2 failures) Warning: the following items did not execute (for aquaterm): org.macports.build Error: Status 1 encountered during processing.
Change History (3)
comment:1 Changed 15 years ago by david.chassin@…
Cc: | david.chassin@… added |
---|
comment:2 Changed 15 years ago by jmroot (Joshua Root)
Cc: | david.chassin@… removed |
---|---|
Owner: | changed from macports-tickets@… to mcalhoun@… |
Port: | aquaterm added |
Summary: | Aquaterm build fails on missing libdylib → Aquaterm build fails due to wrong SDK |
Looks like the project explicitly uses the 10.4u SDK, which is wrong when MACOSX_DEPLOYMENT_TARGET=10.5. It should be patched to just let the xcode portgroup set the SDK if necessary.
comment:3 Changed 15 years ago by MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)
Resolution: | → fixed |
---|---|
Status: | new → closed |
This should be fixed in r51969.
Please let me know if it does not work.
Thans for the report.
Note: See
TracTickets for help on using
tickets.
Cc Me!