+ exec
+ rm -rf /rpmbuild
+ mkdir -p /rpmbuild
+ su -c 'rpmbuild -ba /builddir/build/SPECS/b43-tools.spec            --define "debug_package %{nil}"            --undefine _annotated_build            --define "_missing_doc_files_terminate_build %{nil}"            --define "_emacs_sitestartdir /usr/share/emacs/site-lisp/site-start.d"            --define "_emacs_sitelispdir /usr/share/emacs/site-lisp"            --nocheck   ' mockbuild
warning: Macro expanded in comment on line 17: %{name}-%{version}/ b43-fwcutter-%{version} | xz > ../%{name}-%{version}.tar.xz

Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.xAuwCF
+ umask 022
+ cd /builddir/build/BUILD
+ cd /builddir/build/BUILD
+ rm -rf b43-tools-017
+ /usr/bin/xz -dc /builddir/build/SOURCES/b43-tools-017.tar.xz
+ /usr/bin/tar -xof -
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd b43-tools-017
+ /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ install -p -m 0644 assembler/COPYING COPYING.assembler
+ install -p -m 0644 assembler/README README.assembler
+ install -p -m 0644 debug/COPYING COPYING.debug
+ install -p -m 0644 debug/README README.debug
+ install -p -m 0644 disassembler/COPYING COPYING.disassembler
+ install -p -m 0644 ssb_sprom/README README.ssb_sprom
+ install -p -m 0644 ssb_sprom/COPYING COPYING.ssb_sprom
+ exit 0
Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.nwthrO
+ umask 022
+ cd /builddir/build/BUILD
+ cd b43-tools-017
+ CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 '
+ make -j4 -C assembler
make: Entering directory '/builddir/build/BUILD/b43-tools-017/assembler'
     YACC     parser.c
     DEPEND   dep/util.d
     DEPEND   dep/initvals.d
     DEPEND   dep/main.d
     DEPEND   dep/args.d
     LEX      scanner.c
     DEPEND   dep/parser.d
     DEPEND   dep/scanner.d
     DEPEND   dep/main.d
     CC       obj/initvals.o
     CC       obj/args.o
     CC       obj/main.o
     CC       obj/parser.o
main.c: In function 'is_valid_imm':
main.c:219:13: warning: left shift of negative value [-Wshift-negative-value]
  mask = (~0 << immediate_size) & 0xFFFF;
             ^~
parser.c: In function 'yyparse':
parser.c:3808:18: warning: passing argument 1 of 'yyerror' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
         yyerror (yymsgp);
                  ^~~~~~
parser.y:26:13: note: expected 'char *' but argument is of type 'const char *'
 extern void yyerror(char *);
             ^~~~~~~
     CC       obj/scanner.o
     CC       obj/util.o
scanner.c: In function 'yy_scan_bytes':
scanner.c:2541:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  for ( i = 0; i < _yybytes_len; ++i )
                 ^
     CC       b43-asm.bin
make: Leaving directory '/builddir/build/BUILD/b43-tools-017/assembler'
+ CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 '
+ make -j4 -C disassembler
make: Entering directory '/builddir/build/BUILD/b43-tools-017/disassembler'
     DEPEND   dep/util.d
     DEPEND   dep/args.d
     DEPEND   dep/main.d
     CC       obj/main.o
     CC       obj/args.o
     CC       obj/util.o
     CC       b43-dasm
make: Leaving directory '/builddir/build/BUILD/b43-tools-017/disassembler'
+ CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 '
+ make -j4 -C ssb_sprom
make: Entering directory '/builddir/build/BUILD/b43-tools-017/ssb_sprom'
     DEPEND   dep/utils.d
     DEPEND   dep/ssb_sprom.d
     CC       obj/ssb_sprom.o
     CC       obj/utils.o
In file included from /usr/include/bits/libc-header-start.h:33:0,
                 from /usr/include/stdio.h:27,
                 from utils.h:4,
                 from utils.c:24:
/usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
 # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
   ^~~~~~~
In file included from /usr/include/bits/libc-header-start.h:33:0,
                 from /usr/include/stdio.h:27,
                 from utils.h:4,
                 from ssb_sprom.h:27,
                 from ssb_sprom.c:25:
/usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
 # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
   ^~~~~~~
ssb_sprom.c: In function 'print_banner':
ssb_sprom.c:681:3: error: format not a string literal and no format arguments [-Werror=format-security]
   prdata(str);
   ^~~~~~
ssb_sprom.c:683:3: error: format not a string literal and no format arguments [-Werror=format-security]
   prinfo(str);
   ^~~~~~
cc1: some warnings being treated as errors
make: *** [Makefile:39: obj/ssb_sprom.o] Error 1
make: Leaving directory '/builddir/build/BUILD/b43-tools-017/ssb_sprom'
error: Bad exit status from /var/tmp/rpm-tmp.nwthrO (%build)


RPM build errors:
    Macro expanded in comment on line 17: %{name}-%{version}/ b43-fwcutter-%{version} | xz > ../%{name}-%{version}.tar.xz

    Bad exit status from /var/tmp/rpm-tmp.nwthrO (%build)
++ cleanup
++ set +e
++ sync
++ sleep 5
++ sync
++ poweroff
Terminated
+++ cleanup
+++ set +e
+++ sync
+++ sleep 5
Terminated
++++ cleanup
++++ set +e
++++ sync
++++ sleep 5
++++ sync
++++ poweroff