D: [iurt_root_command] chroot Installing /home/pterjan/rpmbuild/SRPMS/dash-0.5.9-1.mga7.src.rpm Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.18OJ9P + umask 022 + cd /home/pterjan/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD + rm -rf dash-0.5.9 + /usr/bin/gzip -dc /home/pterjan/rpmbuild/SOURCES/dash-0.5.9.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd dash-0.5.9 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/cat /home/pterjan/rpmbuild/SOURCES/dash-0.5.7-format-not-a-string-literal-and-no-format-arguments.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /home/pterjan/rpmbuild/SOURCES/dash-0.5.7-hack-to-fix-test-build.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + exit 0 Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.9w6REY + umask 022 + cd /home/pterjan/rpmbuild/BUILD + cd dash-0.5.9 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + export 'CFLAGS=-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -Os' + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -Os' + export 'CXXFLAGS=-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -Os' + CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -Os' + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -Os' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -Os' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4' + export FFLAGS + LDFLAGS=' -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags' + export LDFLAGS + CONFIGURE_TOP=. + /usr/lib/rpm/mageia/force-as-needed-for-shared-lib-in-libtool Forcing -Wl,--as-needed in configure/libtool to workaround libtool bug (cf http://lists.gnu.org/archive/html/libtool-patches/2004-06/msg00002.html) + /usr/lib/rpm/mageia/drop-ld-no-undefined-for-shared-lib-modules-in-libtool + /usr/lib/rpm/mageia/fix-libtool-ltmain-from-overlinking + /usr/lib/rpm/mageia/fix-libtool-from-moving-options-after-libs . + /usr/lib/rpm/mageia/fix-dlsearch-path-in-libtool-for-multilib . lib64 + '[' -f ./configure.in -o -f ./configure.ac ']' + CONFIGURE_XPATH='--x-includes=/usr/include --x-libraries=/usr/lib64' + ./configure --build=x86_64-mageia-linux-gnu --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --x-includes=/usr/include --x-libraries=/usr/lib64 checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking for gcc... 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... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking for style of include used by make... GNU checking dependency style of gcc... gcc3 checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/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... gcc checking for __attribute__((__alias__()))... yes checking alloca.h usability... yes checking alloca.h presence... yes checking for alloca.h... yes checking paths.h usability... yes checking paths.h presence... yes checking for paths.h... yes checking whether _PATH_BSHELL is declared... yes checking whether _PATH_DEVNULL is declared... yes checking whether _PATH_TTY is declared... yes 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... yes checking for getpwnam... yes checking for getrlimit... yes checking for isalpha... yes checking for killpg... yes checking for mempcpy... yes checking for sigsetmask... yes checking for stpcpy... yes checking for strchrnul... yes 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... yes checking for open64... yes configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating config.h config.status: executing depfiles commands + /usr/bin/make -O -j8 /usr/bin/make all-recursive Making all in src make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/dash-0.5.9/src' gcc -DHAVE_CONFIG_H -I. -I.. -include ../config.h -DBSD=1 -DSHELL -DIFS_BROKEN -Wall -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -Os -E -x c -o builtins.def builtins.def.in make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/dash-0.5.9/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/dash-0.5.9/src' sh mktokens make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/dash-0.5.9/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/dash-0.5.9/src' sh mktokens make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/dash-0.5.9/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/dash-0.5.9/src' sh mkbuiltins builtins.def make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/dash-0.5.9/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/dash-0.5.9/src' gcc -I. -I.. -include ../config.h -DBSD=1 -DSHELL -DIFS_BROKEN -g -O2 -Wall -o mksyntax mksyntax.c make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/dash-0.5.9/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/dash-0.5.9/src' ./mksyntax make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/dash-0.5.9/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/dash-0.5.9/src' gcc -I. -I.. -include ../config.h -DBSD=1 -DSHELL -DIFS_BROKEN -g -O2 -Wall -o mknodes mknodes.c make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/dash-0.5.9/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/dash-0.5.9/src' ./mknodes nodetypes nodes.c.pat make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/dash-0.5.9/src' /usr/bin/make all-am make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/dash-0.5.9/src' gcc -DHAVE_CONFIG_H -I. -I.. -include ../config.h -DBSD=1 -DSHELL -DIFS_BROKEN -Wall -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -Os -MT arith_yylex.o -MD -MP -MF .deps/arith_yylex.Tpo -c -o arith_yylex.o arith_yylex.c In file included from arith_yylex.c:44:0: system.h: In function 'sigclearmask': system.h:40:2: warning: 'sigsetmask' is deprecated [-Wdeprecated-declarations] sigsetmask(0); ^ In file included from error.h:38:0, from arith_yylex.c:40: /usr/include/signal.h:190:12: note: declared here extern int sigsetmask (int __mask) __THROW __attribute_deprecated__; ^ mv -f .deps/arith_yylex.Tpo .deps/arith_yylex.Po make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/dash-0.5.9/src' make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/dash-0.5.9/src' gcc -DHAVE_CONFIG_H -I. -I.. -include ../config.h -DBSD=1 -DSHELL -DIFS_BROKEN -Wall -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -Os -MT error.o -MD -MP -MF .deps/error.Tpo -c -o error.o error.c In file included from error.c:54:0: system.h: In function 'sigclearmask': system.h:40:2: warning: 'sigsetmask' is deprecated [-Wdeprecated-declarations] sigsetmask(0); ^ In file included from error.c:39:0: /usr/include/signal.h:190:12: note: declared here extern int sigsetmask (int __mask) __THROW __attribute_deprecated__; ^ mv -f .deps/error.Tpo .deps/error.Po make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/dash-0.5.9/src' make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/dash-0.5.9/src' gcc -DHAVE_CONFIG_H -I. -I.. -include ../config.h -DBSD=1 -DSHELL -DIFS_BROKEN -Wall -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -Os -MT histedit.o -MD -MP -MF .deps/histedit.Tpo -c -o histedit.o histedit.c mv -f .deps/histedit.Tpo .deps/histedit.Po make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/dash-0.5.9/src' make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/dash-0.5.9/src' gcc -DHAVE_CONFIG_H -I. -I.. -include ../config.h -DBSD=1 -DSHELL -DIFS_BROKEN -Wall -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -Os -MT alias.o -MD -MP -MF .deps/alias.Tpo -c -o alias.o alias.c mv -f .deps/alias.Tpo .deps/alias.Po make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/dash-0.5.9/src' make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/dash-0.5.9/src' gcc -DHAVE_CONFIG_H -I. -I.. -include ../config.h -DBSD=1 -DSHELL -DIFS_BROKEN -Wall -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -Os -MT cd.o -MD -MP -MF .deps/cd.Tpo -c -o cd.o cd.c mv -f .deps/cd.Tpo .deps/cd.Po make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/dash-0.5.9/src' make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/dash-0.5.9/src' gcc -DHAVE_CONFIG_H -I. -I.. -include ../config.h -DBSD=1 -DSHELL -DIFS_BROKEN -Wall -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -Os -MT arith_yacc.o -MD -MP -MF .deps/arith_yacc.Tpo -c -o arith_yacc.o arith_yacc.c mv -f .deps/arith_yacc.Tpo .deps/arith_yacc.Po make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/dash-0.5.9/src' make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/dash-0.5.9/src' gcc -DHAVE_CONFIG_H -I. -I.. -include ../config.h -DBSD=1 -DSHELL -DIFS_BROKEN -Wall -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -Os -MT mail.o -MD -MP -MF .deps/mail.Tpo -c -o mail.o mail.c mv -f .deps/mail.Tpo .deps/mail.Po make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/dash-0.5.9/src' make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/dash-0.5.9/src' gcc -DHAVE_CONFIG_H -I. -I.. -include ../config.h -DBSD=1 -DSHELL -DIFS_BROKEN -Wall -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -Os -MT main.o -MD -MP -MF .deps/main.Tpo -c -o main.o main.c mv -f .deps/main.Tpo .deps/main.Po make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/dash-0.5.9/src' make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/dash-0.5.9/src' gcc -DHAVE_CONFIG_H -I. -I.. -include ../config.h -DBSD=1 -DSHELL -DIFS_BROKEN -Wall -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -Os -MT input.o -MD -MP -MF .deps/input.Tpo -c -o input.o input.c mv -f .deps/input.Tpo .deps/input.Po make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/dash-0.5.9/src' make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/dash-0.5.9/src' gcc -DHAVE_CONFIG_H -I. -I.. -include ../config.h -DBSD=1 -DSHELL -DIFS_BROKEN -Wall -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -Os -MT memalloc.o -MD -MP -MF .deps/memalloc.Tpo -c -o memalloc.o memalloc.c In file included from memalloc.c:44:0: system.h: In function 'sigclearmask': system.h:40:2: warning: 'sigsetmask' is deprecated [-Wdeprecated-declarations] sigsetmask(0); ^ In file included from /usr/include/sys/param.h:28:0, from shell.h:52, from memalloc.c:38: /usr/include/signal.h:190:12: note: declared here extern int sigsetmask (int __mask) __THROW __attribute_deprecated__; ^ mv -f .deps/memalloc.Tpo .deps/memalloc.Po make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/dash-0.5.9/src' make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/dash-0.5.9/src' gcc -DHAVE_CONFIG_H -I. -I.. -include ../config.h -DBSD=1 -DSHELL -DIFS_BROKEN -Wall -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -Os -MT mystring.o -MD -MP -MF .deps/mystring.Tpo -c -o mystring.o mystring.c In file included from mystring.c:57:0: system.h: In function 'sigclearmask': system.h:40:2: warning: 'sigsetmask' is deprecated [-Wdeprecated-declarations] sigsetmask(0); ^ In file included from /usr/include/sys/param.h:28:0, from shell.h:52, from mystring.c:51: /usr/include/signal.h:190:12: note: declared here extern int sigsetmask (int __mask) __THROW __attribute_deprecated__; ^ mv -f .deps/mystring.Tpo .deps/mystring.Po make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/dash-0.5.9/src' make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/dash-0.5.9/src' gcc -DHAVE_CONFIG_H -I. -I.. -include ../config.h -DBSD=1 -DSHELL -DIFS_BROKEN -Wall -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -Os -MT exec.o -MD -MP -MF .deps/exec.Tpo -c -o exec.o exec.c In file included from exec.c:72:0: system.h: In function 'sigclearmask': system.h:40:2: warning: 'sigsetmask' is deprecated [-Wdeprecated-declarations] sigsetmask(0); ^ In file included from /usr/include/sys/param.h:28:0, from shell.h:52, from exec.c:53: /usr/include/signal.h:190:12: note: declared here extern int sigsetmask (int __mask) __THROW __attribute_deprecated__; ^ mv -f .deps/exec.Tpo .deps/exec.Po make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/dash-0.5.9/src' make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/dash-0.5.9/src' gcc -DHAVE_CONFIG_H -I. -I.. -include ../config.h -DBSD=1 -DSHELL -DIFS_BROKEN -Wall -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -Os -MT expand.o -MD -MP -MF .deps/expand.Tpo -c -o expand.o expand.c In file included from expand.c:74:0: system.h: In function 'sigclearmask': system.h:40:2: warning: 'sigsetmask' is deprecated [-Wdeprecated-declarations] sigsetmask(0); ^ In file included from /usr/include/sys/param.h:28:0, from shell.h:52, from expand.c:59: /usr/include/signal.h:190:12: note: declared here extern int sigsetmask (int __mask) __THROW __attribute_deprecated__; ^ mv -f .deps/expand.Tpo .deps/expand.Po make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/dash-0.5.9/src' make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/dash-0.5.9/src' gcc -DHAVE_CONFIG_H -I. -I.. -include ../config.h -DBSD=1 -DSHELL -DIFS_BROKEN -Wall -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -Os -MT miscbltin.o -MD -MP -MF .deps/miscbltin.Tpo -c -o miscbltin.o miscbltin.c mv -f .deps/miscbltin.Tpo .deps/miscbltin.Po make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/dash-0.5.9/src' make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/dash-0.5.9/src' gcc -DHAVE_CONFIG_H -I. -I.. -include ../config.h -DBSD=1 -DSHELL -DIFS_BROKEN -Wall -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -Os -MT eval.o -MD -MP -MF .deps/eval.Tpo -c -o eval.o eval.c eval.c: In function 'evaltree': eval.c:284:19: warning: logical not is only applied to the left hand side of comparison [-Wlogical-not-parentheses] if (!exitstatus == isor) ^ mv -f .deps/eval.Tpo .deps/eval.Po make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/dash-0.5.9/src' make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/dash-0.5.9/src' gcc -DHAVE_CONFIG_H -I. -I.. -include ../config.h -DBSD=1 -DSHELL -DIFS_BROKEN -Wall -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -Os -MT show.o -MD -MP -MF .deps/show.Tpo -c -o show.o show.c mv -f .deps/show.Tpo .deps/show.Po make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/dash-0.5.9/src' make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/dash-0.5.9/src' gcc -DHAVE_CONFIG_H -I. -I.. -include ../config.h -DBSD=1 -DSHELL -DIFS_BROKEN -Wall -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -Os -MT system.o -MD -MP -MF .deps/system.Tpo -c -o system.o system.c In file included from system.c:62:0: system.h: In function 'sigclearmask': system.h:40:2: warning: 'sigsetmask' is deprecated [-Wdeprecated-declarations] sigsetmask(0); ^ In file included from system.c:57:0: /usr/include/signal.h:190:12: note: declared here extern int sigsetmask (int __mask) __THROW __attribute_deprecated__; ^ mv -f .deps/system.Tpo .deps/system.Po make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/dash-0.5.9/src' make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/dash-0.5.9/src' gcc -DHAVE_CONFIG_H -I. -I.. -include ../config.h -DBSD=1 -DSHELL -DIFS_BROKEN -Wall -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -Os -MT options.o -MD -MP -MF .deps/options.Tpo -c -o options.o options.c mv -f .deps/options.Tpo .deps/options.Po make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/dash-0.5.9/src' make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/dash-0.5.9/src' gcc -DHAVE_CONFIG_H -I. -I.. -include ../config.h -DBSD=1 -DSHELL -DIFS_BROKEN -Wall -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -Os -MT output.o -MD -MP -MF .deps/output.Tpo -c -o output.o output.c In file included from output.c:65:0: system.h: In function 'sigclearmask': system.h:40:2: warning: 'sigsetmask' is deprecated [-Wdeprecated-declarations] sigsetmask(0); ^ In file included from /usr/include/sys/param.h:28:0, from output.c:47: /usr/include/signal.h:190:12: note: declared here extern int sigsetmask (int __mask) __THROW __attribute_deprecated__; ^ mv -f .deps/output.Tpo .deps/output.Po make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/dash-0.5.9/src' make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/dash-0.5.9/src' gcc -DHAVE_CONFIG_H -I. -I.. -include ../config.h -DBSD=1 -DSHELL -DIFS_BROKEN -Wall -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -Os -MT redir.o -MD -MP -MF .deps/redir.Tpo -c -o redir.o redir.c mv -f .deps/redir.Tpo .deps/redir.Po make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/dash-0.5.9/src' make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/dash-0.5.9/src' gcc -DHAVE_CONFIG_H -I. -I.. -include ../config.h -DBSD=1 -DSHELL -DIFS_BROKEN -Wall -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -Os -MT trap.o -MD -MP -MF .deps/trap.Tpo -c -o trap.o trap.c mv -f .deps/trap.Tpo .deps/trap.Po make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/dash-0.5.9/src' make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/dash-0.5.9/src' gcc -DHAVE_CONFIG_H -I. -I.. -include ../config.h -DBSD=1 -DSHELL -DIFS_BROKEN -Wall -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -Os -MT builtins.o -MD -MP -MF .deps/builtins.Tpo -c -o builtins.o builtins.c mv -f .deps/builtins.Tpo .deps/builtins.Po make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/dash-0.5.9/src' make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/dash-0.5.9/src' gcc -DHAVE_CONFIG_H -I. -I.. -include ../config.h -DBSD=1 -DSHELL -DIFS_BROKEN -Wall -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -Os -MT printf.o -MD -MP -MF .deps/printf.Tpo -c -o printf.o `test -f 'bltin/printf.c' || echo './'`bltin/printf.c In file included from bltin/printf.c:59:0: ./system.h: In function 'sigclearmask': ./system.h:40:2: warning: 'sigsetmask' is deprecated [-Wdeprecated-declarations] sigsetmask(0); ^ In file included from /usr/include/sys/param.h:28:0, from bltin/../shell.h:52, from bltin/bltin.h:43, from bltin/printf.c:58: /usr/include/signal.h:190:12: note: declared here extern int sigsetmask (int __mask) __THROW __attribute_deprecated__; ^ mv -f .deps/printf.Tpo .deps/printf.Po make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/dash-0.5.9/src' make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/dash-0.5.9/src' gcc -DHAVE_CONFIG_H -I. -I.. -include ../config.h -DBSD=1 -DSHELL -DIFS_BROKEN -Wall -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -Os -MT times.o -MD -MP -MF .deps/times.Tpo -c -o times.o `test -f 'bltin/times.c' || echo './'`bltin/times.c In file included from bltin/times.c:13:0: ./system.h: In function 'sigclearmask': ./system.h:40:2: warning: 'sigsetmask' is deprecated [-Wdeprecated-declarations] sigsetmask(0); ^ In file included from /usr/include/sys/param.h:28:0, from bltin/../shell.h:52, from bltin/bltin.h:43, from bltin/times.c:11: /usr/include/signal.h:190:12: note: declared here extern int sigsetmask (int __mask) __THROW __attribute_deprecated__; ^ mv -f .deps/times.Tpo .deps/times.Po make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/dash-0.5.9/src' make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/dash-0.5.9/src' gcc -DHAVE_CONFIG_H -I. -I.. -include ../config.h -DBSD=1 -DSHELL -DIFS_BROKEN -Wall -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -Os -MT jobs.o -MD -MP -MF .deps/jobs.Tpo -c -o jobs.o jobs.c In file included from jobs.c:70:0: system.h: In function 'sigclearmask': system.h:40:2: warning: 'sigsetmask' is deprecated [-Wdeprecated-declarations] sigsetmask(0); ^ In file included from jobs.c:36:0: /usr/include/signal.h:190:12: note: declared here extern int sigsetmask (int __mask) __THROW __attribute_deprecated__; ^ mv -f .deps/jobs.Tpo .deps/jobs.Po make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/dash-0.5.9/src' make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/dash-0.5.9/src' gcc -DHAVE_CONFIG_H -I. -I.. -include ../config.h -DBSD=1 -DSHELL -DIFS_BROKEN -Wall -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -Os -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/test.Tpo .deps/test.Po make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/dash-0.5.9/src' make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/dash-0.5.9/src' gcc -DHAVE_CONFIG_H -I. -I.. -include ../config.h -DBSD=1 -DSHELL -DIFS_BROKEN -Wall -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -Os -MT syntax.o -MD -MP -MF .deps/syntax.Tpo -c -o syntax.o syntax.c mv -f .deps/syntax.Tpo .deps/syntax.Po make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/dash-0.5.9/src' make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/dash-0.5.9/src' gcc -DHAVE_CONFIG_H -I. -I.. -include ../config.h -DBSD=1 -DSHELL -DIFS_BROKEN -Wall -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -Os -MT nodes.o -MD -MP -MF .deps/nodes.Tpo -c -o nodes.o nodes.c In file included from nodes.c:51:0: system.h: In function 'sigclearmask': system.h:40:2: warning: 'sigsetmask' is deprecated [-Wdeprecated-declarations] sigsetmask(0); ^ In file included from /usr/include/sys/param.h:28:0, from shell.h:52, from nodes.c:46: /usr/include/signal.h:190:12: note: declared here extern int sigsetmask (int __mask) __THROW __attribute_deprecated__; ^ mv -f .deps/nodes.Tpo .deps/nodes.Po make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/dash-0.5.9/src' make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/dash-0.5.9/src' gcc -I. -I.. -include ../config.h -DBSD=1 -DSHELL -DIFS_BROKEN -g -O2 -Wall -o mksignames mksignames.c make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/dash-0.5.9/src' make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/dash-0.5.9/src' gcc -DHAVE_CONFIG_H -I. -I.. -include ../config.h -DBSD=1 -DSHELL -DIFS_BROKEN -Wall -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -Os -MT var.o -MD -MP -MF .deps/var.Tpo -c -o var.o var.c In file included from var.c:63:0: system.h: In function 'sigclearmask': system.h:40:2: warning: 'sigsetmask' is deprecated [-Wdeprecated-declarations] sigsetmask(0); ^ In file included from /usr/include/sys/param.h:28:0, from shell.h:52, from var.c:46: /usr/include/signal.h:190:12: note: declared here extern int sigsetmask (int __mask) __THROW __attribute_deprecated__; ^ mv -f .deps/var.Tpo .deps/var.Po make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/dash-0.5.9/src' make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/dash-0.5.9/src' ./mksignames make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/dash-0.5.9/src' make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/dash-0.5.9/src' gcc -DHAVE_CONFIG_H -I. -I.. -include ../config.h -DBSD=1 -DSHELL -DIFS_BROKEN -Wall -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -Os -MT signames.o -MD -MP -MF .deps/signames.Tpo -c -o signames.o signames.c mv -f .deps/signames.Tpo .deps/signames.Po make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/dash-0.5.9/src' make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/dash-0.5.9/src' gcc -I. -I.. -include ../config.h -DBSD=1 -DSHELL -DIFS_BROKEN -g -O2 -Wall -o mkinit mkinit.c make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/dash-0.5.9/src' make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/dash-0.5.9/src' ./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 make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/dash-0.5.9/src' make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/dash-0.5.9/src' gcc -DHAVE_CONFIG_H -I. -I.. -include ../config.h -DBSD=1 -DSHELL -DIFS_BROKEN -Wall -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -Os -MT parser.o -MD -MP -MF .deps/parser.Tpo -c -o parser.o parser.c In file included from parser.c:57:0: system.h: In function 'sigclearmask': system.h:40:2: warning: 'sigsetmask' is deprecated [-Wdeprecated-declarations] sigsetmask(0); ^ In file included from /usr/include/sys/param.h:28:0, from shell.h:52, from parser.c:41: /usr/include/signal.h:190:12: note: declared here extern int sigsetmask (int __mask) __THROW __attribute_deprecated__; ^ mv -f .deps/parser.Tpo .deps/parser.Po make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/dash-0.5.9/src' make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/dash-0.5.9/src' gcc -DHAVE_CONFIG_H -I. -I.. -include ../config.h -DBSD=1 -DSHELL -DIFS_BROKEN -Wall -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -Os -MT init.o -MD -MP -MF .deps/init.Tpo -c -o init.o init.c mv -f .deps/init.Tpo .deps/init.Po make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/dash-0.5.9/src' make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/dash-0.5.9/src' gcc -Wall -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -Os -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags -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 make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/dash-0.5.9/src' + mv src/dash src/dash.dynamic + make clean Making clean in src make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/dash-0.5.9/src' test -z "dash" || rm -f dash test -z "builtins.h nodes.h syntax.h token.h token_vars.h builtins.c init.c nodes.c signames.c syntax.c mkinit mksyntax mknodes mksignames builtins.def" || rm -f builtins.h nodes.h syntax.h token.h token_vars.h builtins.c init.c nodes.c signames.c syntax.c mkinit mksyntax mknodes mksignames builtins.def rm -f *.o make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/dash-0.5.9/src' Making clean in . make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/dash-0.5.9' make[1]: Nothing to be done for 'clean-am'. make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/dash-0.5.9' + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -Os' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -Os' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4' + export FFLAGS + LDFLAGS=' -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags' + export LDFLAGS + CONFIGURE_TOP=. + /usr/lib/rpm/mageia/force-as-needed-for-shared-lib-in-libtool Forcing -Wl,--as-needed in configure/libtool to workaround libtool bug (cf http://lists.gnu.org/archive/html/libtool-patches/2004-06/msg00002.html) + /usr/lib/rpm/mageia/drop-ld-no-undefined-for-shared-lib-modules-in-libtool + /usr/lib/rpm/mageia/fix-libtool-ltmain-from-overlinking + /usr/lib/rpm/mageia/fix-libtool-from-moving-options-after-libs . + /usr/lib/rpm/mageia/fix-dlsearch-path-in-libtool-for-multilib . lib64 + '[' -f ./configure.in -o -f ./configure.ac ']' + CONFIGURE_XPATH='--x-includes=/usr/include --x-libraries=/usr/lib64' + ./configure --build=x86_64-mageia-linux-gnu --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --x-includes=/usr/include --x-libraries=/usr/lib64 'CC=diet gcc' checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking for gcc... diet 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... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether diet gcc accepts -g... yes checking for diet gcc option to accept ISO C89... none needed checking for style of include used by make... GNU checking dependency style of diet gcc... gcc3 checking how to run the C preprocessor... diet gcc -E checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/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... diet gcc checking for __attribute__((__alias__()))... yes checking alloca.h usability... yes checking alloca.h presence... yes checking for alloca.h... yes checking paths.h usability... yes checking paths.h presence... yes checking for paths.h... yes checking whether _PATH_BSHELL is declared... yes checking whether _PATH_DEVNULL is declared... yes checking whether _PATH_TTY is declared... yes 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... yes 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... yes configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating config.h config.status: executing depfiles commands + /usr/bin/make -O -j8 'CC=diet gcc' /usr/bin/make all-recursive Making all in src make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/dash-0.5.9/src' diet gcc -DHAVE_CONFIG_H -I. -I.. -include ../config.h -DBSD=1 -DSHELL -DIFS_BROKEN -Wall -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -Os -E -x c -o builtins.def builtins.def.in make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/dash-0.5.9/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/dash-0.5.9/src' sh mktokens make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/dash-0.5.9/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/dash-0.5.9/src' diet gcc -I. -I.. -include ../config.h -DBSD=1 -DSHELL -DIFS_BROKEN -g -O2 -Wall -o mksyntax mksyntax.c In file included from mksyntax.c:43:0: parser.h: In function 'parser_eof': parser.h:100:37: error: 'TEOF' undeclared (first use in this function) return tokpushback && lasttoken == TEOF; ^ parser.h:100:37: note: each undeclared identifier is reported only once for each function it appears in Makefile:717: recipe for target 'mksyntax' failed make[2]: *** [mksyntax] Error 1 make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/dash-0.5.9/src' make[2]: *** Waiting for unfinished jobs.... make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/dash-0.5.9/src' sh mktokens make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/dash-0.5.9/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/dash-0.5.9/src' sh mkbuiltins builtins.def make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/dash-0.5.9/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/dash-0.5.9/src' diet gcc -I. -I.. -include ../config.h -DBSD=1 -DSHELL -DIFS_BROKEN -g -O2 -Wall -o mknodes mknodes.c make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/dash-0.5.9/src' Makefile:279: recipe for target 'all-recursive' failed make[1]: *** [all-recursive] Error 1 Makefile:219: recipe for target 'all' failed make: *** [all] Error 2 error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.9w6REY (%build) RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.9w6REY (%build) I: [iurt_root_command] ERROR: chroot