Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 23 Jul 2020 06:31:19 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 248197] java/icedtea-web: set java version to 8 - doesn't build with 11+
Message-ID:  <bug-248197-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D248197

            Bug ID: 248197
           Summary: java/icedtea-web: set java version to 8 - doesn't
                    build with 11+
           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: vvd@unislabs.com
                CC: lhersch@dssgmbh.de
          Assignee: java@FreeBSD.org
             Flags: maintainer-feedback?(java@FreeBSD.org)
 Attachment #216688 maintainer-approval?(lhersch@dssgmbh.de)
             Flags:
             Flags: maintainer-feedback?(lhersch@dssgmbh.de)
                CC: lhersch@dssgmbh.de

Created attachment 216688
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D216688&action=
=3Dedit
Set java version to 8

If you have "DEFAULT_VERSIONS+=3D java=3D11" in make.conf, then java/icedte=
a-web
fails to build:
=3D=3D=3D>  License GPLv2 accepted by the user
=3D=3D=3D>   icedtea-web-1.8.4 depends on file: /usr/local/sbin/pkg - found
=3D=3D=3D> Fetching all distfiles required by icedtea-web-1.8.4 for building
=3D=3D=3D>  Extracting for icedtea-web-1.8.4
=3D> SHA256 Checksum OK for icedtea-web-1.8.4.tar.gz.
=3D> SHA256 Checksum OK for libxul-npapi-headers-45.9.0.tar.gz.
=3D=3D=3D>  Patching for icedtea-web-1.8.4
=3D=3D=3D>  Applying FreeBSD patches for icedtea-web-1.8.4 from
/usr/ports/java/icedtea-web/files
/usr/bin/sed -i.bak -e 's|^sed\([[:space:]]\)|gsed\1|'  -e
's|\([[:space:]]\)sed\([[:space:]]\)|\1gsed\2|g'=20
/tmp/work/usr/ports/java/icedtea-web/work/IcedTea-Web-icedtea-web-1.8.4/Mak=
efile.am
/tmp/work/usr/ports/java/icedtea-web/work/IcedTea-Web-icedtea-web-1.8.4/htm=
l-gen.sh
/usr/bin/sed -i.bak -e 's|^Icon=3Djavaws|Icon=3Ditweb-javaws|'=20
/tmp/work/usr/ports/java/icedtea-web/work/IcedTea-Web-icedtea-web-1.8.4/*.d=
esktop.in
=3D=3D=3D>   icedtea-web-1.8.4 depends on executable: zip - found
=3D=3D=3D>   icedtea-web-1.8.4 depends on executable: bash - found
=3D=3D=3D>   icedtea-web-1.8.4 depends on executable: gsed - found
=3D=3D=3D>   icedtea-web-1.8.4 depends on file:
/usr/local/share/java/classes/hamcrest.jar - found
=3D=3D=3D>   icedtea-web-1.8.4 depends on file:
/usr/local/share/java/classes/junit.jar - found
=3D=3D=3D>   icedtea-web-1.8.4 depends on file:
/usr/local/share/java/classes/tagsoup.jar - found
=3D=3D=3D>   icedtea-web-1.8.4 depends on file: /usr/local/openjdk11/bin/ja=
va - found
=3D=3D=3D>   icedtea-web-1.8.4 depends on executable: update-desktop-databa=
se - found
=3D=3D=3D>   icedtea-web-1.8.4 depends on package: gmake>=3D4.3 - found
=3D=3D=3D>   icedtea-web-1.8.4 depends on package: pkgconf>=3D1.3.0_1 - fou=
nd
=3D=3D=3D>   icedtea-web-1.8.4 depends on package: autoconf>=3D2.69 - found
=3D=3D=3D>   icedtea-web-1.8.4 depends on package: automake>=3D1.16.1 - fou=
nd
=3D=3D=3D>   icedtea-web-1.8.4 depends on package: perl5>=3D5.30.r1<5.31 - =
found
=3D=3D=3D>   icedtea-web-1.8.4 depends on file: /usr/local/libdata/pkgconfi=
g/x11.pc -
found
=3D=3D=3D>   icedtea-web-1.8.4 depends on shared library: libglib-2.0.so - =
found
(/usr/local/lib/libglib-2.0.so)
=3D=3D=3D>   icedtea-web-1.8.4 depends on shared library: libintl.so - found
(/usr/local/lib/libintl.so)
=3D=3D=3D>  Configuring for icedtea-web-1.8.4
configure.ac:130: installing './compile'
configure.ac:15: installing './config.guess'
configure.ac:15: installing './config.sub'
configure.ac:2: installing './install-sh'
configure.ac:2: installing './missing'
configure: loading site script /usr/ports/Templates/config.site
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... (cached) /bin/mkdir -p
checking for gawk... (cached) /usr/bin/awk
checking whether gmake sets $(MAKE)... yes
checking whether gmake supports nested variables... yes
checking how to create a pax tar archive... gnutar
checking whether to enable maintainer-specific portions of Makefiles... yes
checking build system type... amd64-portbld-freebsd12.1
checking host system type... amd64-portbld-freebsd12.1
checking if cp supports --reflink... no
checking if we can hard link rather than copy from
/tmp/work/usr/ports/java/icedtea-web/work/IcedTea-Web-icedtea-web-1.8.4... =
yes
checking whether to build documentation... no
checking whether to filter by whitelisting on directory name when processin=
g,
compiling and running reproducers... no
checking for bash... /usr/local/bin/bash
checking where to place file with modular switches... ${exec_prefix}/bin
checking whether build legacy shell launchers... yes
checking for rustc... /usr/local/bin/rustc
checking for cargo... /usr/local/bin/cargo
checking whether to include also bat lunchers during linux build... no
checking whether enable rust code coverage... no
checking how to search for libraries in native launchers... BUNDLED
checking whether to compile ecj natively... no
checking for zip... /usr/local/bin/zip
checking for a JDK home directory... /usr/local/openjdk11 (link to
/usr/local/openjdk11)
checking for javac... /usr/local/openjdk11/bin/javac
checking if we are using ecj as javac... no
checking for jar... /usr/local/openjdk11/bin/jar
checking whether jar supports @<file> argument... yes
checking whether jar supports stdin file arguments... no
checking whether jar supports -J options at the end... yes
checking for an ecj JAR file... no
checking for a JRE home directory... configure: error: "A JRE home directory
could not be found. /usr/local/openjdk11/jre"
=3D=3D=3D>  Script "configure" failed unexpectedly.
Please report the problem to java@FreeBSD.org [maintainer] and attach the
"/tmp/work/usr/ports/java/icedtea-web/work/IcedTea-Web-icedtea-web-1.8.4/co=
nfig.log"
including the output of the failure of your make command. Also, it might be
a good idea to provide an overview of all packages installed on your system
(e.g. a /usr/local/sbin/pkg-static info -g -Ea).
*** Error code 1

Stop.
make[1]: stopped in /usr/ports/java/icedtea-web
*** Error code 1

Stop.
make: stopped in /usr/ports/java/icedtea-web

Replace "yes" with "8" fixed issue:
-USE_JAVA=3D      yes
+USE_JAVA=3D      8

--=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-248197-7788>