Date: Tue, 27 Dec 2022 18:02:55 +0000 From: bugzilla-noreply@freebsd.org To: java@FreeBSD.org Subject: [Bug 268602] java/openjdk19 : poudriere : compiler error: globalDefinitions.hpp:165:1: error: 'warning' attribute does not appear on the first declaration Message-ID: <bug-268602-8522@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D268602 Bug ID: 268602 Summary: java/openjdk19 : poudriere : compiler error: globalDefinitions.hpp:165:1: error: 'warning' attribute does not appear on the first declaration Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Some People Priority: --- Component: Individual Port(s) Assignee: java@FreeBSD.org Reporter: ohartmann@walstatt.org Flags: maintainer-feedback?(java@FreeBSD.org) Assignee: java@FreeBSD.org java/openjdk19 fails to build within poudriere, hosted by CURRENT, jail run= ning 13-STABLE: =3D>> Building java/openjdk19 build started at Mon Dec 26 23:53:52 UTC 2022 port directory: /usr/ports/java/openjdk19 package name: openjdk19-19.0.1+10.1 building for: FreeBSD host.1 13.1-STABLE FreeBSD 13.1-STABLE 1301510 amd64 maintained by: java@FreeBSD.org Makefile datestamp: -rw-r--r-- 1 root wheel 5797 Oct 31 06:28 /usr/ports/java/openjdk19/Makefile Ports top last git commit: 0b16928300fd Ports top unclean checkout: no Port dir last git commit: 8bb268539fa7 Port dir unclean checkout: no Poudriere version: poudriere-git-3.3.99.20220831 Host OSVERSION: 1400076 Jail OSVERSION: 1301510 Job Id: 02 ---Begin Environment--- SHELL=3D/bin/csh OSVERSION=3D1301510 UNAME_v=3DFreeBSD 13.1-STABLE 1301510 UNAME_r=3D13.1-STABLE BLOCKSIZE=3DK MAIL=3D/var/mail/root MM_CHARSET=3DUTF-8 LANG=3DC.UTF-8 STATUS=3D1 HOME=3D/root PATH=3D/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/b= in LOCALBASE=3D/usr/local USER=3Droot POUDRIERE_NAME=3Dpoudriere-git LIBEXECPREFIX=3D/usr/local/libexec/poudriere POUDRIERE_VERSION=3D3.3.99.20220831 MAKEOBJDIRPREFIX=3D/pool/sources/13-STABLE/obj/ MASTERMNT=3D/pool/poudriere/data/.m/13-amd64-head-default/ref LC_COLLATE=3DC POUDRIERE_BUILD_TYPE=3Dbulk PACKAGE_BUILDING=3Dyes SAVED_TERM=3Dscreen OUTPUT_REDIRECTED_STDERR=3D4 OUTPUT_REDIRECTED=3D1 PWD=3D/pool/poudriere/data/.m/13-amd64-head-default/02/.p OUTPUT_REDIRECTED_STDOUT=3D3 P_PORTS_FEATURES=3DFLAVORS SELECTED_OPTIONS MASTERNAME=3D13-amd64-head-default SCRIPTPREFIX=3D/usr/local/share/poudriere SCRIPTNAME=3Dbulk.sh OLDPWD=3D/pool/poudriere/data/.m/13-amd64-head-default/ref/.p/pool POUDRIERE_PKGNAME=3Dpoudriere-git-3.3.99.20220831 SCRIPTPATH=3D/usr/local/share/poudriere/bulk.sh POUDRIEREPATH=3D/usr/local/bin/poudriere ---End Environment--- ---Begin Poudriere Port Flags/Env--- PORT_FLAGS=3D PKGENV=3D FLAVOR=3D DEPENDS_ARGS=3D MAKE_ARGS=3D ---End Poudriere Port Flags/Env--- ---Begin OPTIONS List--- ---End OPTIONS List--- --MAINTAINER-- java@FreeBSD.org --End MAINTAINER-- --CONFIGURE_ARGS-- --with-boot-jdk=3D/usr/local/openjdk18 --disable-ccache --disable-javac-s= erver=20 --with-alsa=3D/usr/local --with-cups=3D/usr/local --with-fontconfig=3D/us= r/local=20 --with-freetype=3Dsystem --with-freetype-include=3D/usr/local/include/free= type2=20 --with-freetype-lib=3D/usr/local/lib --with-libjpeg=3Dsystem --with-gifli= b=3Dsystem --with-giflib-include=3D/usr/local/include --with-giflib-lib=3D/usr/local= /lib=20 --with-harfbuzz=3Dsystem --with-libpng=3Dsystem --with-zlib=3Dsystem=20 --with-lcms=3Dsystem --x-includes=3D/usr/local/include=20 --x-libraries=3D/usr/local/lib --with-version-string=3D19.0.1+10-1=20 --with-native-debug-symbols=3Dnone --with-debug-level=3Drelease=20 --with-vendor-name=3D"OpenJDK BSD Porting Team"=20 --with-vendor-url=3D"https://github.com/battleblow/jdk19u/"=20 --with-vendor-bug-url=3D"https://bugs.freebsd.org/bugzilla/enter_bug.cgi?pr= oduct=3DPorts%20%26%20Packages&component=3DIndividual%20Port(s)&short_desc= =3Djava/openjdk19%3A%20" --with-vendor-vm-bug-url=3D"https://bugs.freebsd.org/bugzilla/enter_bug.cgi= ?product=3DPorts%20%26%20Packages&component=3DIndividual%20Port(s)&short_de= sc=3Djava/openjdk19%3A%20" --with-toolchain-type=3Dclang --with-extra-cflags=3D"-Wno-unused-but-set-pa= rameter -Wno-bitwise-instead-of-logical" --with-extra-cxxflags=3D"-Wno-unused-but-set-parameter -Wno-bitwise-instead-of-logical" --x-libraries=3D/usr/local/lib --x-includes=3D/usr/local/include --prefix=3D/usr/local ${_LATE_CONFIGURE_A= RGS} --End CONFIGURE_ARGS-- --CONFIGURE_ENV-- CC=3Dcc CXX=3Dc++ CPP=3Dcpp ac_cv_path_SED=3D/usr/local/bin/gsed MAKE=3D= gmake PKG_CONFIG=3Dpkgconf XDG_DATA_HOME=3D/wrkdirs/usr/ports/java/openjdk19/work= =20 XDG_CONFIG_HOME=3D/wrkdirs/usr/ports/java/openjdk19/work=20 XDG_CACHE_HOME=3D/wrkdirs/usr/ports/java/openjdk19/work/.cache=20 HOME=3D/wrkdirs/usr/ports/java/openjdk19/work TMPDIR=3D"/tmp" PATH=3D/wrkdirs/usr/ports/java/openjdk19/work/.bin:/sbin:/bin:/usr/sbin:/us= r/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=3D/wrkdirs/usr/ports/java/openjdk19/work/.pkgconfig:/usr/= local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig SHELL=3D/bin/sh CONFIG_SHELL=3D/bin/sh CONFIG_SITE=3D/usr/ports/Templates/c= onfig.site lt_cv_sys_max_cmd_len=3D524288 --End CONFIGURE_ENV-- --MAKE_ENV-- LANG=3D"C" LC_ALL=3D"C" CLASSPATH=3D"" JAVA_HOME=3D"" LD_LIBRARY_PATH= =3D"" CC=3Dcc=20 CXX=3Dc++ CPP=3Dcpp MAKEFLAGS=3D"" --with-toolchain-type=3Dclang USE_CLAN= G=3Dtrue XDG_DATA_HOME=3D/wrkdirs/usr/ports/java/openjdk19/work=20 XDG_CONFIG_HOME=3D/wrkdirs/usr/ports/java/openjdk19/work=20 XDG_CACHE_HOME=3D/wrkdirs/usr/ports/java/openjdk19/work/.cache=20 HOME=3D/wrkdirs/usr/ports/java/openjdk19/work TMPDIR=3D"/tmp" PATH=3D/wrkdirs/usr/ports/java/openjdk19/work/.bin:/sbin:/bin:/usr/sbin:/us= r/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=3D/wrkdirs/usr/ports/java/openjdk19/work/.pkgconfig:/usr/= local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig MK_DEBUG_FILES=3Dno MK_KERNEL_SYMBOLS=3Dno SHELL=3D/bin/sh NO_LINT=3DYES PREFIX=3D/usr/local LOCALBASE=3D/usr/local CC=3D"cc" CFLAGS=3D"-O2 -pipe= =20 -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing " CPP=3D"cpp" CPPFLAGS=3D"-DLIBICONV_PLUG" LDFLAGS=3D" -fstack-protector-strong " LIBS= =3D""=20 CXX=3D"c++" CXXFLAGS=3D"-O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing -DLIBICONV_PLUG " MANPREFIX=3D"/usr/local" BSD_INSTALL_PROGRAM=3D"install -s -m 555" BSD_INSTALL_LIB=3D"install -s = -m 0644" BSD_INSTALL_SCRIPT=3D"install -m 555" BSD_INSTALL_DATA=3D"install -m 06= 44"=20 BSD_INSTALL_MAN=3D"install -m 444" --End MAKE_ENV-- --PLIST_SUB-- OSREL=3D13.1 PREFIX=3D%D LOCALBASE=3D/usr/local RESETPREFIX=3D/usr/local L= IB32DIR=3Dlib DOCSDIR=3D"share/doc/openjdk" EXAMPLESDIR=3D"share/examples/openjdk"=20 DATADIR=3D"share/openjdk" WWWDIR=3D"www/openjdk" ETCDIR=3D"etc/openjdk" --End PLIST_SUB-- [...] Compiling 243 files for BUILD_jdk.javadoc.interim gmake[4]: Leaving directory '/wrkdirs/usr/ports/java/openjdk19/work/jdk19u-jdk-19.0.1-10-1/make/hotspot' gmake[4]: Entering directory '/wrkdirs/usr/ports/java/openjdk19/work/jdk19u-jdk-19.0.1-10-1/make/hotspot' Creating support/modules_libs/java.base/server/libjvm.so from 1007 file(s) In file included from /wrkdirs/usr/ports/java/openjdk19/work/jdk19u-jdk-19.0.1-10-1/src/hotspot/s= hare/precompiled/precompiled.hpp:34: In file included from /wrkdirs/usr/ports/java/openjdk19/work/jdk19u-jdk-19.0.1-10-1/src/hotspot/s= hare/classfile/classLoaderData.hpp:28: In file included from /wrkdirs/usr/ports/java/openjdk19/work/jdk19u-jdk-19.0.1-10-1/src/hotspot/s= hare/memory/allocation.hpp:29: /wrkdirs/usr/ports/java/openjdk19/work/jdk19u-jdk-19.0.1-10-1/src/hotspot/s= hare/utilities/globalDefinitions.hpp:165:1: error: 'warning' attribute does not appear on the first declaration FORBID_C_FUNCTION(void exit(int), "use os::exit"); ^ /wrkdirs/usr/ports/java/openjdk19/work/jdk19u-jdk-19.0.1-10-1/src/hotspot/s= hare/utilities/compilerWarnings_gcc.hpp:85:29: note: expanded from macro 'FORBID_C_FUNCTION' extern "C" __attribute__((__warning__(alternative))) signature; --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-268602-8522>