Opened 3 months ago
#70630 new defect
lwan fails to build: hash.c: error: constructor priorities are not supported
Reported by: | barracuda156 | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.10.1 |
Keywords: | Cc: | herbygillot (Herby Gillot) | |
Port: | lwan |
Description
To begin with, we need legacysupport
at least for O_CLOEXEC
, apparently also for clock_gettime
.
Then, it fails on this:
:info:build [ 3%] Building C object src/bin/tools/CMakeFiles/mimegen.dir/__/__/lib/missing.c.o :info:build cd /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_www_lwan/lwan/work/build/src/bin/tools && /opt/local/bin/ccache /opt/local/bin/ccache /usr/bin/gcc-4.2 -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -I/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_www_lwan/lwan/work/lwan-0.3/src/lib/missing -I/opt/local/include/lua5.1 -I/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_www_lwan/lwan/work/lwan-0.3/src/lib -pipe -Os -DNDEBUG -isystem/opt/local/include/LegacySupport -I/opt/local/include -Wno-unused-parameter -Wall -Wextra -Wshadow -Wconversion -std=gnu99 -O3 -DNDEBUG -falign-functions=32 -fno-asynchronous-unwind-tables -arch ppc -mmacosx-version-min=10.6 -include /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_www_lwan/lwan/work/build/lwan-build-config.h -MD -MT src/bin/tools/CMakeFiles/mimegen.dir/__/__/lib/missing.c.o -MF CMakeFiles/mimegen.dir/__/__/lib/missing.c.o.d -o CMakeFiles/mimegen.dir/__/__/lib/missing.c.o -c /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_www_lwan/lwan/work/lwan-0.3/src/lib/missing.c :info:build [ 5%] Building C object src/bin/tools/CMakeFiles/mimegen.dir/__/__/lib/hash.c.o :info:build cd /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_www_lwan/lwan/work/build/src/bin/tools && /opt/local/bin/ccache /opt/local/bin/ccache /usr/bin/gcc-4.2 -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -I/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_www_lwan/lwan/work/lwan-0.3/src/lib/missing -I/opt/local/include/lua5.1 -I/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_www_lwan/lwan/work/lwan-0.3/src/lib -pipe -Os -DNDEBUG -isystem/opt/local/include/LegacySupport -I/opt/local/include -Wno-unused-parameter -Wall -Wextra -Wshadow -Wconversion -std=gnu99 -O3 -DNDEBUG -falign-functions=32 -fno-asynchronous-unwind-tables -arch ppc -mmacosx-version-min=10.6 -include /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_www_lwan/lwan/work/build/lwan-build-config.h -MD -MT src/bin/tools/CMakeFiles/mimegen.dir/__/__/lib/hash.c.o -MF CMakeFiles/mimegen.dir/__/__/lib/hash.c.o.d -o CMakeFiles/mimegen.dir/__/__/lib/hash.c.o -c /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_www_lwan/lwan/work/lwan-0.3/src/lib/hash.c :info:build [ 6%] Building C object src/bin/tools/CMakeFiles/mimegen.dir/__/__/lib/murmur3.c.o :info:build cd /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_www_lwan/lwan/work/build/src/bin/tools && /opt/local/bin/ccache /opt/local/bin/ccache /usr/bin/gcc-4.2 -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -I/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_www_lwan/lwan/work/lwan-0.3/src/lib/missing -I/opt/local/include/lua5.1 -I/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_www_lwan/lwan/work/lwan-0.3/src/lib -pipe -Os -DNDEBUG -isystem/opt/local/include/LegacySupport -I/opt/local/include -Wno-unused-parameter -Wall -Wextra -Wshadow -Wconversion -std=gnu99 -O3 -DNDEBUG -falign-functions=32 -fno-asynchronous-unwind-tables -arch ppc -mmacosx-version-min=10.6 -include /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_www_lwan/lwan/work/build/lwan-build-config.h -MD -MT src/bin/tools/CMakeFiles/mimegen.dir/__/__/lib/murmur3.c.o -MF CMakeFiles/mimegen.dir/__/__/lib/murmur3.c.o.d -o CMakeFiles/mimegen.dir/__/__/lib/murmur3.c.o -c /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_www_lwan/lwan/work/lwan-0.3/src/lib/murmur3.c :info:build [ 7%] Building C object src/bin/tools/CMakeFiles/configdump.dir/configdump.c.o :info:build cd /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_www_lwan/lwan/work/build/src/bin/tools && /opt/local/bin/ccache /opt/local/bin/ccache /usr/bin/gcc-4.2 -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -I/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_www_lwan/lwan/work/lwan-0.3/src/lib/missing -I/opt/local/include/lua5.1 -I/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_www_lwan/lwan/work/lwan-0.3/src/lib -pipe -Os -DNDEBUG -isystem/opt/local/include/LegacySupport -I/opt/local/include -Wno-unused-parameter -Wall -Wextra -Wshadow -Wconversion -std=gnu99 -O3 -DNDEBUG -falign-functions=32 -fno-asynchronous-unwind-tables -arch ppc -mmacosx-version-min=10.6 -include /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_www_lwan/lwan/work/build/lwan-build-config.h -MD -MT src/bin/tools/CMakeFiles/configdump.dir/configdump.c.o -MF CMakeFiles/configdump.dir/configdump.c.o.d -o CMakeFiles/configdump.dir/configdump.c.o -c /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_www_lwan/lwan/work/lwan-0.3/src/bin/tools/configdump.c :info:build /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_www_lwan/lwan/work/lwan-0.3/src/lib/murmur3.c: In function ‘MurmurHash3_x86_32’: :info:build /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_www_lwan/lwan/work/lwan-0.3/src/lib/murmur3.c:90: warning: passing argument 2 of ‘rotl32’ with different width due to prototype :info:build /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_www_lwan/lwan/work/lwan-0.3/src/lib/murmur3.c:93: warning: passing argument 2 of ‘rotl32’ with different width due to prototype :info:build /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_www_lwan/lwan/work/lwan-0.3/src/lib/murmur3.c:111: warning: passing argument 2 of ‘rotl32’ with different width due to prototype :info:build /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_www_lwan/lwan/work/lwan-0.3/src/lib/murmur3.c: In function ‘MurmurHash3_x86_128’: :info:build /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_www_lwan/lwan/work/lwan-0.3/src/lib/murmur3.c:155: warning: passing argument 2 of ‘rotl32’ with different width due to prototype :info:build /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_www_lwan/lwan/work/lwan-0.3/src/lib/murmur3.c:156: warning: passing argument 2 of ‘rotl32’ with different width due to prototype :info:build /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_www_lwan/lwan/work/lwan-0.3/src/lib/murmur3.c:157: warning: passing argument 2 of ‘rotl32’ with different width due to prototype :info:build /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_www_lwan/lwan/work/lwan-0.3/src/lib/murmur3.c:158: warning: passing argument 2 of ‘rotl32’ with different width due to prototype :info:build /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_www_lwan/lwan/work/lwan-0.3/src/lib/murmur3.c:159: warning: passing argument 2 of ‘rotl32’ with different width due to prototype :info:build /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_www_lwan/lwan/work/lwan-0.3/src/lib/murmur3.c:160: warning: passing argument 2 of ‘rotl32’ with different width due to prototype :info:build /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_www_lwan/lwan/work/lwan-0.3/src/lib/murmur3.c:161: warning: passing argument 2 of ‘rotl32’ with different width due to prototype :info:build /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_www_lwan/lwan/work/lwan-0.3/src/lib/murmur3.c:162: warning: passing argument 2 of ‘rotl32’ with different width due to prototype :info:build /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_www_lwan/lwan/work/lwan-0.3/src/lib/murmur3.c:179: warning: passing argument 2 of ‘rotl32’ with different width due to prototype :info:build /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_www_lwan/lwan/work/lwan-0.3/src/lib/murmur3.c:185: warning: passing argument 2 of ‘rotl32’ with different width due to prototype :info:build /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_www_lwan/lwan/work/lwan-0.3/src/lib/murmur3.c:191: warning: passing argument 2 of ‘rotl32’ with different width due to prototype :info:build /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_www_lwan/lwan/work/lwan-0.3/src/lib/murmur3.c:197: warning: passing argument 2 of ‘rotl32’ with different width due to prototype :info:build /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_www_lwan/lwan/work/lwan-0.3/src/lib/murmur3.c: In function ‘MurmurHash3_x64_128’: :info:build /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_www_lwan/lwan/work/lwan-0.3/src/lib/murmur3.c:247: warning: passing argument 2 of ‘rotl64’ with different width due to prototype :info:build /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_www_lwan/lwan/work/lwan-0.3/src/lib/murmur3.c:250: warning: passing argument 2 of ‘rotl64’ with different width due to prototype :info:build /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_www_lwan/lwan/work/lwan-0.3/src/lib/murmur3.c:254: warning: passing argument 2 of ‘rotl64’ with different width due to prototype :info:build /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_www_lwan/lwan/work/lwan-0.3/src/lib/murmur3.c:257: warning: passing argument 2 of ‘rotl64’ with different width due to prototype :info:build /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_www_lwan/lwan/work/lwan-0.3/src/lib/murmur3.c:283: warning: passing argument 2 of ‘rotl64’ with different width due to prototype :info:build /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_www_lwan/lwan/work/lwan-0.3/src/lib/murmur3.c:311: warning: passing argument 2 of ‘rotl64’ with different width due to prototype :info:build In file included from /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_www_lwan/lwan/work/lwan-0.3/src/bin/tools/configdump.c:24: :info:build /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_www_lwan/lwan/work/lwan-0.3/src/lib/lwan-status.h:56: warning: ‘cold’ attribute directive ignored :info:build /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_www_lwan/lwan/work/lwan-0.3/src/lib/lwan-status.h:57: warning: ‘cold’ attribute directive ignored :info:build /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_www_lwan/lwan/work/lwan-0.3/src/lib/lwan-status.h:58: warning: ‘cold’ attribute directive ignored :info:build /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_www_lwan/lwan/work/lwan-0.3/src/lib/lwan-status.h:59: warning: ‘cold’ attribute directive ignored :info:build /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_www_lwan/lwan/work/lwan-0.3/src/lib/lwan-status.h:60: warning: ‘cold’ attribute directive ignored :info:build /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_www_lwan/lwan/work/lwan-0.3/src/lib/lwan-status.h:61: warning: ‘cold’ attribute directive ignored :info:build In file included from /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_www_lwan/lwan/work/lwan-0.3/src/lib/lwan.h:39, :info:build from /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_www_lwan/lwan/work/lwan-0.3/src/bin/tools/bin2hex.c:29: :info:build /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_www_lwan/lwan/work/lwan-0.3/src/lib/lwan-status.h:56: warning: ‘cold’ attribute directive ignored :info:build /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_www_lwan/lwan/work/lwan-0.3/src/lib/lwan-status.h:57: warning: ‘cold’ attribute directive ignored :info:build /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_www_lwan/lwan/work/lwan-0.3/src/lib/lwan-status.h:58: warning: ‘cold’ attribute directive ignored :info:build /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_www_lwan/lwan/work/lwan-0.3/src/lib/lwan-status.h:59: warning: ‘cold’ attribute directive ignored :info:build /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_www_lwan/lwan/work/lwan-0.3/src/lib/lwan-status.h:60: warning: ‘cold’ attribute directive ignored :info:build /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_www_lwan/lwan/work/lwan-0.3/src/lib/lwan-status.h:61: warning: ‘cold’ attribute directive ignored :info:build In file included from /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_www_lwan/lwan/work/lwan-0.3/src/bin/tools/bin2hex.c:29: :info:build /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_www_lwan/lwan/work/lwan-0.3/src/lib/lwan.h: In function ‘coro_lwan_key_value_array_new’: :info:build /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_www_lwan/lwan/work/lwan-0.3/src/lib/lwan.h:337: warning: passing argument 2 of ‘coro_lwan_array_new’ with different width due to prototype :info:build /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_www_lwan/lwan/work/lwan-0.3/src/lib/lwan.h: In function ‘lwan_key_value_array_get_elem’: :info:build /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_www_lwan/lwan/work/lwan-0.3/src/lib/lwan.h:337: warning: declaration of ‘index’ shadows a global declaration :info:build /usr/include/string.h:125: warning: shadowed declaration is here :info:build /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_www_lwan/lwan/work/lwan-0.3/src/bin/tools/bin2hex.c: In function ‘bin2hex’: :info:build /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_www_lwan/lwan/work/lwan-0.3/src/bin/tools/bin2hex.c:46: warning: passing argument 6 of ‘mmap’ with different width due to prototype :info:build In file included from /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_www_lwan/lwan/work/lwan-0.3/src/lib/lwan.h:39, :info:build from /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_www_lwan/lwan/work/lwan-0.3/src/lib/lwan-private.h:25, :info:build from /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_www_lwan/lwan/work/lwan-0.3/src/lib/hash.c:35: :info:build /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_www_lwan/lwan/work/lwan-0.3/src/lib/lwan-status.h:56: warning: ‘cold’ attribute directive ignored :info:build /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_www_lwan/lwan/work/lwan-0.3/src/lib/lwan-status.h:57: warning: ‘cold’ attribute directive ignored :info:build /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_www_lwan/lwan/work/lwan-0.3/src/lib/lwan-status.h:58: warning: ‘cold’ attribute directive ignored :info:build /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_www_lwan/lwan/work/lwan-0.3/src/lib/lwan-status.h:59: warning: ‘cold’ attribute directive ignored :info:build /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_www_lwan/lwan/work/lwan-0.3/src/lib/lwan-status.h:60: warning: ‘cold’ attribute directive ignored :info:build /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_www_lwan/lwan/work/lwan-0.3/src/lib/lwan-status.h:61: warning: ‘cold’ attribute directive ignored :info:build In file included from /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_www_lwan/lwan/work/lwan-0.3/src/lib/lwan-private.h:25, :info:build from /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_www_lwan/lwan/work/lwan-0.3/src/lib/hash.c:35: :info:build /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_www_lwan/lwan/work/lwan-0.3/src/lib/lwan.h: In function ‘coro_lwan_key_value_array_new’: :info:build /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_www_lwan/lwan/work/lwan-0.3/src/lib/lwan.h:337: warning: passing argument 2 of ‘coro_lwan_array_new’ with different width due to prototype :info:build /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_www_lwan/lwan/work/lwan-0.3/src/lib/lwan.h: In function ‘lwan_key_value_array_get_elem’: :info:build /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_www_lwan/lwan/work/lwan-0.3/src/lib/lwan.h:337: warning: declaration of ‘index’ shadows a global declaration :info:build /usr/include/string.h:125: warning: shadowed declaration is here :info:build /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_www_lwan/lwan/work/lwan-0.3/src/lib/hash.c: At top level: :info:build /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_www_lwan/lwan/work/lwan-0.3/src/lib/hash.c:169: error: wrong number of arguments specified for ‘constructor’ attribute :info:build /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_www_lwan/lwan/work/lwan-0.3/src/lib/hash.c: In function ‘hash_add_entry_hashed’: :info:build /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_www_lwan/lwan/work/lwan-0.3/src/lib/hash.c:279: warning: implicit declaration of function ‘__builtin_add_overflow’ :info:build make[2]: *** [src/bin/tools/CMakeFiles/mimegen.dir/__/__/lib/hash.c.o] Error 1 :info:build make[2]: *** Waiting for unfinished jobs.... :info:build /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_www_lwan/lwan/work/lwan-0.3/src/bin/tools/mimegen.c: In function ‘main’: :info:build /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_www_lwan/lwan/work/lwan-0.3/src/bin/tools/mimegen.c:234: warning: passing argument 2 of ‘strend’ with different width due to prototype :info:build /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_www_lwan/lwan/work/lwan-0.3/src/bin/tools/mimegen.c:235: warning: passing argument 2 of ‘strend’ with different width due to prototype :info:build /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_www_lwan/lwan/work/lwan-0.3/src/bin/tools/mimegen.c:236: warning: passing argument 2 of ‘strend’ with different width due to prototype :info:build [ 8%] Building C object src/bin/tools/CMakeFiles/configdump.dir/__/__/lib/lwan-config.c.o :info:build cd /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_www_lwan/lwan/work/build/src/bin/tools && /opt/local/bin/ccache /opt/local/bin/ccache /usr/bin/gcc-4.2 -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -I/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_www_lwan/lwan/work/lwan-0.3/src/lib/missing -I/opt/local/include/lua5.1 -I/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_www_lwan/lwan/work/lwan-0.3/src/lib -pipe -Os -DNDEBUG -isystem/opt/local/include/LegacySupport -I/opt/local/include -Wno-unused-parameter -Wall -Wextra -Wshadow -Wconversion -std=gnu99 -O3 -DNDEBUG -falign-functions=32 -fno-asynchronous-unwind-tables -arch ppc -mmacosx-version-min=10.6 -include /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_www_lwan/lwan/work/build/lwan-build-config.h -MD -MT src/bin/tools/CMakeFiles/configdump.dir/__/__/lib/lwan-config.c.o -MF CMakeFiles/configdump.dir/__/__/lib/lwan-config.c.o.d -o CMakeFiles/configdump.dir/__/__/lib/lwan-config.c.o -c /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_www_lwan/lwan/work/lwan-0.3/src/lib/lwan-config.c :info:build [ 10%] Building C object src/bin/tools/CMakeFiles/configdump.dir/__/__/lib/lwan-strbuf.c.o :info:build cd /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_www_lwan/lwan/work/build/src/bin/tools && /opt/local/bin/ccache /opt/local/bin/ccache /usr/bin/gcc-4.2 -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -I/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_www_lwan/lwan/work/lwan-0.3/src/lib/missing -I/opt/local/include/lua5.1 -I/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_www_lwan/lwan/work/lwan-0.3/src/lib -pipe -Os -DNDEBUG -isystem/opt/local/include/LegacySupport -I/opt/local/include -Wno-unused-parameter -Wall -Wextra -Wshadow -Wconversion -std=gnu99 -O3 -DNDEBUG -falign-functions=32 -fno-asynchronous-unwind-tables -arch ppc -mmacosx-version-min=10.6 -include /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_www_lwan/lwan/work/build/lwan-build-config.h -MD -MT src/bin/tools/CMakeFiles/configdump.dir/__/__/lib/lwan-strbuf.c.o -MF CMakeFiles/configdump.dir/__/__/lib/lwan-strbuf.c.o.d -o CMakeFiles/configdump.dir/__/__/lib/lwan-strbuf.c.o -c /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_www_lwan/lwan/work/lwan-0.3/src/lib/lwan-strbuf.c :info:build [ 11%] Building C object src/bin/tools/CMakeFiles/configdump.dir/__/__/lib/lwan-status.c.o :info:build [ 12%] Linking C executable bin2hex :info:build cd /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_www_lwan/lwan/work/build/src/bin/tools && /opt/local/bin/ccache /opt/local/bin/ccache /usr/bin/gcc-4.2 -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -I/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_www_lwan/lwan/work/lwan-0.3/src/lib/missing -I/opt/local/include/lua5.1 -I/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_www_lwan/lwan/work/lwan-0.3/src/lib -pipe -Os -DNDEBUG -isystem/opt/local/include/LegacySupport -I/opt/local/include -Wno-unused-parameter -Wall -Wextra -Wshadow -Wconversion -std=gnu99 -O3 -DNDEBUG -falign-functions=32 -fno-asynchronous-unwind-tables -arch ppc -mmacosx-version-min=10.6 -include /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_www_lwan/lwan/work/build/lwan-build-config.h -MD -MT src/bin/tools/CMakeFiles/configdump.dir/__/__/lib/lwan-status.c.o -MF CMakeFiles/configdump.dir/__/__/lib/lwan-status.c.o.d -o CMakeFiles/configdump.dir/__/__/lib/lwan-status.c.o -c /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_www_lwan/lwan/work/lwan-0.3/src/lib/lwan-status.c :info:build cd /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_www_lwan/lwan/work/build/src/bin/tools && /opt/local/bin/cmake -E cmake_link_script CMakeFiles/bin2hex.dir/link.txt --verbose=ON :info:build In file included from /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_www_lwan/lwan/work/lwan-0.3/src/lib/lwan.h:39, :info:build from /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_www_lwan/lwan/work/lwan-0.3/src/lib/missing.c:34: :info:build /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_www_lwan/lwan/work/lwan-0.3/src/lib/lwan-status.h:56: warning: ‘cold’ attribute directive ignored :info:build /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_www_lwan/lwan/work/lwan-0.3/src/lib/lwan-status.h:57: warning: ‘cold’ attribute directive ignored :info:build /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_www_lwan/lwan/work/lwan-0.3/src/lib/lwan-status.h:58: warning: ‘cold’ attribute directive ignored :info:build /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_www_lwan/lwan/work/lwan-0.3/src/lib/lwan-status.h:59: warning: ‘cold’ attribute directive ignored :info:build /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_www_lwan/lwan/work/lwan-0.3/src/lib/lwan-status.h:60: warning: ‘cold’ attribute directive ignored :info:build /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_www_lwan/lwan/work/lwan-0.3/src/lib/lwan-status.h:61: warning: ‘cold’ attribute directive ignored :info:build In file included from /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_www_lwan/lwan/work/lwan-0.3/src/lib/missing.c:34: :info:build /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_www_lwan/lwan/work/lwan-0.3/src/lib/lwan.h: In function ‘coro_lwan_key_value_array_new’: :info:build /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_www_lwan/lwan/work/lwan-0.3/src/lib/lwan.h:337: warning: passing argument 2 of ‘coro_lwan_array_new’ with different width due to prototype :info:build /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_www_lwan/lwan/work/lwan-0.3/src/lib/lwan.h: In function ‘lwan_key_value_array_get_elem’: :info:build /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_www_lwan/lwan/work/lwan-0.3/src/lib/lwan.h:337: warning: declaration of ‘index’ shadows a global declaration :info:build /usr/include/string.h:125: warning: shadowed declaration is here :info:build [ 13%] Building C object src/bin/tools/CMakeFiles/configdump.dir/__/__/lib/hash.c.o :info:build make[2]: Leaving directory `/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_www_lwan/lwan/work/build' :info:build cd /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_www_lwan/lwan/work/build/src/bin/tools && /opt/local/bin/ccache /opt/local/bin/ccache /usr/bin/gcc-4.2 -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -I/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_www_lwan/lwan/work/lwan-0.3/src/lib/missing -I/opt/local/include/lua5.1 -I/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_www_lwan/lwan/work/lwan-0.3/src/lib -pipe -Os -DNDEBUG -isystem/opt/local/include/LegacySupport -I/opt/local/include -Wno-unused-parameter -Wall -Wextra -Wshadow -Wconversion -std=gnu99 -O3 -DNDEBUG -falign-functions=32 -fno-asynchronous-unwind-tables -arch ppc -mmacosx-version-min=10.6 -include /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_www_lwan/lwan/work/build/lwan-build-config.h -MD -MT src/bin/tools/CMakeFiles/configdump.dir/__/__/lib/hash.c.o -MF CMakeFiles/configdump.dir/__/__/lib/hash.c.o.d -o CMakeFiles/configdump.dir/__/__/lib/hash.c.o -c /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_www_lwan/lwan/work/lwan-0.3/src/lib/hash.c :info:build make[1]: *** [src/bin/tools/CMakeFiles/mimegen.dir/all] Error 2 :info:build make[1]: *** Waiting for unfinished jobs....
With gcc14 a bit differently, but on the same file:
[ 7%] Building C object src/bin/tools/CMakeFiles/mimegen.dir/mimegen.c.o cd /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_www_lwan/lwan/work/build/src/bin/tools && /opt/local/bin/ccache /opt/local/bin/ccache /opt/local/bin/gcc-mp-14 -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -I/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_www_lwan/lwan/work/lwan-0.3/src/lib/missing -I/opt/local/include/lua5.1 -I/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_www_lwan/lwan/work/lwan-0.3/src/lib -pipe -Os -DNDEBUG -isystem/opt/local/include/LegacySupport -I/opt/local/include -fstack-protector-explicit -Wduplicated-cond -Wduplicated-branches -Wlogical-op -Wrestrict -Wdouble-promotion -Wno-unused-parameter -Wstringop-truncation -Wvla -Wno-free-nonheap-object -Wall -Wextra -Wshadow -Wconversion -std=gnu99 -O3 -DNDEBUG -mtune=native -falign-functions=32 -fno-semantic-interposition -fno-asynchronous-unwind-tables -flto=jobserver -ffat-lto-objects -arch ppc -mmacosx-version-min=10.6 -include /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_www_lwan/lwan/work/build/lwan-build-config.h -MD -MT src/bin/tools/CMakeFiles/mimegen.dir/mimegen.c.o -MF CMakeFiles/mimegen.dir/mimegen.c.o.d -o CMakeFiles/mimegen.dir/mimegen.c.o -c /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_www_lwan/lwan/work/lwan-0.3/src/bin/tools/mimegen.c [ 8%] Linking C executable bin2hex cd /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_www_lwan/lwan/work/build/src/bin/tools && /opt/local/bin/cmake -E cmake_link_script CMakeFiles/bin2hex.dir/link.txt --verbose=ON [ 10%] Building C object src/bin/tools/CMakeFiles/configdump.dir/__/__/lib/hash.c.o cd /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_www_lwan/lwan/work/build/src/bin/tools && /opt/local/bin/ccache /opt/local/bin/ccache /opt/local/bin/gcc-mp-14 -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -I/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_www_lwan/lwan/work/lwan-0.3/src/lib/missing -I/opt/local/include/lua5.1 -I/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_www_lwan/lwan/work/lwan-0.3/src/lib -pipe -Os -DNDEBUG -isystem/opt/local/include/LegacySupport -I/opt/local/include -fstack-protector-explicit -Wduplicated-cond -Wduplicated-branches -Wlogical-op -Wrestrict -Wdouble-promotion -Wno-unused-parameter -Wstringop-truncation -Wvla -Wno-free-nonheap-object -Wall -Wextra -Wshadow -Wconversion -std=gnu99 -O3 -DNDEBUG -mtune=native -falign-functions=32 -fno-semantic-interposition -fno-asynchronous-unwind-tables -flto=jobserver -ffat-lto-objects -arch ppc -mmacosx-version-min=10.6 -include /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_www_lwan/lwan/work/build/lwan-build-config.h -MD -MT src/bin/tools/CMakeFiles/configdump.dir/__/__/lib/hash.c.o -MF CMakeFiles/configdump.dir/__/__/lib/hash.c.o.d -o CMakeFiles/configdump.dir/__/__/lib/hash.c.o -c /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_www_lwan/lwan/work/lwan-0.3/src/lib/hash.c [ 11%] Building C object src/bin/tools/CMakeFiles/configdump.dir/__/__/lib/murmur3.c.o cd /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_www_lwan/lwan/work/build/src/bin/tools && /opt/local/bin/ccache /opt/local/bin/ccache /opt/local/bin/gcc-mp-14 -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -I/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_www_lwan/lwan/work/lwan-0.3/src/lib/missing -I/opt/local/include/lua5.1 -I/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_www_lwan/lwan/work/lwan-0.3/src/lib -pipe -Os -DNDEBUG -isystem/opt/local/include/LegacySupport -I/opt/local/include -fstack-protector-explicit -Wduplicated-cond -Wduplicated-branches -Wlogical-op -Wrestrict -Wdouble-promotion -Wno-unused-parameter -Wstringop-truncation -Wvla -Wno-free-nonheap-object -Wall -Wextra -Wshadow -Wconversion -std=gnu99 -O3 -DNDEBUG -mtune=native -falign-functions=32 -fno-semantic-interposition -fno-asynchronous-unwind-tables -flto=jobserver -ffat-lto-objects -arch ppc -mmacosx-version-min=10.6 -include /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_www_lwan/lwan/work/build/lwan-build-config.h -MD -MT src/bin/tools/CMakeFiles/configdump.dir/__/__/lib/murmur3.c.o -MF CMakeFiles/configdump.dir/__/__/lib/murmur3.c.o.d -o CMakeFiles/configdump.dir/__/__/lib/murmur3.c.o -c /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_www_lwan/lwan/work/lwan-0.3/src/lib/murmur3.c /opt/local/bin/ccache /opt/local/bin/gcc-mp-14 -pipe -Os -DNDEBUG -isystem/opt/local/include/LegacySupport -I/opt/local/include -fstack-protector-explicit -Wduplicated-cond -Wduplicated-branches -Wlogical-op -Wrestrict -Wdouble-promotion -Wno-unused-parameter -Wstringop-truncation -Wvla -Wno-free-nonheap-object -Wall -Wextra -Wshadow -Wconversion -std=gnu99 -O3 -DNDEBUG -mtune=native -falign-functions=32 -fno-semantic-interposition -fno-asynchronous-unwind-tables -flto=jobserver -ffat-lto-objects -arch ppc -mmacosx-version-min=10.6 -Wl,-search_paths_first -Wl,-headerpad_max_install_names -Wl,-headerpad_max_install_names -L/opt/local/lib -lMacportsLegacySupport -Wl,-bind_at_load CMakeFiles/bin2hex.dir/bin2hex.c.o -o bin2hex -Wl,-rpath,/opt/local/lib [ 12%] Building C object src/bin/tools/CMakeFiles/mimegen.dir/__/__/lib/hash.c.o cd /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_www_lwan/lwan/work/build/src/bin/tools && /opt/local/bin/ccache /opt/local/bin/ccache /opt/local/bin/gcc-mp-14 -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -I/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_www_lwan/lwan/work/lwan-0.3/src/lib/missing -I/opt/local/include/lua5.1 -I/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_www_lwan/lwan/work/lwan-0.3/src/lib -pipe -Os -DNDEBUG -isystem/opt/local/include/LegacySupport -I/opt/local/include -fstack-protector-explicit -Wduplicated-cond -Wduplicated-branches -Wlogical-op -Wrestrict -Wdouble-promotion -Wno-unused-parameter -Wstringop-truncation -Wvla -Wno-free-nonheap-object -Wall -Wextra -Wshadow -Wconversion -std=gnu99 -O3 -DNDEBUG -mtune=native -falign-functions=32 -fno-semantic-interposition -fno-asynchronous-unwind-tables -flto=jobserver -ffat-lto-objects -arch ppc -mmacosx-version-min=10.6 -include /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_www_lwan/lwan/work/build/lwan-build-config.h -MD -MT src/bin/tools/CMakeFiles/mimegen.dir/__/__/lib/hash.c.o -MF CMakeFiles/mimegen.dir/__/__/lib/hash.c.o.d -o CMakeFiles/mimegen.dir/__/__/lib/hash.c.o -c /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_www_lwan/lwan/work/lwan-0.3/src/lib/hash.c [ 13%] Building C object src/bin/tools/CMakeFiles/configdump.dir/__/__/lib/missing.c.o cd /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_www_lwan/lwan/work/build/src/bin/tools && /opt/local/bin/ccache /opt/local/bin/ccache /opt/local/bin/gcc-mp-14 -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -I/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_www_lwan/lwan/work/lwan-0.3/src/lib/missing -I/opt/local/include/lua5.1 -I/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_www_lwan/lwan/work/lwan-0.3/src/lib -pipe -Os -DNDEBUG -isystem/opt/local/include/LegacySupport -I/opt/local/include -fstack-protector-explicit -Wduplicated-cond -Wduplicated-branches -Wlogical-op -Wrestrict -Wdouble-promotion -Wno-unused-parameter -Wstringop-truncation -Wvla -Wno-free-nonheap-object -Wall -Wextra -Wshadow -Wconversion -std=gnu99 -O3 -DNDEBUG -mtune=native -falign-functions=32 -fno-semantic-interposition -fno-asynchronous-unwind-tables -flto=jobserver -ffat-lto-objects -arch ppc -mmacosx-version-min=10.6 -include /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_www_lwan/lwan/work/build/lwan-build-config.h -MD -MT src/bin/tools/CMakeFiles/configdump.dir/__/__/lib/missing.c.o -MF CMakeFiles/configdump.dir/__/__/lib/missing.c.o.d -o CMakeFiles/configdump.dir/__/__/lib/missing.c.o -c /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_www_lwan/lwan/work/lwan-0.3/src/lib/missing.c /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_www_lwan/lwan/work/lwan-0.3/src/lib/hash.c:169:1: error: constructor priorities are not supported 169 | { | ^ make[2]: *** [src/bin/tools/CMakeFiles/configdump.dir/__/__/lib/hash.c.o] Error 1 make[2]: *** Waiting for unfinished jobs.... [ 15%] Building C object src/bin/tools/CMakeFiles/mimegen.dir/__/__/lib/murmur3.c.o cd /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_www_lwan/lwan/work/build/src/bin/tools && /opt/local/bin/ccache /opt/local/bin/ccache /opt/local/bin/gcc-mp-14 -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -I/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_www_lwan/lwan/work/lwan-0.3/src/lib/missing -I/opt/local/include/lua5.1 -I/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_www_lwan/lwan/work/lwan-0.3/src/lib -pipe -Os -DNDEBUG -isystem/opt/local/include/LegacySupport -I/opt/local/include -fstack-protector-explicit -Wduplicated-cond -Wduplicated-branches -Wlogical-op -Wrestrict -Wdouble-promotion -Wno-unused-parameter -Wstringop-truncation -Wvla -Wno-free-nonheap-object -Wall -Wextra -Wshadow -Wconversion -std=gnu99 -O3 -DNDEBUG -mtune=native -falign-functions=32 -fno-semantic-interposition -fno-asynchronous-unwind-tables -flto=jobserver -ffat-lto-objects -arch ppc -mmacosx-version-min=10.6 -include /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_www_lwan/lwan/work/build/lwan-build-config.h -MD -MT src/bin/tools/CMakeFiles/mimegen.dir/__/__/lib/murmur3.c.o -MF CMakeFiles/mimegen.dir/__/__/lib/murmur3.c.o.d -o CMakeFiles/mimegen.dir/__/__/lib/murmur3.c.o -c /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_www_lwan/lwan/work/lwan-0.3/src/lib/murmur3.c /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_www_lwan/lwan/work/lwan-0.3/src/lib/hash.c:169:1: error: constructor priorities are not supported 169 | { | ^ make[2]: *** [src/bin/tools/CMakeFiles/mimegen.dir/__/__/lib/hash.c.o] Error 1 make[2]: *** Waiting for unfinished jobs.... [ 16%] Building C object src/bin/tools/CMakeFiles/mimegen.dir/__/__/lib/missing.c.o cd /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_www_lwan/lwan/work/build/src/bin/tools && /opt/local/bin/ccache /opt/local/bin/ccache /opt/local/bin/gcc-mp-14 -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -I/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_www_lwan/lwan/work/lwan-0.3/src/lib/missing -I/opt/local/include/lua5.1 -I/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_www_lwan/lwan/work/lwan-0.3/src/lib -pipe -Os -DNDEBUG -isystem/opt/local/include/LegacySupport -I/opt/local/include -fstack-protector-explicit -Wduplicated-cond -Wduplicated-branches -Wlogical-op -Wrestrict -Wdouble-promotion -Wno-unused-parameter -Wstringop-truncation -Wvla -Wno-free-nonheap-object -Wall -Wextra -Wshadow -Wconversion -std=gnu99 -O3 -DNDEBUG -mtune=native -falign-functions=32 -fno-semantic-interposition -fno-asynchronous-unwind-tables -flto=jobserver -ffat-lto-objects -arch ppc -mmacosx-version-min=10.6 -include /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_www_lwan/lwan/work/build/lwan-build-config.h -MD -MT src/bin/tools/CMakeFiles/mimegen.dir/__/__/lib/missing.c.o -MF CMakeFiles/mimegen.dir/__/__/lib/missing.c.o.d -o CMakeFiles/mimegen.dir/__/__/lib/missing.c.o -c /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_www_lwan/lwan/work/lwan-0.3/src/lib/missing.c make[2]: Leaving directory `/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_www_lwan/lwan/work/build' [ 16%] Built target bin2hex /usr/bin/make -f src/lib/CMakeFiles/generate_auto_index_icons.dir/build.make src/lib/CMakeFiles/generate_auto_index_icons.dir/depend make[2]: Entering directory `/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_www_lwan/lwan/work/build' cd /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_www_lwan/lwan/work/build && /opt/local/bin/cmake -E cmake_depends "Unix Makefiles" /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_www_lwan/lwan/work/lwan-0.3 /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_www_lwan/lwan/work/lwan-0.3/src/lib /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_www_lwan/lwan/work/build /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_www_lwan/lwan/work/build/src/lib /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_www_lwan/lwan/work/build/src/lib/CMakeFiles/generate_auto_index_icons.dir/DependInfo.cmake "--color=" make[2]: Leaving directory `/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_www_lwan/lwan/work/build' /usr/bin/make -f src/lib/CMakeFiles/generate_auto_index_icons.dir/build.make src/lib/CMakeFiles/generate_auto_index_icons.dir/build make[2]: Entering directory `/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_www_lwan/lwan/work/build' [ 17%] Bundling auto-index icons cd /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_www_lwan/lwan/work/build/src/lib && ../bin/tools/bin2hex /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_www_lwan/lwan/work/lwan-0.3/wwwroot/icons/back.gif back_gif /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_www_lwan/lwan/work/lwan-0.3/wwwroot/icons/file.gif file_gif /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_www_lwan/lwan/work/lwan-0.3/wwwroot/icons/folder.gif folder_gif > /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_www_lwan/lwan/work/build/auto-index-icons.h make[2]: Leaving directory `/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_www_lwan/lwan/work/build' /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_www_lwan/lwan/work/lwan-0.3/src/lib/missing.c: In function 'epoll_ctl': /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_www_lwan/lwan/work/lwan-0.3/src/lib/missing.c:173:9: warning: conversion to 'uintptr_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 173 | EV_SET(&ev, fd, events, flags, 0, 0, udata); | ^~~~~~ /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_www_lwan/lwan/work/lwan-0.3/src/lib/missing.c:173:9: warning: conversion from 'int' to 'int16_t' {aka 'short int'} may change value [-Wconversion] /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_www_lwan/lwan/work/lwan-0.3/src/lib/missing.c:173:9: warning: conversion from 'int' to 'uint16_t' {aka 'short unsigned int'} may change value [-Wconversion] /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_www_lwan/lwan/work/lwan-0.3/src/lib/missing.c:178:9: warning: conversion to 'uintptr_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 178 | EV_SET(&ev, fd, 0, EV_DELETE, 0, 0, 0); | ^~~~~~ /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_www_lwan/lwan/work/lwan-0.3/src/lib/missing.c: In function 'epoll_wait': /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_www_lwan/lwan/work/lwan-0.3/src/lib/missing.c:203:12: warning: ISO C90 forbids variable length array 'evs' [-Wvla] 203 | struct kevent evs[maxevents]; | ^~~~~~ /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_www_lwan/lwan/work/lwan-0.3/src/lib/missing.c: In function 'rawmemchr': /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_www_lwan/lwan/work/lwan-0.3/src/lib/missing.c:470:51: warning: 'memchr' specified bound 4294967295 exceeds maximum object size 2147483647 [-Wstringop-overread] 470 | void *rawmemchr(const void *ptr, char c) { return memchr(ptr, c, SIZE_MAX); } | ^~~~~~~~~~~~~~~~~~~~~~~~ make[2]: Leaving directory `/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_www_lwan/lwan/work/build' make[1]: *** [src/bin/tools/CMakeFiles/configdump.dir/all] Error 2 make[1]: *** Waiting for unfinished jobs.... [ 17%] Built target generate_auto_index_icons /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_www_lwan/lwan/work/lwan-0.3/src/lib/missing.c: In function 'epoll_ctl': /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_www_lwan/lwan/work/lwan-0.3/src/lib/missing.c:173:9: warning: conversion to 'uintptr_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 173 | EV_SET(&ev, fd, events, flags, 0, 0, udata); | ^~~~~~ /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_www_lwan/lwan/work/lwan-0.3/src/lib/missing.c:173:9: warning: conversion from 'int' to 'int16_t' {aka 'short int'} may change value [-Wconversion] /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_www_lwan/lwan/work/lwan-0.3/src/lib/missing.c:173:9: warning: conversion from 'int' to 'uint16_t' {aka 'short unsigned int'} may change value [-Wconversion] /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_www_lwan/lwan/work/lwan-0.3/src/lib/missing.c:178:9: warning: conversion to 'uintptr_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 178 | EV_SET(&ev, fd, 0, EV_DELETE, 0, 0, 0); | ^~~~~~ /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_www_lwan/lwan/work/lwan-0.3/src/lib/missing.c: In function 'epoll_wait': /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_www_lwan/lwan/work/lwan-0.3/src/lib/missing.c:203:12: warning: ISO C90 forbids variable length array 'evs' [-Wvla] 203 | struct kevent evs[maxevents]; | ^~~~~~ /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_www_lwan/lwan/work/lwan-0.3/src/lib/missing.c: In function 'rawmemchr': /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_www_lwan/lwan/work/lwan-0.3/src/lib/missing.c:470:51: warning: 'memchr' specified bound 4294967295 exceeds maximum object size 2147483647 [-Wstringop-overread] 470 | void *rawmemchr(const void *ptr, char c) { return memchr(ptr, c, SIZE_MAX); } | ^~~~~~~~~~~~~~~~~~~~~~~~ make[2]: Leaving directory `/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_www_lwan/lwan/work/build' make[1]: *** [src/bin/tools/CMakeFiles/mimegen.dir/all] Error 2 make[1]: Leaving directory `/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_www_lwan/lwan/work/build' make: *** [all] Error 2
Upstream issue: https://github.com/lpereira/lwan/issues/369
Note: See
TracTickets for help on using
tickets.