Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.
Status
The first post of this thread is a WikiPost and can be edited by anyone with the appropiate permissions. Your edits will be public.
bbedit (backtick) port file ninja (backtick)

make your edit, save the file, and then clean and retry your build.

Do you or anyone have BBEdit 9.6.3? I have a license, but for v. 10, and I am afraid my old software backups from pre-2005 time are gone.
Search on the forums here did not give anything.

Another issue I face with R (or Julia for that matter), aside of ninja, is dependency on gcc11. From what I understood from your earlier post, there is no workaround for gcc11 itself to build. Is there a way to somehow force R to rely on gcc7? Macports gives gcc11 in the required list when I run "sudo port install R". (And I tried to build it just to make sure, it failed, of course.)
 
Do you or anyone have BBEdit 9.6.3? I have a license, but for v. 10, and I am afraid my old software backups from pre-2005 time are gone.
Search on the forums here did not give anything.

Another issue I face with R (or Julia for that matter), aside of ninja, is dependency on gcc11. From what I understood from your earlier post, there is no workaround for gcc11 itself to build. Is there a way to somehow force R to rely on gcc7? Macports gives gcc11 in the required list when I run "sudo port install R". (And I tried to build it just to make sure, it failed, of course.)
I have versions of BBEdit since 6.5. BBEdit 9.6.3 is 16.2 MB compressed.
Did you try contacting BBEdit Tech Support like it says on https://www.barebones.com/support/bbedit/updates.html ?
 
Another issue I face with R (or Julia for that matter), aside of ninja, is dependency on gcc11. From what I understood from your earlier post, there is no workaround for gcc11 itself to build. Is there a way to somehow force R to rely on gcc7?

If you are using my overlay repo correctly, then you should not see a need for gcc11. The overlay repo changes MacPorts back to using gcc7 on SnowLeopard. So the fact that you see the gcc11 requirement probably means the overlay is not being used.

Caveat: I have personally so far only built R on Tiger PPC, and I have not ever actually built it on "10.6 for PPC" so it's possible that I am wrong about something and somehow a spec for gcc11 is really being forced in somewhere that I don't know about, that is not covered by the libgcc7 defaulting I added to the repo for you folks.

I wish I had more time to really dive in and get it all going for you, but getting the toolchain working (gcc7 and ld64-127 both needed modifications to work correctly on 10.6 for PPC) and then setting up the defaults as I did are about all I can contribute here.
 
Last edited:
If you are using my overlay repo correctly, then you should not see a need for gcc11. The overlay repo changes MacPorts back to using gcc7 on SnowLeopard. So the fact that you see the gcc11 requirement probably means the overlay is not being used.

Caveat: I have personally so far only built R on Tiger PPC, and I have not ever actually built it on "10.6 for PPC" so it's possible that I am wrong about something and somehow a spec for gcc11 is really being forced in somewhere that I don't know about, that is not covered by the libgcc7 defaulting I added to the repo for you folks.

I wish I had more time to really dive in and get it all going for you, but getting the toolchain working (gcc7 and ld64-127 both needed modifications to work correctly on 10.6 for PPC) and then setting up the defaults as I did are about all I can contribute here.

I have followed steps you described, so probably it should be set up. Other ports compiled.
Is there a way to test if it works as supposed?

And when you built R on Tiger, was it done via macports or otherwise?
 
So here our current system has a system python that is older that the one in the final SnowLeopard 10.6.8, and is behaving like a system < darwin 10.

So you need to change the test in the Portfile to < 11 instead of < 10, so as to force the MacPorts python for this build. These are the types of fixes I put in that repo referenced.

to do a one-off fix for ninja, you edit your Portfile with:

bbedit (backtick) port file ninja (backtick)

make your edit, save the file, and then clean and retry your build.

It worked for ninja! It has built.

However the next port, glib2, failed:


