dash fails to build on clean build
-
I agree that I have searched opened and closed issues to prevent duplicates.
Description
During a clean build from master at the time filed, a build ("make qemu") fails when trying to build dash.
Environment info
- Operating system: Ubuntu 20.04
-
uname -a
: Linux braindead 5.4.0-40-generic #44-Ubuntu SMP Tue Jun 23 00:01:04 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux -
rustc -V
: rustc 1.46.0-nightly (0c03aee8b 2020-07-05) -
git rev-parse HEAD
: 3739f1a2 - More info: I followed the instruction for compiling and building, including running the bootstrap script and running "make qemu" from the redox subdirectory.
Steps to reproduce
- Clone repos and setup dependencies using the bootstrap script.
- "make qemu"
Behavior
-
Expected behavior: I expect a qemu image to be built and run.
-
Actual behavior: Dash fails to build.
Output from "make qemu" (complete log attached):
...
cook - dash
+ export PATH=/home/wt/projects/redox/redox/cookbook/bin:/home/wt/projects/redox/redox/prefix/x86_64-unknown-redox/relibc-install/bin:/home/wt/projects/redox/redox/cookbook/bin:/home/wt/projects/redox/redox/prefix/x86_64-unknown-redox/relibc-install/bin:/home/wt/Downloads/node-v12.16.1-linux-x64/bin:/home/wt/.cargo/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/home/wt/.local/bin
+ PATH=/home/wt/projects/redox/redox/cookbook/bin:/home/wt/projects/redox/redox/prefix/x86_64-unknown-redox/relibc-install/bin:/home/wt/projects/redox/redox/cookbook/bin:/home/wt/projects/redox/redox/prefix/x86_64-unknown-redox/relibc-install/bin:/home/wt/Downloads/node-v12.16.1-linux-x64/bin:/home/wt/.cargo/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/home/wt/.local/bin
+ export CARGO_TARGET_DIR=/home/wt/projects/redox/redox/cookbook/recipes/dash/build/target
+ CARGO_TARGET_DIR=/home/wt/projects/redox/redox/cookbook/recipes/dash/build/target
+ export CFLAGS=-I/home/wt/projects/redox/redox/cookbook/recipes/dash/sysroot/include
+ CFLAGS=-I/home/wt/projects/redox/redox/cookbook/recipes/dash/sysroot/include
+ export CPPFLAGS=-I/home/wt/projects/redox/redox/cookbook/recipes/dash/sysroot/include
+ CPPFLAGS=-I/home/wt/projects/redox/redox/cookbook/recipes/dash/sysroot/include
+ export 'LDFLAGS=-L/home/wt/projects/redox/redox/cookbook/recipes/dash/sysroot/lib --static'
+ LDFLAGS='-L/home/wt/projects/redox/redox/cookbook/recipes/dash/sysroot/lib --static'
+ export PKG_CONFIG_ALLOW_CROSS=1
+ PKG_CONFIG_ALLOW_CROSS=1
+ export PKG_CONFIG_PATH=
+ PKG_CONFIG_PATH=
+ export PKG_CONFIG_LIBDIR=/home/wt/projects/redox/redox/cookbook/recipes/dash/sysroot/lib/pkgconfig
+ PKG_CONFIG_LIBDIR=/home/wt/projects/redox/redox/cookbook/recipes/dash/sysroot/lib/pkgconfig
+ export PKG_CONFIG_SYSROOT_DIR=/home/wt/projects/redox/redox/cookbook/recipes/dash/sysroot
+ PKG_CONFIG_SYSROOT_DIR=/home/wt/projects/redox/redox/cookbook/recipes/dash/sysroot
+ COOKBOOK_CARGO=/home/wt/projects/redox/redox/cookbook/target/release/cookbook_redoxer
+ COOKBOOK_CARGO_FLAGS=(--path "${COOKBOOK_SOURCE}" --root "${COOKBOOK_STAGE}")
+ COOKBOOK_CONFIGURE=/home/wt/projects/redox/redox/cookbook/recipes/dash/source/configure
+ COOKBOOK_CONFIGURE_FLAGS=(--host="${TARGET}" --prefix="" --disable-shared --enable-static)
+ COOKBOOK_MAKE=make
+ rsync -av --delete /home/wt/projects/redox/redox/cookbook/recipes/dash/source/ ./
sending incremental file list
./
COPYING
ChangeLog
ChangeLog.O
Makefile.am
autogen.sh
configure.ac
.git/
.git/FETCH_HEAD
.git/HEAD
.git/config
.git/description
.git/index
.git/packed-refs
.git/branches/
.git/hooks/
.git/hooks/applypatch-msg.sample
.git/hooks/commit-msg.sample
.git/hooks/fsmonitor-watchman.sample
.git/hooks/post-update.sample
.git/hooks/pre-applypatch.sample
.git/hooks/pre-commit.sample
.git/hooks/pre-merge-commit.sample
.git/hooks/pre-push.sample
.git/hooks/pre-rebase.sample
.git/hooks/pre-receive.sample
.git/hooks/prepare-commit-msg.sample
.git/hooks/update.sample
.git/info/
.git/info/exclude
.git/logs/
.git/logs/HEAD
.git/logs/refs/
.git/logs/refs/heads/
.git/logs/refs/heads/redox
.git/logs/refs/remotes/
.git/logs/refs/remotes/origin/
.git/logs/refs/remotes/origin/HEAD
.git/objects/
.git/objects/info/
.git/objects/pack/
.git/objects/pack/pack-2945d4f5931713b6142e6ed563987b455d9758a4.idx
.git/objects/pack/pack-2945d4f5931713b6142e6ed563987b455d9758a4.pack
.git/refs/
.git/refs/heads/
.git/refs/heads/redox
.git/refs/remotes/
.git/refs/remotes/origin/
.git/refs/remotes/origin/HEAD
.git/refs/tags/
src/
src/.gitignore
src/Makefile.am
src/TOUR
src/alias.c
src/alias.h
src/arith_yacc.c
src/arith_yacc.h
src/arith_yylex.c
src/builtins.def.in
src/cd.c
src/cd.h
src/dash.1
src/error.c
src/error.h
src/eval.c
src/eval.h
src/exec.c
src/exec.h
src/expand.c
src/expand.h
src/histedit.c
src/init.h
src/input.c
src/input.h
src/jobs.c
src/jobs.h
src/machdep.h
src/mail.c
src/mail.h
src/main.c
src/main.h
src/memalloc.c
src/memalloc.h
src/miscbltin.c
src/miscbltin.h
src/mkbuiltins
src/mkinit.c
src/mknodes.c
src/mksignames.c
src/mksyntax.c
src/mktokens
src/myhistedit.h
src/mystring.c
src/mystring.h
src/nodes.c.pat
src/nodetypes
src/options.c
src/options.h
src/output.c
src/output.h
src/parser.c
src/parser.h
src/redir.c
src/redir.h
src/shell.h
src/show.c
src/show.h
src/system.c
src/system.h
src/trap.c
src/trap.h
src/var.c
src/var.h
src/bltin/
src/bltin/bltin.h
src/bltin/echo.1
src/bltin/printf.1
src/bltin/printf.c
src/bltin/test.1
src/bltin/test.c
src/bltin/times.c
src/funcs/
src/funcs/cmv
src/funcs/dirs
src/funcs/kill
src/funcs/login
src/funcs/newgrp
src/funcs/popd
src/funcs/pushd
src/funcs/suspend
sent 1,273,156 bytes received 2,205 bytes 2,550,722.00 bytes/sec
total size is 1,265,171 speedup is 0.99
+ ./autogen.sh
configure.ac:8: installing './compile'
configure.ac:2: installing './install-sh'
configure.ac:2: installing './missing'
src/Makefile.am:21: warning: source file 'bltin/printf.c' is in a subdirectory,
src/Makefile.am:21: but option 'subdir-objects' is disabled
automake: warning: possible forward-incompatibility.
automake: At least a source file is in a subdirectory, but the 'subdir-objects'
automake: automake option hasn't been enabled. For now, the corresponding output
automake: object file(s) will be placed in the top-level directory. However,
automake: this behaviour will change in future Automake versions: they will
automake: unconditionally cause object files to be placed in the same subdirectory
automake: of the corresponding sources.
automake: You are advised to start using 'subdir-objects' option throughout your
automake: project, to avoid future incompatibilities.
src/Makefile.am:21: warning: source file 'bltin/test.c' is in a subdirectory,
src/Makefile.am:21: but option 'subdir-objects' is disabled
src/Makefile.am:21: warning: source file 'bltin/times.c' is in a subdirectory,
src/Makefile.am:21: but option 'subdir-objects' is disabled
src/Makefile.am: installing './depcomp'
+ ./configure --host=x86_64-unknown-redox --prefix= --enable-static cross_compiling=yes
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for x86_64-unknown-redox-strip... x86_64-unknown-redox-strip
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking for x86_64-unknown-redox-gcc... x86_64-unknown-redox-gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... yes
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether x86_64-unknown-redox-gcc accepts -g... yes
checking for x86_64-unknown-redox-gcc option to accept ISO C89... none needed
checking whether x86_64-unknown-redox-gcc understands -c and -o together... yes
checking whether make supports the include directive... yes (GNU style)
checking dependency style of x86_64-unknown-redox-gcc... gcc3
checking how to run the C preprocessor... x86_64-unknown-redox-gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes
checking for bison... bison -y
checking for build system compiler... cc
checking for __attribute__((__alias__()))... yes
checking alloca.h usability... yes
checking alloca.h presence... yes
checking for alloca.h... yes
checking paths.h usability... no
checking paths.h presence... no
checking for paths.h... no
checking whether _PATH_BSHELL is declared... no
checking whether _PATH_DEVNULL is declared... no
checking whether _PATH_TTY is declared... no
checking whether isblank is declared... yes
checking size of intmax_t... 8
checking size of long long int... 8
checking whether PRIdMAX is declared... yes
checking for bsearch... yes
checking for faccessat... no
checking for getpwnam... yes
checking for getrlimit... yes
checking for isalpha... yes
checking for killpg... yes
checking for mempcpy... no
checking for sigsetmask... no
checking for stpcpy... no
checking for strchrnul... no
checking for strsignal... yes
checking for strtod... yes
checking for strtoimax... yes
checking for strtoumax... yes
checking for sysconf... yes
checking for signal... yes
checking for stat64... no
checking for open64... no
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating config.h
config.status: executing depfiles commands
+ sed -i -e 's|#define HAVE_GETRLIMIT 1|/* #undef HAVE_GETRLIMIT */|g' config.h
+ COOKBOOK_CONFIGURE=true
+ COOKBOOK_CONFIGURE_FLAGS=()
+ cookbook_configure
+ true
++ nproc
+ make -j 4
make[1]: Entering directory '/home/wt/projects/redox/redox/cookbook/recipes/dash/build'
(CDPATH="${ZSH_VERSION+.}:" && cd . && /bin/bash /home/wt/projects/redox/redox/cookbook/recipes/dash/build/missing autoheader)
rm -f stamp-h1
touch config.h.in
cd . && /bin/bash ./config.status config.h
config.status: creating config.h
make all-recursive
make[2]: Entering directory '/home/wt/projects/redox/redox/cookbook/recipes/dash/build'
Making all in src
make[3]: Entering directory '/home/wt/projects/redox/redox/cookbook/recipes/dash/build/src'
x86_64-unknown-redox-gcc -DHAVE_CONFIG_H -I. -I.. -include ../config.h -DBSD=1 -DSHELL -DIFS_BROKEN -I/home/wt/projects/redox/redox/cookbook/recipes/dash/sysroot/include -Wall -I/home/wt/projects/redox/redox/cookbook/recipes/dash/sysroot/include -E -x c -o builtins.def builtins.def.in
cc -I. -I.. -include ../config.h -DBSD=1 -DSHELL -DIFS_BROKEN -g -O2 -Wall -o mknodes mknodes.c
/bin/bash mktokens
/bin/bash mktokens
/bin/bash mkbuiltins builtins.def
cc -I. -I.. -include ../config.h -DBSD=1 -DSHELL -DIFS_BROKEN -g -O2 -Wall -o mksyntax mksyntax.c
./mksyntax
./mknodes nodetypes nodes.c.pat
make all-am
make[4]: Entering directory '/home/wt/projects/redox/redox/cookbook/recipes/dash/build/src'
x86_64-unknown-redox-gcc -DHAVE_CONFIG_H -I. -I.. -include ../config.h -DBSD=1 -DSHELL -DIFS_BROKEN -I/home/wt/projects/redox/redox/cookbook/recipes/dash/sysroot/include -Wall -I/home/wt/projects/redox/redox/cookbook/recipes/dash/sysroot/include -MT alias.o -MD -MP -MF .deps/alias.Tpo -c -o alias.o alias.c
x86_64-unknown-redox-gcc -DHAVE_CONFIG_H -I. -I.. -include ../config.h -DBSD=1 -DSHELL -DIFS_BROKEN -I/home/wt/projects/redox/redox/cookbook/recipes/dash/sysroot/include -Wall -I/home/wt/projects/redox/redox/cookbook/recipes/dash/sysroot/include -MT arith_yacc.o -MD -MP -MF .deps/arith_yacc.Tpo -c -o arith_yacc.o arith_yacc.c
x86_64-unknown-redox-gcc -DHAVE_CONFIG_H -I. -I.. -include ../config.h -DBSD=1 -DSHELL -DIFS_BROKEN -I/home/wt/projects/redox/redox/cookbook/recipes/dash/sysroot/include -Wall -I/home/wt/projects/redox/redox/cookbook/recipes/dash/sysroot/include -MT arith_yylex.o -MD -MP -MF .deps/arith_yylex.Tpo -c -o arith_yylex.o arith_yylex.c
x86_64-unknown-redox-gcc -DHAVE_CONFIG_H -I. -I.. -include ../config.h -DBSD=1 -DSHELL -DIFS_BROKEN -I/home/wt/projects/redox/redox/cookbook/recipes/dash/sysroot/include -Wall -I/home/wt/projects/redox/redox/cookbook/recipes/dash/sysroot/include -MT cd.o -MD -MP -MF .deps/cd.Tpo -c -o cd.o cd.c
mv -f .deps/arith_yylex.Tpo .deps/arith_yylex.Po
x86_64-unknown-redox-gcc -DHAVE_CONFIG_H -I. -I.. -include ../config.h -DBSD=1 -DSHELL -DIFS_BROKEN -I/home/wt/projects/redox/redox/cookbook/recipes/dash/sysroot/include -Wall -I/home/wt/projects/redox/redox/cookbook/recipes/dash/sysroot/include -MT error.o -MD -MP -MF .deps/error.Tpo -c -o error.o error.c
mv -f .deps/arith_yacc.Tpo .deps/arith_yacc.Po
mv -f .deps/cd.Tpo .deps/cd.Po
mv -f .deps/alias.Tpo .deps/alias.Po
x86_64-unknown-redox-gcc -DHAVE_CONFIG_H -I. -I.. -include ../config.h -DBSD=1 -DSHELL -DIFS_BROKEN -I/home/wt/projects/redox/redox/cookbook/recipes/dash/sysroot/include -Wall -I/home/wt/projects/redox/redox/cookbook/recipes/dash/sysroot/include -MT eval.o -MD -MP -MF .deps/eval.Tpo -c -o eval.o eval.c
x86_64-unknown-redox-gcc -DHAVE_CONFIG_H -I. -I.. -include ../config.h -DBSD=1 -DSHELL -DIFS_BROKEN -I/home/wt/projects/redox/redox/cookbook/recipes/dash/sysroot/include -Wall -I/home/wt/projects/redox/redox/cookbook/recipes/dash/sysroot/include -MT exec.o -MD -MP -MF .deps/exec.Tpo -c -o exec.o exec.c
x86_64-unknown-redox-gcc -DHAVE_CONFIG_H -I. -I.. -include ../config.h -DBSD=1 -DSHELL -DIFS_BROKEN -I/home/wt/projects/redox/redox/cookbook/recipes/dash/sysroot/include -Wall -I/home/wt/projects/redox/redox/cookbook/recipes/dash/sysroot/include -MT expand.o -MD -MP -MF .deps/expand.Tpo -c -o expand.o expand.c
error.c: In function 'exraise':
error.c:88:1: warning: 'noreturn' function does return
}
^
mv -f .deps/error.Tpo .deps/error.Po
eval.c: In function 'evaltree':
eval.c:281:15: warning: logical not is only applied to the left hand side of comparison [-Wlogical-not-parentheses]
if (!status == isor || evalskip)
^~
eval.c:281:7: note: add parentheses around left hand side expression to silence this warning
if (!status == isor || evalskip)
^~~~~~~
( )
x86_64-unknown-redox-gcc -DHAVE_CONFIG_H -I. -I.. -include ../config.h -DBSD=1 -DSHELL -DIFS_BROKEN -I/home/wt/projects/redox/redox/cookbook/recipes/dash/sysroot/include -Wall -I/home/wt/projects/redox/redox/cookbook/recipes/dash/sysroot/include -MT histedit.o -MD -MP -MF .deps/histedit.Tpo -c -o histedit.o histedit.c
mv -f .deps/histedit.Tpo .deps/histedit.Po
x86_64-unknown-redox-gcc -DHAVE_CONFIG_H -I. -I.. -include ../config.h -DBSD=1 -DSHELL -DIFS_BROKEN -I/home/wt/projects/redox/redox/cookbook/recipes/dash/sysroot/include -Wall -I/home/wt/projects/redox/redox/cookbook/recipes/dash/sysroot/include -MT input.o -MD -MP -MF .deps/input.Tpo -c -o input.o input.c
mv -f .deps/eval.Tpo .deps/eval.Po
x86_64-unknown-redox-gcc -DHAVE_CONFIG_H -I. -I.. -include ../config.h -DBSD=1 -DSHELL -DIFS_BROKEN -I/home/wt/projects/redox/redox/cookbook/recipes/dash/sysroot/include -Wall -I/home/wt/projects/redox/redox/cookbook/recipes/dash/sysroot/include -MT jobs.o -MD -MP -MF .deps/jobs.Tpo -c -o jobs.o jobs.c
mv -f .deps/exec.Tpo .deps/exec.Po
x86_64-unknown-redox-gcc -DHAVE_CONFIG_H -I. -I.. -include ../config.h -DBSD=1 -DSHELL -DIFS_BROKEN -I/home/wt/projects/redox/redox/cookbook/recipes/dash/sysroot/include -Wall -I/home/wt/projects/redox/redox/cookbook/recipes/dash/sysroot/include -MT mail.o -MD -MP -MF .deps/mail.Tpo -c -o mail.o mail.c
mv -f .deps/input.Tpo .deps/input.Po
x86_64-unknown-redox-gcc -DHAVE_CONFIG_H -I. -I.. -include ../config.h -DBSD=1 -DSHELL -DIFS_BROKEN -I/home/wt/projects/redox/redox/cookbook/recipes/dash/sysroot/include -Wall -I/home/wt/projects/redox/redox/cookbook/recipes/dash/sysroot/include -MT main.o -MD -MP -MF .deps/main.Tpo -c -o main.o main.c
jobs.c: In function 'waitproc':
jobs.c:1130:17: warning: unused variable 'oldmask' [-Wunused-variable]
sigset_t mask, oldmask;
^~~~~~~
mv -f .deps/mail.Tpo .deps/mail.Po
x86_64-unknown-redox-gcc -DHAVE_CONFIG_H -I. -I.. -include ../config.h -DBSD=1 -DSHELL -DIFS_BROKEN -I/home/wt/projects/redox/redox/cookbook/recipes/dash/sysroot/include -Wall -I/home/wt/projects/redox/redox/cookbook/recipes/dash/sysroot/include -MT memalloc.o -MD -MP -MF .deps/memalloc.Tpo -c -o memalloc.o memalloc.c
mv -f .deps/expand.Tpo .deps/expand.Po
x86_64-unknown-redox-gcc -DHAVE_CONFIG_H -I. -I.. -include ../config.h -DBSD=1 -DSHELL -DIFS_BROKEN -I/home/wt/projects/redox/redox/cookbook/recipes/dash/sysroot/include -Wall -I/home/wt/projects/redox/redox/cookbook/recipes/dash/sysroot/include -MT miscbltin.o -MD -MP -MF .deps/miscbltin.Tpo -c -o miscbltin.o miscbltin.c
mv -f .deps/main.Tpo .deps/main.Po
x86_64-unknown-redox-gcc -DHAVE_CONFIG_H -I. -I.. -include ../config.h -DBSD=1 -DSHELL -DIFS_BROKEN -I/home/wt/projects/redox/redox/cookbook/recipes/dash/sysroot/include -Wall -I/home/wt/projects/redox/redox/cookbook/recipes/dash/sysroot/include -MT mystring.o -MD -MP -MF .deps/mystring.Tpo -c -o mystring.o mystring.c
miscbltin.c: In function 'ulimitcmd':
miscbltin.c:499:7: warning: implicit declaration of function 'setrlimit'; did you mean 'getrlimit'? [-Wimplicit-function-declaration]
if (setrlimit(l->cmd, &limit) < 0)
^~~~~~~~~
getrlimit
mv -f .deps/jobs.Tpo .deps/jobs.Po
mv -f .deps/memalloc.Tpo .deps/memalloc.Po
x86_64-unknown-redox-gcc -DHAVE_CONFIG_H -I. -I.. -include ../config.h -DBSD=1 -DSHELL -DIFS_BROKEN -I/home/wt/projects/redox/redox/cookbook/recipes/dash/sysroot/include -Wall -I/home/wt/projects/redox/redox/cookbook/recipes/dash/sysroot/include -MT options.o -MD -MP -MF .deps/options.Tpo -c -o options.o options.c
x86_64-unknown-redox-gcc -DHAVE_CONFIG_H -I. -I.. -include ../config.h -DBSD=1 -DSHELL -DIFS_BROKEN -I/home/wt/projects/redox/redox/cookbook/recipes/dash/sysroot/include -Wall -I/home/wt/projects/redox/redox/cookbook/recipes/dash/sysroot/include -MT parser.o -MD -MP -MF .deps/parser.Tpo -c -o parser.o parser.c
mv -f .deps/miscbltin.Tpo .deps/miscbltin.Po
x86_64-unknown-redox-gcc -DHAVE_CONFIG_H -I. -I.. -include ../config.h -DBSD=1 -DSHELL -DIFS_BROKEN -I/home/wt/projects/redox/redox/cookbook/recipes/dash/sysroot/include -Wall -I/home/wt/projects/redox/redox/cookbook/recipes/dash/sysroot/include -MT redir.o -MD -MP -MF .deps/redir.Tpo -c -o redir.o redir.c
mv -f .deps/mystring.Tpo .deps/mystring.Po
x86_64-unknown-redox-gcc -DHAVE_CONFIG_H -I. -I.. -include ../config.h -DBSD=1 -DSHELL -DIFS_BROKEN -I/home/wt/projects/redox/redox/cookbook/recipes/dash/sysroot/include -Wall -I/home/wt/projects/redox/redox/cookbook/recipes/dash/sysroot/include -MT show.o -MD -MP -MF .deps/show.Tpo -c -o show.o show.c
mv -f .deps/options.Tpo .deps/options.Po
x86_64-unknown-redox-gcc -DHAVE_CONFIG_H -I. -I.. -include ../config.h -DBSD=1 -DSHELL -DIFS_BROKEN -I/home/wt/projects/redox/redox/cookbook/recipes/dash/sysroot/include -Wall -I/home/wt/projects/redox/redox/cookbook/recipes/dash/sysroot/include -MT trap.o -MD -MP -MF .deps/trap.Tpo -c -o trap.o trap.c
mv -f .deps/redir.Tpo .deps/redir.Po
mv -f .deps/show.Tpo .deps/show.Po
x86_64-unknown-redox-gcc -DHAVE_CONFIG_H -I. -I.. -include ../config.h -DBSD=1 -DSHELL -DIFS_BROKEN -I/home/wt/projects/redox/redox/cookbook/recipes/dash/sysroot/include -Wall -I/home/wt/projects/redox/redox/cookbook/recipes/dash/sysroot/include -MT output.o -MD -MP -MF .deps/output.Tpo -c -o output.o output.c
x86_64-unknown-redox-gcc -DHAVE_CONFIG_H -I. -I.. -include ../config.h -DBSD=1 -DSHELL -DIFS_BROKEN -I/home/wt/projects/redox/redox/cookbook/recipes/dash/sysroot/include -Wall -I/home/wt/projects/redox/redox/cookbook/recipes/dash/sysroot/include -MT printf.o -MD -MP -MF .deps/printf.Tpo -c -o printf.o `test -f 'bltin/printf.c' || echo './'`bltin/printf.c
mv -f .deps/trap.Tpo .deps/trap.Po
mv -f .deps/parser.Tpo .deps/parser.Po
x86_64-unknown-redox-gcc -DHAVE_CONFIG_H -I. -I.. -include ../config.h -DBSD=1 -DSHELL -DIFS_BROKEN -I/home/wt/projects/redox/redox/cookbook/recipes/dash/sysroot/include -Wall -I/home/wt/projects/redox/redox/cookbook/recipes/dash/sysroot/include -MT system.o -MD -MP -MF .deps/system.Tpo -c -o system.o system.c
x86_64-unknown-redox-gcc -DHAVE_CONFIG_H -I. -I.. -include ../config.h -DBSD=1 -DSHELL -DIFS_BROKEN -I/home/wt/projects/redox/redox/cookbook/recipes/dash/sysroot/include -Wall -I/home/wt/projects/redox/redox/cookbook/recipes/dash/sysroot/include -MT test.o -MD -MP -MF .deps/test.Tpo -c -o test.o `test -f 'bltin/test.c' || echo './'`bltin/test.c
mv -f .deps/system.Tpo .deps/system.Po
mv -f .deps/output.Tpo .deps/output.Po
x86_64-unknown-redox-gcc -DHAVE_CONFIG_H -I. -I.. -include ../config.h -DBSD=1 -DSHELL -DIFS_BROKEN -I/home/wt/projects/redox/redox/cookbook/recipes/dash/sysroot/include -Wall -I/home/wt/projects/redox/redox/cookbook/recipes/dash/sysroot/include -MT times.o -MD -MP -MF .deps/times.Tpo -c -o times.o `test -f 'bltin/times.c' || echo './'`bltin/times.c
x86_64-unknown-redox-gcc -DHAVE_CONFIG_H -I. -I.. -include ../config.h -DBSD=1 -DSHELL -DIFS_BROKEN -I/home/wt/projects/redox/redox/cookbook/recipes/dash/sysroot/include -Wall -I/home/wt/projects/redox/redox/cookbook/recipes/dash/sysroot/include -MT var.o -MD -MP -MF .deps/var.Tpo -c -o var.o var.c
mv -f .deps/printf.Tpo .deps/printf.Po
mv -f .deps/times.Tpo .deps/times.Po
x86_64-unknown-redox-gcc -DHAVE_CONFIG_H -I. -I.. -include ../config.h -DBSD=1 -DSHELL -DIFS_BROKEN -I/home/wt/projects/redox/redox/cookbook/recipes/dash/sysroot/include -Wall -I/home/wt/projects/redox/redox/cookbook/recipes/dash/sysroot/include -MT builtins.o -MD -MP -MF .deps/builtins.Tpo -c -o builtins.o builtins.c
cc -I. -I.. -include ../config.h -DBSD=1 -DSHELL -DIFS_BROKEN -g -O2 -Wall -o mkinit mkinit.c
mv -f .deps/test.Tpo .deps/test.Po
x86_64-unknown-redox-gcc -DHAVE_CONFIG_H -I. -I.. -include ../config.h -DBSD=1 -DSHELL -DIFS_BROKEN -I/home/wt/projects/redox/redox/cookbook/recipes/dash/sysroot/include -Wall -I/home/wt/projects/redox/redox/cookbook/recipes/dash/sysroot/include -MT nodes.o -MD -MP -MF .deps/nodes.Tpo -c -o nodes.o nodes.c
mv -f .deps/builtins.Tpo .deps/builtins.Po
cc -I. -I.. -include ../config.h -DBSD=1 -DSHELL -DIFS_BROKEN -g -O2 -Wall -o mksignames mksignames.c
mv -f .deps/var.Tpo .deps/var.Po
x86_64-unknown-redox-gcc -DHAVE_CONFIG_H -I. -I.. -include ../config.h -DBSD=1 -DSHELL -DIFS_BROKEN -I/home/wt/projects/redox/redox/cookbook/recipes/dash/sysroot/include -Wall -I/home/wt/projects/redox/redox/cookbook/recipes/dash/sysroot/include -MT syntax.o -MD -MP -MF .deps/syntax.Tpo -c -o syntax.o syntax.c
mv -f .deps/syntax.Tpo .deps/syntax.Po
mv -f .deps/nodes.Tpo .deps/nodes.Po
./mksignames
x86_64-unknown-redox-gcc -DHAVE_CONFIG_H -I. -I.. -include ../config.h -DBSD=1 -DSHELL -DIFS_BROKEN -I/home/wt/projects/redox/redox/cookbook/recipes/dash/sysroot/include -Wall -I/home/wt/projects/redox/redox/cookbook/recipes/dash/sysroot/include -MT signames.o -MD -MP -MF .deps/signames.Tpo -c -o signames.o signames.c
signames.c:41:5: warning: excess elements in array initializer
"33",
^~~~
signames.c:41:5: note: (near initialization for 'signal_names')
signames.c:42:5: warning: excess elements in array initializer
"RTMIN",
^~~~~~~
signames.c:42:5: note: (near initialization for 'signal_names')
signames.c:43:5: warning: excess elements in array initializer
"RTMIN+1",
^~~~~~~~~
signames.c:43:5: note: (near initialization for 'signal_names')
signames.c:44:5: warning: excess elements in array initializer
"RTMIN+2",
^~~~~~~~~
signames.c:44:5: note: (near initialization for 'signal_names')
signames.c:45:5: warning: excess elements in array initializer
"RTMIN+3",
^~~~~~~~~
signames.c:45:5: note: (near initialization for 'signal_names')
signames.c:46:5: warning: excess elements in array initializer
"RTMIN+4",
^~~~~~~~~
signames.c:46:5: note: (near initialization for 'signal_names')
signames.c:47:5: warning: excess elements in array initializer
"RTMIN+5",
^~~~~~~~~
signames.c:47:5: note: (near initialization for 'signal_names')
signames.c:48:5: warning: excess elements in array initializer
"RTMIN+6",
^~~~~~~~~
signames.c:48:5: note: (near initialization for 'signal_names')
signames.c:49:5: warning: excess elements in array initializer
"RTMIN+7",
^~~~~~~~~
signames.c:49:5: note: (near initialization for 'signal_names')
signames.c:50:5: warning: excess elements in array initializer
"RTMIN+8",
^~~~~~~~~
signames.c:50:5: note: (near initialization for 'signal_names')
signames.c:51:5: warning: excess elements in array initializer
"RTMIN+9",
^~~~~~~~~
signames.c:51:5: note: (near initialization for 'signal_names')
signames.c:52:5: warning: excess elements in array initializer
"RTMIN+10",
^~~~~~~~~~
signames.c:52:5: note: (near initialization for 'signal_names')
signames.c:53:5: warning: excess elements in array initializer
"RTMIN+11",
^~~~~~~~~~
signames.c:53:5: note: (near initialization for 'signal_names')
signames.c:54:5: warning: excess elements in array initializer
"RTMIN+12",
^~~~~~~~~~
signames.c:54:5: note: (near initialization for 'signal_names')
signames.c:55:5: warning: excess elements in array initializer
"RTMIN+13",
^~~~~~~~~~
signames.c:55:5: note: (near initialization for 'signal_names')
signames.c:56:5: warning: excess elements in array initializer
"RTMIN+14",
^~~~~~~~~~
signames.c:56:5: note: (near initialization for 'signal_names')
signames.c:57:5: warning: excess elements in array initializer
"RTMIN+15",
^~~~~~~~~~
signames.c:57:5: note: (near initialization for 'signal_names')
signames.c:58:5: warning: excess elements in array initializer
"RTMAX-14",
^~~~~~~~~~
signames.c:58:5: note: (near initialization for 'signal_names')
signames.c:59:5: warning: excess elements in array initializer
"RTMAX-13",
^~~~~~~~~~
signames.c:59:5: note: (near initialization for 'signal_names')
signames.c:60:5: warning: excess elements in array initializer
"RTMAX-12",
^~~~~~~~~~
signames.c:60:5: note: (near initialization for 'signal_names')
signames.c:61:5: warning: excess elements in array initializer
"RTMAX-11",
^~~~~~~~~~
signames.c:61:5: note: (near initialization for 'signal_names')
signames.c:62:5: warning: excess elements in array initializer
"RTMAX-10",
^~~~~~~~~~
signames.c:62:5: note: (near initialization for 'signal_names')
signames.c:63:5: warning: excess elements in array initializer
"RTMAX-9",
^~~~~~~~~
signames.c:63:5: note: (near initialization for 'signal_names')
signames.c:64:5: warning: excess elements in array initializer
"RTMAX-8",
^~~~~~~~~
signames.c:64:5: note: (near initialization for 'signal_names')
signames.c:65:5: warning: excess elements in array initializer
"RTMAX-7",
^~~~~~~~~
signames.c:65:5: note: (near initialization for 'signal_names')
signames.c:66:5: warning: excess elements in array initializer
"RTMAX-6",
^~~~~~~~~
signames.c:66:5: note: (near initialization for 'signal_names')
signames.c:67:5: warning: excess elements in array initializer
"RTMAX-5",
^~~~~~~~~
signames.c:67:5: note: (near initialization for 'signal_names')
signames.c:68:5: warning: excess elements in array initializer
"RTMAX-4",
^~~~~~~~~
signames.c:68:5: note: (near initialization for 'signal_names')
signames.c:69:5: warning: excess elements in array initializer
"RTMAX-3",
^~~~~~~~~
signames.c:69:5: note: (near initialization for 'signal_names')
signames.c:70:5: warning: excess elements in array initializer
"RTMAX-2",
^~~~~~~~~
signames.c:70:5: note: (near initialization for 'signal_names')
signames.c:71:5: warning: excess elements in array initializer
"RTMAX-1",
^~~~~~~~~
signames.c:71:5: note: (near initialization for 'signal_names')
signames.c:72:5: warning: excess elements in array initializer
"RTMAX",
^~~~~~~
signames.c:72:5: note: (near initialization for 'signal_names')
signames.c:73:5: warning: excess elements in array initializer
(char *)0x0
^
signames.c:73:5: note: (near initialization for 'signal_names')
mv -f .deps/signames.Tpo .deps/signames.Po
./mkinit alias.c arith_yacc.c arith_yylex.c cd.c error.c eval.c exec.c expand.c histedit.c input.c jobs.c mail.c main.c memalloc.c miscbltin.c mystring.c options.c parser.c redir.c show.c trap.c output.c bltin/printf.c system.c bltin/test.c bltin/times.c var.c
x86_64-unknown-redox-gcc -DHAVE_CONFIG_H -I. -I.. -include ../config.h -DBSD=1 -DSHELL -DIFS_BROKEN -I/home/wt/projects/redox/redox/cookbook/recipes/dash/sysroot/include -Wall -I/home/wt/projects/redox/redox/cookbook/recipes/dash/sysroot/include -MT init.o -MD -MP -MF .deps/init.Tpo -c -o init.o init.c
mv -f .deps/init.Tpo .deps/init.Po
x86_64-unknown-redox-gcc -Wall -I/home/wt/projects/redox/redox/cookbook/recipes/dash/sysroot/include -static -Wl,--fatal-warnings -o dash alias.o arith_yacc.o arith_yylex.o cd.o error.o eval.o exec.o expand.o histedit.o input.o jobs.o mail.o main.o memalloc.o miscbltin.o mystring.o options.o parser.o redir.o show.o trap.o output.o printf.o system.o test.o times.o var.o builtins.o init.o nodes.o signames.o syntax.o
/home/wt/projects/redox/redox/prefix/x86_64-unknown-redox/relibc-install/bin/../lib/gcc/x86_64-unknown-redox/8.2.0/../../../../x86_64-unknown-redox/bin/ld: miscbltin.o: in function `ulimitcmd':
miscbltin.c:(.text+0xa78): undefined reference to `setrlimit'
collect2: error: ld returned 1 exit status
make[4]: *** [Makefile:429: dash] Error 1
make[4]: Leaving directory '/home/wt/projects/redox/redox/cookbook/recipes/dash/build/src'
make[3]: *** [Makefile:351: all] Error 2
make[3]: Leaving directory '/home/wt/projects/redox/redox/cookbook/recipes/dash/build/src'
make[2]: *** [Makefile:354: all-recursive] Error 1
make[2]: Leaving directory '/home/wt/projects/redox/redox/cookbook/recipes/dash/build'
make[1]: *** [Makefile:295: all] Error 2
make[1]: Leaving directory '/home/wt/projects/redox/redox/cookbook/recipes/dash/build'
redoxer env: exit code: 2
cook - dash - error: failed to build: failed to run "/home/wt/projects/redox/redox/cookbook/target/release/cookbook_redoxer" "env" "bash" "-ex": exited with status exit code: 1
./repo.sh failed.make: *** [mk/filesystem.mk:18: build/filesystem.bin] Error 1
$
- Proposed solution: None yet.
Optional extras
Running make qemu
a second time allows dash to build and the rest of the build to continue.dash_build_error.txt