Opened 16 months ago

Closed 16 months ago

Last modified 16 months ago

#67807 closed defect (fixed)

glew’s sed code in Makefile has a bug which prevents it from recognizing Darwin versions containing letters

Reported by: barracuda156 Owned by: jmroot (Joshua Root)
Priority: Normal Milestone:
Component: ports Version: 2.8.1
Keywords: Cc: ryandesign (Ryan Carsten Schmidt)
Port: glew

Description (last modified by barracuda156)

UPD. Keep the info below for the record, and it is unclear why glew had no .pc file for me (but irrelevant now). What turned out to be the bug is SED code in Makefile of glew, which apparently drops digits instead of doing a cut-off like it should be done. In result, any developer or beta testing builds will not be recognized, being converted to “platforms” darwind, darwinb etc.

Should be a trivial thing to fix, but I do not know sed :) Could someone help with this, please?

This:

SYSTEM ?= $(shell config/config.guess | cut -d - -f 3 | sed -e 's/[0-9\.]//g;')
SYSTEM.SUPPORTED = $(shell test -f config/Makefile.$(SYSTEM) && echo 1)

checking GL/gl.h usability... yes
checking GL/gl.h presence... yes
checking for GL/gl.h... yes
checking for compiling a minimal OpenGL program... yes
checking for linking a minimal OpenGL program... yes
checking for OpenGL/glu.h... yes
checking for compiling a minimal OpenGL Utility (GLU) program... yes
checking for linking a minimal GLU program... yes
checking if GLU varargs tesselator is using non-standard form... no
checking for FT2... yes
checking for PCRE2... yes
checking for GLEW... configure: error: Package requirements (glew) were not met:

No package 'glew' found

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

Alternatively, you may set the environment variables GLEW_CFLAGS
and GLEW_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.

Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_gource/gource/work/gource-0.54" && ./configure --prefix=/opt/local --with-boost=/opt/local/libexec/boost/1.76 --with-tinyxml 
Exit code: 1
Error: Failed to configure gource: consult /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_gource/gource/work/gource-0.54/config.log
Error: Failed to configure gource: configure failure: command execution failed
Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_gource/gource/main.log for details.
Error: Follow https://guide.macports.org/#project.tickets if you believe there
is a bug.
Error: Processing of port gource failed

glew is installed, however:

36-25% port installed glew
The following ports are currently installed:
  glew @2.2.0_0 (active)
  1. S. If old systems cannot be supported, the port should be restricted to what works in terms of archs and OS.

Change History (21)

comment:1 Changed 16 months ago by kencu (Ken)

without a main.log and probably also a config.log, it is unlikely anyone will be able to help you.

comment:2 Changed 16 months ago by barracuda156

:notice:extract --->  Extracting gource
:debug:extract Executing org.macports.extract (gource)
:info:extract --->  Extracting gource-0.54.tar.gz
:debug:extract setting option extract.args to '/opt/local/var/macports/distfiles/gource/gource-0.54.tar.gz'
:debug:extract Environment: 
:debug:extract CC_PRINT_OPTIONS='YES'
:debug:extract CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_gource/gource/work/.CC_PRINT_OPTIONS'
:debug:extract CPATH='/opt/local/libexec/boost/1.76/include:/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_PPCSnowLeopardPorts_devel_gource/gource/work" && /usr/bin/gzip -dc '/opt/local/var/macports/distfiles/gource/gource-0.54.tar.gz' | /usr/bin/gnutar --no-same-owner -xf - 
:debug:extract system:  cd "/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_gource/gource/work" && /usr/bin/gzip -dc '/opt/local/var/macports/distfiles/gource/gource-0.54.tar.gz' | /usr/bin/gnutar --no-same-owner -xf - 
:debug:patch patch phase started at Sun Jul 23 22:49:05 CST 2023
:debug:patch Executing org.macports.patch (gource)
:debug:patch Executing proc-post-org.macports.patch-patch-0
:debug:configure configure phase started at Sun Jul 23 22:49:05 CST 2023
:notice:configure --->  Configuring gource
:debug:configure Preferred compilers: macports-gcc-12 macports-gcc-11 macports-gcc-10 macports-gcc-7 macports-gcc-6 macports-gcc-5
:debug:configure Using compiler 'MacPorts GCC 12'
:debug:configure Executing org.macports.configure (gource)
:debug:configure Environment: 
:debug:configure BOOSTDIR='/opt/local/libexec/boost/1.76'
:debug:configure BOOSTROOT='/opt/local/libexec/boost/1.76'
:debug:configure BOOST_DIR='/opt/local/libexec/boost/1.76'
:debug:configure BOOST_INCLUDEDIR='/opt/local/libexec/boost/1.76/include'
:debug:configure BOOST_LIBRARYDIR='/opt/local/libexec/boost/1.76/lib'
:debug:configure BOOST_ROOT='/opt/local/libexec/boost/1.76'
:debug:configure CC='/opt/local/bin/gcc-mp-12'
:debug:configure CC_PRINT_OPTIONS='YES'
:debug:configure CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_gource/gource/work/.CC_PRINT_OPTIONS'
:debug:configure CFLAGS='-pipe -Os -arch ppc'
:debug:configure CPATH='/opt/local/libexec/boost/1.76/include:/opt/local/include'
:debug:configure CPPFLAGS='-I/opt/local/libexec/boost/1.76/include -I/opt/local/include'
:debug:configure CXX='/opt/local/bin/g++-mp-12'
:debug:configure CXXFLAGS='-pipe -I/opt/local/libexec/boost/1.76/include -Os -D_GLIBCXX_USE_CXX11_ABI=0 -arch ppc'
:debug:configure DEVELOPER_DIR='/Developer'
:debug:configure F77='/opt/local/bin/gfortran-mp-12'
:debug:configure F90='/opt/local/bin/gfortran-mp-12'
:debug:configure F90FLAGS='-pipe -Os -m32'
:debug:configure FC='/opt/local/bin/gfortran-mp-12'
: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/libexec/boost/1.76/lib -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-12'
:debug:configure OBJCFLAGS='-pipe -Os -arch ppc'
:debug:configure OBJCXX='/opt/local/bin/g++-mp-12'
:debug:configure OBJCXXFLAGS='-pipe -I/opt/local/libexec/boost/1.76/include -Os -D_GLIBCXX_USE_CXX11_ABI=0 -arch ppc'
:info:configure Executing:  cd "/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_gource/gource/work/gource-0.54" && ./configure --prefix=/opt/local --with-boost=/opt/local/libexec/boost/1.76 --with-tinyxml 
:debug:configure system:  cd "/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_gource/gource/work/gource-0.54" && ./configure --prefix=/opt/local --with-boost=/opt/local/libexec/boost/1.76 --with-tinyxml 
: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 thread-safe 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 nested variables... yes
: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 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 we are using the GNU C++ compiler... yes
:info:configure checking whether /opt/local/bin/g++-mp-12 accepts -g... yes
:info:configure checking whether make supports the include directive... yes (GNU style)
:info:configure checking dependency style of /opt/local/bin/g++-mp-12... gcc3
:info:configure checking for timegm... yes
:info:configure checking for unsetenv... yes
:info:configure checking for pkg-config... /opt/local/bin/pkg-config
:info:configure checking pkg-config is at least version 0.9.0... yes
:info:configure checking for gcc... /opt/local/bin/gcc-mp-12
:info:configure checking whether we are using the GNU C compiler... yes
:info:configure checking whether /opt/local/bin/gcc-mp-12 accepts -g... yes
:info:configure checking for /opt/local/bin/gcc-mp-12 option to accept ISO C89... none needed
:info:configure checking whether /opt/local/bin/gcc-mp-12 understands -c and -o together... yes
:info:configure checking dependency style of /opt/local/bin/gcc-mp-12... gcc3
:info:configure checking how to run the C++ preprocessor... /opt/local/bin/g++-mp-12 -E
:info:configure checking for grep that handles long lines and -e... /opt/local/bin/ggrep
:info:configure checking for egrep... /opt/local/bin/ggrep -E
:info:configure checking for ANSI C header files... yes
:info:configure checking for sys/types.h... yes
:info:configure checking for sys/stat.h... yes
:info:configure checking for stdlib.h... yes
:info:configure checking for string.h... yes
:info:configure checking for memory.h... yes
:info:configure checking for strings.h... yes
:info:configure checking for inttypes.h... yes
:info:configure checking for stdint.h... yes
:info:configure checking for unistd.h... yes
:info:configure checking how to run the C preprocessor... /opt/local/bin/gcc-mp-12 -E
:info:configure checking GL/gl.h usability... yes
:info:configure checking GL/gl.h presence... yes
:info:configure checking for GL/gl.h... yes
:info:configure checking for compiling a minimal OpenGL program... yes
:info:configure checking for linking a minimal OpenGL program... yes
:info:configure checking for OpenGL/glu.h... yes
:info:configure checking for compiling a minimal OpenGL Utility (GLU) program... yes
:info:configure checking for linking a minimal GLU program... yes
:info:configure checking if GLU varargs tesselator is using non-standard form... no
:info:configure checking for FT2... yes
:info:configure checking for PCRE2... yes
:info:configure checking for GLEW... configure: error: Package requirements (glew) were not met:
:info:configure No package 'glew' found
:info:configure Consider adjusting the PKG_CONFIG_PATH environment variable if you
:info:configure installed software in a non-standard prefix.
:info:configure Alternatively, you may set the environment variables GLEW_CFLAGS
:info:configure and GLEW_LIBS to avoid the need to call pkg-config.
:info:configure See the pkg-config man page for more details.
:info:configure Command failed:  cd "/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_gource/gource/work/gource-0.54" && ./configure --prefix=/opt/local --with-boost=/opt/local/libexec/boost/1.76 --with-tinyxml 
:info:configure Exit code: 1
:error:configure Failed to configure gource: consult /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_gource/gource/work/gource-0.54/config.log
:error:configure Failed to configure gource: configure failure: command execution failed
:debug:configure Error code: NONE
:debug:configure Backtrace: configure failure: command execution failed
:debug:configure     while executing
:debug:configure "$procedure $targetname"
:error:configure See /opt/local/var/macports/logs/_opt_PPCSnowLeopardPorts_devel_gource/gource/main.log for details.
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by Gource configure 0.54, which was
generated by GNU Autoconf 2.69.  Invocation command line was

  $ ./configure --prefix=/opt/local --with-boost=/opt/local/libexec/boost/1.76 --with-tinyxml

