Re: poudriere: 12-STABLE install fails after r344230

From: O. Hartmann <ohartmann_at_walstatt.org>
Date: Mon, 18 Feb 2019 21:22:32 +0100
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Am Mon, 18 Feb 2019 08:06:54 +0100
"O. Hartmann" <ohartmann_at_walstatt.org> schrieb:

> On Sun, 17 Feb 2019 19:07:53 +0100
> "O. Hartmann" <o.hartmann_at_walstatt.org> wrote:
> 
> > -----BEGIN PGP SIGNED MESSAGE-----
> > Hash: SHA256
> > 
> > Hello,
> > 
> > after the bump of 12-STABE to 1200503 I'm unable to update AMD64 poudriere
> > jails's to this version anymore! Now I run on every box into this error:
> > 
> > [...]
> > 
> > install -N /pool/sources/12-STABLE/src/etc  -C -o root -g wheel -m 444
> > libnandfs.a /pool/poudriere/jails/12-amd64/usr/lib/ --- _INCSINS ---
> > install -N /pool/sources/12-STABLE/src/etc  -C -o root -g wheel -m 444
> > libnandfs.h /pool/poudriere/jails/12-amd64/usr/include/ --- _libinstall ---
> > install: libnandfs.a: No such file or directory
> > *** [_libinstall] Error code 71
> > 
> > make[5]: stopped in /pool/sources/12-STABLE/src/lib/libnandfs
> > 
> > For arm64.aarch64 jails with the same build environment this error doesn't
> > show up! The base host is running CURRENT.
> >  
> > What the ... has this libnandfs.a to do?
> > 
> > Since I build 12-STABLE on CURRENT, I use sources
> > at  /pool/sources/12-STABLE/src and I also
> > utilize /usr/local/etc/poudriere.d/12-amd64-poudriere.conf with one line
> > 
> > export  MAKEOBJDIRPREFIX=/pool/sources/12-STABLE/obj/
> > 
> > to reflect the build tree.
> > 
> > This worked prior to 12-STABLE r344234, it still worls when building and
> > installing for arm64.aarch64 (same host, same CURRENT, same 12-STABLE
> > revision).
> > 
> > How to fix this?
> > 
> > Thanks in advance,
> > 
> > oh
> >   
> [...]
> 
> It seems that the issue occurs on CURRENT. Boxes running 12-STABLE (r344158) or
> 12.0-RELENG (r344247) do not show the problem shown above.
> _______________________________________________
> freebsd-current_at_freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-current

> To unsubscribe, send any mail to "freebsd-current-unsubscribe_at_freebsd.org"

I started again on recent CURRENT (FreeBSD 13.0-CURRENT #190 r344259: Mon Feb 18 17:48:28 CET
2019 amd64). The sources are located at 

/pool/source/12-STABLE/src

and /usr/local/etc/poudriere.d/poudriere.conf has

export  MAKEOBJDIRPREFIX=/pool/sources/12-STABLE/obj/

and doing a fresh start, /pool/sources/12-STABLE/obj and its subtrees has been deleted.

The name of my 12-STABLE jail is 12-amd64 and therefore, I build the world of that jail
by myself from sources located in /pool/sources/12-STABLE/src and build by src.conf common to
poudriere and the build process (to keep them in sync):

/usr/local/etc/poudriere.d/12-amd64-src.conf:

[...]
WITH_CLANG_EXTRAS=          YES
WITH_LLDB=                  YES
#
#WITH_BSD_GREP=             YES
#
#WITH_OFED_EXTRA=            YES
#WITH_NAND=                  YES
#WITH_CTF=                  YES
#
#WITH_SVN=                   YES
#
# Enable building openldap support for kerberos.
#WITH_OPENLDAP=             YES
#
#WITH_SORT_THREADS=          YES
#
#WITH_EXTRA_TCP_STACKS=     YES
#
#WITH_ZONEINFO_LEAPSECONDS_SUPPORT=      YES
#
MALLOC_PRODUCTION=          YES
#
WITHOUT_ASSERT_DEBUG=       YES
#
WITHOUT_DEBUG_FILES=        YES
#
WITHOUT_TESTS=              YES
#
WITHOUT_PROFILE=            YES
#
#WITHOUT_REPRODUCIBLE_BUILD= YES
#
#  mitigation for CVE-2017-5715 in the kernel build
#WITH_KERNEL_RETPOLINE=     YES
[...]

I use those configs also for PKGbase repos, for which the poudriere packages should be built.

Now, with a almost vanilla setup, poudriere runs into weird erros different from the initial
reportd; first error now occuring see below;

