Opened 9 years ago

Closed 9 years ago

#47611 closed defect (worksforme)

Fail to build uhd on Mavericks

Reported by: ftoldi@… Owned by: michaelld (Michael Dickens)
Priority: Normal Milestone:
Component: ports Version: 2.3.3
Keywords: Cc:
Port: uhd

Description

I'm trying to install GNUradio in my macbook with OS X 10.9.5, and it fails during the build stage to install uhd on a fresh install of MacPorts 2.3.3. Tried to follow a lot of the tips on another ticket but doesn't seems to work.

localhost:~ admin$ sudo port install gnuradio
Password:
Warning: The Xcode Command Line Tools don't appear to be installed; most ports will likely fail to build.
Warning: Install them by running `xcode-select --install'.
--->  Computing dependencies for gnuradio
--->  Dependencies to be installed: uhd volk xmlto coreutils docbook-xml docbook-xml-4.1.2 docbook-xml-4.2 xmlcatmgr docbook-xml-4.3 docbook-xml-4.4 docbook-xml-4.5 docbook-xml-5.0 docbook-xsl findutils fop getopt libpaper
--->  Building uhd
Error: org.macports.build for port uhd returned: command execution failed
Error: Failed to install uhd
Please see the log file for port uhd for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_science_uhd/uhd/main.log
Error: The following dependencies were not installed: uhd volk xmlto coreutils docbook-xml docbook-xml-4.1.2 docbook-xml-4.2 xmlcatmgr docbook-xml-4.3 docbook-xml-4.4 docbook-xml-4.5 docbook-xml-5.0 docbook-xsl findutils fop getopt libpaper
To report a bug, follow the instructions in the guide:
    http://guide.macports.org/#project.tickets
Error: Processing of port gnuradio failed
localhost:~ admin$ sudo port install uhd
Warning: The Xcode Command Line Tools don't appear to be installed; most ports will likely fail to build.
Warning: Install them by running `xcode-select --install'.
--->  Computing dependencies for uhd
--->  Fetching archive for uhd
--->  Attempting to fetch uhd-3.8.3_0+docs+examples+libusb+manpages+manual+orc+test.darwin_13.x86_64.tbz2 from http://packages.macports.org/uhd
--->  Attempting to fetch uhd-3.8.3_0+docs+examples+libusb+manpages+manual+orc+test.darwin_13.x86_64.tbz2 from http://mse.uk.packages.macports.org/sites/packages.macports.org/uhd
--->  Attempting to fetch uhd-3.8.3_0+docs+examples+libusb+manpages+manual+orc+test.darwin_13.x86_64.tbz2 from http://lil.fr.packages.macports.org/uhd
--->  Fetching distfiles for uhd
--->  Verifying checksums for uhd
--->  Extracting uhd
--->  Applying patches to uhd
--->  Configuring uhd
--->  Building uhd
Error: org.macports.build for port uhd returned: command execution failed
Please see the log file for port uhd for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_science_uhd/uhd/main.log
To report a bug, follow the instructions in the guide:
    http://guide.macports.org/#project.tickets
Error: Processing of port uhd failed

Change History (3)

comment:1 Changed 9 years ago by IvoClarysse (Ivo Clarysse)

[...]
Warning: The Xcode Command Line Tools don't appear to be installed; most ports will likely fail to build.
Warning: Install them by running `xcode-select --install'.
[...]

Looks like a case of missing XCode Command Line Tools (see https://trac.macports.org/wiki/ProblemHotlist#clt)

comment:2 Changed 9 years ago by larryv (Lawrence Velázquez)

Keywords: Mavericks uhd gnuradio removed
Owner: changed from macports-tickets@… to michaelld@…

We can’t help you without a log. Please run the following commands and attach the new main.log if you get another failure.

% sudo port clean uhd gnuradio
% xcode-select --install
% sudo port install uhd
% sudo port setunrequested uhd
% sudo port install gnuradio

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

Resolution: worksforme
Status: newclosed

Please do as LarryV suggests. Your issue is -probably- that Xcode was updated but the command line tools were not & hence updating the CLTs should do the trick.

GNU Radio and UHD are tested to build nicely on MacOS 10.6+ through current (10.10.X); 32 bit or 64 bit; GCC 4.2+ or clang 3.4+; libstdc++ or libc++; C++11 or not.

I'm closing this ticket. If that fails again, email me off-ticket @ "michael.dickens@…" and I'll help you there.

Note: See TracTickets for help on using tickets.