CURRENT: building PkgBase for 11.2-RELENG on CURRENT fails

O. Hartmann ohartmann at walstatt.org
Fri Jul 6 08:13:01 UTC 2018


I fail to buildworld/buildkernel and package FreeBSD 11.2-RELENG on a CURRENT
host (FreeBSD 12.0-CURRENT #165 r336013: Thu Jul  5 21:00:36 CEST 2018 amd64)
with the error shown below.

My aim is to have CURRENT building 11.1 and 11.2 packages for "base" and for
the poudriere jails. This seems to start failing recently and I can not fathom
why. Any ideas?

As the env variables show, the sources are stored
at /pool/sources/11.2-RELENG/src and for the build environment, I point to that
source and obj base.


Kind regards,
Oliver

[...]
+ cd /pool/sources/11.2-RELENG/src
+ env 'MAKEOBJDIRPREFIX=/pool/sources/11.2-RELENG/obj' 'WITH_META_MODE=YES'
  '__MAKE_CONF=/usr/local/etc/config/amd64/11.2-RELENG-make.conf'
  'SRCCONF=/usr/local/etc/config/amd64/11.2-RELENG-src.conf'
  'SRC_ENV_CONF=/usr/local/etc/config/amd64/11.2-RELENG-src-env.conf' make -j9
  'TARGET=amd64'
  'KERNCONFDIR=/usr/local/etc/config/amd64/11.2-RELENG/kernel_conf/' 'KERNCONF=
  GENERIC-NODEBUG ' 'NO_INSTALLEXTRAKERNELS=NO' 'NO_INSTALLKERNEL=NO'
  buildworld buildkernel --- buildworld --- make[1]:
  "/pool/sources/11.2-RELENG/src/Makefile.inc1" line 1517: Unassociated shell
  command "@cd ${KSTAGEDIR}/${DISTDIR} ;  awk -f
  ${SRCDIR}/release/scripts/mtree-to-plist.awk  -v kernel=yes -v
  _kernconf=${INSTALLKERNEL}  ${KSTAGEDIR}/kernel.meta ;  cap_arg=`cd
  ${SRCDIR}/etc ; ${MAKE} -VCAP_MKDB_ENDIAN` ;  pwd_arg=`cd ${SRCDIR}/etc ;
  ${MAKE} -VPWD_MKDB_ENDIAN` ;  sed -e "s/%VERSION%/${PKG_VERSION}/"  -e
  "s/%PKGNAME%/kernel-${INSTALLKERNEL:tl}${:U""}/"  -e "s/%KERNELDIR%/kernel/"
  -e "s/%COMMENT%/FreeBSD ${INSTALLKERNEL} kernel ${:U""}/"  -e
  "s/%DESC%/FreeBSD ${INSTALLKERNEL} kernel ${:U""}/"  -e
  "s/%CAP_MKDB_ENDIAN%/$${cap_arg}/g"  -e "s/%PWD_MKDB_ENDIAN%/$${pwd_arg}/g"
  ${SRCDIR}/release/packages/kernel.ucl  >
  ${KSTAGEDIR}/${DISTDIR}/kernel.${INSTALLKERNEL}${:U""}.ucl ;  awk -F\"
  '  /name/ { printf("===> Creating %s-", $$2); next }  /version/ {print $$2;
  next } '  ${KSTAGEDIR}/${DISTDIR}/kernel.${INSTALLKERNEL}${:U""}.ucl ;
  ${PKG_CMD} -o ABI_FILE=${WSTAGEDIR}/bin/sh -o ALLOW_BASE_SHLIBS=yes  create
  -M ${KSTAGEDIR}/${DISTDIR}/kernel.${INSTALLKERNEL}${:U""}.ucl  -p
  ${KSTAGEDIR}/${DISTDIR}/kernel.${INSTALLKERNEL}${:U""}.plist  -r
  ${KSTAGEDIR}/${DISTDIR}  -o ${REPODIR}/$$(${PKG_CMD} -o
  ABI_FILE=${WSTAGEDIR}/bin/sh config ABI)/${PKG_VERSION}" 

make[1]: "/pool/sources/11.2-RELENG/src/Makefile.inc1" line 1517: Unassociated
shell command "@cd ${KSTAGEDIR}/${DISTDIR} ;  awk -f
  ${SRCDIR}/release/scripts/mtree-to-plist.awk  -v kernel=yes -v
  _kernconf=${INSTALLKERNEL}  ${KSTAGEDIR}/kernel.meta ;  cap_arg=`cd
  ${SRCDIR}/etc ; ${MAKE} -VCAP_MKDB_ENDIAN` ;  pwd_arg=`cd ${SRCDIR}/etc ;
  ${MAKE} -VPWD_MKDB_ENDIAN` ;  sed -e "s/%VERSION%/${PKG_VERSION}/"  -e
  "s/%PKGNAME%/kernel-${INSTALLKERNEL:tl}${:U-debug}/"  -e
  "s/%KERNELDIR%/kernel/"  -e "s/%COMMENT%/FreeBSD ${INSTALLKERNEL} kernel
  ${:U-debug}/"  -e "s/%DESC%/FreeBSD ${INSTALLKERNEL} kernel ${:U-debug}/"  -e
  "s/%CAP_MKDB_ENDIAN%/$${cap_arg}/g"  -e "s/%PWD_MKDB_ENDIAN%/$${pwd_arg}/g"
  ${SRCDIR}/release/packages/kernel.ucl  >
  ${KSTAGEDIR}/${DISTDIR}/kernel.${INSTALLKERNEL}${:U-debug}.ucl ;  awk -F\"
  '  /name/ { printf("===> Creating %s-", $$2); next }  /version/ {print $$2;
  next } '  ${KSTAGEDIR}/${DISTDIR}/kernel.${INSTALLKERNEL}${:U-debug}.ucl ;
  ${PKG_CMD} -o ABI_FILE=${WSTAGEDIR}/bin/sh -o ALLOW_BASE_SHLIBS=yes  create
  -M ${KSTAGEDIR}/${DISTDIR}/kernel.${INSTALLKERNEL}${:U-debug}.ucl  -p
  ${KSTAGEDIR}/${DISTDIR}/kernel.${INSTALLKERNEL}${:U-debug}.plist  -r
  ${KSTAGEDIR}/${DISTDIR}  -o ${REPODIR}/$$(${PKG_CMD} -o
  ABI_FILE=${WSTAGEDIR}/bin/sh config ABI)/${PKG_VERSION}" 

make[1]: Fatal errors encountered -- cannot continue 
make[1]: stopped in /pool/sources/11.2-RELENG/src


More information about the freebsd-current mailing list