[MacPorts] #66934: BladeRF unable to extract for compilation under Ventura for both Intel and ARM?
MacPorts
noreply at macports.org
Wed Feb 15 23:06:52 UTC 2023
#66934: BladeRF unable to extract for compilation under Ventura for both Intel and
ARM?
-----------------------+---------------------
Reporter: sck-nogas | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version:
Keywords: | Port: bladeRF
-----------------------+---------------------
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 at 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 at 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?
--
Ticket URL: <https://trac.macports.org/ticket/66934>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list