From nobody Sun Sep 14 09:43:15 2025 X-Original-To: java@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 4cPjs24lkmz67g5Z; Sun, 14 Sep 2025 09:43:18 +0000 (UTC) (envelope-from ronald-lists@klop.ws) Received: from smtp-relay-int-backup.realworks.nl (smtp-relay-int-backup.realworks.nl [87.255.56.188]) (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 mx1.freebsd.org (Postfix) with ESMTPS id 4cPjs220pWz3v2w; Sun, 14 Sep 2025 09:43:18 +0000 (UTC) (envelope-from ronald-lists@klop.ws) Authentication-Results: mx1.freebsd.org; none Received: from smtp-relay-int-backup.realworks.nl (crmpreview7.colo2.realworks.nl [10.2.52.37]) by mailrelayint2.colo2.realworks.nl (Postfix) with ESMTP id 4cPjrz4V0dzm7; Sun, 14 Sep 2025 11:43:15 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=klop.ws; s=rw2; t=1757842995; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=qHYvjp8PfDofCwSFV2N7u7Ltjyy6lgl8qYgSlRS7MZg=; b=mSbuXKz4ghmoJcbzK+9qCooya8s533xncGWSJf7SlTkapMyOPmkgAmQQzFpONkh2xashIP z17b/VHmmrwrUh6HQVvB97X0CiCRObkOhZOpwtXryFY6d0MvvhCdAUInayjxcOGhM8q91r M7NdBEfZEIKaWWdACzhStDOd5xzkHdfnQ+7cxlVYAnzVWmpsIFzu9vI30Vrt8XIdHac9IH gRK8uBfoi1pyrs+tEQimZPFGW4ieQ+6mtPxOYcN2cqqbGKinnOAr+SGACB3c8yAtTuI4zx 2yfPTsx8iZFgs1XeJO0tr2J1EVlbt0SixEKdmKjdixAxuzm2W5cWpHFZukIvbw== Received: from crmpreview7.colo2.realworks.nl (localhost [127.0.0.1]) by crmpreview7.colo2.realworks.nl (Postfix) with ESMTP id 7FB7E180289; Sun, 14 Sep 2025 11:43:15 +0200 (CEST) Date: Sun, 14 Sep 2025 11:43:15 +0200 (CEST) From: Ronald Klop To: Xavier Humbert Cc: ports@freebsd.org, java@freebsd.org Message-ID: <1066003420.14419.1757842995487@localhost> In-Reply-To: References: <200917645.16346.1757837400312@localhost> Subject: Re: java/openjdk17 does not nuild List-Id: Porting Java to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-java List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-java@FreeBSD.org MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_14418_363214250.1757842995315" X-Mailer: Realworks (765.87) X-Originating-Host: from (83-81-212-149.cable.dynamic.v4.ziggo.nl [83.81.212.149]) by crmpreview7.colo2.realworks.nl [10.2.52.37] with HTTP; Sun, 14 Sep 2025 11:43:15 +0200 Importance: Normal X-Priority: 3 (Normal) X-Originating-User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:142.0) Gecko/20100101 Firefox/142.0 X-Spamd-Bar: ---- X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:38930, ipnet:87.255.32.0/19, country:NL] X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Rspamd-Queue-Id: 4cPjs220pWz3v2w ------=_Part_14418_363214250.1757842995315 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable Hi Xavier, The issue should be fixed. Please git pull so you have port revision 3 of o= penjdk17. Would be nice to hear if it is also working for you again. Thanks for reporting the problem. Regards, Ronald. =20 Van: Xavier Humbert Datum: zondag, 14 september 2025 10:37 Aan: Ronald Klop CC: ports@freebsd.org, java@freebsd.org Onderwerp: Re: java/openjdk17 does not nuild >=20 > Le 14/09/2025 10:10, Ronald Klop a =C3=A9crit : >> Hi, >> I=E2=80=99m trying to fix things on openjdk17 in relation to parallel bu= ilding. See java@ mailing list in the thread about =E2=80=9Cnm=E2=80=9D err= ors. >> Can you post more of your make.conf?And can you do make clean before mak= e all?And post more lines of output? >> I can=E2=80=99t reproduce your error yet. >> Regards,Ronald >=20 > Her is my make.conf : >=20 > CPUTYPE?=3Dcore2 > CFLAGS+=3D -g > CXXFLAGS+=3D -g > #MAKEFLAGS=3D -j 8 > MASTER_SITE_BACKUP?=3D \ > http://distcache.FreeBSD.org/ports-distfiles/${DIST_SUBDIR}/ > MASTER_SITE_OVERRIDE?=3D ${MASTER_SITE_BACKUP} > MASTER_SORT_REGEX?=3D ://[^/]*\.fr[/.] > PACKAGES=3D/usr/ports/packages > DEFAULT_VERSIONS+=3Dssl=3Dopenssl > DEFAULT_VERSIONS+=3Dpython=3D3.11 > DEFAULT_VERSIONS+=3Dperl5=3D5.40 > DEFAULT_VERSIONS+=3Dmysql=3D106m > DEFAULT_VERSIONS+=3Dllvm=3D20 > DEFAULT_VERSIONS+=3Dmono=3D5.20 > OPTIONS_UNSET=3D GSSAPI_BASE > OPTIONS_SET=3D GSSAPI_MIT > .if ${.CURDIR:M*/ports/net/librsync} > LDFLAGS +=3D -L/usr/local/lib > .endif > WITH_CTF=3Dyes > MK_CTF=3Dyes > DEVELOPER=3Dyes > TMPFS_BLACKLIST=3D'rust gcc* llvm* texlive-texmf' > TMPFS_BLACKLIST_TMPDIR=3D/var/tmp > USE_TMPFS=3Dyes > TMPFS_LIMIT=3D4=20 > =20 >=20 > An the full output >=20 > [root@numenor openjdk17]# make MAKE_JOBS_NUMBER=3D8 all > =3D=3D=3D> License GPLv2 accepted by the user > =3D=3D=3D> openjdk17-17.0.16+8.1_2 depends on file: /usr/local/sbin/pkg= - found > =3D=3D=3D> Fetching all distfiles required by openjdk17-17.0.16+8.1_2 for= building > =3D=3D=3D> Extracting for openjdk17-17.0.16+8.1_2 > =3D> SHA256 Checksum OK for battleblow-jdk17u-jdk-17.0.16+8-1_GH0.tar.gz. > =3D=3D=3D> Patching for openjdk17-17.0.16+8.1_2 > =3D=3D=3D> Applying FreeBSD patches for openjdk17-17.0.16+8.1_2 from /us= r/ports/java/openjdk17/files > =3D=3D=3D> openjdk17-17.0.16+8.1_2 depends on executable: zip - found > =3D=3D=3D> openjdk17-17.0.16+8.1_2 depends on package: autoconf>0 - fou= nd > =3D=3D=3D> openjdk17-17.0.16+8.1_2 depends on file: /usr/local/include/= cups/cups.h - found > =3D=3D=3D> openjdk17-17.0.16+8.1_2 depends on executable: bash - found > =3D=3D=3D> openjdk17-17.0.16+8.1_2 depends on executable: gsed - found > =3D=3D=3D> openjdk17-17.0.16+8.1_2 depends on package: gmake>=3D4.4.1 -= found > =3D=3D=3D> openjdk17-17.0.16+8.1_2 depends on package: libiconv>=3D1.14= _11 - found > =3D=3D=3D> openjdk17-17.0.16+8.1_2 depends on package: pkgconf>=3D1.3.0= _1 - found > =3D=3D=3D> openjdk17-17.0.16+8.1_2 depends on file: /usr/local/libdata/= pkgconfig/x11.pc - found > =3D=3D=3D> openjdk17-17.0.16+8.1_2 depends on file: /usr/local/libdata/= pkgconfig/xext.pc - found > =3D=3D=3D> openjdk17-17.0.16+8.1_2 depends on file: /usr/local/libdata/= pkgconfig/xi.pc - found > =3D=3D=3D> openjdk17-17.0.16+8.1_2 depends on file: /usr/local/libdata/= pkgconfig/xrandr.pc - found > =3D=3D=3D> openjdk17-17.0.16+8.1_2 depends on file: /usr/local/libdata/= pkgconfig/xrender.pc - found > =3D=3D=3D> openjdk17-17.0.16+8.1_2 depends on file: /usr/local/libdata/= pkgconfig/xt.pc - found > =3D=3D=3D> openjdk17-17.0.16+8.1_2 depends on file: /usr/local/libdata/= pkgconfig/xtst.pc - found > =3D=3D=3D> openjdk17-17.0.16+8.1_2 depends on shared library: libasound= .so - found (/usr/local/lib/libasound.so) > =3D=3D=3D> openjdk17-17.0.16+8.1_2 depends on shared library: libfontco= nfig.so - found (/usr/local/lib/libfontconfig.so) > =3D=3D=3D> openjdk17-17.0.16+8.1_2 depends on shared library: libfreety= pe.so - found (/usr/local/lib/libfreetype.so) > =3D=3D=3D> openjdk17-17.0.16+8.1_2 depends on shared library: libgif.so= - found (/usr/local/lib/libgif.so) > =3D=3D=3D> openjdk17-17.0.16+8.1_2 depends on shared library: libharfbu= zz.so - found (/usr/local/lib/libharfbuzz.so) > =3D=3D=3D> openjdk17-17.0.16+8.1_2 depends on shared library: liblcms2.= so - found (/usr/local/lib/liblcms2.so) > =3D=3D=3D> openjdk17-17.0.16+8.1_2 depends on shared library: libpng.so= - found (/usr/local/lib/libpng.so) > =3D=3D=3D> openjdk17-17.0.16+8.1_2 depends on shared library: libjpeg.s= o - found (/usr/local/lib/libjpeg.so) > =3D=3D=3D> Configuring for openjdk17-17.0.16+8.1_2 > Warning: You are using legacy autoconf cross-compilation flags. > It is recommended that you use --openjdk-target instead. >=20 > [... output of configure skipped] >=20 > The following warnings were produced. Repeated here for convenience: > WARNING: Ignoring value of MAKE from the environment. Use command line va= riables instead. > WARNING: Ignoring CFLAGS(-O2 -pipe -g -march=3Dcore2 -DLIBICONV_PLUG -fs= tack-protector-strong -fno-strict-aliasing ) found in environment. Use --wi= th-extra-cflags > WARNING: Ignoring CXXFLAGS(-O2 -pipe -g -march=3Dcore2 -DLIBICONV_PLUG -f= stack-protector-strong -fno-strict-aliasing -g -DLIBICONV_PLUG ) found in = environment. Use --with-extra-cxxflags > WARNING: Ignoring LDFLAGS( ) found in environment. Use --with-extra-ldfla= gs > WARNING: Option --enable-hotspot-gtest is deprecated and will be ignored. >=20 > =3D=3D=3D> Building for openjdk17-17.0.16+8.1_2 > Error: 'make -jN' is not supported, use 'make JOBS=3DN' > /usr/ports/java/openjdk17/work/jdk17u-jdk-17.0.16-8-1/make/Init.gmk:115: = *** Cannot continue. Stop. > =3D=3D=3D> Compilation failed unexpectedly. > Try to set MAKE_JOBS_UNSAFE=3Dyes and rebuild before reporting the failur= e to > the maintainer. > *** Error code 1 >=20 > Stop. > make: stopped in /usr/ports/java/openjdk17 > =20 >=20 > =20 >>=20 >> Van: Xavier Humbert >> Datum: 14 september 2025 09:40 >> Aan: ports@freebsd.org >> Onderwerp: java/openjdk17 does not nuild >>>=20 >>> Hi; >>>=20 >>> After pulling tonight's port tree, I have to upgrade java/openjdk17, bu= t >>>=20 >>> [root@numenor openjdk17]# make all >>> =3D=3D=3D> Building for openjdk17-17.0.16+8.1_2 >>> Error: 'make -jN' is not supported, use 'make JOBS=3DN' >>>=20 >>> I have commented out MAKEFLAGS=3D -j 8 in /etc/make.conf with no succes= s. >>>=20 >>> Any help appreciated. >>>=20 >>> Regards, >>>=20 >>> Xavier >>>=20 >>> --=20 >>> Xavier HUMBERT - Unix/Win/MacOSX Sysadmin/Network Engineer >>> https://www.amdh.fr >>>=20 >>> =20 >>>=20 >>>=20 >>>=20 >>=20 >>=20 >> >=20 > --=20 > Xavier HUMBERT - Unix/Win/MacOSX Sysadmin/Network Engineer > https://www.amdh.fr >=20 =20 ------=_Part_14418_363214250.1757842995315 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hi Xavier,

The issue should be fixed. Please git pull so you have port revision 3 of o= penjdk17.
Would be nice to hear if it is also working for you again.

Thanks for reporting the problem.

Regards,
Ronald.

 

Van: Xavier Humbert <xavier@groumpf.org>
Datum: zondag, 14 september 2025 10:37
Aan: Ronald Klop <ronald-lists@klop.ws>
CC: ports@freebsd.org, java@freebsd.org
Onderwerp: Re: java/openjdk17 does not nuild

Le 14/09/2025 10:10= , Ronald Klop a =C3=A9crit :
Hi,

I=E2=80=99m trying to fix things on openjdk17 in relation to parallel build= ing. See java@ mailing list in the thread about =E2=80=9Cnm=E2=80=9D errors= .

Can you post more of your make.conf?
And can you do make clean before make all?
And post more lines of output?

I can=E2=80=99t reproduce your error yet.

Regards,
Ronald

 

Her is my make.conf :

CPUTYPE?=3Dcore2
CFLAGS+=3D        -g
CXXFLAGS+=3D      -g
#MAKEFLAGS=3D -j 8
MASTER_SITE_BACKUP?=3D    \
        http://distcache.FreeBSD.org/po= rts-distfiles/${DIST_SUBDIR}/
MASTER_SITE_OVERRIDE?=3D  ${MASTER_SITE_BACKUP}
MASTER_SORT_REGEX?=3D     ://[^/]*\.fr[/.]
PACKAGES=3D/usr/ports/packages
DEFAULT_VERSIONS+=3Dssl=3Dopenssl
DEFAULT_VERSIONS+=3Dpython=3D3.11
DEFAULT_VERSIONS+=3Dperl5=3D5.40
DEFAULT_VERSIONS+=3Dmysql=3D106m
DEFAULT_VERSIONS+=3Dllvm=3D20
DEFAULT_VERSIONS+=3Dmono=3D5.20
OPTIONS_UNSET=3D GSSAPI_BASE
OPTIONS_SET=3D   GSSAPI_MIT
.if ${.CURDIR:M*/ports/net/librsync}
  LDFLAGS +=3D -L/usr/local/lib
.endif
WITH_CTF=3Dyes
MK_CTF=3Dyes
DEVELOPER=3Dyes
TMPFS_BLACKLIST=3D'rust gcc* llvm* texlive-texmf'
TMPFS_BLACKLIST_TMPDIR=3D/var/tmp
USE_TMPFS=3Dyes
TMPFS_LIMIT=3D4 

 

An the full output

[root@numenor openjdk17]# make MAKE_JOBS_NUMBER= =3D8 all
=3D=3D=3D>  License GPLv2 accepted by the user
=3D=3D=3D>   openjdk17-17.0.16+8.1_2 depends on file: /usr/loc= al/sbin/pkg - found
=3D=3D=3D> Fetching all distfiles required by openjdk17-17.0.16+8.1_2 fo= r building
=3D=3D=3D>  Extracting for openjdk17-17.0.16+8.1_2
=3D> SHA256 Checksum OK for battleblow-jdk17u-jdk-17.0.16+8-1_GH0.tar.gz= .
=3D=3D=3D>  Patching for openjdk17-17.0.16+8.1_2
=3D=3D=3D>  Applying FreeBSD patches for openjdk17-17.0.16+8.1_2 fr= om /usr/ports/java/openjdk17/files
=3D=3D=3D>   openjdk17-17.0.16+8.1_2 depends on executable: zi= p - found
=3D=3D=3D>   openjdk17-17.0.16+8.1_2 depends on package: autoc= onf>0 - found
=3D=3D=3D>   openjdk17-17.0.16+8.1_2 depends on file: /usr/loc= al/include/cups/cups.h - found
=3D=3D=3D>   openjdk17-17.0.16+8.1_2 depends on executable: ba= sh - found
=3D=3D=3D>   openjdk17-17.0.16+8.1_2 depends on executable: gs= ed - found
=3D=3D=3D>   openjdk17-17.0.16+8.1_2 depends on package: gmake= >=3D4.4.1 - found
=3D=3D=3D>   openjdk17-17.0.16+8.1_2 depends on package: libic= onv>=3D1.14_11 - found
=3D=3D=3D>   openjdk17-17.0.16+8.1_2 depends on package: pkgco= nf>=3D1.3.0_1 - found
=3D=3D=3D>   openjdk17-17.0.16+8.1_2 depends on file: /usr/loc= al/libdata/pkgconfig/x11.pc - found
=3D=3D=3D>   openjdk17-17.0.16+8.1_2 depends on file: /usr/loc= al/libdata/pkgconfig/xext.pc - found
=3D=3D=3D>   openjdk17-17.0.16+8.1_2 depends on file: /usr/loc= al/libdata/pkgconfig/xi.pc - found
=3D=3D=3D>   openjdk17-17.0.16+8.1_2 depends on file: /usr/loc= al/libdata/pkgconfig/xrandr.pc - found
=3D=3D=3D>   openjdk17-17.0.16+8.1_2 depends on file: /usr/loc= al/libdata/pkgconfig/xrender.pc - found
=3D=3D=3D>   openjdk17-17.0.16+8.1_2 depends on file: /usr/loc= al/libdata/pkgconfig/xt.pc - found
=3D=3D=3D>   openjdk17-17.0.16+8.1_2 depends on file: /usr/loc= al/libdata/pkgconfig/xtst.pc - found
=3D=3D=3D>   openjdk17-17.0.16+8.1_2 depends on shared library= : libasound.so - found (/usr/local/lib/libasound.so)
=3D=3D=3D>   openjdk17-17.0.16+8.1_2 depends on shared library= : libfontconfig.so - found (/usr/local/lib/libfontconfig.so)
=3D=3D=3D>   openjdk17-17.0.16+8.1_2 depends on shared library= : libfreetype.so - found (/usr/local/lib/libfreetype.so)
=3D=3D=3D>   openjdk17-17.0.16+8.1_2 depends on shared library= : libgif.so - found (/usr/local/lib/libgif.so)
=3D=3D=3D>   openjdk17-17.0.16+8.1_2 depends on shared library= : libharfbuzz.so - found (/usr/local/lib/libharfbuzz.so)
=3D=3D=3D>   openjdk17-17.0.16+8.1_2 depends on shared library= : liblcms2.so - found (/usr/local/lib/liblcms2.so)
=3D=3D=3D>   openjdk17-17.0.16+8.1_2 depends on shared library= : libpng.so - found (/usr/local/lib/libpng.so)
=3D=3D=3D>   openjdk17-17.0.16+8.1_2 depends on shared library= : libjpeg.so - found (/usr/local/lib/libjpeg.so)
=3D=3D=3D>  Configuring for openjdk17-17.0.16+8.1_2
Warning: You are using legacy autoconf cross-compilation flags.
It is recommended that you use --openjdk-target instead.

[... output of configure skipped]

The following warnings were produced. Repeated here for convenience:
WARNING: Ignoring value of MAKE from the environment. Use command line vari= ables instead.
WARNING: Ignoring CFLAGS(-O2 -pipe -g -march=3Dcore2  -DLIBICONV_PLUG = -fstack-protector-strong -fno-strict-aliasing ) found in environment. Use -= -with-extra-cflags
WARNING: Ignoring CXXFLAGS(-O2 -pipe -g -march=3Dcore2 -DLIBICONV_PLUG -fst= ack-protector-strong -fno-strict-aliasing -g  -DLIBICONV_PLUG ) found = in environment. Use --with-extra-cxxflags
WARNING: Ignoring LDFLAGS( ) found in environment. Use --with-extra-ldflags=
WARNING: Option --enable-hotspot-gtest is deprecated and will be ignored.
=3D=3D=3D>  Building for openjdk17-17.0.16+8.1_2
Error: 'make -jN' is not supported, use 'make JOBS=3DN'
/usr/ports/java/openjdk17/work/jdk17u-jdk-17.0.16-8-1/make/Init.gmk:115: **= * Cannot continue.  Stop.
=3D=3D=3D> Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=3Dyes and rebuild before reporting the failure = to
the maintainer.
*** Error code 1

Stop.
make: stopped in /usr/ports/java/openjdk17

 

 

Van: Xavier Humbert <xavi= er@groumpf.org>
Datum: 14 september 2025 09:40
Aan: ports@freebsd.org
Onderwerp: java/openjdk17 does not nuild

Hi;

After pulling tonight's port tree, I have to upgra= de java/openjdk17, but

[root@numenor openjdk17]# make all
=3D=3D=3D>  Building for openjdk17-17.0.16+8.1_2
Error: 'make -jN' is not supported, use 'make JOBS=3DN'


I have commented out MAKEFLAGS=3D -j 8 in /etc/mak= e.conf with no success.

Any help appreciated.

Regards,

Xavier

-- 
Xavier HUMBERT - Unix/Win/MacOSX Sysadmin/Network Engineer

https://www.amdh.fr

 



 
--=20
Xavier HUMBERT - Unix/Win/MacOSX Sysadmin/Network Engineer
https://www=
.amdh.fr

  ------=_Part_14418_363214250.1757842995315--