## --------- ##
## Platform. ##
## --------- ##

hostname = 36-25.wireless-city.scu.edu.tw
uname -m = Power Macintosh
uname -r = 10.0.0d2
uname -s = Darwin
uname -v = Darwin Kernel Version 10.0.0d2: Fri Oct 10 19:37:52 PDT 2008; root:xnu-1346.7~1/RELEASE_PPC

/usr/bin/uname -p = powerpc
/bin/uname -X     = unknown

/bin/arch              = unknown
/usr/bin/arch -k       = unknown
/usr/convex/getsysinfo = unknown
/usr/bin/hostinfo      = Mach kernel version:
	 Darwin Kernel Version 10.0.0d2: Fri Oct 10 19:37:52 PDT 2008; root:xnu-1346.7~1/RELEASE_PPC
Kernel configured for up to 4 processors.
4 processors are physically available.
4 processors are logically available.
Processor type: ppc970 (PowerPC 970)
Processors active: 0 1 2 3
Primary memory available: 16.00 gigabytes
Default processor set: 68 tasks, 353 threads, 4 processors
Load average: 1.22, Mach factor: 2.77
/bin/machine           = unknown
/usr/bin/oslevel       = unknown
/bin/universe          = unknown

PATH: /opt/local/bin
PATH: /opt/local/sbin
PATH: /bin
PATH: /sbin
PATH: /usr/bin
PATH: /usr/sbin


## ----------- ##
## Core tests. ##
## ----------- ##

configure:2565: checking for a BSD-compatible install
configure:2633: result: /usr/bin/install -c
configure:2644: checking whether build environment is sane
configure:2699: result: yes
configure:2850: checking for a thread-safe mkdir -p
configure:2889: result: /opt/local/bin/gmkdir -p
configure:2896: checking for gawk
configure:2912: found /opt/local/bin/gawk
configure:2923: result: gawk
configure:2934: checking whether make sets $(MAKE)
configure:2956: result: yes
configure:2985: checking whether make supports nested variables
configure:3002: result: yes
configure:3133: checking build system type
configure:3147: result: powerpc-apple-darwin10.0.0d2
configure:3167: checking host system type
configure:3180: result: powerpc-apple-darwin10.0.0d2
configure:3314: checking for C++ compiler version
configure:3323: /opt/local/bin/g++-mp-12 --version >&5
g++-mp-12 (MacPorts gcc12 12.3.0_0) 12.3.0
Copyright (C) 2022 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

configure:3334: $? = 0
configure:3323: /opt/local/bin/g++-mp-12 -v >&5
Using built-in specs.
COLLECT_GCC=/opt/local/bin/g++-mp-12
COLLECT_LTO_WRAPPER=/opt/local/libexec/gcc/powerpc-apple-darwin10/12.3.0/lto-wrapper
Target: powerpc-apple-darwin10
Configured with: /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_lang_gcc12/gcc12/work/gcc-12.3.0/configure --prefix=/opt/local --build=powerpc-apple-darwin10 --enable-languages=c,c++,objc,obj-c++,lto,fortran,jit --libdir=/opt/local/lib/gcc12 --includedir=/opt/local/include/gcc12 --infodir=/opt/local/share/info --mandir=/opt/local/share/man --datarootdir=/opt/local/share/gcc-12 --with-local-prefix=/opt/local --with-system-zlib --disable-nls --program-suffix=-mp-12 --with-gxx-include-dir=/opt/local/include/gcc12/c++/ --with-gmp=/opt/local --with-mpfr=/opt/local --with-mpc=/opt/local --with-isl=/opt/local --with-zstd=/opt/local --enable-checking=release --disable-multilib --enable-lto --enable-libstdcxx-time --without-build-config --with-as=/opt/local/bin/as --with-ld=/opt/local/bin/ld --with-ar=/opt/local/bin/ar --with-bugurl=https://trac.macports.org/newticket --enable-host-shared --with-darwin-extra-rpath=/opt/local/lib/libgcc --with-libiconv-prefix=/opt/local --with-tune-cpu=G5 --disable-tls --with-pkgversion='MacPorts gcc12 12.3.0_0'
Thread model: posix
Supported LTO compression algorithms: zlib zstd
gcc version 12.3.0 (MacPorts gcc12 12.3.0_0) 
configure:3334: $? = 0
configure:3323: /opt/local/bin/g++-mp-12 -V >&5
g++-mp-12: error: unrecognized command-line option '-V'
g++-mp-12: fatal error: no input files
compilation terminated.
configure:3334: $? = 1
configure:3323: /opt/local/bin/g++-mp-12 -qversion >&5
g++-mp-12: error: unrecognized command-line option '-qversion'; did you mean '--version'?
g++-mp-12: fatal error: no input files
compilation terminated.
configure:3334: $? = 1
configure:3354: checking whether the C++ compiler works
configure:3376: /opt/local/bin/g++-mp-12 -pipe -I/opt/local/libexec/boost/1.76/include -Os -D_GLIBCXX_USE_CXX11_ABI=0 -arch ppc -I/opt/local/libexec/boost/1.76/include -I/opt/local/include -L/opt/local/libexec/boost/1.76/lib -L/opt/local/lib -Wl,-headerpad_max_install_names -arch ppc conftest.cpp  >&5
configure:3380: $? = 0
configure:3428: result: yes
configure:3431: checking for C++ compiler default output file name
configure:3433: result: a.out
configure:3439: checking for suffix of executables
configure:3446: /opt/local/bin/g++-mp-12 -o conftest -pipe -I/opt/local/libexec/boost/1.76/include -Os -D_GLIBCXX_USE_CXX11_ABI=0 -arch ppc -I/opt/local/libexec/boost/1.76/include -I/opt/local/include -L/opt/local/libexec/boost/1.76/lib -L/opt/local/lib -Wl,-headerpad_max_install_names -arch ppc conftest.cpp  >&5
configure:3450: $? = 0
configure:3472: result: 
configure:3494: checking whether we are cross compiling
configure:3502: /opt/local/bin/g++-mp-12 -o conftest -pipe -I/opt/local/libexec/boost/1.76/include -Os -D_GLIBCXX_USE_CXX11_ABI=0 -arch ppc -I/opt/local/libexec/boost/1.76/include -I/opt/local/include -L/opt/local/libexec/boost/1.76/lib -L/opt/local/lib -Wl,-headerpad_max_install_names -arch ppc conftest.cpp  >&5
configure:3506: $? = 0
configure:3513: ./conftest
configure:3517: $? = 0
configure:3532: result: no
configure:3537: checking for suffix of object files
configure:3559: /opt/local/bin/g++-mp-12 -c -pipe -I/opt/local/libexec/boost/1.76/include -Os -D_GLIBCXX_USE_CXX11_ABI=0 -arch ppc -I/opt/local/libexec/boost/1.76/include -I/opt/local/include conftest.cpp >&5
configure:3563: $? = 0
configure:3584: result: o
configure:3588: checking whether we are using the GNU C++ compiler
configure:3607: /opt/local/bin/g++-mp-12 -c -pipe -I/opt/local/libexec/boost/1.76/include -Os -D_GLIBCXX_USE_CXX11_ABI=0 -arch ppc -I/opt/local/libexec/boost/1.76/include -I/opt/local/include conftest.cpp >&5
configure:3607: $? = 0
configure:3616: result: yes
configure:3625: checking whether /opt/local/bin/g++-mp-12 accepts -g
configure:3645: /opt/local/bin/g++-mp-12 -c -g -I/opt/local/libexec/boost/1.76/include -I/opt/local/include conftest.cpp >&5
configure:3645: $? = 0
configure:3686: result: yes
configure:3712: checking whether make supports the include directive
configure:3727: make -f confmf.GNU && cat confinc.out
this is the am__doit target
configure:3730: $? = 0
configure:3749: result: yes (GNU style)
configure:3774: checking dependency style of /opt/local/bin/g++-mp-12
configure:3885: result: gcc3
configure:3911: checking for timegm
configure:3911: /opt/local/bin/g++-mp-12 -o conftest -pipe -I/opt/local/libexec/boost/1.76/include -Os -D_GLIBCXX_USE_CXX11_ABI=0 -arch ppc -I/opt/local/libexec/boost/1.76/include -I/opt/local/include -L/opt/local/libexec/boost/1.76/lib -L/opt/local/lib -Wl,-headerpad_max_install_names -arch ppc conftest.cpp  >&5
configure:3911: $? = 0
configure:3911: result: yes
configure:3911: checking for unsetenv
configure:3911: /opt/local/bin/g++-mp-12 -o conftest -pipe -I/opt/local/libexec/boost/1.76/include -Os -D_GLIBCXX_USE_CXX11_ABI=0 -arch ppc -I/opt/local/libexec/boost/1.76/include -I/opt/local/include -L/opt/local/libexec/boost/1.76/lib -L/opt/local/lib -Wl,-headerpad_max_install_names -arch ppc conftest.cpp  >&5
configure:3911: $? = 0
configure:3911: result: yes
configure:3983: checking for pkg-config
configure:4001: found /opt/local/bin/pkg-config
configure:4013: result: /opt/local/bin/pkg-config
configure:4038: checking pkg-config is at least version 0.9.0
configure:4041: result: yes
configure:4129: checking for gcc
configure:4156: result: /opt/local/bin/gcc-mp-12
configure:4385: checking for C compiler version
configure:4394: /opt/local/bin/gcc-mp-12 --version >&5
gcc-mp-12 (MacPorts gcc12 12.3.0_0) 12.3.0
Copyright (C) 2022 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

