Opened 13 years ago

Closed 13 years ago

#29479 closed defect (fixed)

wxWidgets: Cannot install wxWidgets for the arch(s) 'i386' because its dependency libsdl-devel is only installed for the arch 'x86_64' and does not have a universal variant.

Reported by: robitaille@… Owned by: tobypeterson
Priority: Normal Milestone:
Component: ports Version: 1.9.2
Keywords: Cc: jyrkiwahlstedt
Port: wxWidgets libsdl-devel

Description

While trying to install hugin-app, I ran into the following issue:

$ sudo port install wxWidgets
Error: Cannot install wxWidgets for the arch(s) 'i386' because
Error: its dependency libsdl-devel is only installed for the arch 'x86_64'
Error: and does not have a universal variant.
Error: Unable to execute port: architecture mismatch
To report a bug, see <http://guide.macports.org/#project.tickets>

Change History (6)

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

Port: wxWidgets libsdl-devel added
Summary: wxWdigets does not installwxWidgets: Cannot install wxWidgets for the arch(s) 'i386' because its dependency libsdl-devel is only installed for the arch 'x86_64' and does not have a universal variant.

Consider using libsdl (which has a universal variant) instead of libsdl-devel (which doesn't).

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

Cc: jwa@… added
Owner: changed from macports-tickets@… to toby@…

Please remember to cc the maintainers of the affected ports.

comment:3 Changed 13 years ago by jyrkiwahlstedt

Hi, where does that dependency come from, have you libsdl-devel installed? If you look at wxWidgets Portfile, you'll see that there is no dependency on libsdl-devel, the dependency on the other is described in a way that allows both libsdl and libsdl-devel to satisfy it. Do you then really need libsdl-devel? (or does hugin-app depend on libsdl-devel somehow)

comment:4 Changed 13 years ago by afb@…

Actually it's only the wxGTK version of wxWidgets that depends on SDL (for sound), so that dependency is all lame anyway...

  --with-sdl              use SDL for audio on Unix

comment:5 Changed 13 years ago by tobypeterson

libsdl-devel probably doesn't need to exist anymore

comment:6 Changed 13 years ago by jmroot (Joshua Root)

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