freebsd / crochet

Build FreeBSD images for RaspberryPi, BeagleBone, PandaBoard, and others.
BSD 2-Clause "Simplified" License
612 stars 189 forks source link

STABLE-12 blows up during RPI3 build #273

Open tickerguy opened 5 years ago

tickerguy commented 5 years ago

Fails here:

awk -f /pics/CrossBuild-12STABLE/src/contrib/ncurses/ncurses/tinfo/MKcodes.awk b
igstrings=1 /pics/CrossBuild-12STABLE/src/contrib/ncurses/include/Caps > codes.c
--- lib_gen.c ---
LC_ALL=C sh /pics/CrossBuild-12STABLE/src/contrib/ncurses/ncurses/base/MKlib_gen
.sh "cc -target aarch64-unknown-freebsd12.0 --sysroot=/pics/Crochet-work-12STABL
E/obj/pics/CrossBuild-12STABLE/src/arm64.aarch64/tmp -B/pics/Crochet-work-12STAB
LE/obj/pics/CrossBuild-12STABLE/src/arm64.aarch64/tmp/usr/bin -E -O2 -pipe   -D_
XOPEN_SOURCE_EXTENDED -DENABLE_WIDEC -I. -I/pics/Crochet-work-12STABLE/obj/pics/
CrossBuild-12STABLE/src/arm64.aarch64/lib/ncurses/ncursesw -I/pics/CrossBuild-12
STABLE/src/lib/ncurses/ncursesw -I/pics/CrossBuild-12STABLE/src/lib/ncurses/ncur
ses -I/pics/CrossBuild-12STABLE/src/contrib/ncurses/include -I/pics/CrossBuild-1
2STABLE/src/contrib/ncurses/ncurses -Wall -DNDEBUG -DHAVE_CONFIG_H -DFREEBSD_NAT
IVE -DTERMIOS -g  -std=gnu99 -fstack-protector-strong -Wsystem-headers -Werror -
Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prot
otypes -Wpointer-arith -Wno-uninitialized -Wno-pointer-sign -Wno-empty-body -Wno
-string-plus-int -Wno-unused-const-variable -Wno-tautological-compare -Wno-unuse
d-value -Wno-parentheses-equality -Wno-unused-function -Wno-enum-conversion -Wno
-unused-local-typedef -Wno-address-of-packed-member  -Qunused-arguments "  "awk"
 generated < curses.h >lib_gen.c
--- lib/ncurses/ncurses__L ---
--- nomacros.h ---
LC_ALL=C sh /pics/CrossBuild-12STABLE/src/contrib/ncurses/ncurses/base/MKlib_gen
.sh "cc -target aarch64-unknown-freebsd12.0 --sysroot=/pics/Crochet-work-12STABL
E/obj/pics/CrossBuild-12STABLE/src/arm64.aarch64/tmp -B/pics/Crochet-work-12STAB
LE/obj/pics/CrossBuild-12STABLE/src/arm64.aarch64/tmp/usr/bin -E -O2 -pipe   -I.
 -I/pics/Crochet-work-12STABLE/obj/pics/CrossBuild-12STABLE/src/arm64.aarch64/li
b/ncurses/ncurses -I/pics/CrossBuild-12STABLE/src/lib/ncurses/ncurses -I/pics/Cr
ossBuild-12STABLE/src/lib/ncurses/ncurses -I/pics/CrossBuild-12STABLE/src/contri
b/ncurses/include -I/pics/CrossBuild-12STABLE/src/contrib/ncurses/ncurses -Wall
-DNDEBUG -DHAVE_CONFIG_H -DFREEBSD_NATIVE -DTERMIOS -g  -std=gnu99 -fstack-prote
ctor-strong -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parame
ter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wno-uninitialized
-Wno-pointer-sign -Wno-empty-body -Wno-string-plus-int -Wno-unused-const-variabl
e -Wno-tautological-compare -Wno-unused-value -Wno-parentheses-equality -Wno-unu
sed-function -Wno-enum-conversion -Wno-unused-local-typedef -Wno-address-of-pack
ed-member  -Qunused-arguments "  "awk" generated < curses.h | fgrep undef > noma
cros.h
--- init_keytry.h ---
./make_keys keys.list > init_keytry.h
sh: ./make_keys: Permission denied
*** [init_keytry.h] Error code 126

This appears to be a case of the code being build (or so it thinks) for the current environment (AMD64) but it's not really, as it can't be executed. I checked the executable itself and it claims (with FILE) to be correct, but returns the above error.

Or... perhaps this is a clang problem (since "file" says the architecture is good, and SHOULD work.)