[package - main-arm64-default][lang/mecrisp-stellaris] Failed for mecrisp-stellaris-2.5.8_1 in stage
pkg-fallout at FreeBSD.org
pkg-fallout at FreeBSD.org
Thu Apr 29 11:57:13 UTC 2021
You are receiving this mail as a port that you maintain
is failing to build on the FreeBSD package build server.
Please investigate the failure and submit a PR to fix
build.
Maintainer: fuz at fuz.su
Log URL: http://ampere2.nyi.freebsd.org/data/main-arm64-default/p762f9d5a8fbb_sb9820bca18/logs/mecrisp-stellaris-2.5.8_1.log
Build URL: http://ampere2.nyi.freebsd.org/build.html?mastername=main-arm64-default&build=p762f9d5a8fbb_sb9820bca18
Log:
=>> Building lang/mecrisp-stellaris
build started at Thu Apr 29 11:57:03 UTC 2021
port directory: /usr/ports/lang/mecrisp-stellaris
package name: mecrisp-stellaris-2.5.8_1
building for: FreeBSD main-arm64-default-job-12 14.0-CURRENT FreeBSD 14.0-CURRENT 1400013 arm64
maintained by: fuz at fuz.su
Makefile ident:
Poudriere version: 3.2.8-8-gaf08dbda
Host OSVERSION: 1300139
Jail OSVERSION: 1400013
Job Id: 12
!!! Jail is newer than host. (Jail: 1400013, Host: 1300139) !!!
!!! This is not supported. !!!
!!! Host kernel must be same or newer than jail. !!!
!!! Expect build failures. !!!
---Begin Environment---
SHELL=/bin/csh
OSVERSION=1400013
UNAME_v=FreeBSD 14.0-CURRENT 1400013
UNAME_r=14.0-CURRENT
BLOCKSIZE=K
MAIL=/var/mail/root
MM_CHARSET=UTF-8
LANG=C.UTF-8
STATUS=1
HOME=/root
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin
LOCALBASE=/usr/local
USER=root
LIBEXECPREFIX=/usr/local/libexec/poudriere
POUDRIERE_VERSION=3.2.8-8-gaf08dbda
MASTERMNT=/usr/local/poudriere/data/.m/main-arm64-default/ref
POUDRIERE_BUILD_TYPE=bulk
PACKAGE_BUILDING=yes
SAVED_TERM=
PWD=/usr/local/poudriere/data/.m/main-arm64-default/ref/.p/pool
P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS
MASTERNAME=main-arm64-default
SCRIPTPREFIX=/usr/local/share/poudriere
OLDPWD=/usr/local/poudriere/data/.m/main-arm64-default/ref/.p
SCRIPTPATH=/usr/local/share/poudriere/bulk.sh
POUDRIEREPATH=/usr/local/bin/poudriere
---End Environment---
---Begin Poudriere Port Flags/Env---
PORT_FLAGS=
PKGENV=
FLAVOR=
DEPENDS_ARGS=
MAKE_ARGS=
---End Poudriere Port Flags/Env---
---Begin OPTIONS List---
===> The following configuration options are available for mecrisp-stellaris-2.5.8_1:
EXTRAS=on: Add disassembler and math library to Forth core
===> Use 'make config' to modify these settings
---End OPTIONS List---
--MAINTAINER--
fuz at fuz.su
--End MAINTAINER--
--CONFIGURE_ARGS--
--End CONFIGURE_ARGS--
--CONFIGURE_ENV--
XDG_DATA_HOME=/wrkdirs/usr/ports/lang/mecrisp-stellaris/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/lang/mecrisp-stellaris/work HOME=/wrkdirs/usr/ports/lang/mecrisp-stellaris/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/lang/mecrisp-stellaris/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin SHELL=/bin/sh CONFIG_SHELL=/bin/sh
--End CONFIGURE_ENV--
--MAKE_ENV--
AFLAGS="" XDG_DATA_HOME=/wrkdirs/usr/ports/lang/mecrisp-stellaris/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/lang/mecrisp-stellaris/work HOME=/wrkdirs/usr/ports/lang/mecrisp-stellaris/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/lang/mecrisp-stellaris/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin NO_PIE=yes MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES PREFIX=/usr/local LOCALBASE=/usr/local CC="cc" CFLAGS="-O2 -pipe -fstack-protector-strong -fno-strict-aliasing " CPP="cpp" CPPFLAGS="" LDFLAGS=" -fstack-protector-strong " LIBS="" CXX="c++" CXXFLAGS="-O2 -pipe -fstack-protector-strong -fno-strict-aliasing " MANPREFIX="/usr/local" BSD_INSTALL_PROGRAM="install -m 555" BSD_INSTALL_LIB="install -m 0644" BSD_INSTALL_SCRIPT="install -m 555" BSD_INSTALL_DATA="install -m 0644" BSD_INSTALL_MAN="install -m 444"
--End MAKE_ENV--
--PLIST_SUB--
OSREL=14.0 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/mecrisp-stellaris" EXAMPLESDIR="share/examples/mecrisp-stellaris" DATADIR="share/mecrisp-stellaris" WWWDIR="www/mecrisp-stellaris" ETCDIR="etc/mecrisp-stellaris"
--End PLIST_SUB--
--SUB_LIST--
PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/mecrisp-stellaris DOCSDIR=/usr/local/share/doc/mecrisp-stellaris EXAMPLESDIR=/usr/local/share/examples/mecrisp-stellaris WWWDIR=/usr/local/www/mecrisp-stellaris ETCDIR=/usr/local/etc/mecrisp-stellaris
--End SUB_LIST--
---Begin make.conf---
USE_PACKAGE_DEPENDS=yes
BATCH=yes
WRKDIRPREFIX=/wrkdirs
PORTSDIR=/usr/ports
PACKAGES=/packages
DISTDIR=/distfiles
PACKAGE_BUILDING=yes
PACKAGE_BUILDING_FLAVORS=yes
#### /usr/local/etc/poudriere.d/make.conf ####
# XXX: We really need this but cannot use it while 'make checksum' does not
# try the next mirror on checksum failure. It currently retries the same
# failed mirror and then fails rather then trying another. It *does*
# try the next if the size is mismatched though.
#MASTER_SITE_FREEBSD=yes
# Build ALLOW_MAKE_JOBS_PACKAGES with 2 jobs
MAKE_JOBS_NUMBER=2
#### /usr/ports/Mk/Scripts/ports_env.sh ####
_CCVERSION_921dbbb2=FreeBSD clang version 11.0.1 (git at github.com:llvm/llvm-project.git llvmorg-11.0.1-0-g43ff75f2c3fe) Target: aarch64-unknown-freebsd14.0 Thread model: posix InstalledDir: /usr/bin
_ALTCCVERSION_921dbbb2=none
_CXXINTERNAL_acaad9ca=FreeBSD clang version 11.0.1 (git at github.com:llvm/llvm-project.git llvmorg-11.0.1-0-g43ff75f2c3fe) Target: aarch64-unknown-freebsd14.0 Thread model: posix InstalledDir: /usr/bin "/usr/bin/ld" "--eh-frame-hdr" "-dynamic-linker" "/libexec/ld-elf.so.1" "--enable-new-dtags" "-o" "a.out" "/usr/lib/crt1.o" "/usr/lib/crti.o" "/usr/lib/crtbegin.o" "-L/usr/lib" "/dev/null" "-lc++" "-lm" "-lgcc" "--as-needed" "-lgcc_s" "--no-as-needed" "-lc" "-lgcc" "--as-needed" "-lgcc_s" "--no-as-needed" "/usr/lib/crtend.o" "/usr/lib/crtn.o"
CC_OUTPUT_921dbbb2_58173849=yes
CC_OUTPUT_921dbbb2_9bdba57c=yes
CC_OUTPUT_921dbbb2_6a4fe7f5=yes
CC_OUTPUT_921dbbb2_6bcac02b=yes
CC_OUTPUT_921dbbb2_67d20829=yes
CC_OUTPUT_921dbbb2_bfa62e83=yes
CC_OUTPUT_921dbbb2_f0b4d593=yes
CC_OUTPUT_921dbbb2_308abb44=yes
CC_OUTPUT_921dbbb2_f00456e5=yes
CC_OUTPUT_921dbbb2_65ad290d=yes
CC_OUTPUT_921dbbb2_f2776b26=yes
CC_OUTPUT_921dbbb2_b2657cc3=yes
CC_OUTPUT_921dbbb2_380987f7=yes
CC_OUTPUT_921dbbb2_160933ec=yes
CC_OUTPUT_921dbbb2_fb62803b=yes
_OBJC_CCVERSION_921dbbb2=FreeBSD clang version 11.0.1 (git at github.com:llvm/llvm-project.git llvmorg-11.0.1-0-g43ff75f2c3fe) Target: aarch64-unknown-freebsd14.0 Thread model: posix InstalledDir: /usr/bin
_OBJC_ALTCCVERSION_921dbbb2=none
ARCH=aarch64
OPSYS=FreeBSD
_OSRELEASE=14.0-CURRENT
OSREL=14.0
OSVERSION=1400013
PYTHONBASE=/usr/local
CONFIGURE_MAX_CMD_LEN=524288
HAVE_PORTS_ENV=1
#### Misc Poudriere ####
GID=0
UID=0
---End make.conf---
--Resource limits--
cpu time (seconds, -t) unlimited
file size (512-blocks, -f) unlimited
data seg size (kbytes, -d) 1048576
stack size (kbytes, -s) 1048576
core file size (512-blocks, -c) unlimited
max memory size (kbytes, -m) unlimited
locked memory (kbytes, -l) unlimited
max user processes (-u) 89999
open files (-n) 1024
virtual mem size (kbytes, -v) unlimited
swap limit (kbytes, -w) unlimited
socket buffer size (bytes, -b) unlimited
pseudo-terminals (-p) unlimited
kqueues (-k) unlimited
umtx shared locks (-o) unlimited
--End resource limits--
=======================<phase: check-sanity >============================
===> License GPLv3+ accepted by the user
===========================================================================
=======================<phase: pkg-depends >============================
===> mecrisp-stellaris-2.5.8_1 depends on file: /usr/local/sbin/pkg - not found
===> Installing existing package /packages/All/pkg-1.16.3.txz
[main-arm64-default-job-12] Installing pkg-1.16.3...
[main-arm64-default-job-12] Extracting pkg-1.16.3: .......... done
===> mecrisp-stellaris-2.5.8_1 depends on file: /usr/local/sbin/pkg - found
===> Returning to build of mecrisp-stellaris-2.5.8_1
===========================================================================
=======================<phase: fetch-depends >============================
===========================================================================
=======================<phase: fetch >============================
===> License GPLv3+ accepted by the user
===> Fetching all distfiles required by mecrisp-stellaris-2.5.8_1 for building
===========================================================================
=======================<phase: checksum >============================
===> License GPLv3+ accepted by the user
===> Fetching all distfiles required by mecrisp-stellaris-2.5.8_1 for building
=> SHA256 Checksum OK for mecrisp-stellaris-2.5.8.tar.gz.
===========================================================================
=======================<phase: extract-depends>============================
===========================================================================
=======================<phase: extract >============================
===> License GPLv3+ accepted by the user
===> Fetching all distfiles required by mecrisp-stellaris-2.5.8_1 for building
===> Extracting for mecrisp-stellaris-2.5.8_1
=> SHA256 Checksum OK for mecrisp-stellaris-2.5.8.tar.gz.
===========================================================================
=======================<phase: patch-depends >============================
===========================================================================
=======================<phase: patch >============================
===> Patching for mecrisp-stellaris-2.5.8_1
===> Applying FreeBSD patches for mecrisp-stellaris-2.5.8_1 from /usr/ports/lang/mecrisp-stellaris/files
===========================================================================
=======================<phase: build-depends >============================
===> mecrisp-stellaris-2.5.8_1 depends on package: arm-none-eabi-binutils>2.25 - not found
===> Installing existing package /packages/All/arm-none-eabi-binutils-2.33.1_4,1.txz
[main-arm64-default-job-12] Installing arm-none-eabi-binutils-2.33.1_4,1...
[main-arm64-default-job-12] Extracting arm-none-eabi-binutils-2.33.1_4,1: .......... done
===> mecrisp-stellaris-2.5.8_1 depends on package: arm-none-eabi-binutils>2.25 - found
===> Returning to build of mecrisp-stellaris-2.5.8_1
<snip>
$B of ." ittet" endof ok.
$3 of ." iteet" endof ok.
$D of ." ittte" endof ok.
$5 of ." itete" endof ok.
$9 of ." ittee" endof ok.
$1 of ." iteee" endof ok.
endcase ok.
space ok.
dup $00F0 and 4 rshift condition. ok.
then ok.
ok.
\ 32 Bit Thumb-2 instruction ? ok.
ok.
$E800 $F800 opcode? if disasm-thumb-2 then ok.
$F000 $F000 opcode? if disasm-thumb-2 then ok.
ok.
ok.
\ If nothing of the above hits: Invalid Instruction... They are not checked for. ok.
ok.
\ Try name resolving for blx r0 sequences: ok.
ok.
$2000 $FF00 opcode? if dup $FF and destination-r0 ! then \ movs r0, #... ok.
$3000 $FF00 opcode? if dup $FF and destination-r0 +! then \ adds r0, #... ok.
$0000 $F83F opcode? if destination-r0 @ \ lsls r0, r0, #... ok.
over $07C0 and 6 rshift lshift ok.
destination-r0 ! then ok.
dup $4780 = if destination-r0 @ name. then \ blx r0 ok.
ok.
drop \ Forget opcode ok.
; \ disasm ok.
ok.
\ ------------------------------ ok.
\ Single instruction printing ok.
\ ------------------------------ ok.
ok.
: memstamp \ ( Addr -- ) Shows a memory location nicely ok.
dup u.8 ." : " h@ u.4 ." " ; ok.
ok.
: disasm-step ( -- ) ok.
disasm-$ @ \ Note current position ok.
dup memstamp disasm cr \ Disassemble one instruction ok.
ok.
begin \ Write out all disassembled memory locations ok.
2+ dup disasm-$ @ <> ok.
while ok.
dup memstamp cr ok.
repeat ok.
drop ok.
; ok.
ok.
\ ------------------------------ ok.
\ Disassembler for definitions ok.
\ ------------------------------ ok.
ok.
: seec ( -- ) \ Continues to see ok.
base @ hex cr ok.
ok.
begin ok.
disasm-$ @ h@ $4770 = \ Flag: Loop terminates with bx lr ok.
disasm-$ @ h@ $FF00 and $BD00 = \ Flag: Loop terminates with pop { ... pc } ok.
or ok.
disasm-step ok.
until ok.
ok.
base ! ok.
; ok.
ok.
: see ( -- ) \ Takes name of definition and shows its contents from beginning to first ret ok.
' disasm-$ ! ok.
seec ok.
; ok.
\ Save a copy of the current Forth core with all contents of the user flash ok.
ok.
\ ----------------------------------------------------------------------------- ok.
\ useful system calls ok.
\ ----------------------------------------------------------------------------- ok.
ok.
\ : syscall ( r0 r1 r2 r3 r4 r5 r6 Syscall# -- r0 ) ok.
ok.
\ int open(const char *pathname, int flags, mode_t mode); ok.
5 constant #open ok.
ok.
8 base ! ok.
00444 constant S_IRUSR ok.
00222 constant S_IWUSR ok.
00111 constant S_IXUSR ok.
decimal ok.
ok.
$0000 constant O_RDONLY \ open for reading only ok.
$0001 constant O_WRONLY \ open for writing only ok.
$0002 constant O_RDWR \ open for reading and writing ok.
$0008 constant O_APPEND \ set append mode ok.
$0200 constant O_CREAT \ create if nonexistent ok.
$0400 constant O_TRUNC \ truncate to zero length ok.
$0800 constant O_EXCL \ error if already exists ok.
ok.
: 0terminate ( addr len -- ) + 0 swap c! ; ok.
ok.
: syscall-creat ( addr len mode -- fd ) ok.
>r dup >r here swap move here r> 0terminate ok.
here O_WRONLY O_CREAT or O_TRUNC or r> 0 0 0 0 #open syscall ; ok.
ok.
\ ssize_t write(int fd, const void *buf, size_t count); ok.
4 constant #write ok.
: syscall-write ( fd addr len -- len' ) 0 0 0 0 #write syscall ; ok.
ok.
\ int close(int fd) ok.
6 constant #close ok.
: syscall-close ( fd -- ior ) 0 0 0 0 0 0 #close syscall ; ok.
ok.
\ ----------------------------------------------------------------------------- ok.
\ reading and writing ELF headers ok.
\ ----------------------------------------------------------------------------- ok.
ok.
\ retrieve program headers ok.
: elfhdr>phdrs ( elfhdr -- phdrs ) ok.
dup $1c + @ + ; ok.
ok.
\ update program header file size ok.
: p_filesz! ( phdr filesz -- ) ok.
swap $10 + ! ; ok.
ok.
\ retrieve section headers ok.
: elfhdr>shdrs ( elfhdr -- shdrs ) ok.
dup $20 + @ + ; ok.
ok.
\ retrieve section header size ok.
: elfhdr>shentsize ( elfhdr -- entsize ) ok.
$2e + h@ ; ok.
ok.
\ retrieve the desired section header ok.
: elfhdr>shdr ( elfhdr i -- shdr ) ok.
>r dup elfhdr>shdrs swap elfhdr>shentsize r> * + ; ok.
ok.
\ adjust section end ok.
: sh_end! ( shdr end -- ) ok.
over $0c + @ - \ compute sh_size from sh_addr and end ok.
swap $14 + ! ; \ update sh_size ok.
ok.
\ adjust section base address in image and memory ok.
: sh_addr! ( shdr addr -- ) ok.
over $0c + @ - >r \ compute adjustment ok.
r@ over $0c + +! \ adjust sh_addr ok.
r@ over $10 + +! \ adjust sh_offset ok.
$14 + r> negate swap +! ; \ adjust sh_size ok.
ok.
\ ELF section numbers (see elfheader.s) ok.
2 constant #mecrisp ok.
3 constant #userdictionary ok.
ok.
\ adjust our own ELF header according to here ok.
: adjustelf ( -- ) ok.
incipit elfhdr>phdrs here incipit - p_filesz! ok.
incipit #mecrisp elfhdr>shdr here sh_end! ok.
incipit #userdictionary elfhdr>shdr here sh_addr! ; ok.
ok.
\ ----------------------------------------------------------------------------- ok.
\ saving the program image back to disk ok.
\ ----------------------------------------------------------------------------- ok.
ok.
ok.
: save ( addr len -- ) \ Save a copy of the whole Forth core with flash dictionary contents ok.
ok.
compiletoram? compiletoflash >r ok.
ok.
adjustelf ok.
S_IRUSR S_IWUSR S_IXUSR or or syscall-creat \ open new program image ok.
dup incipit here incipit - syscall-write drop ok.
syscall-close drop ok.
ok.
r> if compiletoram then ok.
; ok.
ok.
: save" ( -- ) [char] " parse save ; ok.
ok.
\ ----------------------------------------------------------------------------- ok.
ok.
save" mecrisp-stellaris-freebsd-with-disassembler-and-math ok.
ok.
stty sane
stty: stdin isn't a terminal
echo -e ""
===========================================================================
=======================<phase: run-depends >============================
===========================================================================
=======================<phase: stage >============================
===> Staging for mecrisp-stellaris-2.5.8_1
===> Generating temporary packing list
/bin/mkdir -p /wrkdirs/usr/ports/lang/mecrisp-stellaris/work/stage/usr/local/share/doc/mecrisp-stellaris
install -m 444 /wrkdirs/usr/ports/lang/mecrisp-stellaris/work/mecrisp-stellaris-2.5.8/README /wrkdirs/usr/ports/lang/mecrisp-stellaris/work/stage/usr/local/share/doc/mecrisp-stellaris
install -m 444 /wrkdirs/usr/ports/lang/mecrisp-stellaris/work/mecrisp-stellaris-2.5.8/KNOWN-ISSUES /wrkdirs/usr/ports/lang/mecrisp-stellaris/work/stage/usr/local/share/doc/mecrisp-stellaris
cd /wrkdirs/usr/ports/lang/mecrisp-stellaris/work/mecrisp-stellaris-2.5.8/common; /bin/sh -c '(/usr/bin/find -Ed $1 $3 | /usr/bin/cpio -dumpl $2 >/dev/null 2>&1) && /usr/bin/find -Ed $1 $3 \( -type d -exec /bin/sh -c '\''cd '\''$2'\'' && chmod 755 "$@"'\'' . {} + -o -type f -exec /bin/sh -c '\''cd '\''$2'\'' && chmod 0644 "$@"'\'' . {} + \)' COPYTREE_SHARE . /wrkdirs/usr/ports/lang/mecrisp-stellaris/work/stage/usr/local/share/mecrisp-stellaris
*** Error code 1
Stop.
make: stopped in /usr/ports/lang/mecrisp-stellaris
More information about the freebsd-pkg-fallout
mailing list