Opened 7 years ago

Closed 7 years ago

Last modified 7 years ago

#41479 closed defect (invalid)

uhd: Requested variants do not match original selection

Reported by: demiansims@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.2.1
Keywords: Cc: michaelld (Michael Dickens)
Port: uhd

Description

After installing Xcode, command line within Xcode, XQuartz and MacPorts, after 2 attempts at installing GNURadio for Mac OSX 10.8.5 using the +full install, I get the 'failed to intstall uhd' series of errors. See attached.

Attachments (3)

main.log (178.7 KB) - added by demiansims@… 7 years ago.
gnuradio install log
install log.rtf (1.2 KB) - added by demiansims@… 7 years ago.
error report.rtf (1.9 KB) - added by demiansims@… 7 years ago.
error report 11-21-13

Download all attachments as: .zip

Change History (10)

Changed 7 years ago by demiansims@…

Attachment: main.log added

gnuradio install log

Changed 7 years ago by demiansims@…

Attachment: install log.rtf added

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

Cc: michaelld@… added
Keywords: uhd mountain lion gnu radio +full install removed
Port: uhd added
Resolution: invalid
Status: newclosed
Summary: 2.2.1 Error: Failed to install uhd OSX 10.8.5.uhd: Requested variants do not match original selection

The file you attached shows:

Error: Requested variants "+docs+examples+full+libusb+manual+python27+test" do not match original selection "+docs+examples+libusb+manual+python27+test".
Please use the same variants again, perform 'port clean uhd' or specify the force option (-f).
Error: Failed to install uhd

So please do one of those things. Probably "sudo port clean uhd".

comment:2 Changed 7 years ago by demiansims@…

Ok, after that, should I run a fresh install of Gnuradio +full? Or am I ready to go?

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

The +full variant is deprecated in GNU Radio, UHD, and gr-osmosdr (and, any other related ports but those are the ones I can think of). It should automatically remove itself on any update, and I will remove the actual variant sometime in the near future. I recommend you do the following:

sudo port -f -p uninstall gnuradio gnuradio-devel uhd uhd-devel
sudo port clean gnuradio gnuradio-devel uhd uhd-devel
sudo port install gnuradio

and that should provide what you need.

Changed 7 years ago by demiansims@…

Attachment: error report.rtf added

error report 11-21-13

comment:4 Changed 7 years ago by demiansims@…

After trying what you suggested, this is the error log I get.

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

My bad; you need to selfupdate or sync before UHD will work; I just pushed the fixes for that issue. Try this instead:

sudo port -f -p uninstall gnuradio gnuradio-devel uhd uhd-devel
sudo port clean gnuradio gnuradio-devel uhd uhd-devel
sudo port selfupdate
sudo port install gnuradio

and hopefully that will take care of your issues. If not, post another error log and we'll figure this out!

comment:6 Changed 7 years ago by demiansims@…

Yes! The above worked perfectly. I now have GnuRadio installed on my Mac via Macports. Now I just need to learn how to use it.

Thanks for all your help.

comment:7 Changed 7 years ago by michaelld (Michael Dickens)

Great! Thanks for getting back to me here. You're welcome!

Note: See TracTickets for help on using tickets.