libusb port fails to build:
version:1
:debug:clean Starting logging for libusb @1.0.24_0
:debug:sysinfo Mac OS X 10.6 (darwin/10.0.0d2) arch powerpc
:debug:sysinfo MacPorts 2.7.1
:debug:sysinfo Xcode 3.2
:debug:sysinfo SDK 10.6
:debug:sysinfo MACOSX_DEPLOYMENT_TARGET: 10.6
:warn:clean configured user/group macports does not exist, will build as root
:debug:clean Attempting ln -sf /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_libusb/libusb/work /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/devel/libusb/work
:debug:main Executing org.macports.main (libusb)
:debug:archivefetch archivefetch phase started at Wed Oct 13 18:17:26 CST 2021
:debug:archivefetch Executing org.macports.archivefetch (libusb)
:debug:fetch fetch phase started at Wed Oct 13 18:17:26 CST 2021
:notice:fetch ---> Fetching distfiles for libusb
:debug:fetch Executing org.macports.fetch (libusb)
:info:fetch ---> libusb-1.0.24.tar.gz does not exist in /opt/local/var/macports/distfiles/libusb
:notice:fetch ---> Attempting to fetch libusb-1.0.24.tar.gz from
https://github.com/libusb/libusb/tarball/v1.0.24
:debug:fetch Fetching distfile failed: error:1407742E:SSL routines:SSL23_GET_SERVER_HELLO:tlsv1 alert protocol version
:notice:fetch ---> Attempting to fetch libusb-1.0.24.tar.gz from
http://distfiles.macports.org/libusb
:debug:checksum checksum phase started at Wed Oct 13 18:17:30 CST 2021
:notice:checksum ---> Verifying checksums for libusb
:debug:checksum Executing org.macports.checksum (libusb)
:info:checksum ---> Checksumming libusb-1.0.24.tar.gz
:debug:checksum Calculated (rmd160) is b07846d6434872ac9f083c3e159edc419510d120
:debug:checksum Correct (rmd160) checksum for libusb-1.0.24.tar.gz
:debug:checksum Calculated (sha256) is 82a06eead29d0eb63cca6ef453e0546e7c7fcd21d390072d0e30a4af2ce6e08b
:debug:checksum Correct (sha256) checksum for libusb-1.0.24.tar.gz
:debug:checksum Calculated (size) is 361098
:debug:checksum Correct (size) checksum for libusb-1.0.24.tar.gz
:debug:extract extract phase started at Wed Oct 13 18:17:30 CST 2021
:notice:extract ---> Extracting libusb
:debug:extract Executing org.macports.extract (libusb)
:info:extract ---> Extracting libusb-1.0.24.tar.gz
:debug:extract setting option extract.args to '/opt/local/var/macports/distfiles/libusb/libusb-1.0.24.tar.gz'
:debug:extract Environment:
:debug:extract CC_PRINT_OPTIONS='YES'
:debug:extract CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_libusb/libusb/work/.CC_PRINT_OPTIONS'
:debug:extract CPATH='/opt/local/include'
:debug:extract DEVELOPER_DIR='/Developer'
:debug:extract LIBRARY_PATH='/opt/local/lib'
:debug:extract MACOSX_DEPLOYMENT_TARGET='10.6'
:info:extract Executing: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_libusb/libusb/work" && /usr/bin/gzip -dc '/opt/local/var/macports/distfiles/libusb/libusb-1.0.24.tar.gz' | /usr/bin/gnutar --no-same-owner -xf -
:debug:extract system: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_libusb/libusb/work" && /usr/bin/gzip -dc '/opt/local/var/macports/distfiles/libusb/libusb-1.0.24.tar.gz' | /usr/bin/gnutar --no-same-owner -xf -
:debug:extract Symlink: /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 -> libusb-libusb-c6a35c5
:debug:extract Executing proc-post-org.macports.extract-extract-0
:debug
atch patch phase started at Wed Oct 13 18:17:31 CST 2021
:debug
atch Executing org.macports.patch (libusb)
:notice
atch ---> Applying patches to libusb
:info
atch ---> Applying patch-c11-const-array-size-older-GCC.diff
:debug
atch Environment:
:debug
atch CC_PRINT_OPTIONS='YES'
:debug
atch CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_libusb/libusb/work/.CC_PRINT_OPTIONS'
:debug
atch CPATH='/opt/local/include'
:debug
atch DEVELOPER_DIR='/Developer'
:debug
atch LIBRARY_PATH='/opt/local/lib'
:debug
atch MACOSX_DEPLOYMENT_TARGET='10.6'
:info
atch Executing: 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/patch -p0 < '/opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/devel/libusb/files/patch-c11-const-array-size-older-GCC.diff'
:debug
atch system: 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/patch -p0 < '/opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/devel/libusb/files/patch-c11-const-array-size-older-GCC.diff'
:info
atch patching file libusb/os/darwin_usb.c
:info
atch ---> Applying patch-10.7-nospeedsuper.diff
:debug
atch Environment:
:debug
atch CC_PRINT_OPTIONS='YES'
:debug
atch CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_libusb/libusb/work/.CC_PRINT_OPTIONS'
:debug
atch CPATH='/opt/local/include'
:debug
atch DEVELOPER_DIR='/Developer'
:debug
atch LIBRARY_PATH='/opt/local/lib'
:debug
atch MACOSX_DEPLOYMENT_TARGET='10.6'
:info
atch Executing: 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/patch -p0 < '/opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/devel/libusb/files/patch-10.7-nospeedsuper.diff'
:debug
atch system: 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/patch -p0 < '/opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/devel/libusb/files/patch-10.7-nospeedsuper.diff'
:info
atch patching file libusb/os/darwin_usb.c
:debug:configure configure phase started at Wed Oct 13 18:17:31 CST 2021
:notice:configure ---> Configuring libusb
:debug:configure Preferred compilers: macports-gcc-7 macports-gcc-6 macports-gcc-5
:debug:configure Using compiler 'MacPorts GCC 7'
:debug:configure Executing org.macports.configure (libusb)
:debug:configure Environment:
:debug:configure CC='/opt/local/bin/gcc-mp-7'
:debug:configure CC_PRINT_OPTIONS='YES'
:debug:configure CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_libusb/libusb/work/.CC_PRINT_OPTIONS'
:debug:configure CFLAGS='-pipe -Os -arch ppc'
:debug:configure CPATH='/opt/local/include'
:debug:configure CPPFLAGS='-I/opt/local/include'
:debug:configure CXX='/opt/local/bin/g++-mp-7'
:debug:configure CXXFLAGS='-pipe -Os -arch ppc'
:debug:configure DEVELOPER_DIR='/Developer'
:debug:configure F77='/opt/local/bin/gfortran-mp-7'
:debug:configure F90='/opt/local/bin/gfortran-mp-7'
:debug:configure F90FLAGS='-pipe -Os -m32'
:debug:configure FC='/opt/local/bin/gfortran-mp-7'
:debug:configure FCFLAGS='-pipe -Os -m32'
:debug:configure FFLAGS='-pipe -Os -m32'
:debug:configure INSTALL='/usr/bin/install -c'
:debug:configure LDFLAGS='-L/opt/local/lib -Wl,-headerpad_max_install_names -arch ppc'
:debug:configure LIBRARY_PATH='/opt/local/lib'
:debug:configure MACOSX_DEPLOYMENT_TARGET='10.6'
:debug:configure OBJC='/opt/local/bin/gcc-mp-7'
:debug:configure OBJCFLAGS='-pipe -Os -arch ppc'
:debug:configure OBJCXX='/opt/local/bin/g++-mp-7'
:debug:configure OBJCXXFLAGS='-pipe -Os -arch ppc'
:info:configure Executing: 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" && ./autogen.sh --prefix=/opt/local
:debug:configure system: 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" && ./autogen.sh --prefix=/opt/local
:info:configure autoreconf: export WARNINGS=
:info:configure autoreconf: Entering directory '.'
:info:configure autoreconf: configure.ac: not using Gettext
:info:configure autoreconf: running: /opt/local/bin/aclocal --force -I m4
:info:configure autoreconf: configure.ac: tracing
:info:configure autoreconf: running: /opt/local/bin/glibtoolize --copy --force
:info:configure glibtoolize: putting auxiliary files in '.'.
:info:configure glibtoolize: copying file './ltmain.sh'
:info:configure glibtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'.
:info:configure glibtoolize: copying file 'm4/libtool.m4'
:info:configure glibtoolize: copying file 'm4/ltoptions.m4'
:info:configure glibtoolize: copying file 'm4/ltsugar.m4'
:info:configure glibtoolize: copying file 'm4/ltversion.m4'
:info:configure glibtoolize: copying file 'm4/lt~obsolete.m4'
:info:configure autoreconf: configure.ac: not using Intltool
:info:configure autoreconf: configure.ac: not using Gtkdoc
:info:configure autoreconf: running: /opt/local/bin/aclocal --force -I m4
:info:configure autoreconf: running: /opt/local/bin/autoconf --force
:info:configure configure.ac:172: warning: The macro `AC_HELP_STRING' is obsolete.
:info:configure configure.ac:172: You should run autoupdate.
:info:configure ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from...
:info:configure ./lib/autoconf/general.m4:1534: AC_ARG_ENABLE is expanded from...
:info:configure configure.ac:172: the top level
:info:configure autoreconf: running: /opt/local/bin/autoheader --force
:info:configure autoreconf: running: /opt/local/bin/automake --add-missing --copy --force-missing
:info:configure configure.ac:23: installing './compile'
:info:configure configure.ac:27: installing './config.guess'
:info:configure configure.ac:27: installing './config.sub'
:info:configure configure.ac:26: installing './install-sh'
:info:configure configure.ac:26: installing './missing'
:info:configure Makefile.am: installing './INSTALL'
:info:configure examples/Makefile.am: installing './depcomp'
:info:configure autoreconf: Leaving directory '.'
:info:configure checking for gcc... /opt/local/bin/gcc-mp-7
:info:configure checking whether the C compiler works... yes
:info:configure checking for C compiler default output file name... a.out
:info:configure checking for suffix of executables...
:info:configure checking whether we are cross compiling... no
:info:configure checking for suffix of object files... o
:info:configure checking whether the compiler supports GNU C... yes
:info:configure checking whether /opt/local/bin/gcc-mp-7 accepts -g... yes
:info:configure checking for /opt/local/bin/gcc-mp-7 option to enable C11 features... none needed
:info:configure checking whether /opt/local/bin/gcc-mp-7 understands -c and -o together... yes
:info:configure checking whether the compiler supports GNU C++... yes
:info:configure checking whether /opt/local/bin/g++-mp-7 accepts -g... yes
:info:configure checking for /opt/local/bin/g++-mp-7 option to enable C++11 features... none needed
:info:configure checking for inline... inline
:info:configure checking for a BSD-compatible install... /usr/bin/install -c
:info:configure checking whether build environment is sane... yes
:info:configure checking for a race-free mkdir -p... /opt/local/bin/gmkdir -p
:info:configure checking for gawk... gawk
:info:configure checking whether make sets $(MAKE)... yes
:info:configure checking whether make supports the include directive... yes (GNU style)
:info:configure checking whether make supports nested variables... yes
:info:configure checking dependency style of /opt/local/bin/gcc-mp-7... gcc3
:info:configure checking dependency style of /opt/local/bin/g++-mp-7... gcc3
:info:configure checking build system type... powerpc-apple-darwin10.0.0d2
:info:configure checking host system type... powerpc-apple-darwin10.0.0d2
:info:configure checking how to print strings... printf
:info:configure checking for a sed that does not truncate output... /usr/bin/sed
:info:configure checking for grep that handles long lines and -e... /usr/bin/grep
:info:configure checking for egrep... /usr/bin/grep -E
:info:configure checking for fgrep... /usr/bin/grep -F
:info:configure checking for ld used by /opt/local/bin/gcc-mp-7... /opt/local/bin/ld
:info:configure checking if the linker (/opt/local/bin/ld) is GNU ld... no
:info:configure checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -p
:info:configure checking the name lister (/usr/bin/nm -p) interface... BSD nm
:info:configure checking whether ln -s works... yes
:info:configure checking the maximum length of command line arguments... 196608
:info:configure checking how to convert powerpc-apple-darwin10.0.0d2 file names to powerpc-apple-darwin10.0.0d2 format... func_convert_file_noop
:info:configure checking how to convert powerpc-apple-darwin10.0.0d2 file names to toolchain format... func_convert_file_noop
:info:configure checking for /opt/local/bin/ld option to reload object files... -r
:info:configure checking for objdump... no
:info:configure checking how to recognize dependent libraries... pass_all
:info:configure checking for dlltool... no
:info:configure checking how to associate runtime and link libraries... printf %s\n
:info:configure checking for ar... ar
:info:configure checking for archiver @FILE support... no
:info:configure checking for strip... strip
:info:configure checking for ranlib... ranlib
:info:configure checking command to parse /usr/bin/nm -p output from /opt/local/bin/gcc-mp-7 object... ok
:info:configure checking for sysroot... no
:info:configure checking for a working dd... /bin/dd
:info:configure checking how to truncate binary pipes... /bin/dd bs=4096 count=1
:info:configure checking for mt... no
:info:configure checking if : is a manifest tool... no
:info:configure checking for dsymutil... dsymutil
:info:configure checking for nmedit... nmedit
:info:configure checking for lipo... lipo
:info:configure checking for otool... otool
:info:configure checking for otool64... no
:info:configure checking for -single_module linker flag... yes
:info:configure checking for -exported_symbols_list linker flag... yes
:info:configure checking for -force_load linker flag... yes
:info:configure checking for stdio.h... yes
:info:configure checking for stdlib.h... yes
:info:configure checking for string.h... yes
:info:configure checking for inttypes.h... yes
:info:configure checking for stdint.h... yes
:info:configure checking for strings.h... yes
:info:configure checking for sys/stat.h... yes
:info:configure checking for sys/types.h... yes
:info:configure checking for unistd.h... yes
:info:configure checking for dlfcn.h... yes
:info:configure checking for objdir... .libs
:info:configure checking if /opt/local/bin/gcc-mp-7 supports -fno-rtti -fno-exceptions... no
:info:configure checking for /opt/local/bin/gcc-mp-7 option to produce PIC... -fno-common -DPIC
:info:configure checking if /opt/local/bin/gcc-mp-7 PIC flag -fno-common -DPIC works... yes
:info:configure checking if /opt/local/bin/gcc-mp-7 static flag -static works... no
:info:configure checking if /opt/local/bin/gcc-mp-7 supports -c -o file.o... yes
:info:configure checking if /opt/local/bin/gcc-mp-7 supports -c -o file.o... (cached) yes
:info:configure checking whether the /opt/local/bin/gcc-mp-7 linker (/opt/local/bin/ld) supports shared libraries... yes
:info:configure checking dynamic linker characteristics... darwin10.0.0d2 dyld
:info:configure checking how to hardcode library paths into programs... immediate
:info:configure checking whether stripping libraries is possible... yes
:info:configure checking if libtool supports shared libraries... yes
:info:configure checking whether to build shared libraries... yes
:info:configure checking whether to build static libraries... yes
:info:configure checking how to run the C++ preprocessor... /opt/local/bin/g++-mp-7 -E
:info:configure checking for ld used by /opt/local/bin/g++-mp-7... /opt/local/bin/ld
:info:configure checking if the linker (/opt/local/bin/ld) is GNU ld... no
:info:configure checking whether the /opt/local/bin/g++-mp-7 linker (/opt/local/bin/ld) supports shared libraries... yes
:info:configure checking for /opt/local/bin/g++-mp-7 option to produce PIC... -fno-common -DPIC
:info:configure checking if /opt/local/bin/g++-mp-7 PIC flag -fno-common -DPIC works... yes
:info:configure checking if /opt/local/bin/g++-mp-7 static flag -static works... no
:info:configure checking if /opt/local/bin/g++-mp-7 supports -c -o file.o... yes
:info:configure checking if /opt/local/bin/g++-mp-7 supports -c -o file.o... (cached) yes
:info:configure checking whether the /opt/local/bin/g++-mp-7 linker (/opt/local/bin/ld) supports shared libraries... yes
:info:configure checking dynamic linker characteristics... darwin10.0.0d2 dyld
:info:configure checking how to hardcode library paths into programs... immediate
:info:configure checking for windres... no
:info:configure checking whether make supports nested variables... (cached) yes
:info:configure checking if /opt/local/bin/gcc-mp-7 supports -std=gnu11... yes
:info:configure checking operating system... Darwin/Mac OS X
:info:configure checking for nfds_t... yes
:info:configure checking for pipe2... no
:info:configure checking if /opt/local/bin/gcc-mp-7 recognizes -pthread... yes
:info:configure checking for library containing pthread_create... none required
:info:configure checking for pthread_threadid_np... no
:info:configure checking for sys/time.h... yes
:info:configure checking for clock_gettime... no
:info:configure checking that generated files are newer than configure... done
:info:configure configure: creating ./config.status
:info:configure config.status: creating libusb-1.0.pc
:info:configure config.status: creating Makefile
:info:configure config.status: creating libusb/Makefile
:info:configure config.status: creating examples/Makefile
:info:configure config.status: creating tests/Makefile
:info:configure config.status: creating doc/Makefile
:info:configure config.status: creating doc/doxygen.cfg
:info:configure config.status: creating config.h
:info:configure config.status: executing depfiles commands
:info:configure config.status: executing libtool commands
:debug:configure Executing portconfigure::configure_finish
:debug:build build phase started at Wed Oct 13 18:18:43 CST 2021
:notice:build ---> Building libusb
:debug:build Executing org.macports.build (libusb)
:debug:build port disallows a parallel build, setting build jobs to 1
:debug:build port disallows a parallel build, setting build jobs to 1
:debug:build Environment:
:debug:build CC_PRINT_OPTIONS='YES'
:debug:build CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_libusb/libusb/work/.CC_PRINT_OPTIONS'
:debug:build CPATH='/opt/local/include'
:debug:build DEVELOPER_DIR='/Developer'
:debug:build LIBRARY_PATH='/opt/local/lib'
:debug:build MACOSX_DEPLOYMENT_TARGET='10.6'
:info:build Executing: 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
:debug:build system: 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
:info:build make: Entering 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'
:info:build /usr/bin/make all-recursive
:info:build make[1]: Entering 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'
:info:build Making all in libusb
:info:build make[2]: Entering 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'
:info:build depbase=`echo core.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\
:info:build /bin/sh ../libtool --tag=CC --mode=compile /opt/local/bin/gcc-mp-7 -DHAVE_CONFIG_H -I. -I.. -I/opt/local/include -std=gnu11 -Wall -Wextra -Wshadow -Wunused -Wwrite-strings -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Werror=init-self -Werror=missing-prototypes -Werror=strict-prototypes -Werror=undef -Werror=uninitialized -fvisibility=hidden -pthread -pipe -Os -arch ppc -MT core.lo -MD -MP -MF $depbase.Tpo -c -o core.lo core.c &&\
:info:build mv -f $depbase.Tpo $depbase.Plo
:info:build libtool: compile: /opt/local/bin/gcc-mp-7 -DHAVE_CONFIG_H -I. -I.. -I/opt/local/include -std=gnu11 -Wall -Wextra -Wshadow -Wunused -Wwrite-strings -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Werror=init-self -Werror=missing-prototypes -Werror=strict-prototypes -Werror=undef -Werror=uninitialized -fvisibility=hidden -pthread -pipe -Os -arch ppc -MT core.lo -MD -MP -MF .deps/core.Tpo -c core.c -fno-common -DPIC -o .libs/core.o
:info:build libtool: compile: /opt/local/bin/gcc-mp-7 -DHAVE_CONFIG_H -I. -I.. -I/opt/local/include -std=gnu11 -Wall -Wextra -Wshadow -Wunused -Wwrite-strings -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Werror=init-self -Werror=missing-prototypes -Werror=strict-prototypes -Werror=undef -Werror=uninitialized -fvisibility=hidden -pthread -pipe -Os -arch ppc -MT core.lo -MD -MP -MF .deps/core.Tpo -c core.c -o core.o >/dev/null 2>&1
:info:build depbase=`echo descriptor.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\
:info:build /bin/sh ../libtool --tag=CC --mode=compile /opt/local/bin/gcc-mp-7 -DHAVE_CONFIG_H -I. -I.. -I/opt/local/include -std=gnu11 -Wall -Wextra -Wshadow -Wunused -Wwrite-strings -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Werror=init-self -Werror=missing-prototypes -Werror=strict-prototypes -Werror=undef -Werror=uninitialized -fvisibility=hidden -pthread -pipe -Os -arch ppc -MT descriptor.lo -MD -MP -MF $depbase.Tpo -c -o descriptor.lo descriptor.c &&\
:info:build mv -f $depbase.Tpo $depbase.Plo
:info:build libtool: compile: /opt/local/bin/gcc-mp-7 -DHAVE_CONFIG_H -I. -I.. -I/opt/local/include -std=gnu11 -Wall -Wextra -Wshadow -Wunused -Wwrite-strings -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Werror=init-self -Werror=missing-prototypes -Werror=strict-prototypes -Werror=undef -Werror=uninitialized -fvisibility=hidden -pthread -pipe -Os -arch ppc -MT descriptor.lo -MD -MP -MF .deps/descriptor.Tpo -c descriptor.c -fno-common -DPIC -o .libs/descriptor.o
:info:build libtool: compile: /opt/local/bin/gcc-mp-7 -DHAVE_CONFIG_H -I. -I.. -I/opt/local/include -std=gnu11 -Wall -Wextra -Wshadow -Wunused -Wwrite-strings -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Werror=init-self -Werror=missing-prototypes -Werror=strict-prototypes -Werror=undef -Werror=uninitialized -fvisibility=hidden -pthread -pipe -Os -arch ppc -MT descriptor.lo -MD -MP -MF .deps/descriptor.Tpo -c descriptor.c -o descriptor.o >/dev/null 2>&1
:info:build depbase=`echo hotplug.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\
:info:build /bin/sh ../libtool --tag=CC --mode=compile /opt/local/bin/gcc-mp-7 -DHAVE_CONFIG_H -I. -I.. -I/opt/local/include -std=gnu11 -Wall -Wextra -Wshadow -Wunused -Wwrite-strings -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Werror=init-self -Werror=missing-prototypes -Werror=strict-prototypes -Werror=undef -Werror=uninitialized -fvisibility=hidden -pthread -pipe -Os -arch ppc -MT hotplug.lo -MD -MP -MF $depbase.Tpo -c -o hotplug.lo hotplug.c &&\
:info:build mv -f $depbase.Tpo $depbase.Plo
:info:build libtool: compile: /opt/local/bin/gcc-mp-7 -DHAVE_CONFIG_H -I. -I.. -I/opt/local/include -std=gnu11 -Wall -Wextra -Wshadow -Wunused -Wwrite-strings -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Werror=init-self -Werror=missing-prototypes -Werror=strict-prototypes -Werror=undef -Werror=uninitialized -fvisibility=hidden -pthread -pipe -Os -arch ppc -MT hotplug.lo -MD -MP -MF .deps/hotplug.Tpo -c hotplug.c -fno-common -DPIC -o .libs/hotplug.o
:info:build libtool: compile: /opt/local/bin/gcc-mp-7 -DHAVE_CONFIG_H -I. -I.. -I/opt/local/include -std=gnu11 -Wall -Wextra -Wshadow -Wunused -Wwrite-strings -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Werror=init-self -Werror=missing-prototypes -Werror=strict-prototypes -Werror=undef -Werror=uninitialized -fvisibility=hidden -pthread -pipe -Os -arch ppc -MT hotplug.lo -MD -MP -MF .deps/hotplug.Tpo -c hotplug.c -o hotplug.o >/dev/null 2>&1
:info:build depbase=`echo io.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\
:info:build /bin/sh ../libtool --tag=CC --mode=compile /opt/local/bin/gcc-mp-7 -DHAVE_CONFIG_H -I. -I.. -I/opt/local/include -std=gnu11 -Wall -Wextra -Wshadow -Wunused -Wwrite-strings -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Werror=init-self -Werror=missing-prototypes -Werror=strict-prototypes -Werror=undef -Werror=uninitialized -fvisibility=hidden -pthread -pipe -Os -arch ppc -MT io.lo -MD -MP -MF $depbase.Tpo -c -o io.lo io.c &&\
:info:build mv -f $depbase.Tpo $depbase.Plo
:info:build libtool: compile: /opt/local/bin/gcc-mp-7 -DHAVE_CONFIG_H -I. -I.. -I/opt/local/include -std=gnu11 -Wall -Wextra -Wshadow -Wunused -Wwrite-strings -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Werror=init-self -Werror=missing-prototypes -Werror=strict-prototypes -Werror=undef -Werror=uninitialized -fvisibility=hidden -pthread -pipe -Os -arch ppc -MT io.lo -MD -MP -MF .deps/io.Tpo -c io.c -fno-common -DPIC -o .libs/io.o
:info:build libtool: compile: /opt/local/bin/gcc-mp-7 -DHAVE_CONFIG_H -I. -I.. -I/opt/local/include -std=gnu11 -Wall -Wextra -Wshadow -Wunused -Wwrite-strings -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Werror=init-self -Werror=missing-prototypes -Werror=strict-prototypes -Werror=undef -Werror=uninitialized -fvisibility=hidden -pthread -pipe -Os -arch ppc -MT io.lo -MD -MP -MF .deps/io.Tpo -c io.c -o io.o >/dev/null 2>&1
:info:build depbase=`echo strerror.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\
:info:build /bin/sh ../libtool --tag=CC --mode=compile /opt/local/bin/gcc-mp-7 -DHAVE_CONFIG_H -I. -I.. -I/opt/local/include -std=gnu11 -Wall -Wextra -Wshadow -Wunused -Wwrite-strings -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Werror=init-self -Werror=missing-prototypes -Werror=strict-prototypes -Werror=undef -Werror=uninitialized -fvisibility=hidden -pthread -pipe -Os -arch ppc -MT strerror.lo -MD -MP -MF $depbase.Tpo -c -o strerror.lo strerror.c &&\
:info:build mv -f $depbase.Tpo $depbase.Plo
:info:build libtool: compile: /opt/local/bin/gcc-mp-7 -DHAVE_CONFIG_H -I. -I.. -I/opt/local/include -std=gnu11 -Wall -Wextra -Wshadow -Wunused -Wwrite-strings -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Werror=init-self -Werror=missing-prototypes -Werror=strict-prototypes -Werror=undef -Werror=uninitialized -fvisibility=hidden -pthread -pipe -Os -arch ppc -MT strerror.lo -MD -MP -MF .deps/strerror.Tpo -c strerror.c -fno-common -DPIC -o .libs/strerror.o
:info:build libtool: compile: /opt/local/bin/gcc-mp-7 -DHAVE_CONFIG_H -I. -I.. -I/opt/local/include -std=gnu11 -Wall -Wextra -Wshadow -Wunused -Wwrite-strings -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Werror=init-self -Werror=missing-prototypes -Werror=strict-prototypes -Werror=undef -Werror=uninitialized -fvisibility=hidden -pthread -pipe -Os -arch ppc -MT strerror.lo -MD -MP -MF .deps/strerror.Tpo -c strerror.c -o strerror.o >/dev/null 2>&1
:info:build depbase=`echo sync.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\
:info:build /bin/sh ../libtool --tag=CC --mode=compile /opt/local/bin/gcc-mp-7 -DHAVE_CONFIG_H -I. -I.. -I/opt/local/include -std=gnu11 -Wall -Wextra -Wshadow -Wunused -Wwrite-strings -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Werror=init-self -Werror=missing-prototypes -Werror=strict-prototypes -Werror=undef -Werror=uninitialized -fvisibility=hidden -pthread -pipe -Os -arch ppc -MT sync.lo -MD -MP -MF $depbase.Tpo -c -o sync.lo sync.c &&\
:info:build mv -f $depbase.Tpo $depbase.Plo
:info:build libtool: compile: /opt/local/bin/gcc-mp-7 -DHAVE_CONFIG_H -I. -I.. -I/opt/local/include -std=gnu11 -Wall -Wextra -Wshadow -Wunused -Wwrite-strings -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Werror=init-self -Werror=missing-prototypes -Werror=strict-prototypes -Werror=undef -Werror=uninitialized -fvisibility=hidden -pthread -pipe -Os -arch ppc -MT sync.lo -MD -MP -MF .deps/sync.Tpo -c sync.c -fno-common -DPIC -o .libs/sync.o
:info:build libtool: compile: /opt/local/bin/gcc-mp-7 -DHAVE_CONFIG_H -I. -I.. -I/opt/local/include -std=gnu11 -Wall -Wextra -Wshadow -Wunused -Wwrite-strings -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Werror=init-self -Werror=missing-prototypes -Werror=strict-prototypes -Werror=undef -Werror=uninitialized -fvisibility=hidden -pthread -pipe -Os -arch ppc -MT sync.lo -MD -MP -MF .deps/sync.Tpo -c sync.c -o sync.o >/dev/null 2>&1
:info:build depbase=`echo os/events_posix.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\
:info:build /bin/sh ../libtool --tag=CC --mode=compile /opt/local/bin/gcc-mp-7 -DHAVE_CONFIG_H -I. -I.. -I/opt/local/include -std=gnu11 -Wall -Wextra -Wshadow -Wunused -Wwrite-strings -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Werror=init-self -Werror=missing-prototypes -Werror=strict-prototypes -Werror=undef -Werror=uninitialized -fvisibility=hidden -pthread -pipe -Os -arch ppc -MT os/events_posix.lo -MD -MP -MF $depbase.Tpo -c -o os/events_posix.lo os/events_posix.c &&\
:info:build mv -f $depbase.Tpo $depbase.Plo
:info:build libtool: compile: /opt/local/bin/gcc-mp-7 -DHAVE_CONFIG_H -I. -I.. -I/opt/local/include -std=gnu11 -Wall -Wextra -Wshadow -Wunused -Wwrite-strings -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Werror=init-self -Werror=missing-prototypes -Werror=strict-prototypes -Werror=undef -Werror=uninitialized -fvisibility=hidden -pthread -pipe -Os -arch ppc -MT os/events_posix.lo -MD -MP -MF os/.deps/events_posix.Tpo -c os/events_posix.c -fno-common -DPIC -o os/.libs/events_posix.o
:info:build libtool: compile: /opt/local/bin/gcc-mp-7 -DHAVE_CONFIG_H -I. -I.. -I/opt/local/include -std=gnu11 -Wall -Wextra -Wshadow -Wunused -Wwrite-strings -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Werror=init-self -Werror=missing-prototypes -Werror=strict-prototypes -Werror=undef -Werror=uninitialized -fvisibility=hidden -pthread -pipe -Os -arch ppc -MT os/events_posix.lo -MD -MP -MF os/.deps/events_posix.Tpo -c os/events_posix.c -o os/events_posix.o >/dev/null 2>&1
:info:build depbase=`echo os/threads_posix.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\
:info:build /bin/sh ../libtool --tag=CC --mode=compile /opt/local/bin/gcc-mp-7 -DHAVE_CONFIG_H -I. -I.. -I/opt/local/include -std=gnu11 -Wall -Wextra -Wshadow -Wunused -Wwrite-strings -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Werror=init-self -Werror=missing-prototypes -Werror=strict-prototypes -Werror=undef -Werror=uninitialized -fvisibility=hidden -pthread -pipe -Os -arch ppc -MT os/threads_posix.lo -MD -MP -MF $depbase.Tpo -c -o os/threads_posix.lo os/threads_posix.c &&\
:info:build mv -f $depbase.Tpo $depbase.Plo
:info:build libtool: compile: /opt/local/bin/gcc-mp-7 -DHAVE_CONFIG_H -I. -I.. -I/opt/local/include -std=gnu11 -Wall -Wextra -Wshadow -Wunused -Wwrite-strings -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Werror=init-self -Werror=missing-prototypes -Werror=strict-prototypes -Werror=undef -Werror=uninitialized -fvisibility=hidden -pthread -pipe -Os -arch ppc -MT os/threads_posix.lo -MD -MP -MF os/.deps/threads_posix.Tpo -c os/threads_posix.c -fno-common -DPIC -o os/.libs/threads_posix.o
:info:build libtool: compile: /opt/local/bin/gcc-mp-7 -DHAVE_CONFIG_H -I. -I.. -I/opt/local/include -std=gnu11 -Wall -Wextra -Wshadow -Wunused -Wwrite-strings -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Werror=init-self -Werror=missing-prototypes -Werror=strict-prototypes -Werror=undef -Werror=uninitialized -fvisibility=hidden -pthread -pipe -Os -arch ppc -MT os/threads_posix.lo -MD -MP -MF os/.deps/threads_posix.Tpo -c os/threads_posix.c -o os/threads_posix.o >/dev/null 2>&1
:info:build depbase=`echo os/darwin_usb.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\
:info:build /bin/sh ../libtool --tag=CC --mode=compile /opt/local/bin/gcc-mp-7 -DHAVE_CONFIG_H -I. -I.. -I/opt/local/include -std=gnu11 -Wall -Wextra -Wshadow -Wunused -Wwrite-strings -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Werror=init-self -Werror=missing-prototypes -Werror=strict-prototypes -Werror=undef -Werror=uninitialized -fvisibility=hidden -pthread -pipe -Os -arch ppc -MT os/darwin_usb.lo -MD -MP -MF $depbase.Tpo -c -o os/darwin_usb.lo os/darwin_usb.c &&\
:info:build mv -f $depbase.Tpo $depbase.Plo
:info:build libtool: compile: /opt/local/bin/gcc-mp-7 -DHAVE_CONFIG_H -I. -I.. -I/opt/local/include -std=gnu11 -Wall -Wextra -Wshadow -Wunused -Wwrite-strings -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Werror=init-self -Werror=missing-prototypes -Werror=strict-prototypes -Werror=undef -Werror=uninitialized -fvisibility=hidden -pthread -pipe -Os -arch ppc -MT os/darwin_usb.lo -MD -MP -MF os/.deps/darwin_usb.Tpo -c os/darwin_usb.c -fno-common -DPIC -o os/.libs/darwin_usb.o
:info:build In file included from /System/Library/Frameworks/IOKit.framework/Headers/usb/IOUSBLib.h:27:0,
:info:build from os/darwin_usb.h:30,
:info:build from os/darwin_usb.c:49:
:info:build /System/Library/Frameworks/IOKit.framework/Headers/usb/USB.h:597: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:615: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:635:9: error: too many #pragma options align=reset
:info:build #pragma options align=reset
:info:build ^~~~~~~
:info:build os/darwin_usb.c: In function 'darwin_event_thread_main':
:info:build os/darwin_usb.c:457:23: warning: passing argument 1 of 'pthread_setname_np' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
:info:build pthread_setname_np ("org.libusb.device-hotplug");
:info:build ^~~~~~~~~~~~~~~~~~~~~~~~~~~
:info:build In file included from os/darwin_usb.c:26:0:
:info:build /usr/include/pthread.h:361:6: note: expected 'char *' but argument is of type 'const char *'
:info:build int pthread_setname_np(char*);
:info:build ^~~~~~~~~~~~~~~~~~
:info:build In file included from os/darwin_usb.h:26:0,
:info:build from os/darwin_usb.c:49:
:info:build os/darwin_usb.c: In function 'darwin_get_cached_device':
:info:build os/darwin_usb.c:1011:16: warning: format '%x' expects argument of type 'unsigned int', but argument 6 has type 'UInt32 {aka long unsigned int}' [-Wformat=]
:info:build usbi_dbg("matching sessionID/locationID 0x%" PRIx64 "/0x%x against cached device with sessionID/locationID 0x%" PRIx64 "/0x%x",
:info:build ^
:info:build ./libusbi.h:287:67: note: in definition of macro '_usbi_log'
:info:build #define _usbi_log(ctx, level, ...) usbi_log(ctx, level, __func__, __VA_ARGS__)
:info:build ^~~~~~~~~~~
:info:build os/darwin_usb.c:1011:7: note: in expansion of macro 'usbi_dbg'
:info:build usbi_dbg("matching sessionID/locationID 0x%" PRIx64 "/0x%x against cached device with sessionID/locationID 0x%" PRIx64 "/0x%x",
:info:build ^~~~~~~~
:info:build os/darwin_usb.c:1011:64: note: format string is defined here
:info:build usbi_dbg("matching sessionID/locationID 0x%" PRIx64 "/0x%x against cached device with sessionID/locationID 0x%" PRIx64 "/0x%x",
:info:build ~^
:info:build %lx
:info:build In file included from os/darwin_usb.h:26:0,
:info:build from os/darwin_usb.c:49:
:info:build os/darwin_usb.c:1011:16: warning: format '%x' expects argument of type 'unsigned int', but argument 8 has type 'UInt32 {aka long unsigned int}' [-Wformat=]
:info:build usbi_dbg("matching sessionID/locationID 0x%" PRIx64 "/0x%x against cached device with sessionID/locationID 0x%" PRIx64 "/0x%x",
:info:build ^
:info:build sessionID, locationID, new_device->session, new_device->location);
:info:build ~~~~~~~~~~~~~
:info:build ./libusbi.h:287:67: note: in definition of macro '_usbi_log'
:info:build #define _usbi_log(ctx, level, ...) usbi_log(ctx, level, __func__, __VA_ARGS__)
:info:build ^~~~~~~~~~~
:info:build os/darwin_usb.c:1011:7: note: in expansion of macro 'usbi_dbg'
:info:build usbi_dbg("matching sessionID/locationID 0x%" PRIx64 "/0x%x against cached device with sessionID/locationID 0x%" PRIx64 "/0x%x",
:info:build ^~~~~~~~
:info:build os/darwin_usb.c:1011:131: note: format string is defined here
:info:build usbi_dbg("matching sessionID/locationID 0x%" PRIx64 "/0x%x against cached device with sessionID/locationID 0x%" PRIx64 "/0x%x",
:info:build ~^
:info:build %lx
:info:build make[2]: *** [os/darwin_usb.lo] Error 1
:info:build 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'
:info:build make[1]: *** [all-recursive] Error 1
:info:build 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'
:info:build make: *** [all] Error 2
:info:build 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'
:info:build 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
:info:build Exit code: 2
:error:build Failed to build libusb: command execution failed
:debug:build Error code: CHILDSTATUS 54054 2
:debug:build Backtrace: command execution failed
:debug:build while executing
:debug:build "system {*}$notty {*}$callback {*}$nice $fullcmdstring"
:debug:build invoked from within
:debug:build "command_exec -callback portprogress::target_progress_callback build"
:debug:build (procedure "portbuild::build_main" line 8)
:debug:build invoked from within
:debug:build "$procedure $targetname"
:error:build 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.