=> Bootstrap dependency digest>=20211023: found digest-20220214 ===> Skipping vulnerability checks. WARNING: No /usr/pkg/pkgdb/pkg-vulnerabilities file found. WARNING: To fix run: `/usr/sbin/pkg_admin -K /usr/pkg/pkgdb fetch-pkg-vulnerabilities'. ===> Building for swt-4.21nb5 cd /pbulk/work/x11/swt/work/swt-4.21-gtk-linux-x86_64 && /usr/bin/env SWT_VERSION=4946r21 MAKE_CAIRO=make_cairo USETOOLS=no PTHREAD_CFLAGS=\ -pthread\ PTHREAD_LDFLAGS=\ -pthread PTHREAD_LIBS= PTHREADBASE=/usr CLASSPATH=. JAVA_HOME=/usr/pkg/java/openjdk17 CC=gcc CFLAGS=-O2\ -I/usr/pkg/include\ -I/usr/X11R7/include\ -I/usr/X11R7/include/libdrm\ -I/usr/include\ -I/usr/pkg/include/glib-2.0\ -I/usr/pkg/include/gio-unix-2.0\ -I/usr/pkg/lib/glib-2.0/include\ -I/usr/pkg/include/freetype2\ -I/usr/pkg/include/harfbuzz CPPFLAGS=-I/usr/pkg/include\ -I/usr/X11R7/include\ -I/usr/X11R7/include/libdrm\ -I/usr/include\ -I/usr/pkg/include/glib-2.0\ -I/usr/pkg/include/gio-unix-2.0\ -I/usr/pkg/lib/glib-2.0/include\ -I/usr/pkg/include/freetype2\ -I/usr/pkg/include/harfbuzz CXX=c++ CXXFLAGS=-O2\ -I/usr/pkg/include\ -I/usr/X11R7/include\ -I/usr/X11R7/include/libdrm\ -I/usr/include\ -I/usr/pkg/include/glib-2.0\ -I/usr/pkg/include/gio-unix-2.0\ -I/usr/pkg/lib/glib-2.0/include\ -I/usr/pkg/include/freetype2\ -I/usr/pkg/include/harfbuzz COMPILER_RPATH_FLAG=-Wl,-R F77=gfortran FC=gfortran FFLAGS=-O LANG=C LC_ALL=C LC_COLLATE=C LC_CTYPE=C LC_MESSAGES=C LC_MONETARY=C LC_NUMERIC=C LC_TIME=C LDFLAGS=-Wl,-zrelro\ -L/usr/pkg/lib\ -L/usr/X11R7/lib\ -Wl,-R/usr/X11R7/lib\ -L/usr/lib\ -Wl,-R/usr/lib\ -Wl,-R/usr/pkg/lib\ -L/usr/pkg/java/openjdk17/lib\ -L/usr/pkg/java/openjdk17/lib/server\ -Wl,-R/usr/pkg/java/openjdk17/lib\ -Wl,-R/usr/pkg/java/openjdk17/lib/server LINKER_RPATH_FLAG=-R PATH=/pbulk/work/x11/swt/work/.cwrapper/bin:/pbulk/work/x11/swt/work/.buildlink/bin:/pbulk/work/x11/swt/work/.gcc/bin:/pbulk/work/x11/swt/work/.tools/bin:/usr/pkg/java/openjdk17/bin:/usr/pkg/bin:/sbin:/usr/sbin:/bin:/usr/bin:/usr/pkg/sbin:/usr/pkg/bin:/usr/X11R7/bin:/usr/local/sbin:/usr/local/bin:/usr/pkg/bin:/usr/X11R7/bin PREFIX=/usr/pkg MAKELEVEL=0 CONFIG_SITE= ftp_proxy=downloads-forbidden-except-during-fetch http_proxy=downloads-forbidden-except-during-fetch https_proxy=downloads-forbidden-except-during-fetch no_proxy= PKG_SYSCONFDIR=/usr/pkg/etc HOME=/pbulk/work/x11/swt/work/.home CWRAPPERS_CONFIG_DIR=/pbulk/work/x11/swt/work/.cwrapper/config CPP=cpp LOCALBASE=/usr/pkg X11BASE=/usr/X11R7 PKGMANDIR=man PKGINFODIR=info PKGGNUDIR=gnu/ MAKECONF=/dev/null OBJECT_FMT=ELF USETOOLS=no BSD_INSTALL_PROGRAM=/usr/bin/install\ -c\ -s\ -o\ pbulk\ -g\ users\ -m\ 755 BSD_INSTALL_SCRIPT=/usr/bin/install\ -c\ -o\ pbulk\ -g\ users\ -m\ 755 BSD_INSTALL_LIB=/usr/bin/install\ -c\ -o\ pbulk\ -g\ users\ -m\ 755 BSD_INSTALL_DATA=/usr/bin/install\ -c\ -o\ pbulk\ -g\ users\ -m\ 644 BSD_INSTALL_MAN=/usr/bin/install\ -c\ -o\ pbulk\ -g\ users\ -m\ 644 BSD_INSTALL=/usr/bin/install BSD_INSTALL_PROGRAM_DIR=/usr/bin/install\ -d\ -o\ pbulk\ -g\ users\ -m\ 755 BSD_INSTALL_SCRIPT_DIR=/usr/bin/install\ -d\ -o\ pbulk\ -g\ users\ -m\ 755 BSD_INSTALL_LIB_DIR=/usr/bin/install\ -d\ -o\ pbulk\ -g\ users\ -m\ 755 BSD_INSTALL_DATA_DIR=/usr/bin/install\ -d\ -o\ pbulk\ -g\ users\ -m\ 755 BSD_INSTALL_MAN_DIR=/usr/bin/install\ -d\ -o\ pbulk\ -g\ users\ -m\ 755 BSD_INSTALL_GAME=/usr/bin/install\ -c\ -s\ -o\ pbulk\ -g\ users\ -m\ 2555 BSD_INSTALL_GAME_DATA=/usr/bin/install\ -c\ -o\ pbulk\ -g\ users\ -m\ 664 BSD_INSTALL_GAME_DIR=/usr/bin/install\ -d\ -o\ pbulk\ -g\ users\ -m\ 775 INSTALL_INFO= MAKEINFO=/pbulk/work/x11/swt/work/.tools/bin/makeinfo FLEX= BISON= ITSTOOL=/pbulk/work/x11/swt/work/.tools/bin/itstool GDBUS_CODEGEN=/pbulk/work/x11/swt/work/.tools/bin/gdbus-codegen PKG_CONFIG=/pbulk/work/x11/swt/work/.tools/bin/pkg-config PKG_CONFIG_LIBDIR=/pbulk/work/x11/swt/work/.buildlink/lib/pkgconfig:/pbulk/work/x11/swt/work/.buildlink/share/pkgconfig PKG_CONFIG_LOG=/pbulk/work/x11/swt/work/.pkg-config.log PKG_CONFIG_PATH= CWRAPPERS_CONFIG_DIR=/pbulk/work/x11/swt/work/.cwrapper/config ./build.sh Cairo found, compiling SWT support for the cairo graphics library. libjawt.so found, the SWT/AWT integration library will be compiled. Building SWT/GTK+ for Architectures: netbsd i386 *** Warning: Cannot compile Webkit2 Extension because 'pkg-config --exists webkit2gtk-web-extension-4.0' check failed. Please install webkitgtk4-devel.ARCH on your system. Building GTK3 bindings: gcc -O -Wall -fPIC -DSWT_VERSION=4946r21 -DLINUX -DGTK -I/usr/pkg/java/openjdk17/include -I/usr/pkg/java/openjdk17/include/netbsd -I/usr/pkg/include -Werror -c swt.c gcc -O -Wall -fPIC -DSWT_VERSION=4946r21 -DLINUX -DGTK -I/usr/pkg/java/openjdk17/include -I/usr/pkg/java/openjdk17/include/netbsd -I/usr/pkg/include -Werror -I/usr/pkg/include -I/usr/X11R7/include -I/usr/X11R7/include/libdrm -I/usr/include -I/usr/pkg/include/glib-2.0 -I/usr/pkg/include/gio-unix-2.0 -I/usr/pkg/lib/glib-2.0/include -I/usr/pkg/include/freetype2 -I/usr/pkg/include/harfbuzz -c -o c.o c.c c.c: In function 'Java_org_eclipse_swt_internal_C_free': c.c:43:7: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast] free((void *)arg0); ^ c.c: In function 'Java_org_eclipse_swt_internal_C_getenv': c.c:56:7: error: cast from pointer to integer of different size [-Werror=pointer-to-int-cast] rc = (jlong)getenv((const char *)lparg0); ^ c.c: In function 'Java_org_eclipse_swt_internal_C_malloc': c.c:70:7: error: cast from pointer to integer of different size [-Werror=pointer-to-int-cast] rc = (jlong)malloc(arg0); ^ In file included from /usr/include/ssp/stdio.h:34:0, from /usr/include/stdio.h:597, from /pbulk/work/x11/swt/work/.buildlink/java/openjdk17/include/jni.h:39, from swt.h:26, from c.c:18: c.c: In function 'Java_org_eclipse_swt_internal_C_memmove__JJJ': c.c:81:10: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast] memmove((void *)arg0, (const void *)arg1, (size_t)arg2); ^ In file included from /usr/include/string.h:127:0, from c.h:19, from c_structs.h:18, from c.c:19: c.c:81:10: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast] memmove((void *)arg0, (const void *)arg1, (size_t)arg2); ^ c.c:81:24: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast] memmove((void *)arg0, (const void *)arg1, (size_t)arg2); ^ In file included from /usr/include/ssp/stdio.h:34:0, from /usr/include/stdio.h:597, from /pbulk/work/x11/swt/work/.buildlink/java/openjdk17/include/jni.h:39, from swt.h:26, from c.c:18: c.c:81:10: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast] memmove((void *)arg0, (const void *)arg1, (size_t)arg2); ^ In file included from /usr/include/string.h:127:0, from c.h:19, from c_structs.h:18, from c.c:19: c.c:81:10: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast] memmove((void *)arg0, (const void *)arg1, (size_t)arg2); ^ c.c:81:24: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast] memmove((void *)arg0, (const void *)arg1, (size_t)arg2); ^ In file included from /usr/include/ssp/stdio.h:34:0, from /usr/include/stdio.h:597, from /pbulk/work/x11/swt/work/.buildlink/java/openjdk17/include/jni.h:39, from swt.h:26, from c.c:18: c.c: In function 'Java_org_eclipse_swt_internal_C_memmove__J_3BJ': c.c:93:10: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast] memmove((void *)arg0, (const void *)lparg1, (size_t)arg2); ^ In file included from /usr/include/string.h:127:0, from c.h:19, from c_structs.h:18, from c.c:19: c.c:93:10: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast] memmove((void *)arg0, (const void *)lparg1, (size_t)arg2); ^ In file included from /usr/include/ssp/stdio.h:34:0, from /usr/include/stdio.h:597, from /pbulk/work/x11/swt/work/.buildlink/java/openjdk17/include/jni.h:39, from swt.h:26, from c.c:18: c.c:93:10: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast] memmove((void *)arg0, (const void *)lparg1, (size_t)arg2); ^ In file included from /usr/include/string.h:127:0, from c.h:19, from c_structs.h:18, from c.c:19: c.c:93:10: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast] memmove((void *)arg0, (const void *)lparg1, (size_t)arg2); ^ In file included from /usr/include/ssp/stdio.h:34:0, from /usr/include/stdio.h:597, from /pbulk/work/x11/swt/work/.buildlink/java/openjdk17/include/jni.h:39, from swt.h:26, from c.c:18: c.c: In function 'Java_org_eclipse_swt_internal_C_memmove__J_3CJ': c.c:107:10: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast] memmove((void *)arg0, (const void *)lparg1, (size_t)arg2); ^ In file included from /usr/include/string.h:127:0, from c.h:19, from c_structs.h:18, from c.c:19: c.c:107:10: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast] memmove((void *)arg0, (const void *)lparg1, (size_t)arg2); ^ In file included from /usr/include/ssp/stdio.h:34:0, from /usr/include/stdio.h:597, from /pbulk/work/x11/swt/work/.buildlink/java/openjdk17/include/jni.h:39, from swt.h:26, from c.c:18: c.c:107:10: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast] memmove((void *)arg0, (const void *)lparg1, (size_t)arg2); ^ In file included from /usr/include/string.h:127:0, from c.h:19, from c_structs.h:18, from c.c:19: c.c:107:10: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast] memmove((void *)arg0, (const void *)lparg1, (size_t)arg2); ^ In file included from /usr/include/ssp/stdio.h:34:0, from /usr/include/stdio.h:597, from /pbulk/work/x11/swt/work/.buildlink/java/openjdk17/include/jni.h:39, from swt.h:26, from c.c:18: c.c: In function 'Java_org_eclipse_swt_internal_C_memmove__J_3DJ': c.c:121:10: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast] memmove((void *)arg0, (const void *)lparg1, (size_t)arg2); ^ In file included from /usr/include/string.h:127:0, from c.h:19, from c_structs.h:18, from c.c:19: c.c:121:10: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast] memmove((void *)arg0, (const void *)lparg1, (size_t)arg2); ^ In file included from /usr/include/ssp/stdio.h:34:0, from /usr/include/stdio.h:597, from /pbulk/work/x11/swt/work/.buildlink/java/openjdk17/include/jni.h:39, from swt.h:26, from c.c:18: c.c:121:10: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast] memmove((void *)arg0, (const void *)lparg1, (size_t)arg2); ^ In file included from /usr/include/string.h:127:0, from c.h:19, from c_structs.h:18, from c.c:19: c.c:121:10: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast] memmove((void *)arg0, (const void *)lparg1, (size_t)arg2); ^ In file included from /usr/include/ssp/stdio.h:34:0, from /usr/include/stdio.h:597, from /pbulk/work/x11/swt/work/.buildlink/java/openjdk17/include/jni.h:39, from swt.h:26, from c.c:18: c.c: In function 'Java_org_eclipse_swt_internal_C_memmove__J_3FJ': c.c:135:10: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast] memmove((void *)arg0, (const void *)lparg1, (size_t)arg2); ^ In file included from /usr/include/string.h:127:0, from c.h:19, from c_structs.h:18, from c.c:19: c.c:135:10: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast] memmove((void *)arg0, (const void *)lparg1, (size_t)arg2); ^ In file included from /usr/include/ssp/stdio.h:34:0, from /usr/include/stdio.h:597, from /pbulk/work/x11/swt/work/.buildlink/java/openjdk17/include/jni.h:39, from swt.h:26, from c.c:18: c.c:135:10: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast] memmove((void *)arg0, (const void *)lparg1, (size_t)arg2); ^ In file included from /usr/include/string.h:127:0, from c.h:19, from c_structs.h:18, from c.c:19: c.c:135:10: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast] memmove((void *)arg0, (const void *)lparg1, (size_t)arg2); ^ In file included from /usr/include/ssp/stdio.h:34:0, from /usr/include/stdio.h:597, from /pbulk/work/x11/swt/work/.buildlink/java/openjdk17/include/jni.h:39, from swt.h:26, from c.c:18: c.c: In function 'Java_org_eclipse_swt_internal_C_memmove__J_3IJ': c.c:149:10: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast] memmove((void *)arg0, (const void *)lparg1, (size_t)arg2); ^ In file included from /usr/include/string.h:127:0, from c.h:19, from c_structs.h:18, from c.c:19: c.c:149:10: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast] memmove((void *)arg0, (const void *)lparg1, (size_t)arg2); ^ In file included from /usr/include/ssp/stdio.h:34:0, from /usr/include/stdio.h:597, from /pbulk/work/x11/swt/work/.buildlink/java/openjdk17/include/jni.h:39, from swt.h:26, from c.c:18: c.c:149:10: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast] memmove((void *)arg0, (const void *)lparg1, (size_t)arg2); ^ In file included from /usr/include/string.h:127:0, from c.h:19, from c_structs.h:18, from c.c:19: c.c:149:10: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast] memmove((void *)arg0, (const void *)lparg1, (size_t)arg2); ^ In file included from /usr/include/ssp/stdio.h:34:0, from /usr/include/stdio.h:597, from /pbulk/work/x11/swt/work/.buildlink/java/openjdk17/include/jni.h:39, from swt.h:26, from c.c:18: c.c: In function 'Java_org_eclipse_swt_internal_C_memmove__J_3JJ': c.c:163:10: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast] memmove((void *)arg0, (const void *)lparg1, (size_t)arg2); ^ In file included from /usr/include/string.h:127:0, from c.h:19, from c_structs.h:18, from c.c:19: c.c:163:10: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast] memmove((void *)arg0, (const void *)lparg1, (size_t)arg2); ^ In file included from /usr/include/ssp/stdio.h:34:0, from /usr/include/stdio.h:597, from /pbulk/work/x11/swt/work/.buildlink/java/openjdk17/include/jni.h:39, from swt.h:26, from c.c:18: c.c:163:10: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast] memmove((void *)arg0, (const void *)lparg1, (size_t)arg2); ^ In file included from /usr/include/string.h:127:0, from c.h:19, from c_structs.h:18, from c.c:19: c.c:163:10: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast] memmove((void *)arg0, (const void *)lparg1, (size_t)arg2); ^ In file included from /usr/include/ssp/stdio.h:34:0, from /usr/include/stdio.h:597, from /pbulk/work/x11/swt/work/.buildlink/java/openjdk17/include/jni.h:39, from swt.h:26, from c.c:18: c.c: In function 'Java_org_eclipse_swt_internal_C_memmove__J_3SJ': c.c:177:10: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast] memmove((void *)arg0, (const void *)lparg1, (size_t)arg2); ^ In file included from /usr/include/string.h:127:0, from c.h:19, from c_structs.h:18, from c.c:19: c.c:177:10: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast] memmove((void *)arg0, (const void *)lparg1, (size_t)arg2); ^ In file included from /usr/include/ssp/stdio.h:34:0, from /usr/include/stdio.h:597, from /pbulk/work/x11/swt/work/.buildlink/java/openjdk17/include/jni.h:39, from swt.h:26, from c.c:18: c.c:177:10: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast] memmove((void *)arg0, (const void *)lparg1, (size_t)arg2); ^ In file included from /usr/include/string.h:127:0, from c.h:19, from c_structs.h:18, from c.c:19: c.c:177:10: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast] memmove((void *)arg0, (const void *)lparg1, (size_t)arg2); ^ c.c: In function 'Java_org_eclipse_swt_internal_C_memmove___3BJJ': c.c:191:26: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast] memmove((void *)lparg0, (const void *)arg1, (size_t)arg2); ^ c.c:191:26: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast] memmove((void *)lparg0, (const void *)arg1, (size_t)arg2); ^ c.c: In function 'Java_org_eclipse_swt_internal_C_memmove___3CJJ': c.c:222:26: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast] memmove((void *)lparg0, (const void *)arg1, (size_t)arg2); ^ c.c:222:26: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast] memmove((void *)lparg0, (const void *)arg1, (size_t)arg2); ^ c.c: In function 'Java_org_eclipse_swt_internal_C_memmove___3DJJ': c.c:236:26: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast] memmove((void *)lparg0, (const void *)arg1, (size_t)arg2); ^ c.c:236:26: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast] memmove((void *)lparg0, (const void *)arg1, (size_t)arg2); ^ c.c: In function 'Java_org_eclipse_swt_internal_C_memmove___3FJJ': c.c:250:26: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast] memmove((void *)lparg0, (const void *)arg1, (size_t)arg2); ^ c.c:250:26: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast] memmove((void *)lparg0, (const void *)arg1, (size_t)arg2); ^ c.c: In function 'Java_org_eclipse_swt_internal_C_memmove___3IJJ': c.c:264:26: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast] memmove((void *)lparg0, (const void *)arg1, (size_t)arg2); ^ c.c:264:26: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast] memmove((void *)lparg0, (const void *)arg1, (size_t)arg2); ^ c.c: In function 'Java_org_eclipse_swt_internal_C_memmove___3JJJ': c.c:295:26: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast] memmove((void *)lparg0, (const void *)arg1, (size_t)arg2); ^ c.c:295:26: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast] memmove((void *)lparg0, (const void *)arg1, (size_t)arg2); ^ c.c: In function 'Java_org_eclipse_swt_internal_C_memmove___3SJJ': c.c:309:26: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast] memmove((void *)lparg0, (const void *)arg1, (size_t)arg2); ^ c.c:309:26: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast] memmove((void *)lparg0, (const void *)arg1, (size_t)arg2); ^ In file included from /usr/include/ssp/stdio.h:34:0, from /usr/include/stdio.h:597, from /pbulk/work/x11/swt/work/.buildlink/java/openjdk17/include/jni.h:39, from swt.h:26, from c.c:18: c.c: In function 'Java_org_eclipse_swt_internal_C_memset': c.c:322:21: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast] rc = (jlong)memset((void *)arg0, arg1, (size_t)arg2); ^ In file included from /usr/include/string.h:127:0, from c.h:19, from c_structs.h:18, from c.c:19: c.c:322:21: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast] rc = (jlong)memset((void *)arg0, arg1, (size_t)arg2); ^ In file included from /usr/include/ssp/stdio.h:34:0, from /usr/include/stdio.h:597, from /pbulk/work/x11/swt/work/.buildlink/java/openjdk17/include/jni.h:39, from swt.h:26, from c.c:18: c.c:322:21: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast] rc = (jlong)memset((void *)arg0, arg1, (size_t)arg2); ^ In file included from /usr/include/string.h:127:0, from c.h:19, from c_structs.h:18, from c.c:19: c.c:322:21: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast] rc = (jlong)memset((void *)arg0, arg1, (size_t)arg2); ^ c.c:322:7: error: cast from pointer to integer of different size [-Werror=pointer-to-int-cast] rc = (jlong)memset((void *)arg0, arg1, (size_t)arg2); ^ c.c: In function 'Java_org_eclipse_swt_internal_C_strlen': c.c:353:20: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast] rc = (jint)strlen((char *)arg0); ^ cc1: all warnings being treated as errors gmake: *** [: c.o] Error 1 *** GTK3 Build failed, aborting further actions.. *** Error code 2 Stop. make[1]: stopped in /usr/pkgsrc/x11/swt *** Error code 1 Stop. make: stopped in /usr/pkgsrc/x11/swt