jrjsmrtn opened a new issue, #576: URL: https://github.com/apache/age/issues/576
**Describe the bug** - AGE 1.1.0 is failing to build for PostgreSQL 12.13 on macOS 13.1 with: `error: assigning to 'Oid' (aka 'unsigned int') from incompatible type 'void'`. - AGE 1.1.0 is successfully building, installing, loading and executing in PostgreSQL 11.14 on the same machine. **What is the command that caused the error?** ```sh $ git clone g...@github.com:apache/age.git $ cd age $ make PG_CONFIG=/opt/local/lib/postgresql12/bin/pg_config ``` ``` /usr/bin/clang -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Werror=vla -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -Wno-unused-command-line-argument -Wno-compound-token-split-by-macro -pipe -Os -isysroot/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX13.sdk -I.//src/include -I.//src/include/parser -I. -I./ -I/opt/local/include/postgresql12/server -I/opt/local/include/postgresql12/internal -I/opt/local/include -isysroot/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX13.sdk -I/opt/local/include/libxml2 -I/opt/local/include -c -o src/backend/age.o src/backend/age.c /usr/bin/clang -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Werror=vla -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -Wno-unused-command-line-argument -Wno-compound-token-split-by-macro -pipe -Os -isysroot/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX13.sdk -I.//src/include -I.//src/include/parser -I. -I./ -I/opt/local/include/postgresql12/server -I/opt/local/include/postgresql12/internal -I/opt/local/include -isysroot/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX13.sdk -I/opt/local/include/libxml2 -I/opt/local/include -c -o src/backend/catalog/ag_catalog.o src/backend/catalog/ag_catalog.c /usr/bin/clang -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Werror=vla -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -Wno-unused-command-line-argument -Wno-compound-token-split-by-macro -pipe -Os -isysroot/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX13.sdk -I.//src/include -I.//src/include/parser -I. -I./ -I/opt/local/include/postgresql12/server -I/opt/local/include/postgresql12/internal -I/opt/local/include -isysroot/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX13.sdk -I/opt/local/include/libxml2 -I/opt/local/include -c -o src/backend/catalog/ag_graph.o src/backend/catalog/ag_graph.c src/backend/catalog/ag_graph.c:67:15: error: assigning to 'Oid' (aka 'unsigned int') from incompatible type 'void' graph_oid = CatalogTupleInsert(ag_graph, tuple); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1 error generated. make: *** [src/backend/catalog/ag_graph.o] Error 1 ``` **Expected behavior** A successful build :-) **Environment (please complete the following information):** - Version: AGE 1.1.0 (git clone) - macOS 13.1 22C65 on arm64 - Xcode 14.2 14C18 - MacPorts 2.8.0 - clang version 15.0.7 Target: arm64-apple-darwin22.2.0 Thread model: posix InstalledDir: /opt/local/libexec/llvm-15/bin **Additional context** ```sh $ /opt/local/lib/postgresql12/bin/pg_config BINDIR = /opt/local/lib/postgresql12/bin DOCDIR = /opt/local/share/doc/postgresql12 HTMLDIR = /opt/local/share/doc/postgresql12 INCLUDEDIR = /opt/local/include/postgresql12 PKGINCLUDEDIR = /opt/local/include/postgresql12 INCLUDEDIR-SERVER = /opt/local/include/postgresql12/server LIBDIR = /opt/local/lib/postgresql12 PKGLIBDIR = /opt/local/lib/postgresql12 LOCALEDIR = /opt/local/share/locale MANDIR = /opt/local/share/man SHAREDIR = /opt/local/share/postgresql12 SYSCONFDIR = /opt/local/etc/postgresql12 PGXS = /opt/local/lib/postgresql12/pgxs/src/makefiles/pgxs.mk CONFIGURE = '--prefix=/opt/local' 'PG_SYSROOT=disabled' '--sysconfdir=/opt/local/etc/postgresql12' '--bindir=/opt/local/lib/postgresql12/bin' '--libdir=/opt/local/lib/postgresql12' '--includedir=/opt/local/include/postgresql12' '--datadir=/opt/local/share/postgresql12' '--docdir=/opt/local/share/doc/postgresql12' '--mandir=/opt/local/share/man' '--with-includes=/opt/local/include' '--with-libraries=/opt/local/lib' '--with-openssl' '--with-bonjour' '--with-readline' '--with-zlib' '--with-libxml' '--with-libxslt' '--with-gssapi' '--enable-thread-safety' '--with-uuid=e2fs' '--with-icu' 'CC=/usr/bin/clang' 'CFLAGS=-pipe -Os -isysroot/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX13.sdk -arch arm64' 'LDFLAGS=-L/opt/local/lib -Wl,-headerpad_max_install_names -headerpad_max_install_names -Wl,-rpath,/opt/local/lib/libgcc -Wl,-syslibroot,/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX13.sdk -arch arm64' ' CPPFLAGS=-I/opt/local/include -isysroot/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX13.sdk' 'CXX=/usr/bin/clang++' 'CXXFLAGS=-pipe -Os -stdlib=libc++ -isysroot/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX13.sdk -arch arm64' CC = /usr/bin/clang CPPFLAGS = -I/opt/local/include -isysroot/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX13.sdk -I/opt/local/include/libxml2 -I/opt/local/include CFLAGS = -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Werror=vla -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -Wno-unused-command-line-argument -Wno-compound-token-split-by-macro -pipe -Os -isysroot/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX13.sdk -arch arm64 CFLAGS_SL = LDFLAGS = -L/opt/local/lib -Wl,-headerpad_max_install_names -headerpad_max_install_names -Wl,-rpath,/opt/local/lib/libgcc -Wl,-syslibroot,/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX13.sdk -arch arm64 -L/opt/local/lib -L/opt/local/lib -Wl,-dead_strip_dylibs LDFLAGS_EX = LDFLAGS_SL = LIBS = -lpgcommon -lpgport -lxslt -lxml2 -lssl -lcrypto -lgssapi_krb5 -lz -lreadline -lm VERSION = PostgreSQL 12.13 ``` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: dev-unsubscr...@age.apache.org.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org