From nobody Tue Nov 22 05:19:31 2022 X-Original-To: ports-bugs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4NGXcg3j5tz4htZy for ; Tue, 22 Nov 2022 05:19:31 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4NGXcg2ZKcz3BpW for ; Tue, 22 Nov 2022 05:19:31 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1669094371; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=Fi9Tx95kUNRa/wwv6WQI1nMla9P5zb858b+XyCgCWkU=; b=yQDIvedbvWuKipwuOb1LXp1yjU3GMAte2+AJvcO+IFZIrse4ytDilqaGNpzThgQDrs5ROe bsk7RrrKo5yyI6EelYwMe7kMNQ9C8ZnacdBprpFOzIbwbxhpurqKhV8JU68PJdHVi3YdrN QwoBnQczQ1FxAHlmXrq+LpXT9FXtVcQpnuXTfwEguLbSpIN+LSW7V5shl4bYmdraTlKbkb tXxdDXah8hC7qm/Q+jPkA9F+rSZ75vc4RfzINc5TOfN2j7v28mbxM5kScZ5hITezEJQzEH g+AUKTPHUMWjHlxmZ9Tm1SiAnfU9O2qL/2/06hvo9KagDjlhfHN9H3mrQLPbBQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1669094371; a=rsa-sha256; cv=none; b=DMfZQlMqv6u9U7k3n/q/xhYQvzuGv0Q1fzR0Angid5twRyz5kLiBx4BpggughDlJsA2Rbw ak+zVhBqYF+XPeZ6VyWZv3gukrAQfUqQTA4EsWqcPcRC3kUEZHcA7lnZc0EzUYv7Pq6hZl L+Nxu3V5EcOeiMVG98A3vyIA/U5ofvNWHp3j1PLG2vglY5UrHmr5eSXLogze9e3uSkBZnT diXEG5XWsdOov3l/SFDpkb6o06JN+5/V91kmS/+rukG9aey9YM0uLLCVxwvKbsWa4y/tbW RrFKeAN8bUQqNq79j6ffkSSLuLxdQJ+xp0rg6cGTKFVZ46evmDhvD5uzdApY7A== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4NGXcg1d8bzWK8 for ; Tue, 22 Nov 2022 05:19:31 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 2AM5JVod049754 for ; Tue, 22 Nov 2022 05:19:31 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 2AM5JVwJ049753 for ports-bugs@FreeBSD.org; Tue, 22 Nov 2022 05:19:31 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f 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 Date: Tue, 22 Nov 2022 05:19:31 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: ohartmann@walstatt.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: java@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter flagtypes.name Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Ports bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-ports-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-ports-bugs@freebsd.org X-BeenThere: freebsd-ports-bugs@freebsd.org MIME-Version: 1.0 X-ThisMailContainsUnwantedMimeParts: N 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.=