Opened 15 years ago

Closed 15 years ago

#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 (3)

comment:1 Changed 15 years ago by jmroot (Joshua Root)

Owner: changed from macports-tickets@… to waqar@…
Port: osxutils added

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

comment:2 in reply to:  description Changed 15 years ago by ryandesign (Ryan Carsten Schmidt)

Summary: osxutils doesn't build without 10.4 SDKosxutils 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.

comment:3 Changed 15 years ago by jmroot (Joshua Root)

Resolution: fixed
Status: newclosed

The problem with the SDK is fixed by r60880. Note that half the projects are jam-based and thus can't be built by Xcode 3.2+ at all, and the other half use 32-bit-only Carbon stuff.

Note: See TracTickets for help on using tickets.