configure:4405: $? = 0
configure:4394: /opt/local/bin/gcc-mp-12 -v >&5
Using built-in specs.
COLLECT_GCC=/opt/local/bin/gcc-mp-12
COLLECT_LTO_WRAPPER=/opt/local/libexec/gcc/powerpc-apple-darwin10/12.3.0/lto-wrapper
Target: powerpc-apple-darwin10
Configured with: /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_lang_gcc12/gcc12/work/gcc-12.3.0/configure --prefix=/opt/local --build=powerpc-apple-darwin10 --enable-languages=c,c++,objc,obj-c++,lto,fortran,jit --libdir=/opt/local/lib/gcc12 --includedir=/opt/local/include/gcc12 --infodir=/opt/local/share/info --mandir=/opt/local/share/man --datarootdir=/opt/local/share/gcc-12 --with-local-prefix=/opt/local --with-system-zlib --disable-nls --program-suffix=-mp-12 --with-gxx-include-dir=/opt/local/include/gcc12/c++/ --with-gmp=/opt/local --with-mpfr=/opt/local --with-mpc=/opt/local --with-isl=/opt/local --with-zstd=/opt/local --enable-checking=release --disable-multilib --enable-lto --enable-libstdcxx-time --without-build-config --with-as=/opt/local/bin/as --with-ld=/opt/local/bin/ld --with-ar=/opt/local/bin/ar --with-bugurl=https://trac.macports.org/newticket --enable-host-shared --with-darwin-extra-rpath=/opt/local/lib/libgcc --with-libiconv-prefix=/opt/local --with-tune-cpu=G5 --disable-tls --with-pkgversion='MacPorts gcc12 12.3.0_0'
Thread model: posix
Supported LTO compression algorithms: zlib zstd
gcc version 12.3.0 (MacPorts gcc12 12.3.0_0) 
configure:4405: $? = 0
configure:4394: /opt/local/bin/gcc-mp-12 -V >&5
gcc-mp-12: error: unrecognized command-line option '-V'
gcc-mp-12: fatal error: no input files
compilation terminated.
configure:4405: $? = 1
configure:4394: /opt/local/bin/gcc-mp-12 -qversion >&5
gcc-mp-12: error: unrecognized command-line option '-qversion'; did you mean '--version'?
gcc-mp-12: fatal error: no input files
compilation terminated.
configure:4405: $? = 1
configure:4409: checking whether we are using the GNU C compiler
configure:4428: /opt/local/bin/gcc-mp-12 -c -pipe -Os -arch ppc -I/opt/local/libexec/boost/1.76/include -I/opt/local/include conftest.c >&5
configure:4428: $? = 0
configure:4437: result: yes
configure:4446: checking whether /opt/local/bin/gcc-mp-12 accepts -g
configure:4466: /opt/local/bin/gcc-mp-12 -c -g -I/opt/local/libexec/boost/1.76/include -I/opt/local/include conftest.c >&5
configure:4466: $? = 0
configure:4507: result: yes
configure:4524: checking for /opt/local/bin/gcc-mp-12 option to accept ISO C89
configure:4587: /opt/local/bin/gcc-mp-12  -c -pipe -Os -arch ppc -I/opt/local/libexec/boost/1.76/include -I/opt/local/include conftest.c >&5
configure:4587: $? = 0
configure:4600: result: none needed
configure:4625: checking whether /opt/local/bin/gcc-mp-12 understands -c and -o together
configure:4647: /opt/local/bin/gcc-mp-12 -c conftest.c -o conftest2.o
configure:4650: $? = 0
configure:4647: /opt/local/bin/gcc-mp-12 -c conftest.c -o conftest2.o
configure:4650: $? = 0
configure:4662: result: yes
configure:4681: checking dependency style of /opt/local/bin/gcc-mp-12
configure:4792: result: gcc3
configure:4813: checking how to run the C++ preprocessor
configure:4840: /opt/local/bin/g++-mp-12 -E -I/opt/local/libexec/boost/1.76/include -I/opt/local/include conftest.cpp
configure:4840: $? = 0
configure:4854: /opt/local/bin/g++-mp-12 -E -I/opt/local/libexec/boost/1.76/include -I/opt/local/include conftest.cpp
conftest.cpp:13:10: fatal error: ac_nonexistent.h: No such file or directory
   13 | #include <ac_nonexistent.h>
      |          ^~~~~~~~~~~~~~~~~~
compilation terminated.
configure:4854: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "Gource"
| #define PACKAGE_TARNAME "gource"
| #define PACKAGE_VERSION "0.54"
| #define PACKAGE_STRING "Gource 0.54"
| #define PACKAGE_BUGREPORT "acaudwell@gmail.com"
| #define PACKAGE_URL ""
| #define PACKAGE "gource"
| #define VERSION "0.54"
| #define HAVE_TIMEGM 1
| #define HAVE_UNSETENV 1
| /* end confdefs.h.  */
| #include <ac_nonexistent.h>
configure:4879: result: /opt/local/bin/g++-mp-12 -E
configure:4899: /opt/local/bin/g++-mp-12 -E -I/opt/local/libexec/boost/1.76/include -I/opt/local/include conftest.cpp
configure:4899: $? = 0
configure:4913: /opt/local/bin/g++-mp-12 -E -I/opt/local/libexec/boost/1.76/include -I/opt/local/include conftest.cpp
conftest.cpp:13:10: fatal error: ac_nonexistent.h: No such file or directory
   13 | #include <ac_nonexistent.h>
      |          ^~~~~~~~~~~~~~~~~~
compilation terminated.
configure:4913: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "Gource"
| #define PACKAGE_TARNAME "gource"
| #define PACKAGE_VERSION "0.54"
| #define PACKAGE_STRING "Gource 0.54"
| #define PACKAGE_BUGREPORT "acaudwell@gmail.com"
| #define PACKAGE_URL ""
| #define PACKAGE "gource"
| #define VERSION "0.54"
| #define HAVE_TIMEGM 1
| #define HAVE_UNSETENV 1
| /* end confdefs.h.  */
| #include <ac_nonexistent.h>
configure:4942: checking for grep that handles long lines and -e
configure:5000: result: /opt/local/bin/ggrep
configure:5005: checking for egrep
configure:5067: result: /opt/local/bin/ggrep -E
configure:5072: checking for ANSI C header files
configure:5092: /opt/local/bin/g++-mp-12 -c -pipe -I/opt/local/libexec/boost/1.76/include -Os -D_GLIBCXX_USE_CXX11_ABI=0 -arch ppc -I/opt/local/libexec/boost/1.76/include -I/opt/local/include conftest.cpp >&5
configure:5092: $? = 0
configure:5165: /opt/local/bin/g++-mp-12 -o conftest -pipe -I/opt/local/libexec/boost/1.76/include -Os -D_GLIBCXX_USE_CXX11_ABI=0 -arch ppc -I/opt/local/libexec/boost/1.76/include -I/opt/local/include -L/opt/local/libexec/boost/1.76/lib -L/opt/local/lib -Wl,-headerpad_max_install_names -arch ppc conftest.cpp  -framework CoreFoundation >&5
configure:5165: $? = 0
configure:5165: ./conftest
configure:5165: $? = 0
configure:5176: result: yes
configure:5189: checking for sys/types.h
configure:5189: /opt/local/bin/g++-mp-12 -c -pipe -I/opt/local/libexec/boost/1.76/include -Os -D_GLIBCXX_USE_CXX11_ABI=0 -arch ppc -I/opt/local/libexec/boost/1.76/include -I/opt/local/include conftest.cpp >&5
configure:5189: $? = 0
configure:5189: result: yes
configure:5189: checking for sys/stat.h
configure:5189: /opt/local/bin/g++-mp-12 -c -pipe -I/opt/local/libexec/boost/1.76/include -Os -D_GLIBCXX_USE_CXX11_ABI=0 -arch ppc -I/opt/local/libexec/boost/1.76/include -I/opt/local/include conftest.cpp >&5
configure:5189: $? = 0
configure:5189: result: yes
configure:5189: checking for stdlib.h
configure:5189: /opt/local/bin/g++-mp-12 -c -pipe -I/opt/local/libexec/boost/1.76/include -Os -D_GLIBCXX_USE_CXX11_ABI=0 -arch ppc -I/opt/local/libexec/boost/1.76/include -I/opt/local/include conftest.cpp >&5
configure:5189: $? = 0
configure:5189: result: yes
configure:5189: checking for string.h
configure:5189: /opt/local/bin/g++-mp-12 -c -pipe -I/opt/local/libexec/boost/1.76/include -Os -D_GLIBCXX_USE_CXX11_ABI=0 -arch ppc -I/opt/local/libexec/boost/1.76/include -I/opt/local/include conftest.cpp >&5
configure:5189: $? = 0
configure:5189: result: yes
configure:5189: checking for memory.h
configure:5189: /opt/local/bin/g++-mp-12 -c -pipe -I/opt/local/libexec/boost/1.76/include -Os -D_GLIBCXX_USE_CXX11_ABI=0 -arch ppc -I/opt/local/libexec/boost/1.76/include -I/opt/local/include conftest.cpp >&5
configure:5189: $? = 0
configure:5189: result: yes
configure:5189: checking for strings.h
configure:5189: /opt/local/bin/g++-mp-12 -c -pipe -I/opt/local/libexec/boost/1.76/include -Os -D_GLIBCXX_USE_CXX11_ABI=0 -arch ppc -I/opt/local/libexec/boost/1.76/include -I/opt/local/include conftest.cpp >&5
configure:5189: $? = 0
configure:5189: result: yes
configure:5189: checking for inttypes.h
configure:5189: /opt/local/bin/g++-mp-12 -c -pipe -I/opt/local/libexec/boost/1.76/include -Os -D_GLIBCXX_USE_CXX11_ABI=0 -arch ppc -I/opt/local/libexec/boost/1.76/include -I/opt/local/include conftest.cpp >&5
configure:5189: $? = 0
configure:5189: result: yes
configure:5189: checking for stdint.h
configure:5189: /opt/local/bin/g++-mp-12 -c -pipe -I/opt/local/libexec/boost/1.76/include -Os -D_GLIBCXX_USE_CXX11_ABI=0 -arch ppc -I/opt/local/libexec/boost/1.76/include -I/opt/local/include conftest.cpp >&5
configure:5189: $? = 0
configure:5189: result: yes
configure:5189: checking for unistd.h
configure:5189: /opt/local/bin/g++-mp-12 -c -pipe -I/opt/local/libexec/boost/1.76/include -Os -D_GLIBCXX_USE_CXX11_ABI=0 -arch ppc -I/opt/local/libexec/boost/1.76/include -I/opt/local/include conftest.cpp >&5
configure:5189: $? = 0
configure:5189: result: yes
configure:5206: checking how to run the C preprocessor
configure:5237: /opt/local/bin/gcc-mp-12 -E -I/opt/local/libexec/boost/1.76/include -I/opt/local/include conftest.c
configure:5237: $? = 0
configure:5251: /opt/local/bin/gcc-mp-12 -E -I/opt/local/libexec/boost/1.76/include -I/opt/local/include conftest.c
conftest.c:23:10: fatal error: ac_nonexistent.h: No such file or directory
   23 | #include <ac_nonexistent.h>
      |          ^~~~~~~~~~~~~~~~~~