I'm loosing hair over this; installing  poudriere jails from network/internet resources is no
option in the isolated environment I have to build things, so I felt really comfortable having
such a great opportunity of building my own bindaries from sources for repos and poudriere
jails from the very same source. Obviously, this is highly unstable.


Is this considered a bug or is it in general unsupported and "worked by accident"?

Regards,

oh
[...]
- --- realinstall_subdir_usr.sbin ---
- --- installdirs-FILESDIR ---
- --- realinstall_subdir_usr.bin ---
- --- _proginstall ---
install -N /pool/sources/12-STABLE/src/etc  -s -o root -g wheel -m 555
bugpoint /pool/poudriere/jails/12-amd64/usr/bin/bugpoint install: bugpoint: No such file or
directory 
*** [_proginstall] Error code 71

make[6]: stopped in /pool/sources/12-STABLE/src/usr.bin/clang/bugpoint
1 error

make[6]: stopped in /pool/sources/12-STABLE/src/usr.bin/clang/bugpoint

- --- realinstall_subdir_usr.sbin ---
installing DIRS FILESDIR
install -N /pool/sources/12-STABLE/src/etc  -d -m 0755 -o root  -g
wheel  /pool/poudriere/jails/12-amd64/usr/libexec/bsdconfig/080.console/include ---
_FILESINS_messages.subr --- --- realinstall_subdir_usr.bin ---
*** [realinstall_subdir_usr.bin/clang/bugpoint] Error code 2

make[5]: stopped in /pool/sources/12-STABLE/src/usr.bin/clang
1 error

make[5]: stopped in /pool/sources/12-STABLE/src/usr.bin/clang
- --- realinstall_subdir_secure ---
rm
- -f /pool/poudriere/jails/12-amd64/usr/share/openssl/man/man3/ADMISSIONS_free.3 /pool/poudriere/jails/12-amd64/usr/share/openssl/man/man3/ADMISSIONS_free.3.gz;
install -N /pool/sources/12-STABLE/src/etc -l h -o root -g wheel -m
444  /pool/poudriere/jails/12-amd64/usr/share/openssl/man/man3/X509_dup.3.gz /pool/poudriere/jails/12-amd64/usr/share/openssl/man/man3/ADMISSIONS_free.3.gz
- --- realinstall_subdir_usr.bin --- *** [realinstall_subdir_usr.bin/clang] Error code 2

make[4]: stopped in /pool/sources/12-STABLE/src/usr.bin
1 error
- --- realinstall_subdir_usr.sbin ---
install -N /pool/sources/12-STABLE/src/etc  -o root  -g wheel -m
444  /pool/sources/12-STABLE/src/usr.sbin/bsdconfig/console/include/messages.subr /pool/poudriere/jails/12-amd64/usr/libexec/bsdconfig/080.console/include/messages.subr
- --- realinstall_subdir_usr.bin ---

make[4]: stopped in /pool/sources/12-STABLE/src/usr.bin
*** [realinstall_subdir_usr.bin] Error code 2

make[3]: stopped in /pool/sources/12-STABLE/src
- --- realinstall_subdir_usr.sbin ---
A failure has been detected in another branch of the parallel make

make[7]: stopped in /pool/sources/12-STABLE/src/usr.sbin/bsdconfig/console/include
- --- realinstall_subdir_secure ---
rm
- -f /pool/poudriere/jails/12-amd64/usr/share/openssl/man/man3/ADMISSIONS_new.3 /pool/poudriere/jails/12-amd64/usr/share/openssl/man/man3/ADMISSIONS_new.3.gz;
install -N /pool/sources/12-STABLE/src/etc -l h -o root -g wheel -m
444  /pool/poudriere/jails/12-amd64/usr/share/openssl/man/man3/X509_dup.3.gz /pool/poudriere/jails/12-amd64/usr/share/openssl/man/man3/ADMISSIONS_new.3.gz
- --- realinstall_subdir_usr.sbin --- ***
[realinstall_subdir_usr.sbin/bsdconfig/console/include] Error code 2

- -- 
O. Hartmann

Ich widerspreche der Nutzung oder Übermittlung meiner Daten für
Werbezwecke oder für die Markt- oder Meinungsforschung (§ 28 Abs. 4 BDSG).
-----BEGIN PGP SIGNATURE-----

iHUEARYIAB0WIQSy8IBxAPDkqVBaTJ44N1ZZPba5RwUCXGsUIwAKCRA4N1ZZPba5
R/ZOAQDR9INKs97vnkKEaMeLzbik1Uw7f+vQ3bFdm7W/YvVBngD/UkWBL29+BvZX
9DGZ9PXFco7NAmwExvkayHd6DhLptQA=
=iNXx
-----END PGP SIGNATURE-----
Received on Mon Feb 18 2019 - 19:28:20 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:20 UTC