Warning: configured user/group macports does not exist, will build as root
---> Computing dependencies for glib2.
---> Building glib2
Executing: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_glib2/glib2/work/build" && /opt/local/bin/ninja -j4 --verbose -v
[1/924] /usr/bin/gcc-4.2 -Iglib/tests/base64.p -Iglib/tests -I../glib-2.62.6/glib/tests -I. -I../glib-2.62.6 -Iglib -I../glib-2.62.6/glib -I/opt/local/include -std=gnu99 -O2 -g -D_GNU_SOURCE -fno-strict-aliasing -DG_ENABLE_DEBUG -Wall -Wstrict-prototypes -Wunused -Wno-unused-parameter -Wno-bad-function-cast -Werror=declaration-after-statement -Werror=format=2 -Werror=implicit-function-declaration -Werror=init-self -Werror=missing-include-dirs -Werror=missing-prototypes -Werror=pointer-arith -pipe -Os -fstrict-aliasing -Wno-deprecated-declarations -arch ppc '-DG_LOG_DOMAIN="GLib"' -UG_DISABLE_ASSERT -MD -MQ glib/tests/base64.p/base64.c.o -MF glib/tests/base64.p/base64.c.o.d -o glib/tests/base64.p/base64.c.o -c ../glib-2.62.6/glib/tests/base64.c
[2/924] /usr/bin/gcc-4.2 -Iglib/tests/bitlock.p -Iglib/tests -I../glib-2.62.6/glib/tests -I. -I../glib-2.62.6 -Iglib -I../glib-2.62.6/glib -I/opt/local/include -std=gnu99 -O2 -g -D_GNU_SOURCE -fno-strict-aliasing -DG_ENABLE_DEBUG -Wall -Wstrict-prototypes -Wunused -Wno-unused-parameter -Wno-bad-function-cast -Werror=declaration-after-statement -Werror=format=2 -Werror=implicit-function-declaration -Werror=init-self -Werror=missing-include-dirs -Werror=missing-prototypes -Werror=pointer-arith -pipe -Os -fstrict-aliasing -Wno-deprecated-declarations -arch ppc '-DG_LOG_DOMAIN="GLib"' -UG_DISABLE_ASSERT -MD -MQ glib/tests/bitlock.p/bitlock.c.o -MF glib/tests/bitlock.p/bitlock.c.o.d -o glib/tests/bitlock.p/bitlock.c.o -c ../glib-2.62.6/glib/tests/bitlock.c
[3/924] /usr/bin/gcc-4.2 -Iglib/tests/autoptr.p -Iglib/tests -I../glib-2.62.6/glib/tests -I. -I../glib-2.62.6 -Iglib -I../glib-2.62.6/glib -I/opt/local/include -std=gnu99 -O2 -g -D_GNU_SOURCE -fno-strict-aliasing -DG_ENABLE_DEBUG -Wall -Wstrict-prototypes -Wunused -Wno-unused-parameter -Wno-bad-function-cast -Werror=declaration-after-statement -Werror=format=2 -Werror=implicit-function-declaration -Werror=init-self -Werror=missing-include-dirs -Werror=missing-prototypes -Werror=pointer-arith -pipe -Os -fstrict-aliasing -Wno-deprecated-declarations -arch ppc '-DG_LOG_DOMAIN="GLib"' -UG_DISABLE_ASSERT -MD -MQ glib/tests/autoptr.p/autoptr.c.o -MF glib/tests/autoptr.p/autoptr.c.o.d -o glib/tests/autoptr.p/autoptr.c.o -c ../glib-2.62.6/glib/tests/autoptr.c
[4/924] /usr/bin/gcc-4.2 -Iglib/tests/atomic.p -Iglib/tests -I../glib-2.62.6/glib/tests -I. -I../glib-2.62.6 -Iglib -I../glib-2.62.6/glib -I/opt/local/include -std=gnu99 -O2 -g -D_GNU_SOURCE -fno-strict-aliasing -DG_ENABLE_DEBUG -Wall -Wstrict-prototypes -Wunused -Wno-unused-parameter -Wno-bad-function-cast -Werror=declaration-after-statement -Werror=format=2 -Werror=implicit-function-declaration -Werror=init-self -Werror=missing-include-dirs -Werror=missing-prototypes -Werror=pointer-arith -pipe -Os -fstrict-aliasing -Wno-deprecated-declarations -arch ppc '-DG_LOG_DOMAIN="GLib"' -UG_DISABLE_ASSERT -Wstrict-aliasing=2 -MD -MQ glib/tests/atomic.p/atomic.c.o -MF glib/tests/atomic.p/atomic.c.o.d -o glib/tests/atomic.p/atomic.c.o -c ../glib-2.62.6/glib/tests/atomic.c
[5/924] /usr/bin/gcc-4.2 -Iglib/libglib-2.0.0.dylib.p -Iglib -I../glib-2.62.6/glib -I. -I../glib-2.62.6 -I/opt/local/include -O2 -g -pipe -Os -Wno-deprecated-declarations -arch ppc '-DG_LOG_DOMAIN="GLib"' -DGLIB_COMPILATION -fvisibility=hidden -MD -MQ glib/libglib-2.0.0.dylib.p/gosxutils.m.o -MF glib/libglib-2.0.0.dylib.p/gosxutils.m.o.d -o glib/libglib-2.0.0.dylib.p/gosxutils.m.o -c ../glib-2.62.6/glib/gosxutils.m
FAILED: glib/libglib-2.0.0.dylib.p/gosxutils.m.o
/usr/bin/gcc-4.2 -Iglib/libglib-2.0.0.dylib.p -Iglib -I../glib-2.62.6/glib -I. -I../glib-2.62.6 -I/opt/local/include -O2 -g -pipe -Os -Wno-deprecated-declarations -arch ppc '-DG_LOG_DOMAIN="GLib"' -DGLIB_COMPILATION -fvisibility=hidden -MD -MQ glib/libglib-2.0.0.dylib.p/gosxutils.m.o -MF glib/libglib-2.0.0.dylib.p/gosxutils.m.o.d -o glib/libglib-2.0.0.dylib.p/gosxutils.m.o -c ../glib-2.62.6/glib/gosxutils.m
../glib-2.62.6/glib/gosxutils.m: In function ‘find_folder’:
../glib-2.62.6/glib/gosxutils.m:48: warning: ‘NSArray’ may not respond to ‘-firstObject’
../glib-2.62.6/glib/gosxutils.m:48: warning: (Messages without a matching method signature
../glib-2.62.6/glib/gosxutils.m:48: warning: will be assumed to return ‘id’ and accept
../glib-2.62.6/glib/gosxutils.m:48: warning: ‘...’ as arguments.)
../glib-2.62.6/glib/gosxutils.m: In function ‘load_user_special_dirs_macos’:
../glib-2.62.6/glib/gosxutils.m:74: error: ‘NSMusicDirectory’ undeclared (first use in this function)
../glib-2.62.6/glib/gosxutils.m:74: error: (Each undeclared identifier is reported only once
../glib-2.62.6/glib/gosxutils.m:74: error: for each function it appears in.)
../glib-2.62.6/glib/gosxutils.m:75: error: ‘NSPicturesDirectory’ undeclared (first use in this function)
../glib-2.62.6/glib/gosxutils.m:76: error: ‘NSSharedPublicDirectory’ undeclared (first use in this function)
../glib-2.62.6/glib/gosxutils.m:78: error: ‘NSMoviesDirectory’ undeclared (first use in this function)
[6/924] /usr/bin/gcc-4.2 -Iglib/tests/cache.p -Iglib/tests -I../glib-2.62.6/glib/tests -I. -I../glib-2.62.6 -Iglib -I../glib-2.62.6/glib -I/opt/local/include -std=gnu99 -O2 -g -D_GNU_SOURCE -fno-strict-aliasing -DG_ENABLE_DEBUG -Wall -Wstrict-prototypes -Wunused -Wno-unused-parameter -Wno-bad-function-cast -Werror=declaration-after-statement -Werror=format=2 -Werror=implicit-function-declaration -Werror=init-self -Werror=missing-include-dirs -Werror=missing-prototypes -Werror=pointer-arith -pipe -Os -fstrict-aliasing -Wno-deprecated-declarations -arch ppc '-DG_LOG_DOMAIN="GLib"' -UG_DISABLE_ASSERT -MD -MQ glib/tests/cache.p/cache.c.o -MF glib/tests/cache.p/cache.c.o.d -o glib/tests/cache.p/cache.c.o -c ../glib-2.62.6/glib/tests/cache.c
[7/924] /usr/bin/gcc-4.2 -Iglib/tests/bytes.p -Iglib/tests -I../glib-2.62.6/glib/tests -I. -I../glib-2.62.6 -Iglib -I../glib-2.62.6/glib -I/opt/local/include -std=gnu99 -O2 -g -D_GNU_SOURCE -fno-strict-aliasing -DG_ENABLE_DEBUG -Wall -Wstrict-prototypes -Wunused -Wno-unused-parameter -Wno-bad-function-cast -Werror=declaration-after-statement -Werror=format=2 -Werror=implicit-function-declaration -Werror=init-self -Werror=missing-include-dirs -Werror=missing-prototypes -Werror=pointer-arith -pipe -Os -fstrict-aliasing -Wno-deprecated-declarations -arch ppc '-DG_LOG_DOMAIN="GLib"' -UG_DISABLE_ASSERT -MD -MQ glib/tests/bytes.p/bytes.c.o -MF glib/tests/bytes.p/bytes.c.o.d -o glib/tests/bytes.p/bytes.c.o -c ../glib-2.62.6/glib/tests/bytes.c
[8/924] /usr/bin/gcc-4.2 -Iglib/tests/bookmarkfile.p -Iglib/tests -I../glib-2.62.6/glib/tests -I. -I../glib-2.62.6 -Iglib -I../glib-2.62.6/glib -I/opt/local/include -std=gnu99 -O2 -g -D_GNU_SOURCE -fno-strict-aliasing -DG_ENABLE_DEBUG -Wall -Wstrict-prototypes -Wunused -Wno-unused-parameter -Wno-bad-function-cast -Werror=declaration-after-statement -Werror=format=2 -Werror=implicit-function-declaration -Werror=init-self -Werror=missing-include-dirs -Werror=missing-prototypes -Werror=pointer-arith -pipe -Os -fstrict-aliasing -Wno-deprecated-declarations -arch ppc '-DG_LOG_DOMAIN="GLib"' -UG_DISABLE_ASSERT -MD -MQ glib/tests/bookmarkfile.p/bookmarkfile.c.o -MF glib/tests/bookmarkfile.p/bookmarkfile.c.o.d -o glib/tests/bookmarkfile.p/bookmarkfile.c.o -c ../glib-2.62.6/glib/tests/bookmarkfile.c
ninja: build stopped: subcommand failed.
Command failed: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_glib2/glib2/work/build" && /opt/local/bin/ninja -j4 --verbose -v
Exit code: 1
Error: Failed to build glib2: command execution failed
Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_glib2/glib2/main.log for details.
Error: Follow https://guide.macports.org/#project.tickets if you believe there
is a bug.
Error: Processing of port glib2 failed
 
  • Like
