Opened 13 years ago
Closed 13 years ago
#31738 closed defect (fixed)
deluge cannot install universal because libtorrent-rasterbar is not universal
Reported by: | cmays2315@… | Owned by: | dbevans (David B. Evans) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.0.3 |
Keywords: | universal haspatch | Cc: | ryandesign (Ryan Carsten Schmidt) |
Port: | libtorrent-rasterbar |
Description
I've tried off and on for a few months now to install Deluge 1.3.3 on my iMac.
I'm a bit of a beginner with the command-line so this may be an easy solution..
Here's my issue:
cm-imac$ sudo port install deluge
Password:
Error: Cannot install deluge for the arch(s) 'i386 x86_64' because
Error: its dependency libtorrent-rasterbar 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>
Incredibly frustrating. I've tried updating/cleaning/reinstalling ports but nothing seems to work..
I appreciate any detailed feedback/solutions to my n00b issue
Thanks
Attachments (1)
Change History (7)
comment:1 Changed 13 years ago by cmays2315@…
comment:2 follow-up: 4 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)
Cc: | ryandesign@… added |
---|---|
Keywords: | universal added; mac deluge libtorrent-rasterbar removed |
Milestone: | MacPorts 2.0.4 |
Owner: | changed from macports-tickets@… to devans@… |
Summary: | Can't Install Deluge on Mac (libtorrent-rasterbar problem) [OS X Lion 10.7.2] → deluge cannot install universal because libtorrent-rasterbar is not universal |
The boost port is not implicated in the error message. The error is you are trying to install deluge with the universal variant (you haven't requested it on the command line, so you must've requested it globally in your variants.conf file), but that won't work because its dependency libtorrent-rasterbar does not have a universal variant. I've disabled deluge's universal variant in r86248; if you wait 30 minutes and then "sudo port selfupdate" to get this change, you should be able to install deluge.
I don't know why libtorrent-rasterbar doesn't have a universal variant; it's been that way since the port was added. Ideally, its maintainer would enable its universal variant. I'm leaving this open so he can decide whether that can be done or not.
comment:4 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)
Replying to ryandesign@…:
I don't know why libtorrent-rasterbar doesn't have a universal variant
Just removing the line universal_variant no
let it install universal for me, on Snow Leopard with Xcode 3.2.6 at least. Do we have any reason to believe it wouldn't be ok to remove that line?
Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)
Attachment: | libtorrent-rasterbar.diff added |
---|
proposed patch
comment:5 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)
Keywords: | haspatch added |
---|
Wait a minute, deluge doesn't even install any architecture-specific files. Marked as noarch in r86258. And a patch to enable libtorrent-rasterbar's universal variant is attached.
comment:6 Changed 13 years ago by dbevans (David B. Evans)
Resolution: | → fixed |
---|---|
Status: | new → closed |
After testing of universal builds and resulting binaries, I see no reason that prohibits building universal (and using a parallel build either). I think I added these lines some time ago when I was debugging another problem and forgot to remove them.
Universal variant and parallel builds enabled for both libtorrent-rasterbar and libtorrent-rasterbar-devel in r86317. Thanks.
Note: I have tried these methods of install but they also bring up the libtorrent-rasterbar problem:
sudo port install boost +python26 deluge
sudo port install boost +python26 gtk2 +no_x11+quartz deluge
sudo port install boost +python26 pango +no_x11+quartz cairo +no_x11+quartz gtk2 +no_x11+quartz deluge