I'm having a problem creating a jail @home that I had no problems building at work. The build environment at work was 13-RELEASE (GENERIC) amd64

@home
UNAME:
Build system: FreeBSD firewall.mikej.com 13.1-STABLE FreeBSD 13.1-STABLE #21 stable/13-n253337-16603f60156e: Wed Dec 28 08:22:48 EST 2022 [email protected]:/usr/obj/usr/src/amd64.amd64/sys/GENERIC amd64

Build Command:
poudriere jail -c -j 14Current-armv7-GENERIC -m git+https -v main -J4 -a arm.armv7 -x -b -K GENERIC

qemu-arm version 3.1.0

/etc/src: EMPTY

/etc/make.conf:
DEFAULT_VERSIONS+=python=3.8
DEFAULT_VERSIONS+=php=8.0
WITH_CCACHE_BUILD=yes
CCACHE_DIR=/flash/ccache

No file systems are anywhere near full....

It also fail with "-J1"

Disabling CCACHE did not help (disabled in make.conf and poudrirere.conf)

removing "-b -K GENERIC" made no difference as expected.

There may be small difference in poudriere.conf between @home/@work but I can't think of anything that would cause jail creation failure.

Both @home/@work use ZFS as their file system for poudriere.

I took a peak and the include in the failing file s_clog.c and appears correct to me. So why is buildworld trying to include _fpmath.h"?

What might be suggested next steps?  What other information might I provide?

Full log file http://mail.mikej.com/poudriere.arm.main

Thanks!

Mid build I look at the source file in question in the jail:

[root@firewall ~/arm]# sed -n '33p' /usr/local/poudriere/jails/14Current-armv7-GENERIC/usr/src/lib/msun/src/s_clog.c
#include "fpmath.h"
[root@firewall ~/arm]#


--- s_clog.o ---
/usr/local/bin/ccache cc -target armv7-gnueabihf-freebsd14.0 --sysroot=/usr/obj/usr/local/poudriere/jails/14Current-armv7-GENERIC/usr/src/arm.armv7/tmp -B/usr/obj/usr/local/poudriere/jails/14Current-armv7-GENERIC/usr/src/arm.armv7/tmp/usr/bin -O2 -pipe -fno-common -I/usr/local/poudriere/jails/14Current-armv7-GENERIC/usr/src/lib/msun/arm -fno-math-errno -I/usr/local/poudriere/jails/14Current-armv7-GENERIC/usr/src/lib/msun/src -I/usr/local/poudriere/jails/14Current-armv7-GENERIC/usr/src/lib/libc/include -I/usr/local/poudriere/jails/14Current-armv7-GENERIC/usr/src/lib/libc/armv7 -g -gz=zlib -MD -MF.depend.s_clog.o -MTs_clog.o -std=gnu99 -Wno-format-zero-length -fstack-protector-strong -Wno-error=ignored-pragmas -Wsystem-headers -Werror -Wno-pointer-sign -Wdate-time -Wno-unknown-pragmas -Wno-empty-body -Wno-string-plus-int -Wno-unused-const-variable -Wno-error=unused-but-set-variable -Wno-tautological-compare -Wno-unused-value -Wno-parentheses-equality -Wno-unused-function -Wno-enum-conversion -Wno-unused-local-typedef -Wno-address-of-packed-member -Wno-switch -Wno-switch-enum -Wno-knr-promoted-parameter -Wno-parentheses -Qunused-arguments -c /usr/local/poudriere/jails/14Current-armv7-GENERIC/usr/src/lib/msun/src/s_clog.c -o s_clog.o In file included from /usr/local/poudriere/jails/14Current-armv7-GENERIC/usr/src/lib/msun/src/s_clog.c:33: /usr/local/poudriere/jails/14Current-armv7-GENERIC/usr/src/lib/libc/include/fpmath.h:36:10: error: '_fpmath.h' file not found, did you mean 'fpmath.h'?
#include "_fpmath.h"
         ^~~~~~~~~~~
         "fpmath.h"
1 error generated.
*** [s_clog.o] Error code 1

make[4]: stopped in /usr/local/poudriere/jails/14Current-armv7-GENERIC/usr/src/lib/msun
1 error

make[4]: stopped in /usr/local/poudriere/jails/14Current-armv7-GENERIC/usr/src/lib/msun

make[2]: stopped in /usr/local/poudriere/jails/14Current-armv7-GENERIC/usr/src
      286.68 real       484.95 user       315.35 sys

make[1]: stopped in /usr/local/poudriere/jails/14Current-armv7-GENERIC/usr/src

make: stopped in /usr/local/poudriere/jails/14Current-armv7-GENERIC/usr/src
[00:10:23] Error: Failed to 'make buildworld'
[00:10:23] Error while creating jail, cleaning up.
[00:10:23] Removing 14Current-armv7-GENERIC jail... done
[00:10:24] Cleaning 14Current-armv7-GENERIC data... done

Reply via email to