Reactions: ChrisCharman
Similar issue. Assumptions made for system features that are available on 10.6 are NOT available on this version of 10.6 because it is not the same as 10.6.8. So in places, you again have to force the build to features that are usually used only on 10.5 in some way.

In this case, I did a lot of work a few months ago to make glib2 build on older systems. Some of the tweaks are not working right on this 10.6 version. Specifically, some of the tests in this patch I wrote up will have to be adjusted to force some of the tweaks to be applied on this 10.6-for-PowerPC system:

 
I have followed steps you described, so probably it should be set up. Other ports compiled.
Is there a way to test if it works as supposed?

And when you built R on Tiger, was it done via macports or otherwise?
I build R using MacPorts, but the existing R Portfile required a few minor tweaks to build. I did not care to take on the project of debating the tweaks with the MacPorts' maintainers, so I put the tweaks in my own personal Tiger overlay repo here (some have found it useful):

 
Similar issue. Assumptions made for system features that are available on 10.6 are NOT available on this version of 10.6 because it is not the same as 10.6.8. So in places, you again have to force the build to features that are usually used only on 10.5 in some way.

In this case, I did a lot of work a few months ago to make glib2 build on older systems. Some of the tweaks are not working right on this 10.6 version. Specifically, some of the tests in this patch I wrote up will have to be adjusted to force some of the tweaks to be applied on this 10.6-for-PowerPC system:


