poudriere builds (base: amd64, jail: arm64.aarch64) and resource limits

Kurt Jaeger pi at freebsd.org
Thu Dec 31 13:08:28 UTC 2020


Hello,

Roland posted a patch to build databases/cassandra4 on arm64.aarch64 in
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=252068
and I built it on my 13-jail:

arm      13.0-CURRENT 1300132 r368817 arm64.aarch64 svn+ssh 2020-12-20 10:38:52 /pou/jails/arm

The build fails almost at the end with:

cd /wrkdirs/usr/ports/databases/cassandra4/work/apache-cassandra-4.0-beta2-src/build/dist && /bin/sh -c '(/usr/bin/find -Ed $1 $3 | /usr/bin/cpio -dumpl $2 >/dev/null 2>&1) &&  /usr/bin/find -Ed $1 $3 \(   -type d -exec /bin/sh -c '\''cd '\''$2'\'' && chmod 755 "$@"'\'' . {} +  -o -type f -exec /bin/sh -c '\''cd '\''$2'\'' && chmod 0644 "$@"'\'' . {} + \)' COPYTREE_SHARE javadoc /wrkdirs/usr/ports/databases/cassandra4/work/stage/usr/local/share/doc/cassandra/
find: /bin/sh: Argument list too long
*** Error code 1

and Ronald compared it to a build on amd64. He found that my jail has
a surprising small data seg size:

data seg size           (kbytes, -d)  131072

Any ideas on how to raise the data seg size in the poudriere jail ?

-- 
pi at opsec.eu            +49 171 3101372                    Now what ?


More information about the freebsd-arm mailing list