#66934 closed defect (fixed)
BladeRF unable to extract for compilation under Ventura for both Intel and ARM?
Reported by: | sck-nogas (Scott C. Kennedy) | Owned by: | michaelld (Michael Dickens) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | |
Keywords: | Cc: | ||
Port: | bladeRF |
Description
In trying to rebuild my config from switching from an Intel MBP to a Apple M1 MBP, I came across this weird "oddity"
If I try to install bladeRF with MacPorts 2.8.1 on Ventura 13.2.1 with Xcode 14.2 (14C18) installed, I am forced to do a compile since there is no darwin_22.arm64 version in https://packages.macports.org/bladeRF/ which should not cause any issues, BUT....
On my ARM laptop, I get this...
sck@macos-ARM64 ~ % sudo port selfupdate && sudo port clean bladeRF && sudo port install bladeRF ---> Updating MacPorts base sources using rsync MacPorts base version 2.8.1 installed, MacPorts base version 2.8.1 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 ---> Cleaning bladeRF ---> Computing dependencies for bladeRF ---> Fetching archive for bladeRF ---> Attempting to fetch bladeRF-20211028-5a146b2a_0+docs.darwin_22.arm64.tbz2 from http://mirror.fcix.net/macports/packages/bladeRF ---> Attempting to fetch bladeRF-20211028-5a146b2a_0+docs.darwin_22.arm64.tbz2 from https://packages.macports.org/bladeRF ---> Attempting to fetch bladeRF-20211028-5a146b2a_0+docs.darwin_22.arm64.tbz2 from https://ywg.ca.packages.macports.org/mirror/macports/packages/bladeRF ---> Fetching distfiles for bladeRF ---> Verifying checksums for bladeRF ---> Extracting bladeRF Error: Failed to extract bladeRF: extract.rename: multiple directories exist in /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_bladeRF/bladeRF/work: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_bladeRF/bladeRF/work/Nuand-bladeRF-5a146b2 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_bladeRF/bladeRF/work/analogdevicesinc-no-OS-0bba46e Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_bladeRF/bladeRF/main.log for details. Error: Follow https://guide.macports.org/#project.tickets if you believe there is a bug. Error: Processing of port bladeRF failed sck@macos-ARM64 ~ %
That's not an error of configuration or compilation, but of extraction? Let's remove bladeRF and force my Intel Mac to try a source install as well...
macos-Intel64:~ sck$ sudo port selfupdate && sudo port clean bladeRF && sudo port destroot bladeRF ---> Updating MacPorts base sources using rsync MacPorts base version 2.8.1 installed, MacPorts base version 2.8.1 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 ---> Cleaning bladeRF ---> Computing dependencies for bladeRF The following dependencies will be installed: pandoc Continue? [Y/n]: Y ---> Fetching archive for pandoc ---> Attempting to fetch pandoc-3.1_0.darwin_22.x86_64.tbz2 from https://packages.macports.org/pandoc ---> Attempting to fetch pandoc-3.1_0.darwin_22.x86_64.tbz2.rmd160 from https://packages.macports.org/pandoc ---> Installing pandoc @3.1_0 ---> Activating pandoc @3.1_0 ---> Cleaning pandoc ---> Fetching distfiles for bladeRF ---> Attempting to fetch bladeRF-5a146b2a0f52e8ec17969579cee62b8ed16e429c.tar.gz from https://distfiles.macports.org/bladeRF ---> Attempting to fetch no-OS-0bba46e6f6f75785a65d425ece37d0a04daf6157.tar.gz from https://distfiles.macports.org/bladeRF ---> Verifying checksums for bladeRF ---> Extracting bladeRF Error: Failed to extract bladeRF: extract.rename: multiple directories exist in /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_bladeRF/bladeRF/work: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_bladeRF/bladeRF/work/Nuand-bladeRF-5a146b2 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_bladeRF/bladeRF/work/analogdevicesinc-no-OS-0bba46e Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_bladeRF/bladeRF/main.log for details. Error: Follow https://guide.macports.org/#project.tickets if you believe there is a bug. Error: Processing of port bladeRF failed macos-Intel64:~ sck$
Okay, that's weird. I expected to have it work, and have a strange error with ARMs... But it appears that there is some issue with the distfiles?
Attachments (1)
Change History (4)
Changed 21 months ago by sck-nogas (Scott C. Kennedy)
Attachment: | bladeRF_debug_ARM64.log added |
---|
comment:1 Changed 21 months ago by jmroot (Joshua Root)
Owner: | set to michaelld |
---|---|
Status: | new → assigned |
comment:2 Changed 21 months ago by jmroot (Joshua Root)
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
comment:3 Changed 21 months ago by jmroot (Joshua Root)
I didn't want to mess with this code more than necessary, so I just made the minimum change to get it to work. But a simpler approach might be to set extract.only
to one of the distfiles, let the portgroup rename its extracted directory, and handle just the other one in post-extract.
Debug output from compilation attempt