Opened 5 years ago
Closed 5 years ago
#59170 closed defect (worksforme)
uhd @3.14.1.1 fails to build on mavericks
Reported by: | tehcog (tehcog) | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.6.1 |
Keywords: | Cc: | michaelld (Michael Dickens) | |
Port: | uhd |
Description
Looks like my macports installation is slowly unraveling. I have several ports that will no longer build. Uhd is one of them. Please help. I am seeing new symptoms since the latest ports version was updated (2.6.1). Uhd starts to build, the cpu starts to crank up (cooling fan), then it just stops and hangs. I have never seen a port build do that. I have to kill it manualy (C). Please see below and attached main.log
Oct 04 15:29:21 xxxXXXxxx === Update MacPorts Oct 04 15:29:21 xxxXXXxxx ---> Updating MacPorts base sources using rsync Oct 04 15:29:27 xxxXXXxxx MacPorts base version 2.6.1 installed, Oct 04 15:29:27 xxxXXXxxx MacPorts base version 2.6.1 downloaded. Oct 04 15:29:27 xxxXXXxxx ---> Updating the ports tree Oct 04 15:29:33 xxxXXXxxx ---> MacPorts base is already the latest version Oct 04 15:29:34 xxxXXXxxx Oct 04 15:29:34 xxxXXXxxx The ports tree has been updated. To upgrade your installed ports, you should run Oct 04 15:29:34 xxxXXXxxx port upgrade outdated Oct 04 15:29:34 xxxXXXxxx === Update Portfiles Oct 04 15:29:34 xxxXXXxxx ---> Updating the ports tree Oct 04 15:29:42 xxxXXXxxx Oct 04 15:29:42 xxxXXXxxx === List Outdated Ports Oct 04 15:29:42 xxxXXXxxx libtorrent-rasterbar @1.2.1_1+python27 Oct 04 15:29:42 xxxXXXxxx medusa @2.1.1_1+subversion Oct 04 15:29:42 xxxXXXxxx uhd @3.14.0.0_0+docs+examples+gpsd+libusb+manpages+manual+python27+python_api+test Oct 04 15:29:42 xxxXXXxxx Oct 04 15:29:42 xxxXXXxxx === Clean Outdated Ports Oct 04 15:29:43 xxxXXXxxx ---> Cleaning libtorrent-rasterbar Oct 04 15:29:43 xxxXXXxxx ---> Cleaning medusa Oct 04 15:29:43 xxxXXXxxx ---> Cleaning uhd Oct 04 15:29:43 xxxXXXxxx Oct 04 15:29:43 xxxXXXxxx === Fetch Outdated Ports Oct 04 15:29:44 xxxXXXxxx ---> Fetching distfiles for libtorrent-rasterbar Oct 04 15:29:44 xxxXXXxxx ---> Fetching distfiles for medusa Oct 04 15:29:44 xxxXXXxxx ---> Fetching distfiles for uhd Oct 04 15:29:44 xxxXXXxxx Oct 04 15:29:44 xxxXXXxxx === Upgrade Outdated Ports (port -p upgrade --enforce-variants outdated) Oct 04 15:29:47 xxxXXXxxx ---> Computing dependencies for libtorrent-rasterbar Oct 04 15:29:47 xxxXXXxxx ---> Fetching archive for libtorrent-rasterbar Oct 04 15:29:50 xxxXXXxxx ---> Attempting to fetch libtorrent-rasterbar-1.2.2_0+python27.darwin_13.x86_64.tbz2 from https://packages.macports.org/libtorrent-rasterbar Oct 04 15:29:51 xxxXXXxxx ---> Attempting to fetch libtorrent-rasterbar-1.2.2_0+python27.darwin_13.x86_64.tbz2 from http://ywg.ca.packages.macports.org/mirror/macports/packages/libtorrent-rasterbar Oct 04 15:29:51 xxxXXXxxx ---> Attempting to fetch libtorrent-rasterbar-1.2.2_0+python27.darwin_13.x86_64.tbz2 from http://aus.us.packages.macports.org/macports/packages/libtorrent-rasterbar Oct 04 15:29:52 xxxXXXxxx ---> Verifying checksums for libtorrent-rasterbar Oct 04 15:29:52 xxxXXXxxx ---> Extracting libtorrent-rasterbar Oct 04 15:29:52 xxxXXXxxx ---> Applying patches to libtorrent-rasterbar Oct 04 15:29:52 xxxXXXxxx ---> Configuring libtorrent-rasterbar Oct 04 15:29:52 xxxXXXxxx Error: libtorrent-rasterbar cannot be built while another version of libtorrent-rasterbar is active. Oct 04 15:29:52 xxxXXXxxx Error: Please forcibly deactivate the existing copy of libtorrent-rasterbar, e.g. by running: Oct 04 15:29:52 xxxXXXxxx Error: Oct 04 15:29:52 xxxXXXxxx Error: sudo port -f deactivate libtorrent-rasterbar Oct 04 15:29:52 xxxXXXxxx Error: Oct 04 15:29:52 xxxXXXxxx Error: Then try again. Oct 04 15:29:52 xxxXXXxxx Error: Failed to configure libtorrent-rasterbar: libtorrent-rasterbar is active Oct 04 15:29:52 xxxXXXxxx Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_net_libtorrent-rasterbar/libtorrent-rasterbar/main.log for details. Oct 04 15:29:53 xxxXXXxxx ---> Computing dependencies for medusa Oct 04 15:29:53 xxxXXXxxx ---> Fetching archive for medusa Oct 04 15:29:53 xxxXXXxxx ---> Attempting to fetch medusa-2.1.1_2+subversion.darwin_13.x86_64.tbz2 from https://packages.macports.org/medusa Oct 04 15:29:54 xxxXXXxxx ---> Attempting to fetch medusa-2.1.1_2+subversion.darwin_13.x86_64.tbz2 from http://ywg.ca.packages.macports.org/mirror/macports/packages/medusa Oct 04 15:29:54 xxxXXXxxx ---> Attempting to fetch medusa-2.1.1_2+subversion.darwin_13.x86_64.tbz2 from http://aus.us.packages.macports.org/macports/packages/medusa Oct 04 15:29:54 xxxXXXxxx ---> Verifying checksums for medusa Oct 04 15:29:54 xxxXXXxxx ---> Extracting medusa Oct 04 15:29:54 xxxXXXxxx ---> Applying patches to medusa Oct 04 15:29:54 xxxXXXxxx ---> Configuring medusa Oct 04 15:29:58 xxxXXXxxx ---> Building medusa Oct 04 15:29:59 xxxXXXxxx Error: Failed to build medusa: command execution failed Oct 04 15:29:59 xxxXXXxxx Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_security_medusa/medusa/main.log for details. Oct 04 15:30:01 xxxXXXxxx ---> Computing dependencies for uhd Oct 04 15:30:01 xxxXXXxxx ---> Fetching archive for uhd Oct 04 15:30:01 xxxXXXxxx ---> Attempting to fetch uhd-3.14.1.1_0+docs+examples+gpsd+libusb+manpages+manual+python27+python_api+test.darwin_13.x86_64.tbz2 from https://packages.macports.org/uhd Oct 04 15:30:01 xxxXXXxxx ---> Attempting to fetch uhd-3.14.1.1_0+docs+examples+gpsd+libusb+manpages+manual+python27+python_api+test.darwin_13.x86_64.tbz2 from http://ywg.ca.packages.macports.org/mirror/macports/packages/uhd Oct 04 15:30:02 xxxXXXxxx ---> Attempting to fetch uhd-3.14.1.1_0+docs+examples+gpsd+libusb+manpages+manual+python27+python_api+test.darwin_13.x86_64.tbz2 from http://aus.us.packages.macports.org/macports/packages/uhd Oct 04 15:30:02 xxxXXXxxx ---> Verifying checksums for uhd Oct 04 15:30:02 xxxXXXxxx ---> Extracting uhd Oct 04 15:30:02 xxxXXXxxx ---> Applying patches to uhd Oct 04 15:30:03 xxxXXXxxx ---> Configuring uhd Oct 04 15:30:09 xxxXXXxxx ---> Building uhd ^C Oct 04 15:56:19 xxxXXXxxx <----- Process terminated by force (^C) here Oct 04 15:56:19 xxxXXXxxx === List Inactive Duplicate Ports Oct 04 15:56:19 xxxXXXxxx poppler @0.80.0_0 Oct 04 15:56:19 xxxXXXxxx Oct 04 15:56:19 xxxXXXxxx === Uninstall Inactive Duplicate Ports Oct 04 15:56:19 xxxXXXxxx ---> Uninstalling poppler @0.80.0_0 Oct 04 15:56:19 xxxXXXxxx ---> Cleaning poppler Oct 04 15:56:22 xxxXXXxxx Oct 04 15:56:22 xxxXXXxxx === Upgrade Done
Attachments (2)
Change History (16)
Changed 5 years ago by tehcog (tehcog)
Attachment: | uhd_main.log added |
---|
comment:1 Changed 5 years ago by michaelld (Michael Dickens)
The build log shows nothing out of the usual. Can you "sudo port clean uhd" and then try to install it again? Just let it go overnight if necessary ... give it plenty of time!
comment:2 Changed 5 years ago by jmroot (Joshua Root)
Use the -v option if you want to see progress in the terminal.
comment:4 Changed 5 years ago by tehcog (tehcog)
Yes, thanks. Nor sure what was going on, but after restarting, clean and upgrade worked for uhd. However I still have this:
Oct 06 16:16:09 xxxXXXxxx ---> Updating database of binaries Oct 06 16:16:09 xxxXXXxxx ---> Scanning binaries for linking errors Oct 06 16:16:17 xxxXXXxxx ---> Found 53 broken files, matching files to ports Oct 06 16:16:17 xxxXXXxxx ---> Found 3 broken ports, determining rebuild order Oct 06 16:16:17 xxxXXXxxx ---> Rebuilding in order Oct 06 16:16:17 xxxXXXxxx medusa @2.1.1 +subversion Oct 06 16:16:17 xxxXXXxxx gnuradio @3.7.13.5 +docs+grc+jack+log4cpp+logging+portaudio+qtgui+sdl+swig+uhd+wavelet+wxgui+zeromq Oct 06 16:16:17 xxxXXXxxx gr-osmosdr @20170704 +airspy+bladeRF+docs+fcdproplus+hackrf+rtlsdr+sdrplay+soapysdr+swig+uhd Oct 06 16:16:20 xxxXXXxxx ---> Computing dependencies for medusa Oct 06 16:16:20 xxxXXXxxx ---> Fetching archive for medusa Oct 06 16:16:20 xxxXXXxxx ---> Attempting to fetch medusa-2.1.1_2+subversion.darwin_13.x86_64.tbz2 from https://packages.macports.org/medusa Oct 06 16:16:21 xxxXXXxxx ---> Attempting to fetch medusa-2.1.1_2+subversion.darwin_13.x86_64.tbz2 from http://ywg.ca.packages.macports.org/mirror/macports/packages/medusa Oct 06 16:16:21 xxxXXXxxx ---> Attempting to fetch medusa-2.1.1_2+subversion.darwin_13.x86_64.tbz2 from http://aus.us.packages.macports.org/macports/packages/medusa Oct 06 16:16:21 xxxXXXxxx ---> Building medusa Oct 06 16:16:22 xxxXXXxxx Error: Failed to build medusa: command execution failed Oct 06 16:16:22 xxxXXXxxx Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_security_medusa/medusa/main.log for details. Oct 06 16:16:22 xxxXXXxxx Error: rev-upgrade failed: Error rebuilding medusa Oct 06 16:16:22 xxxXXXxxx Error: Follow https://guide.macports.org/#project.tickets to report a bug.
There is an active ticket for medusa, but I am thinking that there is more wrong than just that. Thanks for your help.
comment:5 Changed 5 years ago by michaelld (Michael Dickens)
Can you attach the output of sudo port -d rev
?
comment:7 follow-up: 8 Changed 5 years ago by michaelld (Michael Dickens)
(1) What does port installed "openssl*"
return? Looks like the medusa
port isn't linking to the correct OpenSSL ... so wondering which you've got installed. Guessing you're encountering the issue you reported in < https://trac.macports.org/ticket/58983 >. ... yes? If so, let's get the UHD part working again & then hopefully someone can help you with that issue.
(2) Looks like I updated UHD without a rev-bump to GR ... so, please do the following to get GR working again:
GR_MP_IN=$(port installed and active | grep gnuradio | awk '{ print $1 }') GR_OSMO_MP_IN=$(port installed and active | grep gr-osmosdr | awk '{ print $1 }') sudo port -f uninstall ${GR_MP_IN} ${GR_OSMO_MP_IN} sudo port install ${GR_MP_IN} ${GR_OSMO_MP_IN}
comment:8 follow-up: 10 Changed 5 years ago by tehcog (tehcog)
Replying to michaelld:
(1) What does
port installed "openssl*"
return?
-> sudo port installed "openssl*" The following ports are currently installed: openssl @1.1.1d_0 (active) openssl10 @1.0.2t_0 (active)
(2) Looks like I updated UHD without a rev-bump to GR ... so, please do the following to get GR working again:
GR_MP_IN=$(port installed and active | grep gnuradio | awk '{ print $1 }') GR_OSMO_MP_IN=$(port installed and active | grep gr-osmosdr | awk '{ print $1 }') sudo port -f uninstall ${GR_MP_IN} ${GR_OSMO_MP_IN} sudo port install ${GR_MP_IN} ${GR_OSMO_MP_IN}
GR is currently building, will follow up if there is an issue...
Thanks for the help!
comment:9 follow-up: 11 Changed 5 years ago by michaelld (Michael Dickens)
OK so yes guessing the issue with medusa is that noted. Let's hope the rest works!
comment:10 Changed 5 years ago by tehcog (tehcog)
Replying to michaelld:
GR is currently building, will follow up if there is an issue...
Thanks for the help!
GR built OK. Thanks for that!
comment:11 Changed 5 years ago by tehcog (tehcog)
Replying to michaelld:
OK so yes guessing the issue with medusa is that noted. Let's hope the rest works!
Does the openssl install look normal? - Thanks
comment:12 Changed 5 years ago by michaelld (Michael Dickens)
Great! So I'm guessing I need to rev-bump ports that depend on UHD, from some update to that UHD port that I did recently. That would include GR and gr-osmosdr ... and a few others. Thx for getting that info to me!
comment:13 Changed 5 years ago by michaelld (Michael Dickens)
Does the SSL info look OK? Yeah ... but unless you really need openssl10 @1.0.2t_0
I'd recommend deactivating it. If you try to do sudo port deactivate openssl10
it'll tell you if any dependencies would be violated by doing this & if so then you can always choose to not do it. The openssl
port is the correct version.
Again: I'm guessing medusa
doesn't build with the new openssl port. We've had to patch a bunch of ports to get them working already ... this is likely just another one of those that slipped through!
comment:14 Changed 5 years ago by michaelld (Michael Dickens)
Resolution: | → worksforme |
---|---|
Status: | new → closed |
FYI I'm closing this ticket since we've addressed its issues related to UHD and GR. Please followup with the medusa issue on that ticket.
main.log