Donation to Foundation for Poudriere /opt builds! (Bounty?)

Tatsuki Makino tatsuki_makino at hotmail.com
Mon Nov 9 10:36:28 UTC 2020


I tried deeper.

Revert all changes. (reinstall poudriere, etc...)

Make a new jail as poudriere jail -c -j opt ...

Edit /usr/local/poudriere/jails/opt/etc/login.conf as shown in the
following diff and run cap_mkdb.
# Beware of extra line breaks due to emails.

--- /usr/local/poudriere/jails/opt/etc/login.conf.genbypoudriere
2020-11-09 09:37:31.946692000 +0000
+++ /usr/local/poudriere/jails/opt/etc/login.conf       2020-11-09
09:39:35.621802000 +0000
@@ -25,11 +25,11 @@
 default:\
        :passwd_format=sha512:\
        :copyright=/etc/COPYRIGHT:\
        :welcome=/etc/motd:\
-       :setenv=BLOCKSIZE=K,UNAME_r=12.2-STABLE,UNAME_v=FreeBSD
12.2-STABLE 1202504,OSVERSION=1202504:\
+
:setenv=LOCALBASE=/opt,BLOCKSIZE=K,UNAME_r=12.2-STABLE,UNAME_v=FreeBSD
12.2-STABLE 1202504,OSVERSION=1202504:\
        :mail=/var/mail/$:\
-       :path=/sbin /bin /usr/sbin /usr/bin /usr/local/sbin
/usr/local/bin ~/bin:\
+       :path=/sbin /bin /usr/sbin /usr/bin /usr/local/sbin
/usr/local/bin /opt/sbin /opt/bin ~/bin:\
        :nologin=/var/run/nologin:\
        :cputime=unlimited:\
        :datasize=unlimited:\
        :stacksize=unlimited:\

Create a new /usr/local/poudriere/jails/opt/etc/rc.conf as shown in the
following.

local_startup="/usr/local/etc/rc.d /opt/etc/rc.d"
ldconfig_paths="/usr/lib/compat /usr/local/lib /usr/local/lib/compat/pkg
/opt/lib /opt/lib/compat/pkg"
ldconfigsoft_paths="/usr/libsoft /usr/libsoft/compat /usr/local/libsoft
/opt/libsoft"
ldconfig_paths_aout="/usr/lib/compat/aout /usr/local/lib/aout /opt/lib/aout"
ldconfig_local_dirs="/usr/local/libdata/ldconfig /opt/libdata/ldconfig"
ldconfig_local32_dirs="/usr/local/libdata/ldconfig32
/opt/libdata/ldconfig32"
ldconfig_localsoft_dirs="/usr/local/libdata/ldconfigsoft
/opt/libdata/ldconfigsoft"

That's all it takes to get ready.
I also make it in python37.

poudriere bulk -j opt -J 2 lang/python37

Check the operation of python37.

poudriere jail -s -j opt -p default
jexec opt-default-n env -i "TERM=$TERM" /usr/bin/login -f -p root
# (Enter the jail)
make -C /usr/ports/lang/python37/ pkg-depends
make -C /usr/ports/lang/python37/ install-package
/opt/bin/python3.7 -h
exit
# (Out of jail)
poudriere jail -k -j opt -p default

Sorry for the hard-to-read writing style :)
But I have had no problems so far.
What port do you build that cause problems?

Regards.



More information about the freebsd-ports mailing list