compilation terminated.
configure:5251: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "Gource"
| #define PACKAGE_TARNAME "gource"
| #define PACKAGE_VERSION "0.54"
| #define PACKAGE_STRING "Gource 0.54"
| #define PACKAGE_BUGREPORT "acaudwell@gmail.com"
| #define PACKAGE_URL ""
| #define PACKAGE "gource"
| #define VERSION "0.54"
| #define HAVE_TIMEGM 1
| #define HAVE_UNSETENV 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| /* end confdefs.h.  */
| #include <ac_nonexistent.h>
configure:5276: result: /opt/local/bin/gcc-mp-12 -E
configure:5296: /opt/local/bin/gcc-mp-12 -E -I/opt/local/libexec/boost/1.76/include -I/opt/local/include conftest.c
configure:5296: $? = 0
configure:5310: /opt/local/bin/gcc-mp-12 -E -I/opt/local/libexec/boost/1.76/include -I/opt/local/include conftest.c
conftest.c:23:10: fatal error: ac_nonexistent.h: No such file or directory
   23 | #include <ac_nonexistent.h>
      |          ^~~~~~~~~~~~~~~~~~
compilation terminated.
configure:5310: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "Gource"
| #define PACKAGE_TARNAME "gource"
| #define PACKAGE_VERSION "0.54"
| #define PACKAGE_STRING "Gource 0.54"
| #define PACKAGE_BUGREPORT "acaudwell@gmail.com"
| #define PACKAGE_URL ""
| #define PACKAGE "gource"
| #define VERSION "0.54"
| #define HAVE_TIMEGM 1
| #define HAVE_UNSETENV 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| /* end confdefs.h.  */
| #include <ac_nonexistent.h>
configure:5890: checking GL/gl.h usability
configure:5890: /opt/local/bin/gcc-mp-12 -c  -pipe -Os -arch ppc -I/opt/local/libexec/boost/1.76/include -I/opt/local/include conftest.c >&5
configure:5890: $? = 0
configure:5890: result: yes
configure:5890: checking GL/gl.h presence
configure:5890: /opt/local/bin/gcc-mp-12 -E -I/opt/local/libexec/boost/1.76/include -I/opt/local/include conftest.c
configure:5890: $? = 0
configure:5890: result: yes
configure:5890: checking for GL/gl.h
configure:5890: result: yes
configure:5917: checking for compiling a minimal OpenGL program
configure:5959: /opt/local/bin/gcc-mp-12 -c  -pipe -Os -arch ppc -I/opt/local/libexec/boost/1.76/include -I/opt/local/include conftest.c >&5
configure:5959: $? = 0
configure:5983: result: yes
configure:5991: checking for linking a minimal OpenGL program
configure:6043: /opt/local/bin/gcc-mp-12 -o conftest  -pipe -Os -arch ppc -I/opt/local/libexec/boost/1.76/include -I/opt/local/include  -L/opt/local/libexec/boost/1.76/lib -L/opt/local/lib -Wl,-headerpad_max_install_names -arch ppc conftest.c -framework OpenGL  -framework CoreFoundation >&5
configure:6043: $? = 0
configure:6076: result: yes
configure:6728: checking for OpenGL/glu.h
configure:6728: /opt/local/bin/gcc-mp-12 -c   -pipe -Os -arch ppc -I/opt/local/libexec/boost/1.76/include -I/opt/local/include conftest.c >&5
configure:6728: $? = 0
configure:6728: result: yes
configure:6868: checking for compiling a minimal OpenGL Utility (GLU) program
configure:6909: /opt/local/bin/gcc-mp-12 -c   -pipe -Os -arch ppc -I/opt/local/libexec/boost/1.76/include -I/opt/local/include conftest.c >&5
configure:6909: $? = 0
configure:6930: result: yes
configure:6936: checking for linking a minimal GLU program
configure:6982: /opt/local/bin/gcc-mp-12 -o conftest   -pipe -Os -arch ppc -I/opt/local/libexec/boost/1.76/include -I/opt/local/include -L/opt/local/libexec/boost/1.76/lib -L/opt/local/lib -Wl,-headerpad_max_install_names -arch ppc conftest.c -framework OpenGL -framework OpenGL  -framework CoreFoundation >&5
configure:6982: $? = 0
configure:7008: result: yes
configure:7017: checking if GLU varargs tesselator is using non-standard form
configure:7059: /opt/local/bin/g++-mp-12 -c -pipe -I/opt/local/libexec/boost/1.76/include -Os -D_GLIBCXX_USE_CXX11_ABI=0 -arch ppc -I/opt/local/libexec/boost/1.76/include -I/opt/local/include conftest.cpp >&5
conftest.cpp: In function 'int main()':
conftest.cpp:41:44: error: invalid conversion from 'GLvoid (*)(...)' {aka 'void (*)(...)'} to 'GLvoid (*)()' {aka 'void (*)()'} [-fpermissive]
   41 | GLvoid (*func)(...); gluTessCallback(0, 0, func)
      |                                            ^~~~
      |                                            |
      |                                            GLvoid (*)(...) {aka void (*)(...)}
In file included from conftest.cpp:33:
/System/Library/Frameworks/OpenGL.framework/Headers/glu.h:290:74: note:   initializing argument 3 of 'void gluTessCallback(GLUtesselator*, GLenum, GLvoid (*)())'
  290 | extern void gluTessCallback (GLUtesselator* tess, GLenum which, GLvoid (*CallBackFunc)());
      |                                                                 ~~~~~~~~~^~~~~~~~~~~~~~~
