Ticket #20910 (closed defect: fixed)
osxutils should not depend on 10.4u SDK
| Reported by: | docwhat@… | Owned by: | waqar@… |
|---|---|---|---|
| Priority: | Low | Milestone: | |
| Component: | ports | Version: | 1.8.0 |
| Keywords: | Cc: | ||
| Port: | osxutils |
Description
I didn't install the 10.4 SDK from XCode when I upgraded and now I can't build osxutils:
root@quicksilver-wifi ~# port install osxutils +universal Error: Requested variants "+universal" do not match original selection "". Please use the same variants again, perform 'port clean osxutils' or specify the force option (-f). Error: Status 1 encountered during processing. root@quicksilver-wifi ~# port clean osxutils ---> Cleaning osxutils root@quicksilver-wifi ~# port install osxutils +universal ---> Computing dependencies for osxutils ---> Fetching osxutils ---> Verifying checksum(s) for osxutils ---> Extracting osxutils ---> Configuring osxutils ---> Building osxutils ---> Staging osxutils into destroot Error: Target org.macports.destroot returned: shell command "cd /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_sysutils_osxutils/work/osxutils/getfcomment && xcodebuild DSTROOT=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_sysutils_osxutils/work/destroot INSTALL_PATH=/opt/local/bin install INSTALL_MODE_FLAG=755" returned error 1 Command output: === BUILD NATIVE TARGET getfcomment OF PROJECT getfcomment WITH THE DEFAULT CONFIGURATION (Release) === Check dependencies error: There is no SDK with the name or path '/Developer/SDKs/MacOSX10.4u.sdk' [BEROR]error: There is no SDK with the name or path '/Developer/SDKs/MacOSX10.4u.sdk' ** BUILD FAILED ** Error: Status 1 encountered during processing.
I don't know if it is possible to update osxutils to use a newer SDK.
Change History
comment:1 Changed 4 years ago by jmr@…
- Owner changed from macports-tickets@… to waqar@…
- Port set to osxutils
comment:2 in reply to: ↑ description Changed 4 years ago by ryandesign@…
- Summary changed from osxutils doesn't build without 10.4 SDK to osxutils should not depend on 10.4u SDK
Replying to docwhat@…:
I didn't install the 10.4 SDK from XCode when I upgraded and now I can't build osxutils:
FYI, even if you install the 10.4u SDK, it still won't build on Snow Leopard, with this error:
GCC 4.2 is not compatible with the Mac OS X 10.4 SDK (file main.c)
I'm marking #21511 as a duplicate of this one.
Note: See
TracTickets for help on using
tickets.


Would probably work if it used the machinery provided by the xcode portgroup, instead of doing everything manually in a custom destroot phase.