Opened 2 weeks ago

Last modified 2 weeks ago

#69852 assigned defect

macports libusb for qdmr not compiled for arm64

Reported by: tkheard Owned by: ra1nb0w
Priority: Normal Milestone:
Component: ports Version:
Keywords: arm64 sonoma Cc: michaelld (Michael Dickens), hmatuschek
Port: qdmr libusb

Description

qdmr Attempting to install qdmr on MacOS Sonoma 14.4.1 with Apple M1 chip.

The following is reported:

Tarnhelm-309:~ tkheard$ sudo port install qdmr
Password:
--->  Fetching archive for libiconv
Warning: Your DNS servers incorrectly claim to know the address of nonexistent hosts. This may cause checksum mismatches for some ports. See this page for more information: <https://trac.macports.org/wiki/MisbehavingServers>
--->  Attempting to fetch libiconv-1.17_0.darwin_23.arm64.tbz2 from https://packages.macports.org/libiconv
--->  Attempting to fetch libiconv-1.17_0.darwin_23.arm64.tbz2.rmd160 from https://packages.macports.org/libiconv
--->  Installing libiconv @1.17_0
--->  Cleaning libiconv
--->  Deactivating libiconv @1.14_0
--->  Cleaning libiconv
--->  Activating libiconv @1.17_0
--->  Cleaning libiconv
--->  Computing dependencies for pkgconfig
--->  Fetching archive for pkgconfig
--->  Attempting to fetch pkgconfig-0.29.2_0.darwin_23.arm64.tbz2 from https://packages.macports.org/pkgconfig
--->  Attempting to fetch pkgconfig-0.29.2_0.darwin_23.arm64.tbz2.rmd160 from https://packages.macports.org/pkgconfig
--->  Installing pkgconfig @0.29.2_0
--->  Cleaning pkgconfig
--->  Computing dependencies for pkgconfig
--->  Deactivating pkgconfig @0.28_0
--->  Cleaning pkgconfig
--->  Activating pkgconfig @0.29.2_0
--->  Cleaning pkgconfig
Error: Cannot install qdmr for the arch 'arm64' because
Error: its dependency libusb is only installed for the arch 'i386'
Error: and the configured universal_archs 'x86_64 i386' are not sufficient.
Error: Unable to execute port qdmr: architecture mismatch
Tarnhelm-309:~ tkheard$ sudo port install qdmr

Change History (3)

comment:1 Changed 2 weeks ago by jmroot (Joshua Root)

Cc: michaelld hmatuschek added
Keywords: libusb removed
Owner: changed from ra1nb0w@… to ra1nb0w
Port: libusb added

How did you get libusb installed as i386 on an arm64 machine? Did you migrate your MacPorts installation from an older machine? If so, you need to follow wiki:Migration.

comment:2 Changed 2 weeks ago by tkheard

I didn’t. I installed macport so that I could install qdmr. It was in the install of qdmr that the architecture issue appeared and cancelled the installation. From what I see in the console log, the libraries appear to come from macports.org. I’m happy to assist in figuring this out. Let me know what you need and I’ll give it a shot.

comment:3 Changed 2 weeks ago by jmroot (Joshua Root)

According to the output quoted in the ticket description, the libusb port was not installed when you tried to install qdmr, it had already been installed earlier. port -v installed libusb will show the installation date.

Note: See TracTickets for help on using tickets.