configure:7059: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "Gource"
| #define PACKAGE_TARNAME "gource"
| #define PACKAGE_VERSION "0.54"
| #define PACKAGE_STRING "Gource 0.54"
| #define PACKAGE_BUGREPORT "acaudwell@gmail.com"
| #define PACKAGE_URL ""
| #define PACKAGE "gource"
| #define VERSION "0.54"
| #define HAVE_TIMEGM 1
| #define HAVE_UNSETENV 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_GL_GL_H 1
| #define HAVE_GL 1
| #define HAVE_OPENGL_GLU_H 1
| /* end confdefs.h.  */
| 
| # if defined(HAVE_WINDOWS_H) && defined(_WIN32)
| #   include <windows.h>
| # endif
| # ifdef HAVE_GL_GLU_H
| #   include <GL/glu.h>
| # elif defined(HAVE_OPENGL_GLU_H)
| #   include <OpenGL/glu.h>
| # else
| #   error no glu.h
| # endif
| 
| int
| main ()
| {
| GLvoid (*func)(...); gluTessCallback(0, 0, func)
|   ;
|   return 0;
| }
| 
configure:7080: result: no
configure:7107: checking for FT2
configure:7115: $PKG_CONFIG --exists --print-errors "freetype2 >= 9.0.3"
configure:7118: $? = 0
configure:7133: $PKG_CONFIG --exists --print-errors "freetype2 >= 9.0.3"
configure:7136: $? = 0
configure:7191: result: yes
configure:7197: checking for PCRE2
configure:7205: $PKG_CONFIG --exists --print-errors "libpcre2-8"
configure:7208: $? = 0
configure:7223: $PKG_CONFIG --exists --print-errors "libpcre2-8"
configure:7226: $? = 0
configure:7281: result: yes
configure:7287: checking for GLEW
configure:7295: $PKG_CONFIG --exists --print-errors "glew"
Package glew was not found in the pkg-config search path.
Perhaps you should add the directory containing `glew.pc'
to the PKG_CONFIG_PATH environment variable
No package 'glew' found
configure:7298: $? = 1
configure:7313: $PKG_CONFIG --exists --print-errors "glew"
Package glew was not found in the pkg-config search path.
Perhaps you should add the directory containing `glew.pc'
to the PKG_CONFIG_PATH environment variable
No package 'glew' found
configure:7316: $? = 1
No package 'glew' found
configure:7344: error: Package requirements (glew) were not met:

No package 'glew' found

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

Alternatively, you may set the environment variables GLEW_CFLAGS
and GLEW_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.


## ---------------- ##
## Cache variables. ##
## ---------------- ##

ac_cv_build=powerpc-apple-darwin10.0.0d2
ac_cv_c_compiler_gnu=yes
ac_cv_cxx_compiler_gnu=yes
ac_cv_env_CCC_set=
ac_cv_env_CCC_value=
ac_cv_env_CC_set=set
ac_cv_env_CC_value=/opt/local/bin/gcc-mp-12
ac_cv_env_CFLAGS_set=set
ac_cv_env_CFLAGS_value='-pipe -Os -arch ppc'
ac_cv_env_CPPFLAGS_set=set
ac_cv_env_CPPFLAGS_value='-I/opt/local/libexec/boost/1.76/include -I/opt/local/include'
ac_cv_env_CPP_set=
ac_cv_env_CPP_value=
ac_cv_env_CXXCPP_set=
ac_cv_env_CXXCPP_value=
ac_cv_env_CXXFLAGS_set=set
ac_cv_env_CXXFLAGS_value='-pipe -I/opt/local/libexec/boost/1.76/include -Os -D_GLIBCXX_USE_CXX11_ABI=0 -arch ppc'
ac_cv_env_CXX_set=set
ac_cv_env_CXX_value=/opt/local/bin/g++-mp-12
ac_cv_env_FT2_CFLAGS_set=
ac_cv_env_FT2_CFLAGS_value=
ac_cv_env_FT2_LIBS_set=
ac_cv_env_FT2_LIBS_value=
ac_cv_env_GLEW_CFLAGS_set=
ac_cv_env_GLEW_CFLAGS_value=
ac_cv_env_GLEW_LIBS_set=
ac_cv_env_GLEW_LIBS_value=
ac_cv_env_GLU_CFLAGS_set=
ac_cv_env_GLU_CFLAGS_value=
ac_cv_env_GLU_LIBS_set=
ac_cv_env_GLU_LIBS_value=
ac_cv_env_GL_CFLAGS_set=
ac_cv_env_GL_CFLAGS_value=
ac_cv_env_GL_LIBS_set=
ac_cv_env_GL_LIBS_value=
ac_cv_env_LDFLAGS_set=set
ac_cv_env_LDFLAGS_value='-L/opt/local/libexec/boost/1.76/lib -L/opt/local/lib -Wl,-headerpad_max_install_names -arch ppc'
ac_cv_env_LIBS_set=
ac_cv_env_LIBS_value=
ac_cv_env_PCRE2_CFLAGS_set=
ac_cv_env_PCRE2_CFLAGS_value=
ac_cv_env_PCRE2_LIBS_set=
ac_cv_env_PCRE2_LIBS_value=
ac_cv_env_PKG_CONFIG_set=
ac_cv_env_PKG_CONFIG_value=
ac_cv_env_PNG_CFLAGS_set=
ac_cv_env_PNG_CFLAGS_value=
ac_cv_env_PNG_LIBS_set=
ac_cv_env_PNG_LIBS_value=
ac_cv_env_SDL2_CFLAGS_set=
ac_cv_env_SDL2_CFLAGS_value=
ac_cv_env_SDL2_LIBS_set=
ac_cv_env_SDL2_LIBS_value=
ac_cv_env_build_alias_set=
ac_cv_env_build_alias_value=
ac_cv_env_host_alias_set=
ac_cv_env_host_alias_value=
ac_cv_env_target_alias_set=
ac_cv_env_target_alias_value=
ac_cv_func_timegm=yes
ac_cv_func_unsetenv=yes
ac_cv_header_GL_gl_h=yes
ac_cv_header_OpenGL_glu_h=yes
ac_cv_header_inttypes_h=yes
ac_cv_header_memory_h=yes
ac_cv_header_stdc=yes
ac_cv_header_stdint_h=yes
ac_cv_header_stdlib_h=yes
ac_cv_header_string_h=yes
ac_cv_header_strings_h=yes
ac_cv_header_sys_stat_h=yes
ac_cv_header_sys_types_h=yes
ac_cv_header_unistd_h=yes
ac_cv_host=powerpc-apple-darwin10.0.0d2
ac_cv_objext=o
ac_cv_path_EGREP='/opt/local/bin/ggrep -E'
ac_cv_path_GREP=/opt/local/bin/ggrep
ac_cv_path_ac_pt_PKG_CONFIG=/opt/local/bin/pkg-config
ac_cv_path_mkdir=/opt/local/bin/gmkdir
ac_cv_prog_AWK=gawk
ac_cv_prog_CPP='/opt/local/bin/gcc-mp-12 -E'
ac_cv_prog_CXXCPP='/opt/local/bin/g++-mp-12 -E'
ac_cv_prog_ac_ct_CC=/opt/local/bin/gcc-mp-12
ac_cv_prog_cc_c89=
ac_cv_prog_cc_g=yes
ac_cv_prog_cxx_g=yes
ac_cv_prog_make_make_set=yes
am_cv_CC_dependencies_compiler_type=gcc3
am_cv_CXX_dependencies_compiler_type=gcc3
am_cv_make_support_nested_variables=yes
am_cv_prog_cc_c_o=yes
ax_cv_check_gl_compile_opengl=yes
ax_cv_check_gl_link_opengl=yes
ax_cv_check_glu_compile=yes
ax_cv_check_glu_link=yes
ax_cv_varargs_glu_tesscb=no
pkg_cv_FT2_CFLAGS='-I/opt/local/include/freetype2 -I/opt/local/include/libpng16'
pkg_cv_FT2_LIBS='-L/opt/local/lib -lfreetype'
pkg_cv_PCRE2_CFLAGS=
pkg_cv_PCRE2_LIBS='-L/opt/local/lib -lpcre2-8'

