Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 10 Jun 2021 08:15:38 GMT
From:      pkg-fallout@FreeBSD.org
To:        pkg-fallout@FreeBSD.org
Subject:   [package - main-armv7-default][lang/mecrisp-stellaris] Failed for mecrisp-stellaris-2.5.8_1 in stage
Message-ID:  <202106100815.15A8FcOQ005979@beefy12.nyi.freebsd.org>

next in thread | raw e-mail | index | archive | help

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@fuz.su
Log URL:        http://beefy12.nyi.freebsd.org/data/main-armv7-default/p0bac49595e04_sf4aa64528/logs/mecrisp-stellaris-2.5.8_1.log
Build URL:      http://beefy12.nyi.freebsd.org/build.html?mastername=main-armv7-default&build=p0bac49595e04_sf4aa64528
Log:

=>> Building lang/mecrisp-stellaris
build started at Thu Jun 10 08:15:22 UTC 2021
port directory: /usr/ports/lang/mecrisp-stellaris
package name: mecrisp-stellaris-2.5.8_1
building for: FreeBSD main-armv7-default-job-12 14.0-CURRENT FreeBSD 14.0-CURRENT 1400018 arm
maintained by: fuz@fuz.su
Makefile ident: 
Poudriere version: 3.2.8-8-gaf08dbda
Host OSVERSION: 1400003
Jail OSVERSION: 1400018
Job Id: 12




!!! Jail is newer than host. (Jail: 1400018, Host: 1400003) !!!
!!! This is not supported. !!!
!!! Host kernel must be same or newer than jail. !!!
!!! Expect build failures. !!!



---Begin Environment---
SHELL=/bin/csh
UNAME_p=armv7
UNAME_m=arm
ABI_FILE=/usr/lib/crt1.o
OSVERSION=1400018
UNAME_v=FreeBSD 14.0-CURRENT 1400018
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
QEMU_EMULATING=1
USER=root
LIBEXECPREFIX=/usr/local/libexec/poudriere
POUDRIERE_VERSION=3.2.8-8-gaf08dbda
MASTERMNT=/usr/local/poudriere/data/.m/main-armv7-default/ref
POUDRIERE_BUILD_TYPE=bulk
PACKAGE_BUILDING=yes
SAVED_TERM=
PWD=/usr/local/poudriere/data/.m/main-armv7-default/ref/.p/pool
P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS
MASTERNAME=main-armv7-default
SCRIPTPREFIX=/usr/local/share/poudriere
OLDPWD=/usr/local/poudriere/data/.m/main-armv7-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@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="/nxb-bin/usr/bin/cc" CFLAGS="-O2 -pipe  -fstack-protector-strong -fno-strict-aliasing "  CPP="/nxb-bin/usr/bin/cpp" CPPFLAGS=""  LDFLAGS=" -fstack-protector-strong " LIBS=""  CXX="/nxb-bin/usr/bin/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---
.sinclude "/etc/make.nxb.conf"
USE_PACKAGE_DEPENDS=yes
BATCH=yes
WRKDIRPREFIX=/wrkdirs
PORTSDIR=/usr/ports
PACKAGES=/packages
DISTDIR=/distfiles
PACKAGE_BUILDING=yes
PACKAGE_BUILDING_FLAVORS=yes
MACHINE=arm
MACHINE_ARCH=armv7
ARCH=${MACHINE_ARCH}
#### /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_9d218390=FreeBSD clang version 11.0.1 (git@github.com:llvm/llvm-project.git llvmorg-11.0.1-0-g43ff75f2c3fe) Target: armv7-unknown-freebsd14.0-gnueabihf Thread model: posix InstalledDir: /nxb-bin/usr/bin
_ALTCCVERSION_9d218390=none
_CXXINTERNAL_9c45a5b1=FreeBSD clang version 11.0.1 (git@github.com:llvm/llvm-project.git llvmorg-11.0.1-0-g43ff75f2c3fe) Target: armv7-unknown-freebsd14.0-gnueabihf Thread model: posix InstalledDir: /nxb-bin/usr/bin "/nxb-bin/usr/bin/ld" "--eh-frame-hdr" "-dynamic-linker" "/libexec/ld-elf.so.1" "--hash-style=both" "--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_9d218390_58173849=yes
CC_OUTPUT_9d218390_9bdba57c=yes
CC_OUTPUT_9d218390_6a4fe7f5=yes
CC_OUTPUT_9d218390_6bcac02b=yes
CC_OUTPUT_9d218390_67d20829=yes
CC_OUTPUT_9d218390_bfa62e83=yes
CC_OUTPUT_9d218390_f0b4d593=yes
CC_OUTPUT_9d218390_308abb44=yes
CC_OUTPUT_9d218390_f00456e5=yes
CC_OUTPUT_9d218390_65ad290d=yes
CC_OUTPUT_9d218390_f2776b26=yes
CC_OUTPUT_9d218390_b2657cc3=yes
CC_OUTPUT_9d218390_380987f7=yes
CC_OUTPUT_9d218390_160933ec=yes
CC_OUTPUT_9d218390_fb62803b=yes
_OBJC_CCVERSION_9d218390=FreeBSD clang version 11.0.1 (git@github.com:llvm/llvm-project.git llvmorg-11.0.1-0-g43ff75f2c3fe) Target: armv7-unknown-freebsd14.0-gnueabihf Thread model: posix InstalledDir: /nxb-bin/usr/bin
_OBJC_ALTCCVERSION_9d218390=none
ARCH=armv7
OPSYS=FreeBSD
_OSRELEASE=14.0-CURRENT
OSREL=14.0
OSVERSION=1400018
PYTHONBASE=/usr/local
CONFIGURE_MAX_CMD_LEN=524288
HAVE_PORTS_ENV=1
#### Misc Poudriere ####
GID=0
UID=0
DISABLE_MAKE_JOBS=poudriere
---End make.conf---
---Begin make.nxb.conf---
CC=/nxb-bin/usr/bin/cc
CPP=/nxb-bin/usr/bin/cpp
CXX=/nxb-bin/usr/bin/c++
NM=/nxb-bin/usr/bin/nm
LD=/nxb-bin/usr/bin/ld
OBJCOPY=/nxb-bin/usr/bin/objcopy
SIZE=/nxb-bin/usr/bin/size
STRIPBIN=/nxb-bin/usr/bin/strip
SED=/nxb-bin/usr/bin/sed
RANLIB=/nxb-bin/usr/bin/ranlib
YACC=/nxb-bin/usr/bin/yacc
MAKE=/nxb-bin/usr/bin/make
STRINGS=/nxb-bin/usr/bin/strings
AWK=/nxb-bin/usr/bin/awk
FLEX=/nxb-bin/usr/bin/flex
---End make.nxb.conf---
--Resource limits--
cpu time               (seconds, -t)  unlimited
file size           (512-blocks, -f)  unlimited
data seg size           (kbytes, -d)  33554432
stack size              (kbytes, -s)  524288
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-armv7-default-job-12] Installing pkg-1.16.3...
[main-armv7-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
===========================================================================
<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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202106100815.15A8FcOQ005979>