D: [iurt_root_command] chroot Installing /home/pterjan/rpmbuild/SRPMS/cproto-4.7m-1.mga7.src.rpm Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.hPfRSG + umask 022 + cd /home/pterjan/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD + rm -rf cproto-4.7m + /usr/bin/gzip -dc /home/pterjan/rpmbuild/SOURCES/cproto-4.7m.tgz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd cproto-4.7m + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + exit 0 Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.Iw09MY + umask 022 + cd /home/pterjan/rpmbuild/BUILD + cd cproto-4.7m + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4' + 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 build system type... x86_64-mageia-linux-gnu checking host system type... x86_64-mageia-linux-gnu Configuring for linux-gnu checking for gcc... gcc checking for C compiler default output... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for executable suffix... checking for object suffix... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking version of gcc... 7.3.0 checking for gcc option to accept ANSI C... none needed checking $CC variable... ok checking how to run the C preprocessor... gcc -E checking for reflex... no checking for flex... flex checking for yywrap in -lfl... yes checking lex output file root... lex.yy checking whether yytext is a pointer... yes checking whether make sets ${MAKE}... yes checking for bison... no checking for byacc... byacc checking for a BSD compatible install... /usr/bin/install -c checking if filesystem supports mixed-case filenames... yes checking for exctags... no checking for ctags... no checking for exetags... no checking for etags... no checking for ctags... no checking for etags... no checking for tdlint... no checking for lint... no checking for alint... no checking for splint... no checking for lclint... no checking if we must define _GNU_SOURCE... yes checking if _XOPEN_SOURCE really is set... yes checking if you want to check for gcc warnings... no checking if you want to see long compiling messages... yes checking for an ANSI C-conforming const... yes checking for ANSI C header files... yes checking for stdlib.h... yes checking for unistd.h... yes checking for getopt.h... yes checking for string.h... yes checking for memory.h... yes checking for getopt... yes checking for popen... yes checking for strstr... yes checking for tmpfile... yes checking for link... yes checking for unlink... yes checking for working mkstemp... yes checking for size_t in or ... yes checking if gcc -E can handle only .c files... yes checking for error-reporting with BISON_HAS_YYTNAME... no checking for error-reporting with YACC_HAS_YYTOKS... no checking for error-reporting with YACC_HAS_YYTOKS_2... no checking for error-reporting with YACC_HAS_YYNAME... yes checking for conflicting prototype for popen... no checking if you want to use dmalloc for testing... no checking if you want to use dbmalloc for testing... no checking if you want to use valgrind for testing... no checking if you want to perform memory-leak testing... no checking for groff... /usr/bin/groff checking for nroff... /usr/bin/nroff checking for program to convert manpage to html... /usr/bin/groff setting other definitions configure: creating ./config.status config.status: creating Makefile config.status: creating config.h + echo 'warning: %make is deprecated, try %make_build instead' warning: %make is deprecated, try %make_build instead + /usr/bin/make -O -j8 flex ./lex.l byacc ./grammar.y byacc: 1 shift/reduce conflict, 30 reduce/reduce conflicts. gcc -c -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -I. -I. -DHAVE_CONFIG_H -D_GNU_SOURCE strkey.c strkey.c: In function 'strcut': strkey.c:44:32: warning: comparison between pointer and zero character constant [-Wpointer-compare] if ((s = strkey(src, key)) != '\0') { ^~ strkey.c:44:9: note: did you mean to dereference the pointer? if ((s = strkey(src, key)) != '\0') { ^ gcc -c -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -I. -I. -DHAVE_CONFIG_H -D_GNU_SOURCE lintlibs.c gcc -c -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -I. -I. -DHAVE_CONFIG_H -D_GNU_SOURCE symbol.c gcc -c -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -I. -I. -DHAVE_CONFIG_H -D_GNU_SOURCE cproto.c In file included from cproto.c:7:0: cproto.c: In function 'main': ./cproto.h:353:24: warning: ignoring return value of 'mkstemp', declared with attribute warn_unused_result [-Wunused-result] #define call_mktemp(s) mkstemp(s) ^~~~~~~~~~ cproto.c:881:3: note: in expansion of macro 'call_mktemp' call_mktemp(temp); ^~~~~~~~~~~ gcc -c -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -I. -I. -DHAVE_CONFIG_H -D_GNU_SOURCE semantic.c semantic.c: In function 'gen_func_definition': semantic.c:1044:2: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(comment, sizeof(char), comment_len, cur_tmp_file()); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ semantic.c:1060:6: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(params->comment, sizeof(char), (size_t) n, cur_tmp_file()); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ semantic.c:1071:3: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(p->comment, sizeof(char), (size_t) n, cur_tmp_file()); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ semantic.c:1095:6: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(cur_func, sizeof(char), func_len, cur_tmp_file()); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -c -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -I. -I. -DHAVE_CONFIG_H -D_GNU_SOURCE y.tab.c y.tab.c: In function 'yyparse': ./grammar.y:672:37: warning: '__builtin___sprintf_chk' may write a terminating nul past the end of the destination [-Wformat-overflow=] (void)sprintf($$.text, "*%s", $2.text); ^~~~~ In file included from /usr/include/stdio.h:936:0, from ./system.h:8, from ./cproto.h:44, from ./symbol.h:9, from ./grammar.y:70: /usr/include/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 2 and 4097 bytes into a destination of size 4096 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./grammar.y:678:37: warning: '%s' directive writing up to 4095 bytes into a region of size between 0 and 4095 [-Wformat-overflow=] (void)sprintf($$.text, "*%s%s", $2.text, $3.text); ^~~~~~~ In file included from /usr/include/stdio.h:936:0, from ./system.h:8, from ./cproto.h:44, from ./symbol.h:9, from ./grammar.y:70: /usr/include/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 2 and 8192 bytes into a destination of size 4096 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./grammar.y:703:37: warning: '__builtin___sprintf_chk' may write a terminating nul past the end of the destination [-Wformat-overflow=] (void)sprintf($$.text, "%s%s ", $1.text, $2.text); ^~~~~~~ In file included from /usr/include/stdio.h:936:0, from ./system.h:8, from ./cproto.h:44, from ./symbol.h:9, from ./grammar.y:70: /usr/include/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output 2 or more bytes (assuming 4097) into a destination of size 4096 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./grammar.y:779:34: warning: '__builtin___sprintf_chk' may write a terminating nul past the end of the destination [-Wformat-overflow=] (void)sprintf($$.text, "&%s", $2.text); ^~~~~ In file included from /usr/include/stdio.h:936:0, from ./system.h:8, from ./cproto.h:44, from ./symbol.h:9, from ./grammar.y:70: /usr/include/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 2 and 4097 bytes into a destination of size 4096 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -o cproto cproto.o lintlibs.o semantic.o strkey.o symbol.o y.tab.o -lfl + exit 0 Executing(%install): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.zj2sQq + umask 022 + cd /home/pterjan/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' /home/pterjan/rpmbuild/BUILDROOT/cproto-4.7m-1.mga7.x86_64 '!=' / ']' + rm -rf /home/pterjan/rpmbuild/BUILDROOT/cproto-4.7m-1.mga7.x86_64 ++ dirname /home/pterjan/rpmbuild/BUILDROOT/cproto-4.7m-1.mga7.x86_64 + mkdir -p /home/pterjan/rpmbuild/BUILDROOT + mkdir /home/pterjan/rpmbuild/BUILDROOT/cproto-4.7m-1.mga7.x86_64 + cd cproto-4.7m + '[' 1 -eq 1 ']' + /usr/bin/make install DESTDIR=/home/pterjan/rpmbuild/BUILDROOT/cproto-4.7m-1.mga7.x86_64 'INSTALL=/usr/bin/install -p' mkdir -p /home/pterjan/rpmbuild/BUILDROOT/cproto-4.7m-1.mga7.x86_64/usr/bin mkdir -p /home/pterjan/rpmbuild/BUILDROOT/cproto-4.7m-1.mga7.x86_64/usr/share/man/man1 /usr/bin/install -p cproto /home/pterjan/rpmbuild/BUILDROOT/cproto-4.7m-1.mga7.x86_64/usr/bin/cproto /usr/bin/install -p -m 644 ./cproto.1 /home/pterjan/rpmbuild/BUILDROOT/cproto-4.7m-1.mga7.x86_64/usr/share/man/man1/cproto.1 + /usr/lib/rpm/find-debuginfo.sh -j8 -m -i --build-id-seed 4.7m-1.mga7 --unique-debug-suffix -4.7m-1.mga7.x86_64 --unique-debug-src-base cproto-4.7m-1.mga7.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -S debugsourcefiles.list /home/pterjan/rpmbuild/BUILD/cproto-4.7m extracting debug info from /home/pterjan/rpmbuild/BUILDROOT/cproto-4.7m-1.mga7.x86_64/usr/bin/cproto /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. 527 blocks + '[' -n '' ']' + /usr/share/spec-helper/clean_files + '[' -n '' ']' + /usr/share/spec-helper/compress_files .xz + '[' -n '' ']' + /usr/share/spec-helper/relink_symlinks + '[' -n '' ']' + /usr/share/spec-helper/clean_perl + '[' -n '' ']' + /usr/share/spec-helper/lib_symlinks + '[' -n '' ']' + /usr/share/spec-helper/gprintify + '[' -n '' ']' + /usr/share/spec-helper/fix_mo + '[' -n '' ']' + /usr/share/spec-helper/translate_menu + '[' -n '' ']' + /usr/share/spec-helper/fix_pamd + '[' -n '' ']' + /usr/share/spec-helper/remove_info_dir + '[' -n '' ']' + /usr/share/spec-helper/fix_eol + '[' -n '' ']' + /usr/share/spec-helper/check_elf_files + '[' 1 -eq 1 ']' + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 + /usr/lib/rpm/brp-python-hardlink Processing files: cproto-4.7m-1.mga7.x86_64 Executing(%doc): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.23WSTU + umask 022 + cd /home/pterjan/rpmbuild/BUILD + cd cproto-4.7m + DOCDIR=/home/pterjan/rpmbuild/BUILDROOT/cproto-4.7m-1.mga7.x86_64/usr/share/doc/cproto + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILDROOT/cproto-4.7m-1.mga7.x86_64/usr/share/doc/cproto + cp -pr CHANGES /home/pterjan/rpmbuild/BUILDROOT/cproto-4.7m-1.mga7.x86_64/usr/share/doc/cproto + cp -pr README /home/pterjan/rpmbuild/BUILDROOT/cproto-4.7m-1.mga7.x86_64/usr/share/doc/cproto + exit 0 Provides: cproto = 4.7m-1.mga7 cproto(x86-64) = 4.7m-1.mga7 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libc.so.6()(64bit) libc.so.6(GLIBC_2.14)(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.3)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.4)(64bit) libc.so.6(GLIBC_2.7)(64bit) Processing files: cproto-debugsource-4.7m-1.mga7.x86_64 Provides: cproto-debugsource = 4.7m-1.mga7 cproto-debugsource(x86-64) = 4.7m-1.mga7 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: cproto-debuginfo-4.7m-1.mga7.x86_64 Provides: cproto-debuginfo = 4.7m-1.mga7 cproto-debuginfo(x86-64) = 4.7m-1.mga7 debuginfo(build-id) = 71c8c43954f7d773ec547dab70b1e23315bd3c21 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: cproto-debugsource(x86-64) = 4.7m-1.mga7 Checking for unpackaged file(s): /usr/lib/rpm/check-files /home/pterjan/rpmbuild/BUILDROOT/cproto-4.7m-1.mga7.x86_64 Wrote: /home/pterjan/rpmbuild/RPMS/x86_64/cproto-4.7m-1.mga7.x86_64.rpm Wrote: /home/pterjan/rpmbuild/RPMS/x86_64/cproto-debugsource-4.7m-1.mga7.x86_64.rpm Wrote: /home/pterjan/rpmbuild/RPMS/x86_64/cproto-debuginfo-4.7m-1.mga7.x86_64.rpm Executing(%clean): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.JciMXp + umask 022 + cd /home/pterjan/rpmbuild/BUILD + cd cproto-4.7m + /usr/bin/rm -rf /home/pterjan/rpmbuild/BUILDROOT/cproto-4.7m-1.mga7.x86_64 + exit 0 Executing(--clean): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.A22H3U + umask 022 + cd /home/pterjan/rpmbuild/BUILD + rm -rf cproto-4.7m + exit 0 D: [iurt_root_command] Success!