Thread View: muc.lists.freebsd.ports
3 messages
3 total messages
Started by Andrea Venturoli
Mon, 30 Nov 2026 08:12
Cannot build textproc/elasticsearch8
Author: Andrea Venturoli
Date: Mon, 30 Nov 2026 08:12
Date: Mon, 30 Nov 2026 08:12
36 lines
4614 bytes
4614 bytes
Hello. As always, I'm building ports in a jailed poudriere (on FreeBSD 15.1/amd64). I used to build textproc/elasticsearch8 for 14.4/amd64. Lately however, after it was upgraded to 8.19, it fails with: > ===> Building for elasticsearch8-8.19.25_1 > (cd /wrkdirs/usr/ports/textproc/elasticsearch8/work/elasticsearch-8.19.25 && /usr/bin/env GRADLE_USER_HOME=/wrkdirs/usr/ports/textproc/elasticsearch8/work/gradle-elasticsearch JAVA_TOOLCHAIN_HOME=/usr/local/openjdk25 RUNTIME_JAVA_HOME=/ > usr/local/openjdk25 LOCAL_VEC_BINARY_OS=true LOCAL_ZSTD_BINARY=true gradle --no-daemon --project-cache-dir /wrkdirs/usr/ports/textproc/elasticsearch8/work/gradle-elasticsearch --build-cache --no-scan --offline localDistro -Dbuild.sna > pshot=false -Dlicense.key=public.key -Dfreebsd.build.override-jdk=true -Dfreebsd.build.fromPorts=true) > To honour the JVM settings for this build a single-use Daemon process will be forked. For more on this, please refer to https://docs.gradle.org/9.8.0/userguide/gradle_daemon.html#sec:disabling_the_daemon in the Gradle documentation. > > FAILURE: Build failed with an exception. > > * What went wrong: > Could not connect to the Gradle daemon. > Daemon uid: 06efcbc4-374c-4cc6-a801-242689251262 with diagnostics: > Daemon pid: 54607 Notice: I have IPv6 disabled in the kernel. Jail has a lo3 interface with IP 127.0.3.1 and no other interface configured. Is there something specific that must be done in the port and/or jail configuration for this to succeed? bye & Thanks av. -- Posted automagically by a mail2news gateway at muc.de e.V. Please direct questions, flames, donations, etc. to news-admin@muc.de
Re: Cannot build textproc/elasticsearch8
Author: Tatsuki Makino
Date: Tue, 01 Dec 2026 23:59
Date: Tue, 01 Dec 2026 23:59
28 lines
10995 bytes
10995 bytes
Hello.
On 2026/11/30 17:12, Andrea Venturoli wrote:
> Notice: I have IPv6 disabled in the kernel.
> Jail has a lo3 interface with IP 127.0.3.1 and no other interface configured.
I don't know if this has anything to do with it, but
There is a variable where the loopback address is defined.
https: //github.com /freebsd/poudriere/blob/9418e104274c0307b8d8cf3afed3388a1ce96deb/src/share/poudriere/common.sh#L11073
: ${LOIP6:=::1}
: ${LOIP4:=127.0.0.1}
They will not be written to /etc/hosts inside the jail.
https: //github.com /freebsd/poudriere/blob/9418e104274c0307b8d8cf3afed3388a1ce96deb/src/share/poudriere/common.sh#L1053
https: //github.com /freebsd/poudriere/blob/9418e104274c0307b8d8cf3afed3388a1ce96deb/src/share/poudriere/common.sh#L2783
Also, when IPv4 forwarding is enabled and NAT is running, caution is required because network packets may try to go out from the loopback address.
However, after all, this seems to be a point that is not very relevant.
Regards.
--
Posted automagically by a mail2news gateway at muc.de e.V.
Please direct questions, flames, donations, etc. to news-admin@muc.de
Re: Cannot build textproc/elasticsearch8
Author: Andrea Venturoli
Date: Wed, 02 Dec 2026 16:05
Date: Wed, 02 Dec 2026 16:05
39 lines
4473 bytes
4473 bytes
On 12/2/26 00:59, Tatsuki Makino wrote:
> There is a variable where the loopback address is defined.
> https: //github.com /freebsd/poudriere/
> blob/9418e104274c0307b8d8cf3afed3388a1ce96deb/src/share/poudriere/
> common.sh#L11073
>
> : ${LOIP6:=::1}
> : ${LOIP4:=127.0.0.1}
>
> They will not be written to /etc/hosts inside the jail.
> https: //github.com /freebsd/poudriere/
> blob/9418e104274c0307b8d8cf3afed3388a1ce96deb/src/share/poudriere/
> common.sh#L1053
> https: //github.com /freebsd/poudriere/
> blob/9418e104274c0307b8d8cf3afed3388a1ce96deb/src/share/poudriere/
> common.sh#L2783
Hello.
Thanks for the support.
However, I don't really understand what you are suggesting I do.
In the meantime I solved by adding the following to login.conf:
GRADLE_DAEMON_BIND_ADDRESS=127.0.3.1
N.B.
This must be done in the inner jail and the @clean snapshot has to be
retaken.
Also gradle will bind to a random port, so the firewall must cope :(
I'm still interested to hear if there's a better solution.
bye & Thanks
av.
--
Posted automagically by a mail2news gateway at muc.de e.V.
Please direct questions, flames, donations, etc. to news-admin@muc.de
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads