Opened 14 years ago

Closed 14 years ago

#23869 closed defect (worksforme)

Cannot install DOSBOX for the architecture(s) i386 because its dependency libsdl_net only contains the architecture(s) x86_64.

Reported by: toweroffunk@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.8.2
Keywords: Cc: ryandesign (Ryan Carsten Schmidt)
Port: dosbox

Description

This doesn't make much sense because I have a 64 bit processor. I ran

sudo port upgrade --enforce-variants libsdl_net +universal

like it said, but that didn't help. I also did not have MacPorts installed before I upgraded to Snow Leopard, so I know that isn't an issue.

I attached the complete debug log output.

Attachments (1)

Debug DOSBOX.txt (74.0 KB) - added by toweroffunk@… 14 years ago.
DOSBOX debug

Download all attachments as: .zip

Change History (8)

Changed 14 years ago by toweroffunk@…

Attachment: Debug DOSBOX.txt added

DOSBOX debug

comment:1 Changed 14 years ago by toweroffunk@…

Cc: toweroffunk@… added

Cc Me!

comment:2 Changed 14 years ago by jmroot (Joshua Root)

Cc: toweroffunk@… removed
Keywords: libsdl_net incompatible architecture removed
Port: dosbox added; DOSBOX removed

comment:3 in reply to:  description Changed 14 years ago by jmroot (Joshua Root)

Replying to toweroffunk@…:

This doesn't make much sense because I have a 64 bit processor.

That's the problem, dosbox apparently only builds 32-bit. Hence all the dependencies have to be built universal i386/x86_64 rather than the default x86_64 only.

comment:4 Changed 14 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: ryandesign@… added

Use the following command to verify that your libsdl_net does in fact contain the i386 architecture:

lipo -info /opt/local/lib/libSDL_net.dylib

If it only contains the x86_64 architecture, you have not rebuilt it universal.

If it does contain the i386 architecture, perhaps you have another copy of libsdl_net somewhere that is not i386 that is being found first and interfering. Do you have one in /usr/local perhaps, or in /sw? If so, move them out of the way first.

comment:5 Changed 14 years ago by ryandesign (Ryan Carsten Schmidt)

Were you able to resolve this issue? Can we close this ticket?

comment:6 Changed 14 years ago by toweroffunk@…

Yes, thanks for your help. :)

comment:7 Changed 14 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: worksforme
Status: newclosed
Note: See TracTickets for help on using tickets.