Opened 5 years ago

Closed 5 years ago

#58169 closed defect (worksforme)

uhd @3.13.0.2_1 error(54, 'Connection reset by peer')

Reported by: jonwith Owned by: michaelld (Michael Dickens)
Priority: Normal Milestone:
Component: ports Version: 2.5.4
Keywords: Cc:
Port: uhd

Description

running 'port install uhd' on macOS Mojave 10.14.3. xcode version 10.1 (10B61) I get a connection reset by peer when trying to install uhd.

info from the log file:

:debug:destroot Executing proc-post-org.macports.destroot-destroot-0
:debug:destroot Fetching images:
:debug:destroot /opt/local/Library/Frameworks/Python.framework/Versions/2.7/bin/python2.7 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_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_macports_release_tarballs_ports_science_uhd/uhd/work/destroot/opt/local/share/uhd/images
:debug:destroot system: /opt/local/Library/Frameworks/Python.framework/Versions/2.7/bin/python2.7 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_uhd/uhd/work/destroot/opt/local/share/uhd/utils/uhd_images_downloader.py --verbose --install-location=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_uhd/uhd/work/destroot/opt/local/share/uhd/images
:info:destroot [INFO] Images destination: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_uhd/uhd/work/destroot/opt/local/share/uhd/images
:info:destroot [INFO] No inventory file found at /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_uhd/uhd/work/destroot/opt/local/share/uhd/images/inventory.json. Creating an empty one.
:info:destroot [INFO] Downloading usrp1_b100_fw_default-g6bea23d.zip, total size: 5.44 kB
:info:destroot [INFO] Downloading x3xx_x310_fpga_default-g1107862.zip, total size: 19487.292 kB
:info:destroot [INFO] Downloading usrp2_n210_fpga_default-g6bea23d.zip, total size: 2756.697 kB
:info:destroot [INFO] Downloading n230_n230_fpga_default-g4bb66b3.zip, total size: 2031.864 kB
:info:destroot [INFO] Downloading usrp1_b100_fpga_default-g6bea23d.zip, total size: 521.329 kB
:info:destroot [INFO] Downloading b2xx_b200_fpga_default-g63e630a.zip, total size: 510.459 kB
:info:destroot [INFO] Downloading usrp2_n200_fpga_default-g6bea23d.zip, total size: 2414.912 kB
:info:destroot [INFO] Downloading e3xx_e320_fpga_default-gabdc445a.zip, total size: 5902.528 kB
:info:destroot [INFO] Downloading n3xx_n310_fpga_default-g1107862.zip, total size: 15739.03 kB
:info:destroot [INFO] Downloading b2xx_b205mini_fpga_default-g63e630a.zip, total size: 502.507 kB
:info:destroot [INFO] Downloading x3xx_x300_fpga_default-g1107862.zip, total size: 18572.375 kB
:info:destroot [INFO] Downloading octoclock_octoclock_fw_default-g14000041.zip, total size: 16.249 kB
:info:destroot [INFO] Downloading usb_common_windrv_default-g14000041.zip, total size: 4838.302 kB
:info:destroot [ERROR] Downloader raised an unhandled exception: ("Connection broken: error(54, 'Connection reset by peer')", error(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
:info:destroot Command failed: /opt/local/Library/Frameworks/Python.framework/Versions/2.7/bin/python2.7 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_uhd/uhd/work/destroot/opt/local/share/uhd/utils/uhd_images_downloader.py --verbose --install-location=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_uhd/uhd/work/destroot/opt/local/share/uhd/images
:info:destroot Exit code: 1
:error:destroot Failed to destroot uhd: command execution failed
:debug:destroot Error code: NONE
:debug:destroot Backtrace: command execution failed
:debug:destroot     while executing
:debug:destroot "$post $targetname"
:error:destroot 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.

Change History (5)

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

Can you try installing again from this stage & see if it works? Just sudo port install uhd ...

comment:2 in reply to:  1 Changed 5 years ago by jonwith

Replying to michaelld:

Can you try installing again from this stage & see if it works? Just sudo port install uhd ...

Sorry I did enter the sudo port install uhd I left the sudo part off in the original description.

I get the exact same error as above.

Last edited 5 years ago by jonwith (previous) (diff)

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

So once you got the first build error after issuing sudo port install uhd, you tried the same command again and came up with the same error? If that's the case, then do:

sudo port clean uhd
sudo port install uhd

and see if that works this time. It looks like the images downloader succeeded on some images but there was a network glitch that prevented it from finishing. UHD doesn't take long to build, but I had hoped the images downloader might be smart enough to overwrite files ... maybe I'm mistaken? I'll see if I can replicate a network glitch locally & see if what happens. In the meantime, hopefully cleaning and trying again works -- it often does (for MacPorts but also in general)!

Last edited 5 years ago by michaelld (Michael Dickens) (previous) (diff)

comment:4 in reply to:  3 Changed 5 years ago by jonwith

Running

sudo port clean uhd
sudo port install uhd

Fixed it. Thanks for your help! Jon

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

Resolution: worksforme
Status: assignedclosed

Great! You're welcome & thank you for reporting back!

Note: See TracTickets for help on using tickets.