Opened 3 years ago

Closed 3 years ago

#65003 closed defect (fixed)

libusb @1.0.26: Failed to configure

Reported by: cctile (Charles Choi) Owned by: michaelld (Michael Dickens)
Priority: Normal Milestone:
Component: ports Version: 2.7.2
Keywords: Cc: dogfinder (Mark J. Blair), ryandesign (Ryan Carsten Schmidt)
Port: libusb libusb-devel

Description

Tried to update to libusb 1.0.26, failing.

--->  Configuring libusb
Error: Failed to configure libusb: consult /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_libusb/libusb/work/libusb-1.0.26/config.log
Error: Failed to configure libusb: configure failure: command execution failed
Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_libusb/libusb/main.log for details.
Error: Follow https://guide.macports.org/#project.tickets if you believe there is a bug.

Attachments (1)

config.log (52.3 KB) - added by cctile (Charles Choi) 3 years ago.

Download all attachments as: .zip

Change History (8)

Changed 3 years ago by cctile (Charles Choi)

Attachment: config.log added

comment:1 Changed 3 years ago by ryandesign (Ryan Carsten Schmidt)

Keywords: libusb removed
Owner: set to michaelld
Port: libusb libusb-devel added
Status: newassigned
Summary: Error: Failed to configure libusb:libusb @1.0.26: Failed to configure

You didn't attach the main.log but I assume you're seeing the same problem we see across the board with libusb and libusb-devel:

https://build.macports.org/builders/ports-12_x86_64-builder/builds/26790/steps/install-port/logs/stdio

configure: line 17642: syntax error near unexpected token `UMOCKDEV,'
configure: line 17642: `		PKG_CHECK_MODULES(UMOCKDEV, umockdev-1.0 >= 0.16.0, ac_have_umockdev=yes, ac_have_umockdev=no)'

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

Interesting. I built both just fine on macOS 11. Maybe this is macOS 12 specific? I don't have a macOS 12 boot yet ...

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

nope ... looks like a bigger issues ... investigating

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

Strange ... PKG_CHECK_MODULES(UMOCKDEV should never be executed ... it's part of a linux case. Can someone with this issue attach the generated configure script? I don't see it when I configure either libusb or libusb-devel.

comment:5 Changed 3 years ago by dogfinder (Mark J. Blair)

Cc: dogfinder added

comment:6 Changed 3 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: ryandesign added

comment:7 Changed 3 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: fixed
Status: assignedclosed

In 6b3c05d3a37dfb0a11067bb6980fbf5aacc96392/macports-ports (master):

libusb: Add pkgconfig dependency

Closes: #65003

Note: See TracTickets for help on using tickets.