## ----------------- ##
## Output variables. ##
## ----------------- ##

ACLOCAL='${SHELL} /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_gource/gource/work/gource-0.54/build-aux/missing aclocal-1.16'
AMDEPBACKSLASH='\'
AMDEP_FALSE='#'
AMDEP_TRUE=''
AMTAR='$${TAR-tar}'
AM_BACKSLASH='\'
AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
AM_DEFAULT_VERBOSITY='1'
AM_V='$(V)'
AUTOCONF='${SHELL} /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_gource/gource/work/gource-0.54/build-aux/missing autoconf'
AUTOHEADER='${SHELL} /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_gource/gource/work/gource-0.54/build-aux/missing autoheader'
AUTOMAKE='${SHELL} /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_gource/gource/work/gource-0.54/build-aux/missing automake-1.16'
AWK='gawk'
BOOST_CPPFLAGS=''
BOOST_FILESYSTEM_LIB=''
BOOST_LDFLAGS=''
BOOST_SYSTEM_LIB=''
CC='/opt/local/bin/gcc-mp-12'
CCDEPMODE='depmode=gcc3'
CFLAGS='  -pipe -Os -arch ppc'
CPP='/opt/local/bin/gcc-mp-12 -E'
CPPFLAGS='-I/opt/local/libexec/boost/1.76/include -I/opt/local/include  '
CXX='/opt/local/bin/g++-mp-12'
CXXCPP='/opt/local/bin/g++-mp-12 -E'
CXXDEPMODE='depmode=gcc3'
CXXFLAGS='-pipe -I/opt/local/libexec/boost/1.76/include -Os -D_GLIBCXX_USE_CXX11_ABI=0 -arch ppc  '
CYGPATH_W='echo'
DEFS=''
DEPDIR='.deps'
ECHO_C='\c'
ECHO_N=''
ECHO_T=''
EGREP='/opt/local/bin/ggrep -E'
EXEEXT=''
FONTDIR_FALSE=''
FONTDIR_TRUE=''
FONTFILE_FALSE=''
FONTFILE_TRUE=''
FT2_CFLAGS='-I/opt/local/include/freetype2 -I/opt/local/include/libpng16'
FT2_LIBS='-L/opt/local/lib -lfreetype'
GLEW_CFLAGS=''
GLEW_LIBS=''
GLU_CFLAGS=''
GLU_LIBS='-framework OpenGL'
GL_CFLAGS=''
GL_LIBS='-framework OpenGL'
GREP='/opt/local/bin/ggrep'
INSTALL_DATA='${INSTALL} -m 644'
INSTALL_PROGRAM='${INSTALL}'
INSTALL_SCRIPT='${INSTALL}'
INSTALL_STRIP_PROGRAM='$(install_sh) -c -s'
LDFLAGS='-L/opt/local/libexec/boost/1.76/lib -L/opt/local/lib -Wl,-headerpad_max_install_names -arch ppc'
LIBOBJS=''
LIBS='-framework OpenGL -framework OpenGL  -framework CoreFoundation -framework OpenGL -framework OpenGL'
LTLIBOBJS=''
MAKEINFO='${SHELL} /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_gource/gource/work/gource-0.54/build-aux/missing makeinfo'
MKDIR_P='/opt/local/bin/gmkdir -p'
OBJEXT='o'
PACKAGE='gource'
PACKAGE_BUGREPORT='acaudwell@gmail.com'
PACKAGE_NAME='Gource'
PACKAGE_STRING='Gource 0.54'
PACKAGE_TARNAME='gource'
PACKAGE_URL=''
PACKAGE_VERSION='0.54'
PATH_SEPARATOR=':'
PCRE2_CFLAGS=''
PCRE2_LIBS='-L/opt/local/lib -lpcre2-8'
PKG_CONFIG='/opt/local/bin/pkg-config'
PNG_CFLAGS=''
PNG_LIBS=''
SDL2_CFLAGS=''
SDL2_LIBS=''
SET_MAKE=''
SHELL='/bin/sh'
STRIP=''
USE_BUNDLED_TINYXML_FALSE=''
USE_BUNDLED_TINYXML_TRUE=''
VERSION='0.54'
ac_ct_CC='/opt/local/bin/gcc-mp-12'
ac_ct_CXX=''
am__EXEEXT_FALSE=''
am__EXEEXT_TRUE=''
am__fastdepCC_FALSE='#'
am__fastdepCC_TRUE=''
am__fastdepCXX_FALSE='#'
am__fastdepCXX_TRUE=''
am__include='include'
am__isrc=''
am__leading_dot='.'
am__nodep='_no'
am__quote=''
am__tar='$${TAR-tar} chof - "$$tardir"'
am__untar='$${TAR-tar} xf -'
bindir='${exec_prefix}/bin'
build='powerpc-apple-darwin10.0.0d2'
build_alias=''
build_cpu='powerpc'
build_os='darwin10.0.0d2'
build_vendor='apple'
datadir='${datarootdir}'
datarootdir='${prefix}/share'
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
dvidir='${docdir}'
exec_prefix='NONE'
gourcefontdir=''
gourcefontfile=''
host='powerpc-apple-darwin10.0.0d2'
host_alias=''
host_cpu='powerpc'
host_os='darwin10.0.0d2'
host_vendor='apple'
htmldir='${docdir}'
includedir='${prefix}/include'
infodir='${datarootdir}/info'
install_sh='${SHELL} /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_gource/gource/work/gource-0.54/build-aux/install-sh'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localedir='${datarootdir}/locale'
localstatedir='${prefix}/var'
mandir='${datarootdir}/man'
mkdir_p='$(MKDIR_P)'
oldincludedir='/usr/include'
pdfdir='${docdir}'
prefix='/opt/local'
program_transform_name='s,x,x,'
psdir='${docdir}'
runstatedir='${localstatedir}/run'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
sysconfdir='${prefix}/etc'
target_alias=''

## ----------- ##
## confdefs.h. ##
## ----------- ##

/* confdefs.h */
#define PACKAGE_NAME "Gource"
#define PACKAGE_TARNAME "gource"
#define PACKAGE_VERSION "0.54"
#define PACKAGE_STRING "Gource 0.54"
#define PACKAGE_BUGREPORT "acaudwell@gmail.com"
#define PACKAGE_URL ""
#define PACKAGE "gource"
#define VERSION "0.54"
#define HAVE_TIMEGM 1
#define HAVE_UNSETENV 1
#define STDC_HEADERS 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STRING_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_GL_GL_H 1
#define HAVE_GL 1
#define HAVE_OPENGL_GLU_H 1
#define HAVE_GLU 1