I have tweaked the file, and it worked! glib2 and cairo have built.

Now it wants gcc11 (which will apparently fail after downloading).
These are ports remaining before R, as of now:

gcc11
gobject-introspection
gtk-doc
harfbuzz
pango
 
  • Like
Reactions: ChrisCharman
I build R using MacPorts, but the existing R Portfile required a few minor tweaks to build. I did not care to take on the project of debating the tweaks with the MacPorts' maintainers, so I put the tweaks in my own personal Tiger overlay repo here (some have found it useful):


Ok, I have built all dependencies for R that macports wants, aside of gcc11.
And it asks for gcc11 before doing anything with R. That is, it does not allow to download R directly to try building it with other compiler.

Any suggestion?
 
  • Like
Reactions: ChrisCharman
I build R using MacPorts, but the existing R Portfile required a few minor tweaks to build. I did not care to take on the project of debating the tweaks with the MacPorts' maintainers, so I put the tweaks in my own personal Tiger overlay repo here (some have found it useful):


I need your advice again. Trying to install R-Studio from source, and it fails due to c++ compiler:


cmake .. -DRSTUDIO_TARGET=Desktop -DRSTUDIO_PACKAGE_BUILD=1
-- The C compiler identification is GNU 4.2.1
-- The CXX compiler identification is GNU 4.2.1
-- Checking whether C compiler has -isysroot
-- Checking whether C compiler has -isysroot - yes
-- Checking whether C compiler supports OSX deployment target flag
-- Checking whether C compiler supports OSX deployment target flag - yes
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Checking whether CXX compiler has -isysroot
-- Checking whether CXX compiler has -isysroot - yes
-- Checking whether CXX compiler supports OSX deployment target flag
-- Checking whether CXX compiler supports OSX deployment target flag - yes
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Building RStudio 2021.10.999-dev+999
-- Machine architecture: Power Macintosh
-- CMake build type: Debug
-- Using RStudio tools root: RSTUDIO_TOOLS_ROOT-NOTFOUND
-- Using Homebrew: HOMEBREW_PREFIX-NOTFOUND
-- Configured to build GWT
-- Using ant: /usr/bin/ant
-- Configured to install GWT
-- Performing Test COMPILER_SUPPORTS_CXX11
-- Performing Test COMPILER_SUPPORTS_CXX11 - Failed
CMake Error at src/cpp/CMakeLists.txt:64 (message):
The compiler /usr/bin/c++ has no C++11 support. Please use a different C++
compiler.

This does not help:

cmake .. -DRSTUDIO_TARGET=Desktop -DRSTUDIO_PACKAGE_BUILD=1 -DCMAKE_C_COMPILER='gcc-7'

Same error in result.
What to try?
 
Similar issue. Assumptions made for system features that are available on 10.6 are NOT available on this version of 10.6 because it is not the same as 10.6.8. So in places, you again have to force the build to features that are usually used only on 10.5 in some way.

libusb port fails to build:


Code:
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:patch patch phase started at Wed Oct 13 18:17:31 CST 2021
:debug:patch Executing org.macports.patch (libusb)
:notice:patch --->  Applying patches to libusb
:info:patch --->  Applying patch-c11-const-array-size-older-GCC.diff
:debug:patch Environment:
:debug:patch CC_PRINT_OPTIONS='YES'
:debug:patch 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:patch CPATH='/opt/local/include'
:debug:patch DEVELOPER_DIR='/Developer'
:debug:patch LIBRARY_PATH='/opt/local/lib'
:debug:patch MACOSX_DEPLOYMENT_TARGET='10.6'
:info:patch 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:patch 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:patch patching file libusb/os/darwin_usb.c
:info:patch --->  Applying patch-10.7-nospeedsuper.diff
:debug:patch Environment:
:debug:patch CC_PRINT_OPTIONS='YES'
:debug:patch 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:patch CPATH='/opt/local/include'
:debug:patch DEVELOPER_DIR='/Developer'
:debug:patch LIBRARY_PATH='/opt/local/lib'
:debug:patch MACOSX_DEPLOYMENT_TARGET='10.6'
:info:patch 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:patch 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:patch 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.
 
