Building a PINE64 image on a Wandboard-Quad: Malformed conditional error

Ulrich Grey usenet at ulrich-grey.de
Sun Jun 10 19:15:55 UTC 2018


I successfully built a PINE64 image on a Wandboard-Quad (FreeBSD 12.0-CURRENT #0 r333645)
using:

release.sh -c arm64/PINE64.conf

and got some errors "Malformed conditional" (see below).

I don't own a PINE64 yet, so I can not test the image.
For the complete build log please see:

ulrich-grey.de/dl/PINE64_build.log.txt (line 2060 ff.)

--------------------------------------------------------------
>>> Kernel build for GENERIC completed on Sun Jun 10 17:37:40 UTC 2018
--------------------------------------------------------------
md0 created
md0s1 added
active set on md0s1
/dev/md0s1: 110448 sectors in 13806 FAT16 clusters (4096 bytes/cluster)
BytesPerSec=512 SecPerClust=8 ResSectors=1 FATs=2 RootDirEnts=512 Media=0xf0 FATsecs=54
SecPerTrack=63 Heads=255 HiddenSecs=0 HugeSectors=110592 md0s2 added
md0s2 created
md0s2a added
Reduced frags per cylinder group from 160280 to 159064 to enlarge last cyl group
/dev/md0s2a: 2505.0MB (5130240 sectors) block size 32768, fragment size 4096
	using 5 cylinder groups of 621.34MB, 19883 blks, 79616 inodes.
	with soft updates
super-block backups (for fsck_ffs -b #) at:
 192, 1272704, 2545216, 3817728, 5090240
make[1]: "/usr/obj/usr/src/arm64.aarch64/compiler-metadata.mk" line 1: Using cached
compiler metadata from build at wqtest.intranet on Sat Jun  9 22:08:44 UTC 2018 make[2]:
"/usr/src/release/Makefile.ec2" line 8: Malformed conditional (${BRANCH} == "CURRENT" ||
${BRANCH} == "STABLE" || ${BRANCH} == "PRERELEASE") make[2]:
"/usr/src/release/Makefile.azure" line 19: Malformed conditional (${BRANCH} == "STABLE"
|| ${BRANCH} == "CURRENT" || ${BRANCH} == "PRERELEASE") make[2]:
|| "/usr/src/release/Makefile.gce" line 26: Malformed conditional (${BRANCH} == "STABLE"
|| || ${BRANCH} == "CURRENT" || ${BRANCH} == "PRERELEASE") make[2]:
|| || "/usr/src/release/Makefile.vagrant" line 31: Malformed conditional (${BRANCH} ==
|| || "STABLE" || ${BRANCH} == "CURRENT" || ${BRANCH} == "PRERELEASE") make[2]: Fatal
|| || errors encountered -- cannot continuemake[1]: "/usr/src/Makefile.inc1" line 389:
|| || warning: "make -C /usr/src/release MK_AUTO_OBJ=no -V REVISION" returned non-zero
|| || status
make[2]: "/usr/src/release/Makefile.ec2" line 8: Malformed conditional (${BRANCH} ==
"CURRENT" || ${BRANCH} == "STABLE" || ${BRANCH} == "PRERELEASE") make[2]:
"/usr/src/release/Makefile.azure" line 19: Malformed conditional (${BRANCH} == "STABLE"
|| ${BRANCH} == "CURRENT" || ${BRANCH} == "PRERELEASE") make[2]:
|| "/usr/src/release/Makefile.gce" line 26: Malformed conditional (${BRANCH} == "STABLE"
|| || ${BRANCH} == "CURRENT" || ${BRANCH} == "PRERELEASE") make[2]:
|| || "/usr/src/release/Makefile.vagrant" line 31: Malformed conditional (${BRANCH} ==
|| || "STABLE" || ${BRANCH} == "CURRENT" || ${BRANCH} == "PRERELEASE")
make[2]: Fatal errors encountered -- cannot continuemake[1]: "/usr/src/Makefile.inc1"
line 393: warning: "make -C /usr/src/release MK_AUTO_OBJ=no -V BRANCH" returned non-zero
status mkdir -p /tmp/install.Os6gUwh3


More information about the freebsd-arm mailing list