configure: exit 1

comment:3 Changed 16 months ago by barracuda156

Oh, well, no surprise, glew did not install .pc file at all. Wonder why.

I will look into sorting this out.

comment:4 Changed 16 months ago by barracuda156

Something does nonsense with glew build:

--->  Applying config_Makefile.darwin.patch
Executing:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_glew/glew/work/glew-2.2.0" && /usr/bin/patch -p0 < '/opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/graphics/glew/files/config_Makefile.darwin.patch'
patching file config/Makefile.darwin
--->  Patching Makefile.darwin: s:/usr/X11R6:/opt/local:g
--->  Configuring glew
--->  Building glew
Executing:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_glew/glew/work/glew-2.2.0" && /usr/bin/make -j6 -w all CC=/usr/bin/gcc-4.2 LD=/usr/bin/gcc-4.2 POPT="-Os" STRIP= CFLAGS.ARCH="-arch ppc" LDFLAGS.ARCH="-arch ppc" 
make: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_glew/glew/work/glew-2.2.0'
Makefile:40: *** "Platform 'darwind' not supported".  Stop.

How this darwind even came up?

UPD. Okay, something here does a genius thing: drops numbers and glues d from d2 to darwin. This is the bug, since lettered extensions are documented in Apple headers. I do not recall this happenning before, perhaps upstream “fixed” the code, breaking it. Does not explain pkgconfig oddity too.

Last edited 16 months ago by barracuda156 (previous) (diff)

comment:5 Changed 16 months ago by barracuda156

I do not know SED, but I guess this code does not work as it should:

SYSTEM ?= $(shell config/config.guess | cut -d - -f 3 | sed -e 's/[0-9\.]//g;')
SYSTEM.SUPPORTED = $(shell test -f config/Makefile.$(SYSTEM) && echo 1)

comment:6 Changed 16 months ago by barracuda156

Ken, thank you for motivating me to look at the log, problem was unexpected, and I still do not understand why glew had no pkgconfig file installed, but it is not a gource bug at all, but a bug in glew’ sed.

I will convert the ticket accordingly.

Last edited 16 months ago by barracuda156 (previous) (diff)

comment:7 Changed 16 months ago by barracuda156

Description: modified (diff)
Port: glew added; gource removed
Summary: gource fails to find installed glew (on PPC system): configure: error: Package requirements (glew) were not met: No package 'glew' foundglew’s sed code in Makefile has a bug which prevents it from recognizing Darwin versions containing letters

comment:8 Changed 16 months ago by barracuda156

Description: modified (diff)

comment:9 Changed 16 months ago by kencu (Ken)

I don't see any bugs in their code.

upstream may not feel it is their responsibility to handle unreleased betas of darwin operation systems in their release code:

powerpc-apple-darwin10.0.0d2

I certainly would not, and neither should they.

this part gives this:

echo powerpc-apple-darwin10.0.0d2 | cut -d - -f 3
darwin10.0.0d2

and the next part gives this:

% echo darwin10.0.0d2 | sed -e 's/[0-9\.]//g;'
darwind

and that is not a SYSTEM anyone recognizes...

so -- monkeying with this SED to fix that is a pointless pain in the butt ... just patch the code like this:

SYSTEM ?= darwin

or - looks like you can just send in an ENV VAR with SYSTEM=darwin or add that onto the configure.args and get the same effect.

Last edited 16 months ago by kencu (Ken) (previous) (diff)

comment:10 in reply to:  9 Changed 16 months ago by barracuda156

Replying to kencu:

I already did that, it works, but I do not want to carry a silly local fix. These developer (and we as pre-release etc.) builds are documented by Apple, so yes, it is a bug in the code, and it has nothing to do with 10.6 PPC which you dislike so much for some reason – it will break the build on any purely Intel developer build likewise.

This header refers to pre-release etc. versions: /System/Library/Frameworks/Kernel.framework/Versions/A/Headers/libkern/version.h

Last edited 16 months ago by barracuda156 (previous) (diff)

comment:11 Changed 16 months ago by kencu (Ken)

yes, any developer build.

good luck with upstream -- I know what I would tell you, but we'll see how you fare:>

comment:12 in reply to:  11 Changed 16 months ago by barracuda156

Replying to kencu:

yes, any developer build.

good luck with upstream -- I know what I would tell you, but we'll see how you fare:>

I have encountered hostile upstreams, so I believe you :)

If your second suggestion works:

or - looks like you can just send in an ENV VAR with SYSTEM=darwin or add that onto the configure.args and get the same effect.

We could fix it locally without touching the source code. I did not try that yet.

comment:13 Changed 16 months ago by kencu (Ken)

I don't believe MacPorts should be riddled with terrible fragile hacks (as it is increasingly becoming riddled) to support one user who happens to like using a stolen pre-release beta of an Apple OS that is in almost all ways inferior to the updated, released 10.5.

comment:14 Changed 16 months ago by kencu (Ken)

General, useful, fixes: fine.

Specific hacks to support 10.6 PPC: no.

comment:15 in reply to:  14 Changed 16 months ago by barracuda156

Replying to kencu:

General, useful, fixes: fine.

Specific hacks to support 10.6 PPC: no.

As I said above and you acknowledged, this is nothing to do with any PowerPC system :) It is a bug in the sed code, because, well, it was written without giving much thought.

comment:16 in reply to:  13 Changed 16 months ago by barracuda156

Replying to kencu:

I don't believe MacPorts should be riddled with terrible fragile hacks (as it is increasingly becoming riddled) to support one user who happens to like using a stolen pre-release beta of an Apple OS that is in almost all ways inferior to the updated, released 10.5.

Ken, a crap code is a crap code, even if it fails on a single system. I believe, everyone should be glad that non-standard testing helps to detect obscure bugs.

  1. S. Wait a few years, and you will be in the similar situation with Intel as I am now with PowerPC. Would you appreciate the same attitude of “why would we care to fix a bug if it does not affect us”?

comment:17 Changed 16 months ago by ryandesign (Ryan Carsten Schmidt)

Cc: ryandesign added
Owner: set to jmroot
Status: newassigned

Josh, assigning to you since it's your port but I'm committing a fix momentarily.

comment:18 Changed 16 months ago by ryandesign (Ryan Carsten Schmidt)

Resolution: fixed
Status: assignedclosed

In 380698f05626c4949bb30834dda86039d707bbc0/macports-ports (master):

glew: Improve OS name detection

Closes: #67807

comment:19 in reply to:  6 ; Changed 16 months ago by ryandesign (Ryan Carsten Schmidt)

Replying to barracuda156:

and I still do not understand why glew had no pkgconfig file installed

Try sudo port -k install glew with the above fix. If it still doesn't install the glew.pc file, attach the main.log (port logfile glew).

comment:20 in reply to:  18 Changed 16 months ago by barracuda156

Replying to ryandesign:

In 380698f05626c4949bb30834dda86039d707bbc0/macports-ports (master):

glew: Improve OS name detection

Closes: #67807

Thank you very much, works correctly now!

comment:21 in reply to:  19 Changed 16 months ago by barracuda156

Replying to ryandesign:

Replying to barracuda156:

and I still do not understand why glew had no pkgconfig file installed

Try sudo port -k install glew with the above fix. If it still doesn't install the glew.pc file, attach the main.log (port logfile glew).

pkgconfig/glew.pc is installed now, all good.

Note: See TracTickets for help on using tickets.