Date: Tue, 22 Nov 2022 05:19:31 +0000 From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 267917] java/openjdk19: compile error: 'warning' attribute does not appear on the first declaration Message-ID: <bug-267917-7788@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D267917 Bug ID: 267917 Summary: java/openjdk19: compile error: 'warning' attribute does not appear on the first declaration Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Many People Priority: --- Component: Individual Port(s) Assignee: java@FreeBSD.org Reporter: ohartmann@walstatt.org Flags: maintainer-feedback?(java@FreeBSD.org) Assignee: java@FreeBSD.org Port fails to build in a poudriere jail running 13-STABLE: [...] =3D>> Building java/openjdk19 build started at Tue Nov 22 05:11:55 UTC 2022 port directory: /usr/ports/java/openjdk19 package name: openjdk19-19.0.1+10.1 building for: FreeBSD poudriere 13.1-STABLE FreeBSD 13.1-STABLE 1301509 amd= 64 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: 53c396443a88 Ports top unclean checkout: no Port dir last git commit: 4f48011386bb Port dir unclean checkout: no Poudriere version: poudriere-git-3.3.99.20220831 Host OSVERSION: 1400073 Jail OSVERSION: 1301509 Job Id: 02 ---Begin Environment--- SHELL=3D/bin/csh OSVERSION=3D1301509 UNAME_v=3DFreeBSD 13.1-STABLE 1301509 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--- [...] c++: warning: argument unused during compilation: '-static-libstdc++' [-Wunused-command-line-argument] c++: warning: argument unused during compilation: '-static-libgcc' [-Wunused-command-line-argument] 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; ^ /usr/include/stdlib.h:101:17: note: previous declaration is here _Noreturn void exit(int); --=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-267917-7788>