Opened 14 months ago
Last modified 8 months ago
#68249 assigned defect
gobject-introspection @1.78.1_0+universal: FAILED: girepository/cmph/cmph-bdz-test
Reported by: | tiuno | Owned by: | mascguy (Christopher Nielsen) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.8.1 |
Keywords: | Cc: | ||
Port: | gobject-introspection |
Description
Installing the newest version of gobject-introspection fails at build phase.
DEBUG: build phase started at Tue Sep 26 19:21:38 CEST 2023 ---> Building gobject-introspection DEBUG: Executing org.macports.build (gobject-introspection) DEBUG: Environment: DEBUG: CC='/usr/bin/clang' DEBUG: CC_PRINT_OPTIONS='YES' DEBUG: CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gnome_gobject-introspection/gobject-introspection/work/.CC_PRINT_OPTIONS' DEBUG: CPATH='/opt/local/include' DEBUG: DEVELOPER_DIR='/Library/Developer/CommandLineTools' DEBUG: LIBRARY_PATH='/opt/local/lib' DEBUG: MACOSX_DEPLOYMENT_TARGET='12.0' DEBUG: SDKROOT='/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk' Executing: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gnome_gobject-introspection/gobject-introspection/work/build" && /opt/local/bin/ninja -j8 -v DEBUG: system: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gnome_gobject-introspection/gobject-introspection/work/build" && /opt/local/bin/ninja -j8 -v [1/165] /usr/bin/clang -Igirepository/cmph/libcmph.a.p -Igirepository/cmph -I../gobject-introspection-1.78.1/girepository/cmph -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include -fcolor-diagnostics -Wall -Winvalid-pch -Wextra -std=gnu99 -O2 -g -Warray-bounds -Wcast-align -Wformat=2 -Wformat-nonliteral -Wformat-security -Wimplicit-function-declaration -Winit-self -Wmissing-declarations -Wmissing-format-attribute -Wmissing-include-dirs -Wmissing-noreturn -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wpacked -Wpointer-arith -Wreturn-type -Wshadow -Wsign-compare -Wstrict-aliasing -Wstrict-prototypes -Wundef -Wunused-but-set-variable -Wwrite-strings -fno-strict-aliasing -DHAVE_CONFIG_H -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -arch arm64 -arch x86_64 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -fvisibility=hidden -Wno-implicit-fallthrough -Wno-old-style-definition -Wno-type-limits -Wno-undef -Wno-unused-parameter -Wno-cast-align -Wno-unused-function -Wno-return-type -Wno-sometimes-uninitialized -MD -MQ girepository/cmph/libcmph.a.p/buffer_manager.c.o -MF girepository/cmph/libcmph.a.p/buffer_manager.c.o.d -o girepository/cmph/libcmph.a.p/buffer_manager.c.o -c ../gobject-introspection-1.78.1/girepository/cmph/buffer_manager.c [2/165] /usr/bin/clang -Igirepository/cmph/libcmph.a.p -Igirepository/cmph -I../gobject-introspection-1.78.1/girepository/cmph -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include -fcolor-diagnostics -Wall -Winvalid-pch -Wextra -std=gnu99 -O2 -g -Warray-bounds -Wcast-align -Wformat=2 -Wformat-nonliteral -Wformat-security -Wimplicit-function-declaration -Winit-self -Wmissing-declarations -Wmissing-format-attribute -Wmissing-include-dirs -Wmissing-noreturn -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wpacked -Wpointer-arith -Wreturn-type -Wshadow -Wsign-compare -Wstrict-aliasing -Wstrict-prototypes -Wundef -Wunused-but-set-variable -Wwrite-strings -fno-strict-aliasing -DHAVE_CONFIG_H -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -arch arm64 -arch x86_64 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -fvisibility=hidden -Wno-implicit-fallthrough -Wno-old-style-definition -Wno-type-limits -Wno-undef -Wno-unused-parameter -Wno-cast-align -Wno-unused-function -Wno-return-type -Wno-sometimes-uninitialized -MD -MQ girepository/cmph/libcmph.a.p/buffer_entry.c.o -MF girepository/cmph/libcmph.a.p/buffer_entry.c.o.d -o girepository/cmph/libcmph.a.p/buffer_entry.c.o -c ../gobject-introspection-1.78.1/girepository/cmph/buffer_entry.c [3/165] /usr/bin/clang -Igirepository/cmph/libcmph.a.p -Igirepository/cmph -I../gobject-introspection-1.78.1/girepository/cmph -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include -fcolor-diagnostics -Wall -Winvalid-pch -Wextra -std=gnu99 -O2 -g -Warray-bounds -Wcast-align -Wformat=2 -Wformat-nonliteral -Wformat-security -Wimplicit-function-declaration -Winit-self -Wmissing-declarations -Wmissing-format-attribute -Wmissing-include-dirs -Wmissing-noreturn -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wpacked -Wpointer-arith -Wreturn-type -Wshadow -Wsign-compare -Wstrict-aliasing -Wstrict-prototypes -Wundef -Wunused-but-set-variable -Wwrite-strings -fno-strict-aliasing -DHAVE_CONFIG_H -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -arch arm64 -arch x86_64 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -fvisibility=hidden -Wno-implicit-fallthrough -Wno-old-style-definition -Wno-type-limits -Wno-undef -Wno-unused-parameter -Wno-cast-align -Wno-unused-function -Wno-return-type -Wno-sometimes-uninitialized -MD -MQ girepository/cmph/libcmph.a.p/chd.c.o -MF girepository/cmph/libcmph.a.p/chd.c.o.d -o girepository/cmph/libcmph.a.p/chd.c.o -c ../gobject-introspection-1.78.1/girepository/cmph/chd.c [4/165] /usr/bin/clang -Igirepository/cmph/libcmph.a.p -Igirepository/cmph -I../gobject-introspection-1.78.1/girepository/cmph -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include -fcolor-diagnostics -Wall -Winvalid-pch -Wextra -std=gnu99 -O2 -g -Warray-bounds -Wcast-align -Wformat=2 -Wformat-nonliteral -Wformat-security -Wimplicit-function-declaration -Winit-self -Wmissing-declarations -Wmissing-format-attribute -Wmissing-include-dirs -Wmissing-noreturn -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wpacked -Wpointer-arith -Wreturn-type -Wshadow -Wsign-compare -Wstrict-aliasing -Wstrict-prototypes -Wundef -Wunused-but-set-variable -Wwrite-strings -fno-strict-aliasing -DHAVE_CONFIG_H -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -arch arm64 -arch x86_64 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -fvisibility=hidden -Wno-implicit-fallthrough -Wno-old-style-definition -Wno-type-limits -Wno-undef -Wno-unused-parameter -Wno-cast-align -Wno-unused-function -Wno-return-type -Wno-sometimes-uninitialized -MD -MQ girepository/cmph/libcmph.a.p/bdz_ph.c.o -MF girepository/cmph/libcmph.a.p/bdz_ph.c.o.d -o girepository/cmph/libcmph.a.p/bdz_ph.c.o -c ../gobject-introspection-1.78.1/girepository/cmph/bdz_ph.c [5/165] /usr/bin/clang -Igirepository/cmph/libcmph.a.p -Igirepository/cmph -I../gobject-introspection-1.78.1/girepository/cmph -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include -fcolor-diagnostics -Wall -Winvalid-pch -Wextra -std=gnu99 -O2 -g -Warray-bounds -Wcast-align -Wformat=2 -Wformat-nonliteral -Wformat-security -Wimplicit-function-declaration -Winit-self -Wmissing-declarations -Wmissing-format-attribute -Wmissing-include-dirs -Wmissing-noreturn -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wpacked -Wpointer-arith -Wreturn-type -Wshadow -Wsign-compare -Wstrict-aliasing -Wstrict-prototypes -Wundef -Wunused-but-set-variable -Wwrite-strings -fno-strict-aliasing -DHAVE_CONFIG_H -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -arch arm64 -arch x86_64 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -fvisibility=hidden -Wno-implicit-fallthrough -Wno-old-style-definition -Wno-type-limits -Wno-undef -Wno-unused-parameter -Wno-cast-align -Wno-unused-function -Wno-return-type -Wno-sometimes-uninitialized -MD -MQ girepository/cmph/libcmph.a.p/bmz.c.o -MF girepository/cmph/libcmph.a.p/bmz.c.o.d -o girepository/cmph/libcmph.a.p/bmz.c.o -c ../gobject-introspection-1.78.1/girepository/cmph/bmz.c [6/165] /usr/bin/clang -Igirepository/cmph/libcmph.a.p -Igirepository/cmph -I../gobject-introspection-1.78.1/girepository/cmph -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include -fcolor-diagnostics -Wall -Winvalid-pch -Wextra -std=gnu99 -O2 -g -Warray-bounds -Wcast-align -Wformat=2 -Wformat-nonliteral -Wformat-security -Wimplicit-function-declaration -Winit-self -Wmissing-declarations -Wmissing-format-attribute -Wmissing-include-dirs -Wmissing-noreturn -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wpacked -Wpointer-arith -Wreturn-type -Wshadow -Wsign-compare -Wstrict-aliasing -Wstrict-prototypes -Wundef -Wunused-but-set-variable -Wwrite-strings -fno-strict-aliasing -DHAVE_CONFIG_H -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -arch arm64 -arch x86_64 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -fvisibility=hidden -Wno-implicit-fallthrough -Wno-old-style-definition -Wno-type-limits -Wno-undef -Wno-unused-parameter -Wno-cast-align -Wno-unused-function -Wno-return-type -Wno-sometimes-uninitialized -MD -MQ girepository/cmph/libcmph.a.p/bmz8.c.o -MF girepository/cmph/libcmph.a.p/bmz8.c.o.d -o girepository/cmph/libcmph.a.p/bmz8.c.o -c ../gobject-introspection-1.78.1/girepository/cmph/bmz8.c [7/165] /usr/bin/clang -Igirepository/cmph/libcmph.a.p -Igirepository/cmph -I../gobject-introspection-1.78.1/girepository/cmph -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include -fcolor-diagnostics -Wall -Winvalid-pch -Wextra -std=gnu99 -O2 -g -Warray-bounds -Wcast-align -Wformat=2 -Wformat-nonliteral -Wformat-security -Wimplicit-function-declaration -Winit-self -Wmissing-declarations -Wmissing-format-attribute -Wmissing-include-dirs -Wmissing-noreturn -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wpacked -Wpointer-arith -Wreturn-type -Wshadow -Wsign-compare -Wstrict-aliasing -Wstrict-prototypes -Wundef -Wunused-but-set-variable -Wwrite-strings -fno-strict-aliasing -DHAVE_CONFIG_H -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -arch arm64 -arch x86_64 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -fvisibility=hidden -Wno-implicit-fallthrough -Wno-old-style-definition -Wno-type-limits -Wno-undef -Wno-unused-parameter -Wno-cast-align -Wno-unused-function -Wno-return-type -Wno-sometimes-uninitialized -MD -MQ girepository/cmph/libcmph.a.p/bdz.c.o -MF girepository/cmph/libcmph.a.p/bdz.c.o.d -o girepository/cmph/libcmph.a.p/bdz.c.o -c ../gobject-introspection-1.78.1/girepository/cmph/bdz.c [8/165] /usr/bin/clang -Igirepository/cmph/libcmph.a.p -Igirepository/cmph -I../gobject-introspection-1.78.1/girepository/cmph -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include -fcolor-diagnostics -Wall -Winvalid-pch -Wextra -std=gnu99 -O2 -g -Warray-bounds -Wcast-align -Wformat=2 -Wformat-nonliteral -Wformat-security -Wimplicit-function-declaration -Winit-self -Wmissing-declarations -Wmissing-format-attribute -Wmissing-include-dirs -Wmissing-noreturn -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wpacked -Wpointer-arith -Wreturn-type -Wshadow -Wsign-compare -Wstrict-aliasing -Wstrict-prototypes -Wundef -Wunused-but-set-variable -Wwrite-strings -fno-strict-aliasing -DHAVE_CONFIG_H -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -arch arm64 -arch x86_64 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -fvisibility=hidden -Wno-implicit-fallthrough -Wno-old-style-definition -Wno-type-limits -Wno-undef -Wno-unused-parameter -Wno-cast-align -Wno-unused-function -Wno-return-type -Wno-sometimes-uninitialized -MD -MQ girepository/cmph/libcmph.a.p/chm.c.o -MF girepository/cmph/libcmph.a.p/chm.c.o.d -o girepository/cmph/libcmph.a.p/chm.c.o -c ../gobject-introspection-1.78.1/girepository/cmph/chm.c [9/165] /usr/bin/clang -Igirepository/cmph/libcmph.a.p -Igirepository/cmph -I../gobject-introspection-1.78.1/girepository/cmph -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include -fcolor-diagnostics -Wall -Winvalid-pch -Wextra -std=gnu99 -O2 -g -Warray-bounds -Wcast-align -Wformat=2 -Wformat-nonliteral -Wformat-security -Wimplicit-function-declaration -Winit-self -Wmissing-declarations -Wmissing-format-attribute -Wmissing-include-dirs -Wmissing-noreturn -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wpacked -Wpointer-arith -Wreturn-type -Wshadow -Wsign-compare -Wstrict-aliasing -Wstrict-prototypes -Wundef -Wunused-but-set-variable -Wwrite-strings -fno-strict-aliasing -DHAVE_CONFIG_H -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -arch arm64 -arch x86_64 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -fvisibility=hidden -Wno-implicit-fallthrough -Wno-old-style-definition -Wno-type-limits -Wno-undef -Wno-unused-parameter -Wno-cast-align -Wno-unused-function -Wno-return-type -Wno-sometimes-uninitialized -MD -MQ girepository/cmph/libcmph.a.p/brz.c.o -MF girepository/cmph/libcmph.a.p/brz.c.o.d -o girepository/cmph/libcmph.a.p/brz.c.o -c ../gobject-introspection-1.78.1/girepository/cmph/brz.c ../gobject-introspection-1.78.1/girepository/cmph/brz.c:817:18: warning: cast to smaller integer type 'cmph_uint32' (aka 'unsigned int') from 'cmph_uint8 *' (aka 'unsigned char *') [-Wpointer-to-int-cast] *g_is_ptr++ = (cmph_uint32)g_i; ^~~~~~~~~~~~~~~~ ../gobject-introspection-1.78.1/girepository/cmph/brz.c:938:11: warning: cast to 'cmph_uint8 *' (aka 'unsigned char *') from smaller integer type 'cmph_uint32' (aka 'unsigned int') [-Wint-to-pointer-cast] h1_ptr = (cmph_uint8 *) g_is_ptr[h0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../gobject-introspection-1.78.1/girepository/cmph/brz.c:1002:11: warning: cast to 'cmph_uint8 *' (aka 'unsigned char *') from smaller integer type 'cmph_uint32' (aka 'unsigned int') [-Wint-to-pointer-cast] h1_ptr = (cmph_uint8 *) g_is_ptr[h0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~ 3 warnings generated. [10/165] /usr/bin/clang -Igirepository/cmph/libcmph.a.p -Igirepository/cmph -I../gobject-introspection-1.78.1/girepository/cmph -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include -fcolor-diagnostics -Wall -Winvalid-pch -Wextra -std=gnu99 -O2 -g -Warray-bounds -Wcast-align -Wformat=2 -Wformat-nonliteral -Wformat-security -Wimplicit-function-declaration -Winit-self -Wmissing-declarations -Wmissing-format-attribute -Wmissing-include-dirs -Wmissing-noreturn -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wpacked -Wpointer-arith -Wreturn-type -Wshadow -Wsign-compare -Wstrict-aliasing -Wstrict-prototypes -Wundef -Wunused-but-set-variable -Wwrite-strings -fno-strict-aliasing -DHAVE_CONFIG_H -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -arch arm64 -arch x86_64 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -fvisibility=hidden -Wno-implicit-fallthrough -Wno-old-style-definition -Wno-type-limits -Wno-undef -Wno-unused-parameter -Wno-cast-align -Wno-unused-function -Wno-return-type -Wno-sometimes-uninitialized -MD -MQ girepository/cmph/libcmph.a.p/cmph.c.o -MF girepository/cmph/libcmph.a.p/cmph.c.o.d -o girepository/cmph/libcmph.a.p/cmph.c.o -c ../gobject-introspection-1.78.1/girepository/cmph/cmph.c [11/165] /usr/bin/clang -Igirepository/cmph/libcmph.a.p -Igirepository/cmph -I../gobject-introspection-1.78.1/girepository/cmph -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include -fcolor-diagnostics -Wall -Winvalid-pch -Wextra -std=gnu99 -O2 -g -Warray-bounds -Wcast-align -Wformat=2 -Wformat-nonliteral -Wformat-security -Wimplicit-function-declaration -Winit-self -Wmissing-declarations -Wmissing-format-attribute -Wmissing-include-dirs -Wmissing-noreturn -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wpacked -Wpointer-arith -Wreturn-type -Wshadow -Wsign-compare -Wstrict-aliasing -Wstrict-prototypes -Wundef -Wunused-but-set-variable -Wwrite-strings -fno-strict-aliasing -DHAVE_CONFIG_H -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -arch arm64 -arch x86_64 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -fvisibility=hidden -Wno-implicit-fallthrough -Wno-old-style-definition -Wno-type-limits -Wno-undef -Wno-unused-parameter -Wno-cast-align -Wno-unused-function -Wno-return-type -Wno-sometimes-uninitialized -MD -MQ girepository/cmph/libcmph.a.p/cmph_structs.c.o -MF girepository/cmph/libcmph.a.p/cmph_structs.c.o.d -o girepository/cmph/libcmph.a.p/cmph_structs.c.o -c ../gobject-introspection-1.78.1/girepository/cmph/cmph_structs.c [12/165] /usr/bin/clang -Igirepository/cmph/libcmph.a.p -Igirepository/cmph -I../gobject-introspection-1.78.1/girepository/cmph -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include -fcolor-diagnostics -Wall -Winvalid-pch -Wextra -std=gnu99 -O2 -g -Warray-bounds -Wcast-align -Wformat=2 -Wformat-nonliteral -Wformat-security -Wimplicit-function-declaration -Winit-self -Wmissing-declarations -Wmissing-format-attribute -Wmissing-include-dirs -Wmissing-noreturn -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wpacked -Wpointer-arith -Wreturn-type -Wshadow -Wsign-compare -Wstrict-aliasing -Wstrict-prototypes -Wundef -Wunused-but-set-variable -Wwrite-strings -fno-strict-aliasing -DHAVE_CONFIG_H -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -arch arm64 -arch x86_64 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -fvisibility=hidden -Wno-implicit-fallthrough -Wno-old-style-definition -Wno-type-limits -Wno-undef -Wno-unused-parameter -Wno-cast-align -Wno-unused-function -Wno-return-type -Wno-sometimes-uninitialized -MD -MQ girepository/cmph/libcmph.a.p/chd_ph.c.o -MF girepository/cmph/libcmph.a.p/chd_ph.c.o.d -o girepository/cmph/libcmph.a.p/chd_ph.c.o -c ../gobject-introspection-1.78.1/girepository/cmph/chd_ph.c [13/165] /usr/bin/clang -Igirepository/cmph/libcmph.a.p -Igirepository/cmph -I../gobject-introspection-1.78.1/girepository/cmph -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include -fcolor-diagnostics -Wall -Winvalid-pch -Wextra -std=gnu99 -O2 -g -Warray-bounds -Wcast-align -Wformat=2 -Wformat-nonliteral -Wformat-security -Wimplicit-function-declaration -Winit-self -Wmissing-declarations -Wmissing-format-attribute -Wmissing-include-dirs -Wmissing-noreturn -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wpacked -Wpointer-arith -Wreturn-type -Wshadow -Wsign-compare -Wstrict-aliasing -Wstrict-prototypes -Wundef -Wunused-but-set-variable -Wwrite-strings -fno-strict-aliasing -DHAVE_CONFIG_H -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -arch arm64 -arch x86_64 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -fvisibility=hidden -Wno-implicit-fallthrough -Wno-old-style-definition -Wno-type-limits -Wno-undef -Wno-unused-parameter -Wno-cast-align -Wno-unused-function -Wno-return-type -Wno-sometimes-uninitialized -MD -MQ girepository/cmph/libcmph.a.p/compressed_rank.c.o -MF girepository/cmph/libcmph.a.p/compressed_rank.c.o.d -o girepository/cmph/libcmph.a.p/compressed_rank.c.o -c ../gobject-introspection-1.78.1/girepository/cmph/compressed_rank.c [14/165] /usr/bin/clang -Igirepository/cmph/libcmph.a.p -Igirepository/cmph -I../gobject-introspection-1.78.1/girepository/cmph -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include -fcolor-diagnostics -Wall -Winvalid-pch -Wextra -std=gnu99 -O2 -g -Warray-bounds -Wcast-align -Wformat=2 -Wformat-nonliteral -Wformat-security -Wimplicit-function-declaration -Winit-self -Wmissing-declarations -Wmissing-format-attribute -Wmissing-include-dirs -Wmissing-noreturn -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wpacked -Wpointer-arith -Wreturn-type -Wshadow -Wsign-compare -Wstrict-aliasing -Wstrict-prototypes -Wundef -Wunused-but-set-variable -Wwrite-strings -fno-strict-aliasing -DHAVE_CONFIG_H -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -arch arm64 -arch x86_64 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -fvisibility=hidden -Wno-implicit-fallthrough -Wno-old-style-definition -Wno-type-limits -Wno-undef -Wno-unused-parameter -Wno-cast-align -Wno-unused-function -Wno-return-type -Wno-sometimes-uninitialized -MD -MQ girepository/cmph/libcmph.a.p/compressed_seq.c.o -MF girepository/cmph/libcmph.a.p/compressed_seq.c.o.d -o girepository/cmph/libcmph.a.p/compressed_seq.c.o -c ../gobject-introspection-1.78.1/girepository/cmph/compressed_seq.c [15/165] /usr/bin/clang -Igirepository/cmph/libcmph.a.p -Igirepository/cmph -I../gobject-introspection-1.78.1/girepository/cmph -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include -fcolor-diagnostics -Wall -Winvalid-pch -Wextra -std=gnu99 -O2 -g -Warray-bounds -Wcast-align -Wformat=2 -Wformat-nonliteral -Wformat-security -Wimplicit-function-declaration -Winit-self -Wmissing-declarations -Wmissing-format-attribute -Wmissing-include-dirs -Wmissing-noreturn -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wpacked -Wpointer-arith -Wreturn-type -Wshadow -Wsign-compare -Wstrict-aliasing -Wstrict-prototypes -Wundef -Wunused-but-set-variable -Wwrite-strings -fno-strict-aliasing -DHAVE_CONFIG_H -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -arch arm64 -arch x86_64 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -fvisibility=hidden -Wno-implicit-fallthrough -Wno-old-style-definition -Wno-type-limits -Wno-undef -Wno-unused-parameter -Wno-cast-align -Wno-unused-function -Wno-return-type -Wno-sometimes-uninitialized -MD -MQ girepository/cmph/libcmph.a.p/fch_buckets.c.o -MF girepository/cmph/libcmph.a.p/fch_buckets.c.o.d -o girepository/cmph/libcmph.a.p/fch_buckets.c.o -c ../gobject-introspection-1.78.1/girepository/cmph/fch_buckets.c [16/165] /usr/bin/clang -Igirepository/cmph/libcmph.a.p -Igirepository/cmph -I../gobject-introspection-1.78.1/girepository/cmph -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include -fcolor-diagnostics -Wall -Winvalid-pch -Wextra -std=gnu99 -O2 -g -Warray-bounds -Wcast-align -Wformat=2 -Wformat-nonliteral -Wformat-security -Wimplicit-function-declaration -Winit-self -Wmissing-declarations -Wmissing-format-attribute -Wmissing-include-dirs -Wmissing-noreturn -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wpacked -Wpointer-arith -Wreturn-type -Wshadow -Wsign-compare -Wstrict-aliasing -Wstrict-prototypes -Wundef -Wunused-but-set-variable -Wwrite-strings -fno-strict-aliasing -DHAVE_CONFIG_H -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -arch arm64 -arch x86_64 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -fvisibility=hidden -Wno-implicit-fallthrough -Wno-old-style-definition -Wno-type-limits -Wno-undef -Wno-unused-parameter -Wno-cast-align -Wno-unused-function -Wno-return-type -Wno-sometimes-uninitialized -MD -MQ girepository/cmph/libcmph.a.p/hash.c.o -MF girepository/cmph/libcmph.a.p/hash.c.o.d -o girepository/cmph/libcmph.a.p/hash.c.o -c ../gobject-introspection-1.78.1/girepository/cmph/hash.c [17/165] /usr/bin/clang -Igirepository/cmph/libcmph.a.p -Igirepository/cmph -I../gobject-introspection-1.78.1/girepository/cmph -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include -fcolor-diagnostics -Wall -Winvalid-pch -Wextra -std=gnu99 -O2 -g -Warray-bounds -Wcast-align -Wformat=2 -Wformat-nonliteral -Wformat-security -Wimplicit-function-declaration -Winit-self -Wmissing-declarations -Wmissing-format-attribute -Wmissing-include-dirs -Wmissing-noreturn -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wpacked -Wpointer-arith -Wreturn-type -Wshadow -Wsign-compare -Wstrict-aliasing -Wstrict-prototypes -Wundef -Wunused-but-set-variable -Wwrite-strings -fno-strict-aliasing -DHAVE_CONFIG_H -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -arch arm64 -arch x86_64 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -fvisibility=hidden -Wno-implicit-fallthrough -Wno-old-style-definition -Wno-type-limits -Wno-undef -Wno-unused-parameter -Wno-cast-align -Wno-unused-function -Wno-return-type -Wno-sometimes-uninitialized -MD -MQ girepository/cmph/libcmph.a.p/jenkins_hash.c.o -MF girepository/cmph/libcmph.a.p/jenkins_hash.c.o.d -o girepository/cmph/libcmph.a.p/jenkins_hash.c.o -c ../gobject-introspection-1.78.1/girepository/cmph/jenkins_hash.c [18/165] /usr/bin/clang -Igirepository/cmph/libcmph.a.p -Igirepository/cmph -I../gobject-introspection-1.78.1/girepository/cmph -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include -fcolor-diagnostics -Wall -Winvalid-pch -Wextra -std=gnu99 -O2 -g -Warray-bounds -Wcast-align -Wformat=2 -Wformat-nonliteral -Wformat-security -Wimplicit-function-declaration -Winit-self -Wmissing-declarations -Wmissing-format-attribute -Wmissing-include-dirs -Wmissing-noreturn -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wpacked -Wpointer-arith -Wreturn-type -Wshadow -Wsign-compare -Wstrict-aliasing -Wstrict-prototypes -Wundef -Wunused-but-set-variable -Wwrite-strings -fno-strict-aliasing -DHAVE_CONFIG_H -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -arch arm64 -arch x86_64 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -fvisibility=hidden -Wno-implicit-fallthrough -Wno-old-style-definition -Wno-type-limits -Wno-undef -Wno-unused-parameter -Wno-cast-align -Wno-unused-function -Wno-return-type -Wno-sometimes-uninitialized -MD -MQ girepository/cmph/libcmph.a.p/fch.c.o -MF girepository/cmph/libcmph.a.p/fch.c.o.d -o girepository/cmph/libcmph.a.p/fch.c.o -c ../gobject-introspection-1.78.1/girepository/cmph/fch.c [19/165] /usr/bin/clang -Igirepository/cmph/libcmph.a.p -Igirepository/cmph -I../gobject-introspection-1.78.1/girepository/cmph -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include -fcolor-diagnostics -Wall -Winvalid-pch -Wextra -std=gnu99 -O2 -g -Warray-bounds -Wcast-align -Wformat=2 -Wformat-nonliteral -Wformat-security -Wimplicit-function-declaration -Winit-self -Wmissing-declarations -Wmissing-format-attribute -Wmissing-include-dirs -Wmissing-noreturn -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wpacked -Wpointer-arith -Wreturn-type -Wshadow -Wsign-compare -Wstrict-aliasing -Wstrict-prototypes -Wundef -Wunused-but-set-variable -Wwrite-strings -fno-strict-aliasing -DHAVE_CONFIG_H -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -arch arm64 -arch x86_64 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -fvisibility=hidden -Wno-implicit-fallthrough -Wno-old-style-definition -Wno-type-limits -Wno-undef -Wno-unused-parameter -Wno-cast-align -Wno-unused-function -Wno-return-type -Wno-sometimes-uninitialized -MD -MQ girepository/cmph/libcmph.a.p/graph.c.o -MF girepository/cmph/libcmph.a.p/graph.c.o.d -o girepository/cmph/libcmph.a.p/graph.c.o -c ../gobject-introspection-1.78.1/girepository/cmph/graph.c [20/165] /usr/bin/clang -Igirepository/cmph/libcmph.a.p -Igirepository/cmph -I../gobject-introspection-1.78.1/girepository/cmph -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include -fcolor-diagnostics -Wall -Winvalid-pch -Wextra -std=gnu99 -O2 -g -Warray-bounds -Wcast-align -Wformat=2 -Wformat-nonliteral -Wformat-security -Wimplicit-function-declaration -Winit-self -Wmissing-declarations -Wmissing-format-attribute -Wmissing-include-dirs -Wmissing-noreturn -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wpacked -Wpointer-arith -Wreturn-type -Wshadow -Wsign-compare -Wstrict-aliasing -Wstrict-prototypes -Wundef -Wunused-but-set-variable -Wwrite-strings -fno-strict-aliasing -DHAVE_CONFIG_H -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -arch arm64 -arch x86_64 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -fvisibility=hidden -Wno-implicit-fallthrough -Wno-old-style-definition -Wno-type-limits -Wno-undef -Wno-unused-parameter -Wno-cast-align -Wno-unused-function -Wno-return-type -Wno-sometimes-uninitialized -MD -MQ girepository/cmph/libcmph.a.p/miller_rabin.c.o -MF girepository/cmph/libcmph.a.p/miller_rabin.c.o.d -o girepository/cmph/libcmph.a.p/miller_rabin.c.o -c ../gobject-introspection-1.78.1/girepository/cmph/miller_rabin.c [21/165] /usr/bin/clang -Igirepository/cmph/libcmph.a.p -Igirepository/cmph -I../gobject-introspection-1.78.1/girepository/cmph -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include -fcolor-diagnostics -Wall -Winvalid-pch -Wextra -std=gnu99 -O2 -g -Warray-bounds -Wcast-align -Wformat=2 -Wformat-nonliteral -Wformat-security -Wimplicit-function-declaration -Winit-self -Wmissing-declarations -Wmissing-format-attribute -Wmissing-include-dirs -Wmissing-noreturn -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wpacked -Wpointer-arith -Wreturn-type -Wshadow -Wsign-compare -Wstrict-aliasing -Wstrict-prototypes -Wundef -Wunused-but-set-variable -Wwrite-strings -fno-strict-aliasing -DHAVE_CONFIG_H -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -arch arm64 -arch x86_64 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -fvisibility=hidden -Wno-implicit-fallthrough -Wno-old-style-definition -Wno-type-limits -Wno-undef -Wno-unused-parameter -Wno-cast-align -Wno-unused-function -Wno-return-type -Wno-sometimes-uninitialized -MD -MQ girepository/cmph/libcmph.a.p/vqueue.c.o -MF girepository/cmph/libcmph.a.p/vqueue.c.o.d -o girepository/cmph/libcmph.a.p/vqueue.c.o -c ../gobject-introspection-1.78.1/girepository/cmph/vqueue.c [22/165] /usr/bin/clang -Igirepository/cmph/libcmph.a.p -Igirepository/cmph -I../gobject-introspection-1.78.1/girepository/cmph -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include -fcolor-diagnostics -Wall -Winvalid-pch -Wextra -std=gnu99 -O2 -g -Warray-bounds -Wcast-align -Wformat=2 -Wformat-nonliteral -Wformat-security -Wimplicit-function-declaration -Winit-self -Wmissing-declarations -Wmissing-format-attribute -Wmissing-include-dirs -Wmissing-noreturn -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wpacked -Wpointer-arith -Wreturn-type -Wshadow -Wsign-compare -Wstrict-aliasing -Wstrict-prototypes -Wundef -Wunused-but-set-variable -Wwrite-strings -fno-strict-aliasing -DHAVE_CONFIG_H -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -arch arm64 -arch x86_64 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -fvisibility=hidden -Wno-implicit-fallthrough -Wno-old-style-definition -Wno-type-limits -Wno-undef -Wno-unused-parameter -Wno-cast-align -Wno-unused-function -Wno-return-type -Wno-sometimes-uninitialized -MD -MQ girepository/cmph/libcmph.a.p/vstack.c.o -MF girepository/cmph/libcmph.a.p/vstack.c.o.d -o girepository/cmph/libcmph.a.p/vstack.c.o -c ../gobject-introspection-1.78.1/girepository/cmph/vstack.c [23/165] /usr/bin/clang -Igirepository/cmph/libcmph.a.p -Igirepository/cmph -I../gobject-introspection-1.78.1/girepository/cmph -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include -fcolor-diagnostics -Wall -Winvalid-pch -Wextra -std=gnu99 -O2 -g -Warray-bounds -Wcast-align -Wformat=2 -Wformat-nonliteral -Wformat-security -Wimplicit-function-declaration -Winit-self -Wmissing-declarations -Wmissing-format-attribute -Wmissing-include-dirs -Wmissing-noreturn -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wpacked -Wpointer-arith -Wreturn-type -Wshadow -Wsign-compare -Wstrict-aliasing -Wstrict-prototypes -Wundef -Wunused-but-set-variable -Wwrite-strings -fno-strict-aliasing -DHAVE_CONFIG_H -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -arch arm64 -arch x86_64 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -fvisibility=hidden -Wno-implicit-fallthrough -Wno-old-style-definition -Wno-type-limits -Wno-undef -Wno-unused-parameter -Wno-cast-align -Wno-unused-function -Wno-return-type -Wno-sometimes-uninitialized -MD -MQ girepository/cmph/libcmph.a.p/select.c.o -MF girepository/cmph/libcmph.a.p/select.c.o.d -o girepository/cmph/libcmph.a.p/select.c.o -c ../gobject-introspection-1.78.1/girepository/cmph/select.c [24/165] rm -f girepository/cmph/libcmph.a && llvm-ar csrD girepository/cmph/libcmph.a girepository/cmph/libcmph.a.p/bdz.c.o girepository/cmph/libcmph.a.p/bdz_ph.c.o girepository/cmph/libcmph.a.p/bmz8.c.o girepository/cmph/libcmph.a.p/bmz.c.o girepository/cmph/libcmph.a.p/brz.c.o girepository/cmph/libcmph.a.p/buffer_entry.c.o girepository/cmph/libcmph.a.p/buffer_manager.c.o girepository/cmph/libcmph.a.p/chd.c.o girepository/cmph/libcmph.a.p/chd_ph.c.o girepository/cmph/libcmph.a.p/chm.c.o girepository/cmph/libcmph.a.p/cmph.c.o girepository/cmph/libcmph.a.p/cmph_structs.c.o girepository/cmph/libcmph.a.p/compressed_rank.c.o girepository/cmph/libcmph.a.p/compressed_seq.c.o girepository/cmph/libcmph.a.p/fch_buckets.c.o girepository/cmph/libcmph.a.p/fch.c.o girepository/cmph/libcmph.a.p/graph.c.o girepository/cmph/libcmph.a.p/hash.c.o girepository/cmph/libcmph.a.p/jenkins_hash.c.o girepository/cmph/libcmph.a.p/miller_rabin.c.o girepository/cmph/libcmph.a.p/select.c.o girepository/cmph/libcmph.a.p/vqueue.c.o girepository/cmph/libcmph.a.p/vstack.c.o [25/165] /usr/bin/clang -Igirepository/cmph/cmph-bdz-test.p -Igirepository/cmph -I../gobject-introspection-1.78.1/girepository/cmph -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include -fcolor-diagnostics -Wall -Winvalid-pch -Wextra -std=gnu99 -O2 -g -Warray-bounds -Wcast-align -Wformat=2 -Wformat-nonliteral -Wformat-security -Wimplicit-function-declaration -Winit-self -Wmissing-declarations -Wmissing-format-attribute -Wmissing-include-dirs -Wmissing-noreturn -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wpacked -Wpointer-arith -Wreturn-type -Wshadow -Wsign-compare -Wstrict-aliasing -Wstrict-prototypes -Wundef -Wunused-but-set-variable -Wwrite-strings -fno-strict-aliasing -DHAVE_CONFIG_H -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -arch arm64 -arch x86_64 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -Wno-old-style-definition -Wno-type-limits -MD -MQ girepository/cmph/cmph-bdz-test.p/.._cmph-bdz-test.c.o -MF girepository/cmph/cmph-bdz-test.p/.._cmph-bdz-test.c.o.d -o girepository/cmph/cmph-bdz-test.p/.._cmph-bdz-test.c.o -c ../gobject-introspection-1.78.1/girepository/cmph-bdz-test.c [26/165] /usr/bin/clang -o girepository/cmph/cmph-bdz-test girepository/cmph/cmph-bdz-test.p/.._cmph-bdz-test.c.o -L/opt/local/lib -I/opt/local/include -Wl,-dead_strip_dylibs -Wl,-headerpad_max_install_names -Wl,-undefined,error -Wl,-headerpad_max_install_names -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -arch arm64 -arch x86_64 -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -arch arm64 -arch x86_64 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -Wl,-rpath,/opt/local/lib girepository/cmph/libcmph.a /opt/local/lib/libglib-2.0.dylib /opt/local/lib/libintl.dylib /opt/local/lib/libgobject-2.0.dylib -lm FAILED: girepository/cmph/cmph-bdz-test /usr/bin/clang -o girepository/cmph/cmph-bdz-test girepository/cmph/cmph-bdz-test.p/.._cmph-bdz-test.c.o -L/opt/local/lib -I/opt/local/include -Wl,-dead_strip_dylibs -Wl,-headerpad_max_install_names -Wl,-undefined,error -Wl,-headerpad_max_install_names -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -arch arm64 -arch x86_64 -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -arch arm64 -arch x86_64 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -Wl,-rpath,/opt/local/lib girepository/cmph/libcmph.a /opt/local/lib/libglib-2.0.dylib /opt/local/lib/libintl.dylib /opt/local/lib/libgobject-2.0.dylib -lm ld: warning: ignoring file girepository/cmph/libcmph.a, building for macOS-arm64 but attempting to link with file built for unknown-unsupported file format ( 0x21 0x3C 0x61 0x72 0x63 0x68 0x3E 0x0A 0x23 0x31 0x2F 0x31 0x32 0x20 0x20 0x20 ) Undefined symbols for architecture arm64: "_cmph_config_new", referenced from: _build in .._cmph-bdz-test.c.o "_cmph_config_set_algo", referenced from: _build in .._cmph-bdz-test.c.o "_cmph_destroy", referenced from: _test_search_packed in .._cmph-bdz-test.c.o "_cmph_io_vector_adapter", referenced from: _build in .._cmph-bdz-test.c.o "_cmph_new", referenced from: _build in .._cmph-bdz-test.c.o "_cmph_pack", referenced from: _test_search_packed in .._cmph-bdz-test.c.o "_cmph_packed_size", referenced from: _test_search_packed in .._cmph-bdz-test.c.o "_cmph_search", referenced from: _test_search in .._cmph-bdz-test.c.o "_cmph_search_packed", referenced from: _test_search_packed in .._cmph-bdz-test.c.o "_cmph_size", referenced from: _test_search in .._cmph-bdz-test.c.o _test_search_packed in .._cmph-bdz-test.c.o _build in .._cmph-bdz-test.c.o ld: symbol(s) not found for architecture arm64 clang: error: linker command failed with exit code 1 (use -v to see invocation) [27/165] /usr/bin/clang -Igirepository/libgirepository-gthash.a.p -Igirepository -I../gobject-introspection-1.78.1/girepository -I. -I../gobject-introspection-1.78.1 -Igirepository/cmph -I../gobject-introspection-1.78.1/girepository/cmph -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include -fcolor-diagnostics -Wall -Winvalid-pch -Wextra -std=gnu99 -O2 -g -Warray-bounds -Wcast-align -Wformat=2 -Wformat-nonliteral -Wformat-security -Wimplicit-function-declaration -Winit-self -Wmissing-declarations -Wmissing-format-attribute -Wmissing-include-dirs -Wmissing-noreturn -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wpacked -Wpointer-arith -Wreturn-type -Wshadow -Wsign-compare -Wstrict-aliasing -Wstrict-prototypes -Wundef -Wunused-but-set-variable -Wwrite-strings -fno-strict-aliasing -DHAVE_CONFIG_H -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -arch arm64 -arch x86_64 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -fvisibility=hidden -Wno-old-style-definition -Wno-cast-align -MD -MQ girepository/libgirepository-gthash.a.p/gthash.c.o -MF girepository/libgirepository-gthash.a.p/gthash.c.o.d -o girepository/libgirepository-gthash.a.p/gthash.c.o -c ../gobject-introspection-1.78.1/girepository/gthash.c [28/165] /usr/bin/clang -Igirepository/libgirepository-internals.a.p -Igirepository -I../gobject-introspection-1.78.1/girepository -I. -I../gobject-introspection-1.78.1 -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include -fcolor-diagnostics -Wall -Winvalid-pch -Wextra -std=gnu99 -O2 -g -Warray-bounds -Wcast-align -Wformat=2 -Wformat-nonliteral -Wformat-security -Wimplicit-function-declaration -Winit-self -Wmissing-declarations -Wmissing-format-attribute -Wmissing-include-dirs -Wmissing-noreturn -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wpacked -Wpointer-arith -Wreturn-type -Wshadow -Wsign-compare -Wstrict-aliasing -Wstrict-prototypes -Wundef -Wunused-but-set-variable -Wwrite-strings -fno-strict-aliasing -DHAVE_CONFIG_H -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -arch arm64 -arch x86_64 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -fvisibility=hidden -Wno-unused-parameter -Wno-cast-align -MD -MQ girepository/libgirepository-internals.a.p/giroffsets.c.o -MF girepository/libgirepository-internals.a.p/giroffsets.c.o.d -o girepository/libgirepository-internals.a.p/giroffsets.c.o -c ../gobject-introspection-1.78.1/girepository/giroffsets.c In file included from ../gobject-introspection-1.78.1/girepository/giroffsets.c:22: In file included from ../gobject-introspection-1.78.1/girepository/girffi.h:25: In file included from /opt/local/include/ffi.h:2: /opt/local/include/arm64-ffi.h:477:5: warning: 'FFI_GO_CLOSURES' is not defined, evaluates to 0 [-Wundef] #if FFI_GO_CLOSURES ^ 1 warning generated. [29/165] /usr/bin/clang -Igirepository/libgirepository-internals.a.p -Igirepository -I../gobject-introspection-1.78.1/girepository -I. -I../gobject-introspection-1.78.1 -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include -fcolor-diagnostics -Wall -Winvalid-pch -Wextra -std=gnu99 -O2 -g -Warray-bounds -Wcast-align -Wformat=2 -Wformat-nonliteral -Wformat-security -Wimplicit-function-declaration -Winit-self -Wmissing-declarations -Wmissing-format-attribute -Wmissing-include-dirs -Wmissing-noreturn -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wpacked -Wpointer-arith -Wreturn-type -Wshadow -Wsign-compare -Wstrict-aliasing -Wstrict-prototypes -Wundef -Wunused-but-set-variable -Wwrite-strings -fno-strict-aliasing -DHAVE_CONFIG_H -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -arch arm64 -arch x86_64 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -fvisibility=hidden -Wno-unused-parameter -Wno-cast-align -MD -MQ girepository/libgirepository-internals.a.p/girmodule.c.o -MF girepository/libgirepository-internals.a.p/girmodule.c.o.d -o girepository/libgirepository-internals.a.p/girmodule.c.o -c ../gobject-introspection-1.78.1/girepository/girmodule.c [30/165] /usr/bin/clang -Igirepository/libgirepository-internals.a.p -Igirepository -I../gobject-introspection-1.78.1/girepository -I. -I../gobject-introspection-1.78.1 -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include -fcolor-diagnostics -Wall -Winvalid-pch -Wextra -std=gnu99 -O2 -g -Warray-bounds -Wcast-align -Wformat=2 -Wformat-nonliteral -Wformat-security -Wimplicit-function-declaration -Winit-self -Wmissing-declarations -Wmissing-format-attribute -Wmissing-include-dirs -Wmissing-noreturn -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wpacked -Wpointer-arith -Wreturn-type -Wshadow -Wsign-compare -Wstrict-aliasing -Wstrict-prototypes -Wundef -Wunused-but-set-variable -Wwrite-strings -fno-strict-aliasing -DHAVE_CONFIG_H -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -arch arm64 -arch x86_64 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -fvisibility=hidden -Wno-unused-parameter -Wno-cast-align -MD -MQ girepository/libgirepository-internals.a.p/girwriter.c.o -MF girepository/libgirepository-internals.a.p/girwriter.c.o.d -o girepository/libgirepository-internals.a.p/girwriter.c.o -c ../gobject-introspection-1.78.1/girepository/girwriter.c [31/165] /usr/bin/clang -Igirepository/libgirepository-1.0.1.dylib.p -Igirepository -I../gobject-introspection-1.78.1/girepository -I. -I../gobject-introspection-1.78.1 -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include -fcolor-diagnostics -Wall -Winvalid-pch -Wextra -std=gnu99 -O2 -g -Warray-bounds -Wcast-align -Wformat=2 -Wformat-nonliteral -Wformat-security -Wimplicit-function-declaration -Winit-self -Wmissing-declarations -Wmissing-format-attribute -Wmissing-include-dirs -Wmissing-noreturn -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wpacked -Wpointer-arith -Wreturn-type -Wshadow -Wsign-compare -Wstrict-aliasing -Wstrict-prototypes -Wundef -Wunused-but-set-variable -Wwrite-strings -fno-strict-aliasing -DHAVE_CONFIG_H -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -arch arm64 -arch x86_64 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -fvisibility=hidden -DG_IREPOSITORY_COMPILATION -Wno-unused-parameter -Wno-type-limits -Wno-cast-align -Wno-missing-field-initializers -MD -MQ girepository/libgirepository-1.0.1.dylib.p/gdump.c.o -MF girepository/libgirepository-1.0.1.dylib.p/gdump.c.o.d -o girepository/libgirepository-1.0.1.dylib.p/gdump.c.o -c ../gobject-introspection-1.78.1/girepository/gdump.c [32/165] /usr/bin/clang -Igirepository/libgirepository-internals.a.p -Igirepository -I../gobject-introspection-1.78.1/girepository -I. -I../gobject-introspection-1.78.1 -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include -fcolor-diagnostics -Wall -Winvalid-pch -Wextra -std=gnu99 -O2 -g -Warray-bounds -Wcast-align -Wformat=2 -Wformat-nonliteral -Wformat-security -Wimplicit-function-declaration -Winit-self -Wmissing-declarations -Wmissing-format-attribute -Wmissing-include-dirs -Wmissing-noreturn -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wpacked -Wpointer-arith -Wreturn-type -Wshadow -Wsign-compare -Wstrict-aliasing -Wstrict-prototypes -Wundef -Wunused-but-set-variable -Wwrite-strings -fno-strict-aliasing -DHAVE_CONFIG_H -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -arch arm64 -arch x86_64 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -fvisibility=hidden -Wno-unused-parameter -Wno-cast-align -MD -MQ girepository/libgirepository-internals.a.p/girnode.c.o -MF girepository/libgirepository-internals.a.p/girnode.c.o.d -o girepository/libgirepository-internals.a.p/girnode.c.o -c ../gobject-introspection-1.78.1/girepository/girnode.c [33/165] /usr/bin/clang -Igirepository/libgirepository-internals.a.p -Igirepository -I../gobject-introspection-1.78.1/girepository -I. -I../gobject-introspection-1.78.1 -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include -fcolor-diagnostics -Wall -Winvalid-pch -Wextra -std=gnu99 -O2 -g -Warray-bounds -Wcast-align -Wformat=2 -Wformat-nonliteral -Wformat-security -Wimplicit-function-declaration -Winit-self -Wmissing-declarations -Wmissing-format-attribute -Wmissing-include-dirs -Wmissing-noreturn -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wpacked -Wpointer-arith -Wreturn-type -Wshadow -Wsign-compare -Wstrict-aliasing -Wstrict-prototypes -Wundef -Wunused-but-set-variable -Wwrite-strings -fno-strict-aliasing -DHAVE_CONFIG_H -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -arch arm64 -arch x86_64 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -fvisibility=hidden -Wno-unused-parameter -Wno-cast-align -MD -MQ girepository/libgirepository-internals.a.p/girparser.c.o -MF girepository/libgirepository-internals.a.p/girparser.c.o.d -o girepository/libgirepository-internals.a.p/girparser.c.o -c ../gobject-introspection-1.78.1/girepository/girparser.c ninja: build stopped: subcommand failed. Command failed: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gnome_gobject-introspection/gobject-introspection/work/build" && /opt/local/bin/ninja -j8 -v Exit code: 1 Error: Failed to build gobject-introspection: command execution failed DEBUG: Error code: CHILDSTATUS 21988 1 DEBUG: Backtrace: command execution failed DEBUG: while executing DEBUG: "system {*}$notty {*}$callback {*}$nice $fullcmdstring" DEBUG: invoked from within DEBUG: "command_exec -callback portprogress::target_progress_callback build" DEBUG: (procedure "portbuild::build_main" line 8) DEBUG: invoked from within DEBUG: "$procedure $targetname" Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gnome_gobject-introspection/gobject-introspection/main.log for details.
Attachments (1)
Change History (5)
Changed 14 months ago by tiuno
Attachment: | gobject-introspection-1.7.8.log added |
---|
comment:1 Changed 14 months ago by ryandesign (Ryan Carsten Schmidt)
Cc: | mascguy removed |
---|---|
Owner: | set to mascguy |
Status: | new → assigned |
Summary: | gobject-introspection-1.78.1_0+universal: FAILED: girepository/cmph/cmph-bdz-test → gobject-introspection @1.78.1_0+universal: FAILED: girepository/cmph/cmph-bdz-test |
Replying to tiuno:
ld: warning: ignoring file girepository/cmph/libcmph.a, building for macOS-arm64 but attempting to link with file built for unknown-unsupported file format ( 0x21 0x3C 0x61 0x72 0x63 0x68 0x3E 0x0A 0x23 0x31 0x2F 0x31 0x32 0x20 0x20 0x20 ) Undefined symbols for architecture arm64:
The undefined symbols would presumably have been in that libcmph.a archive that has the wrong format. Those hex bytes are:
!<arch> #1/12
which strikes me as unusual and not very file-format-like.
We had a successful build of this port on all systems on our automated buildbot.
From its log, this is how libcmph.a was created:
[24/165] rm -f girepository/cmph/libcmph.a && ar csr girepository/cmph/libcmph.a girepository/cmph/libcmph.a.p/bdz.c.o girepository/cmph/libcmph.a.p/bdz_ph.c.o girepository/cmph/libcmph.a.p/bmz8.c.o girepository/cmph/libcmph.a.p/bmz.c.o girepository/cmph/libcmph.a.p/brz.c.o girepository/cmph/libcmph.a.p/buffer_entry.c.o girepository/cmph/libcmph.a.p/buffer_manager.c.o girepository/cmph/libcmph.a.p/chd.c.o girepository/cmph/libcmph.a.p/chd_ph.c.o girepository/cmph/libcmph.a.p/chm.c.o girepository/cmph/libcmph.a.p/cmph.c.o girepository/cmph/libcmph.a.p/cmph_structs.c.o girepository/cmph/libcmph.a.p/compressed_rank.c.o girepository/cmph/libcmph.a.p/compressed_seq.c.o girepository/cmph/libcmph.a.p/fch_buckets.c.o girepository/cmph/libcmph.a.p/fch.c.o girepository/cmph/libcmph.a.p/graph.c.o girepository/cmph/libcmph.a.p/hash.c.o girepository/cmph/libcmph.a.p/jenkins_hash.c.o girepository/cmph/libcmph.a.p/miller_rabin.c.o girepository/cmph/libcmph.a.p/select.c.o girepository/cmph/libcmph.a.p/vqueue.c.o girepository/cmph/libcmph.a.p/vstack.c.o
Comparing that to your log, yours used llvm-ar
instead of ar
:
[24/165] rm -f girepository/cmph/libcmph.a && llvm-ar csrD girepository/cmph/libcmph.a girepository/cmph/libcmph.a.p/bdz.c.o girepository/cmph/libcmph.a.p/bdz_ph.c.o girepository/cmph/libcmph.a.p/bmz8.c.o girepository/cmph/libcmph.a.p/bmz.c.o girepository/cmph/libcmph.a.p/brz.c.o girepository/cmph/libcmph.a.p/buffer_entry.c.o girepository/cmph/libcmph.a.p/buffer_manager.c.o girepository/cmph/libcmph.a.p/chd.c.o girepository/cmph/libcmph.a.p/chd_ph.c.o girepository/cmph/libcmph.a.p/chm.c.o girepository/cmph/libcmph.a.p/cmph.c.o girepository/cmph/libcmph.a.p/cmph_structs.c.o girepository/cmph/libcmph.a.p/compressed_rank.c.o girepository/cmph/libcmph.a.p/compressed_seq.c.o girepository/cmph/libcmph.a.p/fch_buckets.c.o girepository/cmph/libcmph.a.p/fch.c.o girepository/cmph/libcmph.a.p/graph.c.o girepository/cmph/libcmph.a.p/hash.c.o girepository/cmph/libcmph.a.p/jenkins_hash.c.o girepository/cmph/libcmph.a.p/miller_rabin.c.o girepository/cmph/libcmph.a.p/select.c.o girepository/cmph/libcmph.a.p/vqueue.c.o girepository/cmph/libcmph.a.p/vstack.c.o
Do you have /opt/local/bin/llvm-ar on your system? If so, is it installed by a port (what does port provides /opt/local/bin/llvm-ar
say?) If so, which port is it, and does the problem persist if you deactivate that port, then sudo port clean gobject-introspection
and try again? If llvm-ar exists but was not provided by a port, have you used sudo port select llvm
to select a version of llvm? If so, which one, and does the problem persist if you use sudo port select llvm none
, then sudo port clean gobject-introspection
and try again?
comment:2 Changed 14 months ago by tiuno
$: port select llvm Available versions for llvm: mp-llvm-13 (active) mp-llvm-15 none $: port provides /opt/local/bin/llvm-ar /opt/local/bin/llvm-ar is not provided by a MacPorts port.
After setting llvm
to version none
the binary llvm-ar
is not present anymore.
Above is the result of the command you asked me to run.
Selecting the version none
for the port llvm
solved
the problem.
However, I don't understand why the binary llvm-ar
is
not set as provided by MP even though the port is installed
and a version active.
comment:3 Changed 8 months ago by potmj (Michael Pot)
I have recently encountered this problem on 10.11.6 and I too found this a successful workaround:-
$ sudo port select --set llvm none $ sudo port clean gobject-introspection $ sudo port upgrade gobject-introspection
Seeing the problem was with libcmph.a, previously I had tried separately installing cmph to see if the configure would pick up the installed /opt/local/lib/libcmph.a
, which happily builds universal with llvm
set to mp-llvm-17
(for example).
$ sudo port install cmph +universal $ sudo port clean gobject-introspection $ sudo port upgrade gobject-introspection ---> Computing dependencies for gobject-introspection ---> Fetching distfiles for gobject-introspection ---> Verifying checksums for gobject-introspection ---> Extracting gobject-introspection ---> Applying patches to gobject-introspection ---> Configuring gobject-introspection ---> Building gobject-introspection Error: Failed to build gobject-introspection: command execution failed
But this had no effect, reproducing the same build error in the logs. I don't understand why llvm-ar fails, however the sudo port --set llvm none
workaround works.
I don't understand why the buildbots don't pick up llvm-ar and fail, yet some of us end users do. This all seems a bit like a re-ocurance of ticket:64768, but at least we have a workaround.
Reviewing questions asked above, I strangely find:-
$ port provides /opt/local/bin/llvm-ar /opt/local/bin/llvm-ar is not provided by a MacPorts port.
But
$ ls -al /opt/local/bin/llvm-ar lrwxr-xr-x 1 root admin 28 19 Mar 12:48 /opt/local/bin/llvm-ar -> /opt/local/bin/llvm-ar-mp-17
As I would have expected from a recent port upgrade outdated
Hope this helps :-)
comment:4 Changed 8 months ago by kencu (Ken)
meson will look for llvm-ar and will use it if llvm-ar is found, over "ar".
however, llvm-ar does not support universal building, so universal builds will fail if llvm-ar is found.
Installation log