Hi,
I've read https://wiki.freebsd.org/PkgBase and setup a Jenkins for building.
Make buildworld and buildkernel work nicely.
Jenkins runs a remote agent with user "jenkins-agent".
The build job uses this build script:
export MAKEOBJDIRPREFIX=${WORKSPACE}/obj
make -j4 -DWITHOUT_CLEAN buildworld buildkernel
make packages
This rpi4 has: # grep -v ^# /etc/src.conf
KERNCONF?=GENERIC-NODEBUG
NO_INSTALLEXTRAKERNELS=no
WITHOUT_LLVM_TARGET_ALL=true
WITHOUT_LPR=true
WITHOUT_PROFILE=true
WITHOUT_SENDMAIL=true
WITHOUT_TESTS=true
WITH_NAND=true
And: # grep -v ^# /etc/make.conf
WRKDIRPREFIX?=/data/ports-build
DISTDIR?=/var/tmp/ports-build/distfiles
PACKAGES?=/var/tmp/ports-build/packages
USA_RESIDENT=NO
WITHOUT_X11=true
OPTIONS_UNSET+=X11
A4=yes
WITH_A4=yes
Nothing too weird I think.
I get this error:
00:13:33.381 install -U -M /home/jenkins-agent/dev/dev/workspace/FreeBSD-Current/obj/home/jenkins-agent/dev/dev/workspace/FreeBSD-Current/arm64.aarch64/kernelstage/var/tmp/ports-build/distfiles/kernel.premeta -D /home/jenkins-agent/dev/dev/workspace/FreeBSD-Current/obj/home/jenkins-agent/dev/dev/workspace/FreeBSD-Current/arm64.aarch64/kernelstage/var/tmp/ports-build/distfiles -T dbg -o root -g wheel -m 555 zlib.ko.debug /home/jenkins-agent/dev/dev/workspace/FreeBSD-Current/obj/home/jenkins-agent/dev/dev/workspace/FreeBSD-Current/arm64.aarch64/kernelstage/var/tmp/ports-build/distfiles/kernel/usr/lib/debug/boot/kernel/ 00:13:33.414 kldxref /home/jenkins-agent/dev/dev/workspace/FreeBSD-Current/obj/home/jenkins-agent/dev/dev/workspace/FreeBSD-Current/arm64.aarch64/kernelstage/var/tmp/ports-build/distfiles/kernel/boot/kernel
00:13:34.022 make[4]: "/home/jenkins-agent/dev/dev/workspace/FreeBSD-Current/Makefile.inc1" line 1873: warning: "/usr/bin/readlink /home/jenkins-agent/dev/dev/workspace/FreeBSD-Current/obj/home/jenkins-agent/dev/dev/workspace/FreeBSD-Current/repo/FreeBSD:13:aarch64/latest" returned non-zero status
00:13:34.067 make[4]: make[4]: don't know how to make create-kernel-packages.
Stop
00:13:34.068
00:13:34.068 make[4]: stopped in /home/jenkins-agent/dev/dev/workspace/FreeBSD-Current
00:13:34.069 *** [create-packages-kernel] Error code 2
00:13:34.069
00:13:34.069 make[3]: stopped in /home/jenkins-agent/dev/dev/workspace/FreeBSD-Current
00:13:34.069 1 error
00:13:34.069
00:13:34.069 make[3]: stopped in /home/jenkins-agent/dev/dev/workspace/FreeBSD-Current
00:13:34.071 *** [packages] Error code 2
00:13:34.071
00:13:34.071 make[1]: stopped in /home/jenkins-agent/dev/dev/workspace/FreeBSD-Current
00:13:34.071 1 error
00:13:34.071
00:13:34.071 make[1]: stopped in /home/jenkins-agent/dev/dev/workspace/FreeBSD-Current
00:13:34.124 Build step 'Execute shell' marked build as failure
00:13:34.362 Finished: FAILURE
What should I change?
Regards,
Ronald.
_______________________________________________
freebsd-pkgbase@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-pkgbase
To unsubscribe, send any mail to "freebsd-pkgbase-unsubscr...@freebsd.org"