Re: git: 8d5a11cd0137 - main - src.conf: Add WITH_LLVM_LINK_STATIC_LIBRARIES build knob

From: Mark Millard <marklmi_at_yahoo.com>
Date: Fri, 26 Dec 2025 01:29:21 UTC
Dimitry Andric <dim_at_FreeBSD.org> wrote on
Date: Fri, 26 Dec 2025 00:57:18 UTC :

> On 26 Dec 2025, at 00:55, Nuno Teixeira <eduardo@freebsd.org> wrote:
> > 
> > [At main ecb58f931d45d6]
> > 
> > After rebuilding system from scratch and install world successfully, upgrading poudriere jail from same src failed (also did install a fresh jail with same error):
> > 
> > # poudriere jail -u -j 16amd64
> > or
> > # poudriere jail -d -j 16amd64
> > # poudriere jail -c -j 16amd64 -m src=/usr/src
> > and
> > # make -DBATCH_DELETE_OLD_FILES delete-old delete-old-libs
> > # poudriere jail -c -j 16amd64 -m src=/usr/src
> > 
> > ```
> > <snip>
> > ===> lib/clang/libllvm (install)
> > install: libprivatellvm.so.19: No such file or directory
> > --- _libinstall ---
> > *** [_libinstall] Error code 71
> 
> You have to use the same options for installworld as for buildworld. I'm unsure who you can tell poudriere with -m src=/usr/src where it gets the options from. I would expect it respect src.conf?

# man poudriere
. . .
   Create optional src.conf
     You can also specify a global src.conf which will be used for building
     jails with the jail -c subcommand.  Any of the following are allowed and
     will all be used in the order shown:

           /usr/local/etc/poudriere.d/src.conf
           /usr/local/etc/poudriere.d/<setname>-src.conf
           /usr/local/etc/poudriere.d/<jailname>-src.conf
. . .

(Note: My environment uses poudriere-devel.)

===
Mark Millard
marklmi at yahoo.com