[Bug 271148] x11-toolkits/swt fails to build using poudriere on stable-13.2 amd64 with error passing arguments to a function without a prototype
Date: Sun, 30 Apr 2023 13:48:41 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=271148 Bug ID: 271148 Summary: x11-toolkits/swt fails to build using poudriere on stable-13.2 amd64 with error passing arguments to a function without a prototype Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: makc@FreeBSD.org Reporter: transitive@gmail.com Flags: maintainer-feedback?(makc@FreeBSD.org) Assignee: makc@FreeBSD.org The port x11-toolkits/swt fails to build for me using poudriere and FreeBSD 13.2-STABLE 1302505 amd64. Below is the section of the build log demonstrating the error: build.nativeLibraries: [exec] [0;32mCairo found, compiling SWT support for the cairo graphics library.[0m [exec] [0;32mlibjawt.so found, the SWT/AWT integration library will be compiled.[0m [exec] [0;32mBuilding SWT/GTK+ for Architectures: freebsd x86_64[0m [exec] [0;31m*** Warning: Cannot compile Webkit2 Extension because 'pkg-config --exists webkit2gtk-web-extension-4.0' check failed. Please install webkitgtk4-devel.ARCH on your system.[0m [exec] [0;32mBuilding GTK3 bindings:[0m [exec] gmake[1]: Entering directory '/wrkdirs/usr/ports/x11-toolkits/swt/work/swt-4.21_1' [exec] cc -O -Wall -fPIC -DSWT_VERSION=4946r21 -DLINUX -DGTK -I/usr/local/openjdk8/include -I/usr/local/openjdk8/include/freebsd -I/usr/local/include -DJNI64 -Werror -c swt.c [exec] cc -O -Wall -fPIC -DSWT_VERSION=4946r21 -DLINUX -DGTK -I/usr/local/openjdk8/include -I/usr/local/openjdk8/include/freebsd -I/usr/local/include -DJNI64 -Werror -c -o c.o c.c [exec] cc -O -Wall -fPIC -DSWT_VERSION=4946r21 -DLINUX -DGTK -I/usr/local/openjdk8/include -I/usr/local/openjdk8/include/freebsd -I/usr/local/include -DJNI64 -Werror -c -o c_stats.o c_stats.c [exec] cc -O -Wall -fPIC -DSWT_VERSION=4946r21 -DLINUX -DGTK -I/usr/local/openjdk8/include -I/usr/local/openjdk8/include/freebsd -I/usr/local/include -DJNI64 -Werror `pkg-config --cflags gtk+-3.0 gtk+-unix-print-3.0` -DUSE_ASSEMBLER -c callback.c [exec] cc -shared -fPIC -s -o libswt-gtk-4946r21.so swt.o c.o c_stats.o callback.o [exec] cc -O -Wall -fPIC -DSWT_VERSION=4946r21 -DLINUX -DGTK -I/usr/local/openjdk8/include -I/usr/local/openjdk8/include/freebsd -I/usr/local/include -DJNI64 -Werror `pkg-config --cflags gtk+-3.0 gtk+-unix-print-3.0` -c os.c [exec] gmake[1]: Leaving directory '/wrkdirs/usr/ports/x11-toolkits/swt/work/swt-4.21_1' [exec] [0;31m*** GTK3 Build failed, aborting further actions..[0m [exec] os.c:10214:31: error: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Werror,-Wdeprecated-non-prototype] [exec] rc = (jint)((jint (*)())arg0)(arg1, arg2, arg3); [exec] ^ [exec] os.c:10226:31: error: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Werror,-Wdeprecated-non-prototype] [exec] rc = (jint)((jint (*)())arg0)(arg1, arg2); [exec] ^ [exec] os.c:10808:33: error: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Werror,-Wdeprecated-non-prototype] [exec] rc = (jlong)((jlong (*)())arg0)(arg1, arg2, arg3, arg4); [exec] ^ [exec] os.c:10820:33: error: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Werror,-Wdeprecated-non-prototype] [exec] rc = (jlong)((jlong (*)())arg0)(arg1, arg2, arg3, arg4, arg5, arg6); [exec] ^ [exec] os.c:10832:33: error: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Werror,-Wdeprecated-non-prototype] [exec] rc = (jlong)((jlong (*)())arg0)(arg1, arg2, arg3, arg4, arg5, arg6, arg7); [exec] ^ [exec] 5 errors generated. [exec] gmake[1]: *** [make_freebsd.mak:161: os.o] Error 1 BUILD FAILED /wrkdirs/usr/ports/x11-toolkits/swt/work/swt-4.21_1/build.xml:61: exec returned: 2 -- You are receiving this mail because: You are the assignee for the bug.