[Bug 238615] Release script fails building stripped arm image
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Sun Jun 16 13:48:22 UTC 2019
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=238615
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 at FreeBSD.org
Reporter: daniel.engberg.lists at pyret.net
CC: gjb at FreeBSD.org, manu at freebsd.org, re at FreeBSD.org,
seanc at FreeBSD.org
I've been trying to generate "slim"/non-debug image for arm using the release
script but it seems like settings from make.conf / src.conf are getting dropped
somewhere in the install process.
Host:
13.0-CURRENT r349025 (AMD64)
Source:
http://ftp.freebsd.org/pub/FreeBSD/snapshots/ISO-IMAGES/13.0/FreeBSD-13.0-CURRENT-amd64-20190614-r349025-disc1.iso
/usr/src --> Revision: 349025
Configuration file (ORANGEPI-PC.conf):
#!/bin/sh
EMBEDDED_TARGET_ARCH="armv7"
EMBEDDED_TARGET="arm"
EMBEDDEDBUILD=1
EMBEDDEDPORTS="sysutils/u-boot-orangepi-pc"
FAT_SIZE="50m -b 1m"
FAT_TYPE="16"
IMAGE_SIZE="3072M"
KERNEL="GENERIC-NODEBUG"
MD_ARGS="-x 63 -y 255"
NODOC=1
PART_SCHEME="MBR"
MAKE_CONF="/etc/release-confs/make.conf"
SRC_CONF="/etc/release-confs/src.conf"
export BOARDNAME="ORANGEPI-PC"
SRCBRANCH="base/head at r349025"
arm_install_uboot() {
UBOOT_DIR="/usr/local/share/u-boot/u-boot-orangepi-pc"
UBOOT_FILES="u-boot-sunxi-with-spl.bin"
chroot ${CHROOTDIR} dd if=${UBOOT_DIR}/${UBOOT_FILES} \
of=/dev/${mddev} bs=1k seek=8 conv=sync
return 0
}
Contents of /etc/release-confs/make.conf:
WITHOUT_DEBUG=YES
MK_PROFILE=no
WITH_EXTRA_TCP_STACKS=1
MALLOC_PRODUCTION=yes
Contents of /etc/release-confs/src.conf:
WITHOUT_DEBUG_FILES=yes
WITHOUT_KERNEL_SYMBOLS=yes
WITHOUT_TESTS=yes
WITHOUT_PROFILE=yes
Command:
root at freebsd-13-buildbox:/usr/src/release/arm # sh release.sh -c
arm/ORANGEPI-PC.conf
--------------------------------------------------------------
Error log
--------------------------------------------------------------
--------------------------------------------------------------
>>> 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
===> lib (install)
===> lib/csu (install)
===> lib/csu/arm (install)
installing DIRS FILESDIR
install -d -m 0755 -o root -g wheel
/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
===> lib/csu/tests (install)
installing DIRS testsFILESDIR
install -d -m 0755 -o root -g wheel
/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/Kyuafile
===> 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/dynamiclib//
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
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-arm
mailing list