Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 12 Oct 2025 10:53:22 +0000
From:      bugzilla-noreply@freebsd.org
To:        java@FreeBSD.org
Subject:   [Bug 290148] java/openjdk17 fails to build nm: 'hashtable.o': Invalid argument then Error 141 then Error 2 in poudriere
Message-ID:  <bug-290148-8522-l9d1BpjoMR@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-290148-8522@https.bugs.freebsd.org/bugzilla/>
References:  <bug-290148-8522@https.bugs.freebsd.org/bugzilla/>

index | next in thread | previous in thread | raw e-mail

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=290148

Ronald Klop <ronald@FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Assignee|java@FreeBSD.org            |ronald@FreeBSD.org
             Status|New                         |In Progress

--- Comment #5 from Ronald Klop <ronald@FreeBSD.org> ---
Thanks for the logs. I see what is happening.

In commit ports 00d241bb50a1e8ec79bff2ec6f0127126079e03d I made
MAKE_JOBS_UNSAFE conditional on "&& ${OSVERSION} < 1403000" as I didn't see the
problem in FreeBSD 15 and hoped that 14.3 would have it solved also. Your case
shows it is not solved in 14.3.

Your build runs with 20 parallel jobs:
[00:00:46] Build performance summary:
[00:00:46] * Cores to use:   20
[00:00:46] * Memory limit:   130999 MB

The official FreeBSD pkg builders limit this to 3 cores. That is why the
official package builders don't have this problem.

I'm testing this patch for openjdk17 now.
-.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1403000
-MAKE_JOBS_UNSAFE=      yes
+.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1500000
+MAKE_JOBS_NUMBER_LIMIT=        3

That should limit the number of parallel jobs to a known working amount.

-- 
You are receiving this mail because:
You are the assignee for the bug.

help

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-290148-8522-l9d1BpjoMR>