Opened 15 years ago

Closed 15 years ago

#21511 closed defect (duplicate)

osxutils: build failure on Snow Leopard

Reported by: ryandesign (Ryan Carsten Schmidt) Owned by: waqar@…
Priority: Normal Milestone:
Component: ports Version: 1.8.0
Keywords: Cc:
Port: osxutils

Description

I can't install osxutils on Mac OS X 10.6 Snow Leopard. The complete log is attached but there are two notable errors:

2009-09-20 01:27:59.222 xcodebuild[5089:60f] Error loading /Developer/Library/Xcode/Plug-ins/XdesignCompilerPlugin.xcplugin/Contents/MacOS/XdesignCompilerPlugin:  dlopen(/Developer/Library/Xcode/Plug-ins/XdesignCompilerPlugin.xcplugin/Contents/MacOS/XdesignCompilerPlugin, 265): no suitable image found.  Did find:
	/Developer/Library/Xcode/Plug-ins/XdesignCompilerPlugin.xcplugin/Contents/MacOS/XdesignCompilerPlugin: no matching architecture in universal wrapper
$ lipo -info /Developer/Library/Xcode/Plug-ins/XdesignCompilerPlugin.xcplugin/Contents/MacOS/XdesignCompilerPlugin
Architectures in the fat file: /Developer/Library/Xcode/Plug-ins/XdesignCompilerPlugin.xcplugin/Contents/MacOS/XdesignCompilerPlugin are: i386 ppc 

So it contains i386 and ppc code but of course Snow Leopard tries to build x86_64 by default.

GCC 4.2 is not compatible with the Mac OS X 10.4 SDK (file main.c)

MacPorts stopped using SDKs in MacPorts 1.8.0 (except when building universal on 10.4 when running on PPC) so perhaps it is appropriate to patch osxutils to not use SDKs either.

Attachments (1)

osxutils.txt (10.7 KB) - added by ryandesign (Ryan Carsten Schmidt) 15 years ago.

Download all attachments as: .zip

Change History (4)

Changed 15 years ago by ryandesign (Ryan Carsten Schmidt)

Attachment: osxutils.txt added

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

Replying to ryandesign@…:

perhaps it is appropriate to patch osxutils to not use SDKs

Doing so would have the side effect of resolving #20910.

comment:2 Changed 15 years ago by tobypeterson

I don't have that file on my system, it sounds like you may have hit an installer bug...

comment:3 Changed 15 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: duplicate
Status: newclosed

What I've discovered is that although I installed Snow Leopard and Xcode 3.2 on an empty drive, Migration Assistant migrated parts of my Tiger Xcode 2.x installation over, causing the error I reported. After using the Xcode uninstall script, and removing the remaining items in /Developer manually, and reinstalling Xcode, I now get the errors shown in #20910.

Note: See TracTickets for help on using tickets.