Opened 13 years ago

Closed 12 years ago

#33052 closed defect (fixed)

esdl incorrectly skips archcheck on dependencies

Reported by: bfhoffmann@… Owned by: bfulgham@…
Priority: Normal Milestone:
Component: ports Version: 2.0.3
Keywords: Cc: bhoffma3@…, ryandesign (Ryan Carsten Schmidt)
Port: esdl

Description

OSX 10.7.2 esdl fails error 1 during staging to destroot. iMac Core i5

log attached

Attachments (1)

main.log (75.4 KB) - added by bfhoffmann@… 13 years ago.
Install Log

Download all attachments as: .zip

Change History (4)

Changed 13 years ago by bfhoffmann@…

Attachment: main.log added

Install Log

comment:1 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: ryandesign@… added; bfulgham@… removed
Owner: changed from macports-tickets@… to bfulgham@…
Priority: HighNormal

The real problem appears to be going on in the build phase:

ld: warning: ignoring file /opt/local/Library/Frameworks/SDL.framework/SDL, file was built for unsupported file format which is not the architecture being linked (i386)
ld: in /opt/local/lib/libz.1.dylib, file was built for unsupported file format which is not the architecture being linked (i386) for architecture i386

This says to me that although you are on a 64-bit Mac, you have requested 32-bit builds by editing macports.conf and setting build_arch to i386, but that the esdl port does not respect that setting. The esdl portfile does make some effort to use the right -arch flags, but it is clearly not working; the port needs to be repaired. The port also needs a universal variant. The port also needs to ensure it's UsingTheRightCompiler. The build process also clearly doesn't report any errors; it proceeds on to the destroot phase even if there were build errors; this should be repaired if possible.

comment:2 in reply to:  1 Changed 13 years ago by bfhoffmann@…

Replying to ryandesign@…:

This says to me that although you are on a 64-bit Mac, you have requested 32-bit builds by editing macports.conf and setting build_arch to i386, but that the esdl port does not respect that setting.

Actually I am using macports out of the box as is. I installed from the DMG for 10.7 and never touched the macports.conf. Don't know if this helps at all.

The esdl portfile does make some effort to use the right -arch flags, but it is clearly not working; the port needs to be repaired. The port also needs a universal variant. The port also needs to ensure it's UsingTheRightCompiler. The build process also clearly doesn't report any errors; it proceeds on to the destroot phase even if there were build errors; this should be repaired if possible.

Thanks for looking into this.

Bjoern

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

Resolution: fixed
Status: newclosed
Summary: esdl fails during staging to destrootesdl incorrectly skips archcheck on dependencies
Note: See TracTickets for help on using tickets.