Date: Sun, 16 Jun 2019 13:48:20 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-arm@FreeBSD.org Subject: [Bug 238615] Release script fails building stripped arm image Message-ID: <bug-238615-7@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D238615 Bug ID: 238615 Summary: Release script fails building stripped arm image Product: Base System Version: CURRENT Hardware: amd64 OS: Any Status: New Severity: Affects Only Me Priority: --- Component: arm Assignee: freebsd-arm@FreeBSD.org Reporter: daniel.engberg.lists@pyret.net CC: gjb@FreeBSD.org, manu@freebsd.org, re@FreeBSD.org, seanc@FreeBSD.org I've been trying to generate "slim"/non-debug image for arm using the relea= se script but it seems like settings from make.conf / src.conf are getting dro= pped somewhere in the install process. Host:=20 13.0-CURRENT r349025 (AMD64) Source: http://ftp.freebsd.org/pub/FreeBSD/snapshots/ISO-IMAGES/13.0/FreeBSD-13.0-C= URRENT-amd64-20190614-r349025-disc1.iso /usr/src --> Revision: 349025 Configuration file (ORANGEPI-PC.conf): #!/bin/sh EMBEDDED_TARGET_ARCH=3D"armv7" EMBEDDED_TARGET=3D"arm" EMBEDDEDBUILD=3D1 EMBEDDEDPORTS=3D"sysutils/u-boot-orangepi-pc" FAT_SIZE=3D"50m -b 1m" FAT_TYPE=3D"16" IMAGE_SIZE=3D"3072M" KERNEL=3D"GENERIC-NODEBUG" MD_ARGS=3D"-x 63 -y 255" NODOC=3D1 PART_SCHEME=3D"MBR" MAKE_CONF=3D"/etc/release-confs/make.conf" SRC_CONF=3D"/etc/release-confs/src.conf" export BOARDNAME=3D"ORANGEPI-PC" SRCBRANCH=3D"base/head@r349025" arm_install_uboot() { UBOOT_DIR=3D"/usr/local/share/u-boot/u-boot-orangepi-pc" UBOOT_FILES=3D"u-boot-sunxi-with-spl.bin" chroot ${CHROOTDIR} dd if=3D${UBOOT_DIR}/${UBOOT_FILES} \ of=3D/dev/${mddev} bs=3D1k seek=3D8 conv=3Dsync return 0 } Contents of /etc/release-confs/make.conf: WITHOUT_DEBUG=3DYES MK_PROFILE=3Dno WITH_EXTRA_TCP_STACKS=3D1 MALLOC_PRODUCTION=3Dyes Contents of /etc/release-confs/src.conf: WITHOUT_DEBUG_FILES=3Dyes WITHOUT_KERNEL_SYMBOLS=3Dyes WITHOUT_TESTS=3Dyes WITHOUT_PROFILE=3Dyes Command: root@freebsd-13-buildbox:/usr/src/release/arm # sh release.sh -c arm/ORANGEPI-PC.conf -------------------------------------------------------------- Error log=20 -------------------------------------------------------------- -------------------------------------------------------------- >>> Installing everything started on Sun Jun 16 13:34:11 UTC 2019 -------------------------------------------------------------- cd /usr/src; make -f Makefile.inc1 install make[3]: "/usr/obj/usr/src/arm.armv7/toolchain-metadata.mk" line 1: Using cached toolchain metadata from build at freebsd-13-buildbox on Sun Jun 16 12:12:54 UTC 2019 =3D=3D=3D> lib (install) =3D=3D=3D> lib/csu (install) =3D=3D=3D> lib/csu/arm (install) installing DIRS FILESDIR install -d -m 0755 -o root -g wheel=20 /usr/obj/usr/src/arm.armv7/release/GENERIC-NODEBUG/usr/lib install -o root -g wheel -m 444 crt1.o /usr/obj/usr/src/arm.armv7/release/GENERIC-NODEBUG/usr/lib/crt1.o install -o root -g wheel -m 444 crti.o /usr/obj/usr/src/arm.armv7/release/GENERIC-NODEBUG/usr/lib/crti.o install -o root -g wheel -m 444 crtn.o /usr/obj/usr/src/arm.armv7/release/GENERIC-NODEBUG/usr/lib/crtn.o install -o root -g wheel -m 444 Scrt1.o /usr/obj/usr/src/arm.armv7/release/GENERIC-NODEBUG/usr/lib/Scrt1.o install -o root -g wheel -m 444 gcrt1.o /usr/obj/usr/src/arm.armv7/release/GENERIC-NODEBUG/usr/lib/gcrt1.o install -o root -g wheel -m 444 crtbegin.o /usr/obj/usr/src/arm.armv7/release/GENERIC-NODEBUG/usr/lib/crtbegin.o install -o root -g wheel -m 444 crtbeginS.o /usr/obj/usr/src/arm.armv7/release/GENERIC-NODEBUG/usr/lib/crtbeginS.o install -o root -g wheel -m 444 crtbeginT.o /usr/obj/usr/src/arm.armv7/release/GENERIC-NODEBUG/usr/lib/crtbeginT.o install -o root -g wheel -m 444 crtend.o /usr/obj/usr/src/arm.armv7/release/GENERIC-NODEBUG/usr/lib/crtend.o install -o root -g wheel -m 444 crtendS.o /usr/obj/usr/src/arm.armv7/release/GENERIC-NODEBUG/usr/lib/crtendS.o =3D=3D=3D> lib/csu/tests (install) installing DIRS testsFILESDIR install -d -m 0755 -o root -g wheel=20 /usr/obj/usr/src/arm.armv7/release/GENERIC-NODEBUG/usr/tests/lib/csu install -o root -g wheel -m 444 Kyuafile /usr/obj/usr/src/arm.armv7/release/GENERIC-NODEBUG/usr/tests/lib/csu/Kyuafi= le =3D=3D=3D> lib/csu/tests/dso (install) install -s -o root -g wheel -m 444 -S libh_csu.so /usr/obj/usr/src/arm.armv7/release/GENERIC-NODEBUG/usr/tests/lib/csu/dynami= clib// install: libh_csu.so: No such file or directory *** Error code 71 Stop. make[7]: stopped in /usr/src/lib/csu/tests/dso *** Error code 1 Stop. make[6]: stopped in /usr/src/lib/csu/tests *** Error code 1 Stop. make[5]: stopped in /usr/src/lib/csu *** Error code 1 Stop. make[4]: stopped in /usr/src/lib *** Error code 1 Stop. make[3]: stopped in /usr/src *** Error code 1 Stop. make[2]: stopped in /usr/src *** Error code 1 Stop. make[1]: stopped in /usr/src *** Error code 1 Stop. make: stopped in /usr/src umount: unmount of /scratch/dev failed: Device busy --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-238615-7>