Opened 3 years ago

Closed 3 years ago

#64544 closed defect (duplicate)

libusb fails to build for ppc on 10.6.8 (Rosetta)

Reported by: barracuda156 Owned by:
Priority: Normal Milestone:
Component: ports Version: 2.7.1
Keywords: powerpc, snowleopard, rosetta Cc:
Port: libusb

Description

os/darwin_usb.c:1011:131: note: format string is defined here
       usbi_dbg("matching sessionID/locationID 0x%" PRIx64 "/0x%x against cached device with sessionID/locationID 0x%" PRIx64 "/0x%x",
                                                                                                                                  ~^
                                                                                                                                  %lx
make[2]: *** [os/darwin_usb.lo] Error 1
make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_libusb/libusb/work/libusb-libusb-c6a35c5/libusb'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_libusb/libusb/work/libusb-libusb-c6a35c5'
make: *** [all] Error 2
make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_libusb/libusb/work/libusb-libusb-c6a35c5'
Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_libusb/libusb/work/libusb-1.0.24" && /usr/bin/make -j1 -w all AM_DEFAULT_VERBOSITY=1 
Exit code: 2
Error: Failed to build libusb: 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)

main.log (85.4 KB) - added by barracuda156 3 years ago.

Download all attachments as: .zip

Change History (2)

Changed 3 years ago by barracuda156

Attachment: main.log added

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

Resolution: duplicate
Status: newclosed

The real error in the log is:

:info:build /System/Library/Frameworks/IOKit.framework/Headers/usb/USB.h:584:9: error: too many #pragma options align=reset
:info:build  #pragma options align=reset
:info:build          ^~~~~~~
:info:build /System/Library/Frameworks/IOKit.framework/Headers/usb/USB.h:602:9: error: too many #pragma options align=reset
:info:build  #pragma options align=reset
:info:build          ^~~~~~~
:info:build /System/Library/Frameworks/IOKit.framework/Headers/usb/USB.h:622:9: error: too many #pragma options align=reset
:info:build  #pragma options align=reset
:info:build          ^~~~~~~

Duplicate of #64408.

Note: See TracTickets for help on using tickets.