[MacPorts] #47913: uhd fails to install
#47913: uhd fails to install -----------------------------+-------------------------------- Reporter: Paolo.Scotton@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Keywords: | Port: -----------------------------+-------------------------------- On a fresh install of macports, uhd installation fails when staging. barometrix:TRACKS psc$ sudo port clean uhd uhd-devel Password: ---> Cleaning uhd ---> Cleaning uhd-devel barometrix:TRACKS psc$ sudo port selfupdate ---> Updating MacPorts base sources using rsync MacPorts base version 2.3.3 installed, MacPorts base version 2.3.3 downloaded. ---> Updating the ports tree ---> MacPorts base is already the latest version The ports tree has been updated. To upgrade your installed ports, you should run port upgrade outdated barometrix:TRACKS psc$ sudo port install uhd ---> Computing dependencies for uhd ---> Fetching archive for uhd ---> Attempting to fetch uhd-3.8.4_0+docs+examples+libusb+manpages+manual+orc+test.darwin_14.x86_64.tbz2 from http://nue.de.packages.macports.org/macports/packages/uhd ---> Attempting to fetch uhd-3.8.4_0+docs+examples+libusb+manpages+manual+orc+test.darwin_14.x86_64.tbz2 from http://lil.fr.packages.macports.org/uhd ---> Attempting to fetch uhd-3.8.4_0+docs+examples+libusb+manpages+manual+orc+test.darwin_14.x86_64.tbz2 from http://mse.uk.packages.macports.org/sites/packages.macports.org/uhd ---> Fetching distfiles for uhd ---> Verifying checksums for uhd ---> Extracting uhd ---> Configuring uhd ---> Building uhd ---> Staging uhd into destroot Error: org.macports.destroot 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 -- Ticket URL: <https://trac.macports.org/ticket/47913> MacPorts <https://www.macports.org/> Ports system for OS X
#47913: uhd fails to install ------------------------------+-------------------------------- Reporter: Paolo.Scotton@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: | Keywords: Port: | ------------------------------+-------------------------------- Comment (by Paolo.Scotton@…): The problem appears on Mac OS Yosemite 10.10.3 -- Ticket URL: <https://trac.macports.org/ticket/47913#comment:1> MacPorts <https://www.macports.org/> Ports system for OS X
#47913: uhd @3.8.4_0: Downloader raised an unhandled exception ------------------------------+------------------------- Reporter: Paolo.Scotton@… | Owner: michaelld@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: | Keywords: Port: uhd | ------------------------------+------------------------- Changes (by ryandesign@…): * owner: macports-tickets@… => michaelld@… * port: => uhd Old description:
On a fresh install of macports, uhd installation fails when staging.
barometrix:TRACKS psc$ sudo port clean uhd uhd-devel Password: ---> Cleaning uhd ---> Cleaning uhd-devel barometrix:TRACKS psc$ sudo port selfupdate ---> Updating MacPorts base sources using rsync MacPorts base version 2.3.3 installed, MacPorts base version 2.3.3 downloaded. ---> Updating the ports tree ---> MacPorts base is already the latest version
The ports tree has been updated. To upgrade your installed ports, you should run port upgrade outdated barometrix:TRACKS psc$ sudo port install uhd ---> Computing dependencies for uhd ---> Fetching archive for uhd ---> Attempting to fetch uhd-3.8.4_0+docs+examples+libusb+manpages+manual+orc+test.darwin_14.x86_64.tbz2 from http://nue.de.packages.macports.org/macports/packages/uhd ---> Attempting to fetch uhd-3.8.4_0+docs+examples+libusb+manpages+manual+orc+test.darwin_14.x86_64.tbz2 from http://lil.fr.packages.macports.org/uhd ---> Attempting to fetch uhd-3.8.4_0+docs+examples+libusb+manpages+manual+orc+test.darwin_14.x86_64.tbz2 from http://mse.uk.packages.macports.org/sites/packages.macports.org/uhd ---> Fetching distfiles for uhd ---> Verifying checksums for uhd ---> Extracting uhd ---> Configuring uhd ---> Building uhd ---> Staging uhd into destroot Error: org.macports.destroot 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
New description: On a fresh install of macports, uhd installation fails when staging. {{{ barometrix:TRACKS psc$ sudo port clean uhd uhd-devel Password: ---> Cleaning uhd ---> Cleaning uhd-devel barometrix:TRACKS psc$ sudo port selfupdate ---> Updating MacPorts base sources using rsync MacPorts base version 2.3.3 installed, MacPorts base version 2.3.3 downloaded. ---> Updating the ports tree ---> MacPorts base is already the latest version The ports tree has been updated. To upgrade your installed ports, you should run port upgrade outdated barometrix:TRACKS psc$ sudo port install uhd ---> Computing dependencies for uhd ---> Fetching archive for uhd ---> Attempting to fetch uhd-3.8.4_0+docs+examples+libusb+manpages+manual+orc+test.darwin_14.x86_64.tbz2 from http://nue.de.packages.macports.org/macports/packages/uhd ---> Attempting to fetch uhd-3.8.4_0+docs+examples+libusb+manpages+manual+orc+test.darwin_14.x86_64.tbz2 from http://lil.fr.packages.macports.org/uhd ---> Attempting to fetch uhd-3.8.4_0+docs+examples+libusb+manpages+manual+orc+test.darwin_14.x86_64.tbz2 from http://mse.uk.packages.macports.org/sites/packages.macports.org/uhd ---> Fetching distfiles for uhd ---> Verifying checksums for uhd ---> Extracting uhd ---> Configuring uhd ---> Building uhd ---> Staging uhd into destroot Error: org.macports.destroot 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 }}} -- Comment: The relevant error in the log is: {{{ :debug:destroot Executing proc-post-org.macports.destroot-destroot-0 :debug:destroot Fetching images: :debug:destroot /opt/local/bin/python2.7 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_science_uhd/uhd/work/destroot/opt/local/share/uhd/utils/uhd_images_downloader.py --install- location=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_science_uhd/uhd/work/destroot/opt/local/share/uhd/images :info:destroot Images destination: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_science_uhd/uhd/work/destroot/opt/local/share/uhd/images :info:destroot Downloading images from: http://files.ettus.com/binaries/images/uhd-images_003.008.004-release.zip :info:destroot Downloading images to: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_science_uhd/uhd/work/.tmp/tmp1Te9G5 /uhd-images_003.008.004-release.zip :info:destroot Downloader raised an unhandled exception: [Errno 54] Connection reset by peer :info:destroot You can run this again with the '--verbose' flag to see more information :info:destroot If the problem persists, please email the output to: support@ettus.com }}} Ports should not attempt to download files, other than in the fetch phase. -- Ticket URL: <https://trac.macports.org/ticket/47913#comment:2> MacPorts <https://www.macports.org/> Ports system for OS X
#47913: uhd @3.8.4_0: Downloader raised an unhandled exception ------------------------------+------------------------- Reporter: Paolo.Scotton@… | Owner: michaelld@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: | Keywords: Port: uhd | ------------------------------+------------------------- Comment (by michaelld@…): In this case, the images to fetch are defined by the software, so they can't generally be downloaded in the fetch phase. I guess I can create a new port that depends on "uhd*" that just downloads the images in the fetch phase via using the UHD downloader. The best way to do this while not confusing any more than necessary would be to move the current "uhd*" ports to maybe "uhd*_base", then move the images downloader to "uhd*" (respectively for the release or devel port). I don't really -want- to do this, because it adds complexity to these ports. But, if the MP powers that be are adamant about keeping file downloading in the fetch phase then I think this is a reasonable solution. -- Ticket URL: <https://trac.macports.org/ticket/47913#comment:3> MacPorts <https://www.macports.org/> Ports system for OS X
#47913: uhd @3.8.4_0: Downloader raised an unhandled exception ------------------------------+------------------------- Reporter: Paolo.Scotton@… | Owner: michaelld@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: | Keywords: Port: uhd | ------------------------------+------------------------- Comment (by michaelld@…): I do not have this issue on 10.10.3 or 10.8; nor do the buildbots. So, I'm guessing this was an issue with your setup: a temporary issue with accessing ettus.com and/or there is a firewall between you and ettus.com that prevented the access. Given that the downloader uses HTTP (port 80), which is generally allowed (either directly or indirectly) through most firewalls, I'm really not sure of the issue. The code works quite nicely and is generic, even if it violates the spirit of when/how downloading works within MacPorts. Please try: {{{ sudo port clean uhd sudo port selfupdate sudo port install uhd }}} and & see if that helps. If not, I'll work on splitting the ports per the above & then you could download the images separately & get them in place for MP to use. -- Ticket URL: <https://trac.macports.org/ticket/47913#comment:4> MacPorts <https://www.macports.org/> Ports system for OS X
#47913: uhd @3.8.4_0: Downloader raised an unhandled exception ------------------------------+------------------------- Reporter: Paolo.Scotton@… | Owner: michaelld@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: | Keywords: Port: uhd | ------------------------------+------------------------- Comment (by michaelld@…): I just added "--verbose" to the downloader command in r136974, so if you do the "clean" & "selfupdate" above (& such) then if it does not work there should be more verbose debug output to attach to this ticket. -- Ticket URL: <https://trac.macports.org/ticket/47913#comment:5> MacPorts <https://www.macports.org/> Ports system for OS X
#47913: uhd @3.8.4_0: Downloader raised an unhandled exception ------------------------------+------------------------- Reporter: Paolo.Scotton@… | Owner: michaelld@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: | Keywords: Port: uhd | ------------------------------+------------------------- Comment (by Paolo.Scotton@…): Replying to [comment:5 michaelld@…]:
I just added "--verbose" to the downloader command in r136974, so if you do the "clean" & "selfupdate" above (& such) then if it does not work there should be more verbose debug output to attach to this ticket.
Hi Michael, Many thanks for your very quick answer. I just tried again and it worked .... not sure why this morning it failed multiple time and each time I tried I cleaned, self updated etc. In any case thanks again! Paolo {{{ barometrix:TRACKS psc$ sudo port clean uhd Password: ---> Cleaning uhd barometrix:TRACKS psc$ sudo port selfupdate ---> Updating MacPorts base sources using rsync MacPorts base version 2.3.3 installed, MacPorts base version 2.3.3 downloaded. ---> Updating the ports tree ---> MacPorts base is already the latest version The ports tree has been updated. To upgrade your installed ports, you should run port upgrade outdated barometrix:TRACKS psc$ sudo port upgrade outdated Nothing to upgrade. barometrix:TRACKS psc$ sudo port install uhd ---> Computing dependencies for uhd ---> Fetching archive for uhd ---> Attempting to fetch uhd-3.8.4_0+docs+examples+libusb+manpages+manual+orc+test.darwin_14.x86_64.tbz2 from http://nue.de.packages.macports.org/macports/packages/uhd ---> Attempting to fetch uhd-3.8.4_0+docs+examples+libusb+manpages+manual+orc+test.darwin_14.x86_64.tbz2 from http://lil.fr.packages.macports.org/uhd ---> Attempting to fetch uhd-3.8.4_0+docs+examples+libusb+manpages+manual+orc+test.darwin_14.x86_64.tbz2 from http://mse.uk.packages.macports.org/sites/packages.macports.org/uhd ---> Fetching distfiles for uhd ---> Verifying checksums for uhd ---> Extracting uhd ---> Configuring uhd ---> Building uhd ---> Staging uhd into destroot ---> Installing uhd @3.8.4_0+docs+examples+libusb+manpages+manual+orc+test ---> Activating uhd @3.8.4_0+docs+examples+libusb+manpages+manual+orc+test ---> Cleaning uhd ---> Updating database of binaries ---> Scanning binaries for linking errors ---> No broken files found. }}} -- Ticket URL: <https://trac.macports.org/ticket/47913#comment:6> MacPorts <https://www.macports.org/> Ports system for OS X
#47913: uhd @3.8.4_0: Downloader raised an unhandled exception ------------------------------+------------------------- Reporter: Paolo.Scotton@… | Owner: michaelld@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: worksforme | Keywords: Port: uhd | ------------------------------+------------------------- Changes (by michaelld@…): * status: new => closed * resolution: => worksforme Comment: I'm glad it worked; thanks for reporting back! Stuff happens like this sometimes ;) -- Ticket URL: <https://trac.macports.org/ticket/47913#comment:7> MacPorts <https://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts