Opened 11 years ago

Closed 10 years ago

#38121 closed defect (worksforme)

gnuradio @3.6.3, Revision 1 architecture mismatch

Reported by: valitor@… Owned by: michaelld (Michael Dickens)
Priority: Normal Milestone:
Component: ports Version: 2.1.3
Keywords: Cc:
Port: gnuradio

Description (last modified by larryv (Lawrence Velázquez))

gnuradio filed to install.

Error: Cannot install gnuradio for the arch(s) 'i386 x86_64' because its dependency py27-scipy is only installed for the arch 'x86_64' and does not have a universal variant.
Error: Unable to execute port: architecture mismatch

xcode Version 4.6 (4H127), command line tools installed.

Model Name: iMac

Model Identifier: iMac12,2
Processor Name: Intel Core i7
Processor Speed: 3.4 GHz
Number of Processors: 1
Total Number of Cores: 4
L2 Cache (per Core): 256 KB
L3 Cache: 8 MB
Memory: 12 GB
Boot ROM Version: IM121.0047.B1F
SMC Version (system): 1.72f2

Software Mac OS X Lion 10.7.5 (11G63)

Change History (5)

comment:1 Changed 11 years ago by larryv (Lawrence Velázquez)

Cc: michaelld@… removed
Description: modified (diff)
Owner: changed from macports-tickets@… to michaelld@…
Port: @3.6.3 Revision 1 removed

Thanks for the ticket. In the future, please use WikiFormatting.

Have you tried installing gnuradio for x86_64 only?

sudo port clean gnuradio
sudo port install gnuradio -universal

comment:2 Changed 11 years ago by michaelld (Michael Dickens)

Did the prior suggestion work? Not all ports provide +universal. GNU Radio is OK so long as its dependencies are met, and unfortunately py*-scipy is not universal.

comment:3 Changed 11 years ago by michaelld (Michael Dickens)

Off ticket, "Michael Perry <valitor@…>" replied:

No, that didn't work. The installer seemed to work, but very little was actually installed. In particular, gnuradio-companion was not installed. I used:
install gnuradio @3.6.3_1+docs+grc+orc+python27+qtgui+sdl+swig+uhd+wxgui-universal
and the gcc-4.2 compiler.  Now, everything seems to work. Clang didn't work, as far as I can tell. Upgrading to 3.6.4 with the "upgrade outdated" command broke the app. 

Please reply on-ticket when possible.

Well, we now have the issue that Boost 1.53 (upgraded yesterday, March 5), does not seem to support 32-bit builds. If what you have right now (I think: gnuradio 3.6.3_1, boost 1.51) works, then stick with it! If not, then there's another issue to be resolved.

As I said already: gnuradio by itself works as +universal OK. But, scipy, and now boost, do not. I'm not going to disable +universal just yet in gnuradio, since it is not gnuradio's issue.

If you have +universal set as a default_variant for all ports, then using -universal on any specific install should do the trick. If this is not the case, then I don't have enough info to work off of.

comment:4 Changed 11 years ago by michaelld (Michael Dickens)

Is this ticket's issue still valid? py-scipy is still not +universal, though I'm working on that and hopefully will check in some changes soon. gnuradio has been updated to 3.6.4.1, and boost 1.53 is in place and works as +universal on 10.6 and up correctly (just not ppc).

comment:5 Changed 10 years ago by michaelld (Michael Dickens)

Resolution: worksforme
Status: newclosed

GNU Radio is at 3.7.1 (almost 3.7.2, and, really, the issue is that py*-scipy is not +universal yet (I'm working on that too). I'm closing this ticket; if you feel otherwise, please reopen it and add some comments as to what's going on and we'll work on them.

Note: See TracTickets for help on using tickets.