Last edited:
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:patch patch phase started at Wed Oct 13 18:17:31 CST 2021
:debug:patch Executing org.macports.patch (libusb)
:notice:patch ---> Applying patches to libusb
:info:patch ---> Applying patch-c11-const-array-size-older-GCC.diff
:debug:patch Environment:
:debug:patch CC_PRINT_OPTIONS='YES'
:debug:patch 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:patch CPATH='/opt/local/include'
:debug:patch DEVELOPER_DIR='/Developer'
:debug:patch LIBRARY_PATH='/opt/local/lib'
:debug:patch MACOSX_DEPLOYMENT_TARGET='10.6'
:info:patch 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:patch 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:patch patching file libusb/os/darwin_usb.c
:info:patch ---> Applying patch-10.7-nospeedsuper.diff
:debug:patch Environment:
:debug:patch CC_PRINT_OPTIONS='YES'
:debug:patch 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:patch CPATH='/opt/local/include'
:debug:patch DEVELOPER_DIR='/Developer'
:debug:patch LIBRARY_PATH='/opt/local/lib'
:debug:patch MACOSX_DEPLOYMENT_TARGET='10.6'
:info:patch 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:patch 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:patch 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.

Housekeeping reply:

would you be able to edit this post by putting the above log within a “spoiler tag”?

Thanks. :)

1634122854460.png
 
Do you think this will work for stuff that fails to build on 10.6? http://maniacsvault.net/articles/powerpccross

I sincerely do not know. I mean, it might, but I honestly don’t know (nor do I have a Mojave box handy to try that method).

Unlike what’s-his-name, I’m not a software developer. I understand compiling inasmuch as what a source file README.md or INSTALL.md steps call for, and I don’t understand non-compiled source code to save my life. I’m sorry.
 
I need your advice again. Trying to install R-Studio from source, and it fails due to c++ compiler:


The compiler /usr/bin/c++ has no C++11 support. Please use a different C++
compiler.

This does not help:

cmake .. -DRSTUDIO_TARGET=Desktop -DRSTUDIO_PACKAGE_BUILD=1 -DCMAKE_C_COMPILER='gcc-7'

Same error in result.
What to try?
The way this works on MacPorts, you add a line to the Portfile indicating c++11 support is needed. Then MacPorts base does a bunch of magic in the background, and various compilers are chosen, flags set, standard libraries are selected, etc.

This line forces MacPorts base to choose a C++11 supporting compiler and do other things:

compiler.cxx_standard 2011

So add that in the Portfile someplace, and then see what the next error is :>

Cross compiling to PowerPC using an Intel compiler for c++11 software will not work on MacPorts as there are at present no such compilers set up in MacPorts to do it. For non-c++11 software it will work if you are using Apple's toolchain. But down that path at present lie great dragons, and success is extremely unlikely.

Don't forget, there is a lot of software that just won't work at all on PowerPC any more because of a need for x86 assembly, or newer MacOSX SDK features, or ... ... ...
 
  • Like
Reactions: barracuda156
Oh, if you are instead trying to build and install R-Studio all yourself, without using a Portfile, but using some of MacPorts' toolchain to do it, that can unfortunately be more complicated, indeed. My instruction about the c++11 line for the Portfile would obviously be completely useless if you are not using a Portfile :>
 
Oh, if you are instead trying to build and install R-Studio all yourself, without using a Portfile, but using some of MacPorts' toolchain to do it, that can unfortunately be more complicated, indeed. My instruction about the c++11 line for the Portfile would obviously be completely useless if you are not using a Portfile :>

From what I understand, it is not available on Macports. I have only found this mention: https://trac.macports.org/ticket/39197

So yeah, I downloaded a tarball and tried to build from it.
 
  • Like
Reactions: ChrisCharman
Don't forget, there is a lot of software that just won't work at all on PowerPC any more because of a need for x86 assembly, or newer MacOSX SDK features, or ... ... ...

Basically to make machine usable for my research purposes, I need two things in addition to base R itself (which, thanks to your suggestions, is built successfully):

1. RStudio (or at least basic R GUI, but RStudio is very much preferable).

2. Stan language: https://mc-stan.org
Obviously convenient will be to have it as RStan, but otherwise CmdStanR will do (tried the last, it failed on some dependency, didn’t pursue further yet).

Alternative option altogether is go with Julia instead of R, and for Julia I have built almost all needed dependencies, but libusb failed: https://forums.macrumors.com/thread...s.2232031/page-47?post=30429629#post-30429629

If libusb problem is solved, then I will try building Julia, and can try Stan from there.

Stan does need working c++ though.
 
  • Like
Reactions: ChrisCharman
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.