Opened 4 years ago

Last modified 4 years ago

#60567 closed defect

Error building UHD — at Version 8

Reported by: dani-hopkins Owned by: michaelld (Michael Dickens)
Priority: Normal Milestone:
Component: ports Version: 2.6.2
Keywords: Cc:
Port: uhd

Description (last modified by mf2k (Frank Schima))

i have been trying to install gnuradio onto my mac. i had succesfully completed this but had to uninstall it but am now having issues trying to get it back. it always brings up the same error that the UHD failed to build. i have unistalled macports and reinstalled but the issue still comes up

Dani@Danielles-MacBook-Air ~ % sudo port install gnuradio
--->  Computing dependencies for gnuradio
The following dependencies will be installed: 
 coreutils
 docbook-xml
 docbook-xml-4.1.2
 docbook-xml-4.2
 docbook-xml-4.3
 docbook-xml-4.4
 docbook-xml-4.5
 docbook-xml-5.0
 docbook-xsl-nons
 findutils
 fop
 getopt
 grep
 gsed
 orc
 uhd
 volk
 xmlcatmgr
 xmlto
Continue? [Y/n]: y
--->  Fetching archive for uhd
--->  Attempting to fetch uhd-3.15.0.0_3+docs+examples+libusb+manpages+manual+python37+python_api+test.darwin_19.x86_64.tbz2 from https://packages.macports.org/uhd
--->  Attempting to fetch uhd-3.15.0.0_3+docs+examples+libusb+manpages+manual+python37+python_api+test.darwin_19.x86_64.tbz2 from http://mse.uk.packages.macports.org/sites/packages.macports.org/uhd
--->  Attempting to fetch uhd-3.15.0.0_3+docs+examples+libusb+manpages+manual+python37+python_api+test.darwin_19.x86_64.tbz2 from http://lil.fr.packages.macports.org/uhd
--->  Building uhd
Error: Failed to build uhd: command execution failed
Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_uhd/uhd/main.log for details.
Error: Follow https://guide.macports.org/#project.tickets to report a bug.
Error: Processing of port gnuradio failed
Dani@Danielles-MacBook-Air ~ % 

Change History (9)

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

I'm not sure what the exact issue is, but this should be a way around it ... try:

sudo port clean uhd
sudo port -s install uhd

and, then if that works, then go back to your original GNU Radio install command.

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

Keywords: UHD removed
Owner: set to michaelld
Port: uhd added
Status: newassigned

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

Before you do the above, just for the sake of it, would you please attach the log file as noted in the error message? The file is listed as /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_uhd/uhd/main.log . Here's what I'd recommend you do:

cp /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_uhd/uhd/main.log ~/Desktop/uhd-log.txt
bzip2 ~/Desktop/uhd-log.txt

and, then attach the file ~/Desktop/uhd-log.txt.bz2.

Changed 4 years ago by dani-hopkins

Attachment: uhd-log.txt.bz2 added

UHD log

comment:4 Changed 4 years ago by dani-hopkins

i have attached the uhd log. i have previously tried a number of times to clean and install the uhd and it comes up with the same error. appologies for this. i am trying to get gnu companion on my mac as i need it for my MSc thesis work

Last edited 4 years ago by dani-hopkins (previous) (diff)

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

Thx & Yes I get you've tried this a few times. Try with the "-s" to build it from source instead of trying to download the pre-compiled binary.

comment:6 Changed 4 years ago by dani-hopkins

I copy and pasted the above and had the same issues which were:

Last login: Thu May 28 09:39:05 on ttys001

The default interactive shell is now zsh.
To update your account to use zsh, please run `chsh -s /bin/zsh`.
For more details, please visit https://support.apple.com/kb/HT208050.
Danielles-MacBook-Air:~ Dani$ cp /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_uhd/uhd/main.log ~/Desktop/uhd-log.txt
Danielles-MacBook-Air:~ Dani$ bzip2 ~/Desktop/uhd-log.txt~/Desktop/uhd-log.txt.bz2
bzip2: Can't open input file /Users/Dani/Desktop/uhd-log.txt~/Desktop/uhd-log.txt.bz2: No such file or directory.
Danielles-MacBook-Air:~ Dani$ cp /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_uhd/uhd/main.log ~/Desktop/uhd-log.txt
Danielles-MacBook-Air:~ Dani$ bzip2 ~/Desktop/uhd-log.txt
Danielles-MacBook-Air:~ Dani$ sudo port clean uhd
Password:
--->  Cleaning uhd
Danielles-MacBook-Air:~ Dani$ sudo port -s install uhd
--->  Computing dependencies for uhd
--->  Fetching distfiles for uhd
--->  Verifying checksums for uhd
--->  Extracting uhd
--->  Applying patches to uhd
--->  Configuring uhd
Warning: -----------------------------------------------------------------------
Warning: The port 'uhd' uses the cxx11 PortGroup which is deprecated.
Warning: Please instead specify the required c++ standard directly using
Warning:     compiler.cxx_standard  2011
Warning: replacing 2011 with newer standards (e.g. 2014, 2017) as required.
Warning: For more details see https://trac.macports.org/wiki/CompilerSelection
Warning: -----------------------------------------------------------------------
--->  Building uhd
Error: Failed to build uhd: command execution failed
Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_uhd/uhd/main.log for details.
Error: Follow https://guide.macports.org/#project.tickets to report a bug.
Error: Processing of port uhd failed
Last edited 4 years ago by ryandesign (Ryan Carsten Schmidt) (previous) (diff)

comment:7 Changed 4 years ago by mf2k (Frank Schima)

The Milestone field is for use by Macports team members only, please do not set it.

In the future, please use WikiFormatting, fill in the Port field with the port that fails to build and Cc the port maintainer(s) (port info --maintainers uhd).

comment:8 Changed 4 years ago by mf2k (Frank Schima)

Description: modified (diff)
Milestone: MacPorts 2.6.3
Note: See TracTickets for help on using tickets.