From owner-freebsd-ports-bugs@freebsd.org Sun Dec 13 21:31:21 2020 Return-Path: Delivered-To: freebsd-ports-bugs@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 28E7E4C4621 for ; Sun, 13 Dec 2020 21:31:21 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (mailman.nyi.freebsd.org [IPv6:2610:1c1:1:606c::50:13]) by mx1.freebsd.org (Postfix) with ESMTP id 4CvHlF0TdHz3C2x for ; Sun, 13 Dec 2020 21:31:21 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 107794C42E6; Sun, 13 Dec 2020 21:31:21 +0000 (UTC) Delivered-To: ports-bugs@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 103E34C42E5 for ; Sun, 13 Dec 2020 21:31:21 +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 "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4CvHlD70LPz3C2w for ; Sun, 13 Dec 2020 21:31:20 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) 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 E34C216985 for ; Sun, 13 Dec 2020 21:31:20 +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 0BDLVKRp023419 for ; Sun, 13 Dec 2020 21:31:20 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 0BDLVKNT023418 for ports-bugs@FreeBSD.org; Sun, 13 Dec 2020 21:31:20 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 251824] lang/bsh: doesn't build with DEFAULT_VERSIONS+= java=11 Date: Sun, 13 Dec 2020 21:31:20 +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 Some People X-Bugzilla-Who: vvd@unislabs.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: pfg@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform bug_file_loc op_sys bug_status bug_severity priority component assigned_to reporter flagtypes.name attachments.created 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 MIME-Version: 1.0 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 13 Dec 2020 21:31:21 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D251824 Bug ID: 251824 Summary: lang/bsh: doesn't build with DEFAULT_VERSIONS+=3D java=3D11 Product: Ports & Packages Version: Latest Hardware: Any URL: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D2517 74 OS: Any Status: New Severity: Affects Some People Priority: --- Component: Individual Port(s) Assignee: pfg@FreeBSD.org Reporter: vvd@unislabs.com Flags: maintainer-feedback?(pfg@FreeBSD.org) Assignee: pfg@FreeBSD.org Attachment #220535 maintainer-approval? Flags: Created attachment 220535 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D220535&action= =3Dedit Force set java version to 8 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D251774 "Mk/bsd.default-versions.mk: Change default version of Java to 11" Doesn't build with DEFAULT_VERSIONS+=3D java=3D11 even with JAVA_BUILD=3D8 = it trying use OpenJDK 11: # make =3D=3D=3D> License APACHE20 accepted by the user =3D=3D=3D> bsh-2.0.b6_1 depends on file: /usr/local/sbin/pkg - found =3D=3D=3D> Fetching all distfiles required by bsh-2.0.b6_1 for building =3D=3D=3D> Extracting for bsh-2.0.b6_1 =3D> SHA256 Checksum OK for beanshell-beanshell-2.0b6_GH0.tar.gz. =3D=3D=3D> Patching for bsh-2.0.b6_1 =3D=3D=3D> bsh-2.0.b6_1 depends on file: /usr/local/openjdk11/bin/java - = found =3D=3D=3D> bsh-2.0.b6_1 depends on file: /usr/local/bin/ant - found =3D=3D=3D> Configuring for bsh-2.0.b6_1 =3D=3D=3D> Building for bsh-2.0.b6_1 Buildfile: /tmp/work/usr/ports/lang/bsh/work/beanshell-2.0b6/build.xml checkjjt: jjtree: checkjj: javacc: builddir: [mkdir] Created dir: /tmp/work/usr/ports/lang/bsh/work/beanshell-2.0b6/classes compile: [javac] /tmp/work/usr/ports/lang/bsh/work/beanshell-2.0b6/build.xml:176: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=3Dlast; set to false for repeatable builds [javac] Compiling 155 source files to /tmp/work/usr/ports/lang/bsh/work/beanshell-2.0b6/classes [javac]=20 [javac] WARNING [javac]=20 [javac] The -source switch defaults to 9 in JDK 9. [javac] If you specify -target 1.5 you now must also specify -source 1.= 5. [javac] Ant will implicitly add -source 1.5 for you. Please change your build file. [javac] warning: [options] bootstrap class path not set in conjunction = with -source 5 [javac] error: Source option 5 is no longer supported. Use 6 or later. [javac] error: Target option 1.5 is no longer supported. Use 1.6 or lat= er. BUILD FAILED /tmp/work/usr/ports/lang/bsh/work/beanshell-2.0b6/build.xml:176: Compile failed; see the compiler error output for details. Total time: 1 second *** Error code 1 Stop. make: stopped in /usr/ports/lang/bsh This patch fixed build: # diff -u Makefile.orig Makefile --- Makefile.orig +++ Makefile @@ -15,8 +15,7 @@ GH_ACCOUNT=3D beanshell GH_PROJECT=3D beanshell -USE_JAVA=3D yes -JAVA_BUILD=3D 8 +USE_JAVA=3D 8 USE_ANT=3D yes ALL_TARGET=3D jarall --=20 You are receiving this mail because: You are the assignee for the bug.=