Mock Version: 2.15 Mock Version: 2.15 Mock Version: 2.15 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/b43-tools.spec'], chrootPath='/var/lib/mock/f38-build-698856-87250/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=1209600uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/b43-tools.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False warning: Macro expanded in comment on line 13: %{name}-%{version}/ b43-fwcutter-%{version} | xz > ../%{name}-%{version}.tar.xz Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1658275200 Wrote: /builddir/build/SRPMS/b43-tools-019-15.fc38.src.rpm RPM build warnings: Macro expanded in comment on line 13: %{name}-%{version}/ b43-fwcutter-%{version} | xz > ../%{name}-%{version}.tar.xz Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/b43-tools.spec'], chrootPath='/var/lib/mock/f38-build-698856-87250/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=1209600uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/b43-tools.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False warning: Macro expanded in comment on line 13: %{name}-%{version}/ b43-fwcutter-%{version} | xz > ../%{name}-%{version}.tar.xz Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1658275200 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.SlSs96 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf b43-tools-019 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/b43-tools-019.tar.xz + STATUS=0 + '[' 0 -ne 0 ']' + cd b43-tools-019 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0001-b43-tools-fix-format-security-errors.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0002-Explicitly-use-python3.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + 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 + install -p -m 0644 debug/install.py debug/setup.py + 2to3 -w . /usr/bin/2to3:3: DeprecationWarning: lib2to3 package is deprecated and may not be able to parse Python 3.10+ from lib2to3.main import main RefactoringTool: Skipping optional fixer: buffer RefactoringTool: Skipping optional fixer: idioms RefactoringTool: Skipping optional fixer: set_literal RefactoringTool: Skipping optional fixer: ws_comma RefactoringTool: No changes to ./debug/install.py RefactoringTool: Refactored ./debug/libb43.py RefactoringTool: No changes to ./debug/setup.py RefactoringTool: Refactored ./fwcutter/mklist.py --- ./debug/libb43.py (original) +++ ./debug/libb43.py (refactored) @@ -74,14 +74,14 @@ try: phys = os.listdir(b43_path) except OSError: - print "Could not find B43's debugfs directory: %s" % b43_path + print("Could not find B43's debugfs directory: %s" % b43_path) raise B43Exception if not phys: - print "Could not find any b43 device" + print("Could not find any b43 device") raise B43Exception if len(phys) != 1: - print "Found multiple b43 devices." - print "You must call this tool with a phyX parameter to specify a device" + print("Found multiple b43 devices.") + print("You must call this tool with a phyX parameter to specify a device") raise B43Exception phy = phys[0] b43_path += phy; @@ -96,8 +96,8 @@ self.f_shm16write = file(b43_path + "/shm16write", "w") self.f_shm32read = file(b43_path + "/shm32read", "r+") self.f_shm32write = file(b43_path + "/shm32write", "w") - except IOError, e: - print "Could not open debugfs file %s: %s" % (e.filename, e.strerror) + except IOError as e: + print("Could not open debugfs file %s: %s" % (e.filename, e.strerror)) raise B43Exception self.b43_path = b43_path @@ -114,7 +114,7 @@ path = m.group(1) break if not path: - print "Could not find debugfs in /etc/mtab" + print("Could not find debugfs in /etc/mtab") raise B43Exception return path @@ -126,8 +126,8 @@ self.f_mmio16read.flush() self.f_mmio16read.seek(0) val = self.f_mmio16read.read() - except IOError, e: - print "Could not access debugfs file %s: %s" % (e.filename, e.strerror) + except IOError as e: + print("Could not access debugfs file %s: %s" % (e.filename, e.strerror)) raise B43Exception return int(val, 16) @@ -139,8 +139,8 @@ self.f_mmio32read.flush() self.f_mmio32read.seek(0) val = self.f_mmio32read.read() - except IOError, e: - print "Could not access debugfs file %s: %s" % (e.filename, e.strerror) + except IOError as e: + print("Could not access debugfs file %s: %s" % (e.filename, e.strerror)) raise B43Exception return int(val, 16) @@ -152,8 +152,8 @@ self.f_mmio16write.seek(0) self.f_mmio16write.write("0x%X 0x%X 0x%X" % (reg, mask, set)) self.f_mmio16write.flush() - except IOError, e: - print "Could not access debugfs file %s: %s" % (e.filename, e.strerror) + except IOError as e: + print("Could not access debugfs file %s: %s" % (e.filename, e.strerror)) raise B43Exception return @@ -170,8 +170,8 @@ self.f_mmio32write.seek(0) self.f_mmio32write.write("0x%X 0x%X 0x%X" % (reg, mask, set)) self.f_mmio32write.flush() - except IOError, e: - print "Could not access debugfs file %s: %s" % (e.filename, e.strerror) + except IOError as e: + print("Could not access debugfs file %s: %s" % (e.filename, e.strerror)) raise B43Exception return @@ -188,8 +188,8 @@ self.f_shm16read.flush() self.f_shm16read.seek(0) val = self.f_shm16read.read() - except IOError, e: - print "Could not access debugfs file %s: %s" % (e.filename, e.strerror) + except IOError as e: + print("Could not access debugfs file %s: %s" % (e.filename, e.strerror)) raise B43Exception return int(val, 16) @@ -201,8 +201,8 @@ self.f_shm16write.seek(0) self.f_shm16write.write("0x%X 0x%X 0x%X 0x%X" % (routing, offset, mask, set)) self.f_shm16write.flush() - except IOError, e: - print "Could not access debugfs file %s: %s" % (e.filename, e.strerror) + except IOError as e: + print("Could not access debugfs file %s: %s" % (e.filename, e.strerror)) raise B43Exception return @@ -219,8 +219,8 @@ self.f_shm32read.flush() self.f_shm32read.seek(0) val = self.f_shm32read.read() - except IOError, e: - print "Could not access debugfs file %s: %s" % (e.filename, e.strerror) + except IOError as e: + print("Could not access debugfs file %s: %s" % (e.filename, e.strerror)) raise B43Exception return int(val, 16) @@ -232,8 +232,8 @@ self.f_shm32write.seek(0) self.f_shm32write.write("0x%X 0x%X 0x%X 0x%X" % (routing, offset, mask, set)) self.f_shm32write.flush() - except IOError, e: - print "Could not access debugfs file %s: %s" % (e.filename, e.strerror) + except IOError as e: + print("Could not access debugfs file %s: %s" % (e.filename, e.strerror)) raise B43Exception return @@ -345,9 +345,9 @@ def __init__(self, text, expected_md5sum): sum = hashlib.md5(text).hexdigest() if sum != expected_md5sum: - print "Patcher: The text does not match the expected MD5 sum" - print "Expected: " + expected_md5sum - print "Calculated: " + sum + print("Patcher: The text does not match the expected MD5 sum") + print("Expected: " + expected_md5sum) + print("Calculated: " + sum) raise B43Exception text = text.splitlines() self.lines = [] @@ -375,7 +375,7 @@ if l.index == linenumber: l.deleted = True return - print "Patcher deleteLine: Did not find the line!" + print("Patcher deleteLine: Did not find the line!") raise B43Exception def addText(self, beforeLineNumber, text): @@ -388,7 +388,7 @@ break index += 1 if index >= len(self.lines): - print "Patcher addText: Did not find the line!" + print("Patcher addText: Did not find the line!") raise B43Exception for l in text: self.lines.insert(index, TextPatcher.TextLine(-1, l)) @@ -402,8 +402,8 @@ assembly file containing the symbolic SPR definitions.""" try: defs = file(header_file).readlines() - except IOError, e: - print "B43SymbolicSpr: Could not read %s: %s" % (e.filename, e.strerror) + except IOError as e: + print("B43SymbolicSpr: Could not read %s: %s" % (e.filename, e.strerror)) B43Exception # Parse the definitions self.spr_names = { } @@ -438,8 +438,8 @@ assembly file containing the symbolic SHM definitions.""" try: defs = file(header_file).readlines() - except IOError, e: - print "B43SymbolicShm: Could not read %s: %s" % (e.filename, e.strerror) + except IOError as e: + print("B43SymbolicShm: Could not read %s: %s" % (e.filename, e.strerror)) raise B43Exception # Parse the definitions self.shm_names = { } @@ -477,8 +477,8 @@ assembly file containing the symbolic condition definitions.""" try: defs = file(header_file).readlines() - except IOError, e: - print "B43SymbolicCondition: Could not read %s: %s" % (e.filename, e.strerror) + except IOError as e: + print("B43SymbolicCondition: Could not read %s: %s" % (e.filename, e.strerror)) raise B43Exception # Parse the definitions self.cond_names = { } --- ./fwcutter/mklist.py (original) +++ ./fwcutter/mklist.py (refactored) @@ -33,7 +33,7 @@ import hashlib if len(sys.argv) != 2: - print "Usage: %s path/to/wl.o" % sys.argv[0] + print("Usage: %s path/to/wl.o" % sys.argv[0]) sys.exit(1) fn = sys.argv[1] @@ -52,13 +52,13 @@ rodata_fileoffset = int(m.group(1), 16) break if rodata_fileoffset == None: - print "ERROR: Could not find .rodata fileoffset" + print("ERROR: Could not find .rodata fileoffset") sys.exit(1) md5sum = hashlib.md5(file(fn, "r").read()) -print "static struct extract _%s[] =" % md5sum.hexdigest() -print "{" +print("static struct extract _%s[] =" % md5sum.hexdigest()) +print("{") sym_re = re.compile(r"([0-9a-fA-F]+)\s+g\s+O\s+\.rodata\s+([0-9a-fA-F]+) d11([-_\s\w0-9]+)") ucode_re = re.compile(r"ucode(\d+)") @@ -81,10 +81,10 @@ if "pcm" in name: type = "EXT_PCM" if "bommajor" in name: - print "\t/* ucode major version at offset 0x%x */" % pos + print("\t/* ucode major version at offset 0x%x */" % pos) continue if "bomminor" in name: - print "\t/* ucode minor version at offset 0x%x */" % pos + print("\t/* ucode minor version at offset 0x%x */" % pos) continue if "ucode_2w" in name: continue @@ -98,9 +98,9 @@ else: type = "EXT_UCODE_3" if not type: - print "\t/* ERROR: Could not guess data type for: %s */" % name + print("\t/* ERROR: Could not guess data type for: %s */" % name) continue - print "\t{ .name = \"%s\", .offset = 0x%X, .type = %s, .length = 0x%X }," % (name, pos, type, size) -print "\tEXTRACT_LIST_END" -print "};" + print("\t{ .name = \"%s\", .offset = 0x%X, .type = %s, .length = 0x%X }," % (name, pos, type, size)) +print("\tEXTRACT_LIST_END") +print("};") RefactoringTool: Files that were modified: RefactoringTool: ./debug/install.py RefactoringTool: ./debug/libb43.py RefactoringTool: ./debug/setup.py RefactoringTool: ./fwcutter/mklist.py + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.N6fTdi + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd b43-tools-019 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer' + /usr/bin/make -O -j4 V=1 VERBOSE=1 -C assembler make: Entering directory '/builddir/build/BUILD/b43-tools-019/assembler' gcc -o dep/initvals.d.tmp -MM -MG -MT "dep/initvals.d obj/initvals.o" -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -std=gnu99 -D_GNU_SOURCE -Wall -Wextra -Wformat=2 -Wundef -Wno-unused-parameter -Wshadow -Wpointer-arith -DYYSTYPE="void *" -DYYERROR_VERBOSE -DYYDEBUG=1 -DYYENABLE_NLS=0 -DYYLTYPE_IS_TRIVIAL=0 -Wno-unused initvals.c && mv -f dep/initvals.d.tmp dep/initvals.d make: Leaving directory '/builddir/build/BUILD/b43-tools-019/assembler' make: Entering directory '/builddir/build/BUILD/b43-tools-019/assembler' gcc -o dep/main.d.tmp -MM -MG -MT "dep/main.d obj/main.o" -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -std=gnu99 -D_GNU_SOURCE -Wall -Wextra -Wformat=2 -Wundef -Wno-unused-parameter -Wshadow -Wpointer-arith -DYYSTYPE="void *" -DYYERROR_VERBOSE -DYYDEBUG=1 -DYYENABLE_NLS=0 -DYYLTYPE_IS_TRIVIAL=0 -Wno-unused main.c && mv -f dep/main.d.tmp dep/main.d make: Leaving directory '/builddir/build/BUILD/b43-tools-019/assembler' make: Entering directory '/builddir/build/BUILD/b43-tools-019/assembler' gcc -o dep/args.d.tmp -MM -MG -MT "dep/args.d obj/args.o" -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -std=gnu99 -D_GNU_SOURCE -Wall -Wextra -Wformat=2 -Wundef -Wno-unused-parameter -Wshadow -Wpointer-arith -DYYSTYPE="void *" -DYYERROR_VERBOSE -DYYDEBUG=1 -DYYENABLE_NLS=0 -DYYLTYPE_IS_TRIVIAL=0 -Wno-unused args.c && mv -f dep/args.d.tmp dep/args.d make: Leaving directory '/builddir/build/BUILD/b43-tools-019/assembler' make: Entering directory '/builddir/build/BUILD/b43-tools-019/assembler' gcc -o dep/util.d.tmp -MM -MG -MT "dep/util.d obj/util.o" -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -std=gnu99 -D_GNU_SOURCE -Wall -Wextra -Wformat=2 -Wundef -Wno-unused-parameter -Wshadow -Wpointer-arith -DYYSTYPE="void *" -DYYERROR_VERBOSE -DYYDEBUG=1 -DYYENABLE_NLS=0 -DYYLTYPE_IS_TRIVIAL=0 -Wno-unused util.c && mv -f dep/util.d.tmp dep/util.d make: Leaving directory '/builddir/build/BUILD/b43-tools-019/assembler' make: Entering directory '/builddir/build/BUILD/b43-tools-019/assembler' bison --defines -o parser.c parser.y make: Leaving directory '/builddir/build/BUILD/b43-tools-019/assembler' make: Entering directory '/builddir/build/BUILD/b43-tools-019/assembler' flex -o scanner.c --header-file=scanner.h scanner.l make: Leaving directory '/builddir/build/BUILD/b43-tools-019/assembler' make: Entering directory '/builddir/build/BUILD/b43-tools-019/assembler' gcc -o dep/parser.d.tmp -MM -MG -MT "dep/parser.d obj/parser.o" -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -std=gnu99 -D_GNU_SOURCE -Wall -Wextra -Wformat=2 -Wundef -Wno-unused-parameter -Wshadow -Wpointer-arith -DYYSTYPE="void *" -DYYERROR_VERBOSE -DYYDEBUG=1 -DYYENABLE_NLS=0 -DYYLTYPE_IS_TRIVIAL=0 -Wno-unused parser.c && mv -f dep/parser.d.tmp dep/parser.d make: Leaving directory '/builddir/build/BUILD/b43-tools-019/assembler' make: Entering directory '/builddir/build/BUILD/b43-tools-019/assembler' gcc -o dep/scanner.d.tmp -MM -MG -MT "dep/scanner.d obj/scanner.o" -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -std=gnu99 -D_GNU_SOURCE -Wall -Wextra -Wformat=2 -Wundef -Wno-unused-parameter -Wshadow -Wpointer-arith -DYYSTYPE="void *" -DYYERROR_VERBOSE -DYYDEBUG=1 -DYYENABLE_NLS=0 -DYYLTYPE_IS_TRIVIAL=0 -Wno-unused scanner.c && mv -f dep/scanner.d.tmp dep/scanner.d make: Leaving directory '/builddir/build/BUILD/b43-tools-019/assembler' make: Entering directory '/builddir/build/BUILD/b43-tools-019/assembler' gcc -o dep/main.d.tmp -MM -MG -MT "dep/main.d obj/main.o" -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -std=gnu99 -D_GNU_SOURCE -Wall -Wextra -Wformat=2 -Wundef -Wno-unused-parameter -Wshadow -Wpointer-arith -DYYSTYPE="void *" -DYYERROR_VERBOSE -DYYDEBUG=1 -DYYENABLE_NLS=0 -DYYLTYPE_IS_TRIVIAL=0 -Wno-unused main.c && mv -f dep/main.d.tmp dep/main.d make: Leaving directory '/builddir/build/BUILD/b43-tools-019/assembler' make: Entering directory '/builddir/build/BUILD/b43-tools-019/assembler' gcc -o obj/args.o -c -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -std=gnu99 -D_GNU_SOURCE -Wall -Wextra -Wformat=2 -Wundef -Wno-unused-parameter -Wshadow -Wpointer-arith -DYYSTYPE="void *" -DYYERROR_VERBOSE -DYYDEBUG=1 -DYYENABLE_NLS=0 -DYYLTYPE_IS_TRIVIAL=0 -Wno-unused args.c make: Leaving directory '/builddir/build/BUILD/b43-tools-019/assembler' make: Entering directory '/builddir/build/BUILD/b43-tools-019/assembler' gcc -o obj/initvals.o -c -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -std=gnu99 -D_GNU_SOURCE -Wall -Wextra -Wformat=2 -Wundef -Wno-unused-parameter -Wshadow -Wpointer-arith -DYYSTYPE="void *" -DYYERROR_VERBOSE -DYYDEBUG=1 -DYYENABLE_NLS=0 -DYYLTYPE_IS_TRIVIAL=0 -Wno-unused initvals.c make: Leaving directory '/builddir/build/BUILD/b43-tools-019/assembler' make: Entering directory '/builddir/build/BUILD/b43-tools-019/assembler' gcc -o obj/util.o -c -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -std=gnu99 -D_GNU_SOURCE -Wall -Wextra -Wformat=2 -Wundef -Wno-unused-parameter -Wshadow -Wpointer-arith -DYYSTYPE="void *" -DYYERROR_VERBOSE -DYYDEBUG=1 -DYYENABLE_NLS=0 -DYYLTYPE_IS_TRIVIAL=0 -Wno-unused util.c make: Leaving directory '/builddir/build/BUILD/b43-tools-019/assembler' make: Entering directory '/builddir/build/BUILD/b43-tools-019/assembler' gcc -o obj/main.o -c -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -std=gnu99 -D_GNU_SOURCE -Wall -Wextra -Wformat=2 -Wundef -Wno-unused-parameter -Wshadow -Wpointer-arith -DYYSTYPE="void *" -DYYERROR_VERBOSE -DYYDEBUG=1 -DYYENABLE_NLS=0 -DYYLTYPE_IS_TRIVIAL=0 -Wno-unused main.c main.c: In function 'is_valid_imm': main.c:219:20: warning: left shift of negative value [-Wshift-negative-value] 219 | mask = (~0 << immediate_size) & 0xFFFF; | ^~ make: Leaving directory '/builddir/build/BUILD/b43-tools-019/assembler' make: Entering directory '/builddir/build/BUILD/b43-tools-019/assembler' gcc -o obj/parser.o -c -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -std=gnu99 -D_GNU_SOURCE -Wall -Wextra -Wformat=2 -Wundef -Wno-unused-parameter -Wshadow -Wpointer-arith -DYYSTYPE="void *" -DYYERROR_VERBOSE -DYYDEBUG=1 -DYYENABLE_NLS=0 -DYYLTYPE_IS_TRIVIAL=0 -Wno-unused parser.c make: Leaving directory '/builddir/build/BUILD/b43-tools-019/assembler' make: Entering directory '/builddir/build/BUILD/b43-tools-019/assembler' gcc -o obj/scanner.o -c -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -std=gnu99 -D_GNU_SOURCE -Wall -Wextra -Wformat=2 -Wundef -Wno-unused-parameter -Wshadow -Wpointer-arith -DYYSTYPE="void *" -DYYERROR_VERBOSE -DYYDEBUG=1 -DYYENABLE_NLS=0 -DYYLTYPE_IS_TRIVIAL=0 -Wno-unused scanner.c make: Leaving directory '/builddir/build/BUILD/b43-tools-019/assembler' make: Entering directory '/builddir/build/BUILD/b43-tools-019/assembler' gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -std=gnu99 -D_GNU_SOURCE -Wall -Wextra -Wformat=2 -Wundef -Wno-unused-parameter -Wshadow -Wpointer-arith -DYYSTYPE="void *" -DYYERROR_VERBOSE -DYYDEBUG=1 -DYYENABLE_NLS=0 -DYYLTYPE_IS_TRIVIAL=0 -Wno-unused -o b43-asm.bin obj/args.o obj/initvals.o obj/main.o obj/parser.o obj/scanner.o obj/util.o -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -lfl make: Leaving directory '/builddir/build/BUILD/b43-tools-019/assembler' + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer' + /usr/bin/make -O -j4 V=1 VERBOSE=1 -C disassembler make: Entering directory '/builddir/build/BUILD/b43-tools-019/disassembler' gcc -o dep/util.d.tmp -MM -MT "dep/util.d obj/util.o" -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -std=gnu99 -D_GNU_SOURCE -Wall -Wextra -Wformat=2 -Wundef -Wno-unused-parameter -Wshadow -Wpointer-arith util.c && mv -f dep/util.d.tmp dep/util.d make: Leaving directory '/builddir/build/BUILD/b43-tools-019/disassembler' make: Entering directory '/builddir/build/BUILD/b43-tools-019/disassembler' gcc -o dep/main.d.tmp -MM -MT "dep/main.d obj/main.o" -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -std=gnu99 -D_GNU_SOURCE -Wall -Wextra -Wformat=2 -Wundef -Wno-unused-parameter -Wshadow -Wpointer-arith main.c && mv -f dep/main.d.tmp dep/main.d make: Leaving directory '/builddir/build/BUILD/b43-tools-019/disassembler' make: Entering directory '/builddir/build/BUILD/b43-tools-019/disassembler' gcc -o dep/args.d.tmp -MM -MT "dep/args.d obj/args.o" -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -std=gnu99 -D_GNU_SOURCE -Wall -Wextra -Wformat=2 -Wundef -Wno-unused-parameter -Wshadow -Wpointer-arith args.c && mv -f dep/args.d.tmp dep/args.d make: Leaving directory '/builddir/build/BUILD/b43-tools-019/disassembler' make: Entering directory '/builddir/build/BUILD/b43-tools-019/disassembler' gcc -o obj/util.o -c -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -std=gnu99 -D_GNU_SOURCE -Wall -Wextra -Wformat=2 -Wundef -Wno-unused-parameter -Wshadow -Wpointer-arith util.c make: Leaving directory '/builddir/build/BUILD/b43-tools-019/disassembler' make: Entering directory '/builddir/build/BUILD/b43-tools-019/disassembler' gcc -o obj/args.o -c -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -std=gnu99 -D_GNU_SOURCE -Wall -Wextra -Wformat=2 -Wundef -Wno-unused-parameter -Wshadow -Wpointer-arith args.c make: Leaving directory '/builddir/build/BUILD/b43-tools-019/disassembler' make: Entering directory '/builddir/build/BUILD/b43-tools-019/disassembler' gcc -o obj/main.o -c -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -std=gnu99 -D_GNU_SOURCE -Wall -Wextra -Wformat=2 -Wundef -Wno-unused-parameter -Wshadow -Wpointer-arith main.c make: Leaving directory '/builddir/build/BUILD/b43-tools-019/disassembler' main.c: In function 'disasm_std_operand': main.c:105:30: warning: '%X' directive output may be truncated writing between 1 and 8 bytes into a region of size 6 [-Wformat-truncation=] 105 | snprintf(ret, 9, "[0x%X]", operand); | ^~ In function 'disasm_mem_operand', inlined from 'disasm_std_operand' at main.c:224:37: main.c:105:26: note: directive argument in the range [0, 4294965247] 105 | snprintf(ret, 9, "[0x%X]", operand); | ^~~~~~~~ In file included from /usr/include/stdio.h:906, from main.h:4, from main.c:14: In function 'snprintf', inlined from 'disasm_mem_operand' at main.c:105:2, inlined from 'disasm_std_operand' at main.c:224:37: /usr/include/bits/stdio2.h:54:10: note: '__snprintf_chk' output between 6 and 13 bytes into a destination of size 9 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ main.c: In function 'disasm_std_operand': main.c:105:30: warning: '%X' directive output may be truncated writing between 1 and 8 bytes into a region of size 6 [-Wformat-truncation=] 105 | snprintf(ret, 9, "[0x%X]", operand); | ^~ In function 'disasm_mem_operand', inlined from 'disasm_std_operand' at main.c:242:37: main.c:105:26: note: directive argument in the range [0, 4294963199] 105 | snprintf(ret, 9, "[0x%X]", operand); | ^~~~~~~~ In function 'snprintf', inlined from 'disasm_mem_operand' at main.c:105:2, inlined from 'disasm_std_operand' at main.c:242:37: /usr/include/bits/stdio2.h:54:10: note: '__snprintf_chk' output between 6 and 13 bytes into a destination of size 9 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ main.c: In function 'disasm_std_operand': main.c:95:28: warning: '%X' directive output may be truncated writing between 3 and 8 bytes into a region of size 5 [-Wformat-truncation=] 95 | snprintf(ret, 6, "@%X", operand); | ^~ In function 'gen_raw_code', inlined from 'disasm_raw_operand' at main.c:212:35, inlined from 'disasm_std_operand' at main.c:262:2: main.c:95:26: note: directive argument in the range [2048, 4294966271] 95 | snprintf(ret, 6, "@%X", operand); | ^~~~~ In function 'snprintf', inlined from 'gen_raw_code' at main.c:95:2, inlined from 'disasm_raw_operand' at main.c:212:35, inlined from 'disasm_std_operand' at main.c:262:2: /usr/include/bits/stdio2.h:54:10: note: '__snprintf_chk' output between 5 and 10 bytes into a destination of size 6 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ make: Entering directory '/builddir/build/BUILD/b43-tools-019/disassembler' gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -std=gnu99 -D_GNU_SOURCE -Wall -Wextra -Wformat=2 -Wundef -Wno-unused-parameter -Wshadow -Wpointer-arith -o b43-dasm obj/args.o obj/main.o obj/util.o -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes make: Leaving directory '/builddir/build/BUILD/b43-tools-019/disassembler' + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer' + /usr/bin/make -O -j4 V=1 VERBOSE=1 -C ssb_sprom make: Entering directory '/builddir/build/BUILD/b43-tools-019/ssb_sprom' cc -o dep/utils.d.tmp -MM -MT "dep/utils.d obj/utils.o" -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -std=c99 -O2 -fomit-frame-pointer -Wall -D_BSD_SOURCE utils.c && mv -f dep/utils.d.tmp dep/utils.d make: Leaving directory '/builddir/build/BUILD/b43-tools-019/ssb_sprom' make: Entering directory '/builddir/build/BUILD/b43-tools-019/ssb_sprom' cc -o dep/ssb_sprom.d.tmp -MM -MT "dep/ssb_sprom.d obj/ssb_sprom.o" -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -std=c99 -O2 -fomit-frame-pointer -Wall -D_BSD_SOURCE ssb_sprom.c && mv -f dep/ssb_sprom.d.tmp dep/ssb_sprom.d make: Leaving directory '/builddir/build/BUILD/b43-tools-019/ssb_sprom' make: Entering directory '/builddir/build/BUILD/b43-tools-019/ssb_sprom' cc -o obj/utils.o -c -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -std=c99 -O2 -fomit-frame-pointer -Wall -D_BSD_SOURCE utils.c make: Leaving directory '/builddir/build/BUILD/b43-tools-019/ssb_sprom' In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from utils.h:4, from utils.c:24: /usr/include/features.h:195:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 195 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ make: Entering directory '/builddir/build/BUILD/b43-tools-019/ssb_sprom' cc -o obj/ssb_sprom.o -c -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -std=c99 -O2 -fomit-frame-pointer -Wall -D_BSD_SOURCE ssb_sprom.c make: Leaving directory '/builddir/build/BUILD/b43-tools-019/ssb_sprom' In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from utils.h:4, from ssb_sprom.h:27, from ssb_sprom.c:25: /usr/include/features.h:195:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 195 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ ssb_sprom.c: In function 'main': ssb_sprom.c:454:41: warning: '%s' directive writing up to 99 bytes into a region of size between 35 and 36 [-Wformat-overflow=] 454 | sprintf(buffer, "SPROM(0x%03X), %s, ", offset, desc); | ^~ ~~~~ In file included from /usr/include/stdio.h:906: In function 'sprintf', inlined from 'display_value' at ssb_sprom.c:454:2, inlined from 'display_sprom' at ssb_sprom.c:506:3, inlined from 'main' at ssb_sprom.c:1202:8: /usr/include/bits/stdio2.h:30:10: note: '__sprintf_chk' output between 24 and 124 bytes into a destination of size 50 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ ssb_sprom.c: In function 'main': ssb_sprom.c:454:41: warning: '%s' directive writing up to 99 bytes into a region of size between 35 and 36 [-Wformat-overflow=] 454 | sprintf(buffer, "SPROM(0x%03X), %s, ", offset, desc); | ^~ ~~~~ In function 'sprintf', inlined from 'display_value' at ssb_sprom.c:454:2, inlined from 'display_sprom' at ssb_sprom.c:506:3, inlined from 'main' at ssb_sprom.c:1202:8: /usr/include/bits/stdio2.h:30:10: note: '__sprintf_chk' output between 24 and 124 bytes into a destination of size 50 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ ssb_sprom.c: In function 'main': ssb_sprom.c:454:41: warning: '%s' directive writing up to 99 bytes into a region of size between 35 and 36 [-Wformat-overflow=] 454 | sprintf(buffer, "SPROM(0x%03X), %s, ", offset, desc); | ^~ ~~~~ In function 'sprintf', inlined from 'display_value' at ssb_sprom.c:454:2, inlined from 'display_sprom' at ssb_sprom.c:506:3, inlined from 'main' at ssb_sprom.c:1202:8: /usr/include/bits/stdio2.h:30:10: note: '__sprintf_chk' output between 24 and 124 bytes into a destination of size 50 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ make: Entering directory '/builddir/build/BUILD/b43-tools-019/ssb_sprom' cc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -std=c99 -O2 -fomit-frame-pointer -Wall -D_BSD_SOURCE -o ssb-sprom obj/ssb_sprom.o obj/utils.o -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes make: Leaving directory '/builddir/build/BUILD/b43-tools-019/ssb_sprom' + cd debug + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer ' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + /usr/bin/python3 setup.py build '--executable=/usr/bin/python3 -sP' /builddir/build/BUILD/b43-tools-019/debug/setup.py:6: DeprecationWarning: The distutils package is deprecated and slated for removal in Python 3.12. Use setuptools or check PEP 632 for potential alternatives from distutils.core import setup running build running build_py creating build creating build/lib copying libb43.py -> build/lib running build_scripts creating build/scripts-3.11 copying and adjusting b43-fwdump -> build/scripts-3.11 copying and adjusting b43-beautifier -> build/scripts-3.11 changing mode of build/scripts-3.11/b43-fwdump from 644 to 755 changing mode of build/scripts-3.11/b43-beautifier from 644 to 755 + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.C6LBX8 + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/b43-tools-019-15.fc38.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/b43-tools-019-15.fc38.riscv64 ++ dirname /builddir/build/BUILDROOT/b43-tools-019-15.fc38.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/b43-tools-019-15.fc38.riscv64 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd b43-tools-019 + mkdir -p /builddir/build/BUILDROOT/b43-tools-019-15.fc38.riscv64/usr/bin + install -p -m 0755 assembler/b43-asm /builddir/build/BUILDROOT/b43-tools-019-15.fc38.riscv64/usr/bin + install -p -m 0755 assembler/b43-asm.bin /builddir/build/BUILDROOT/b43-tools-019-15.fc38.riscv64/usr/bin + install -p -m 0755 disassembler/b43-dasm /builddir/build/BUILDROOT/b43-tools-019-15.fc38.riscv64/usr/bin + install -p -m 0755 disassembler/b43-ivaldump /builddir/build/BUILDROOT/b43-tools-019-15.fc38.riscv64/usr/bin + install -p -m 0755 disassembler/brcm80211-fwconv /builddir/build/BUILDROOT/b43-tools-019-15.fc38.riscv64/usr/bin + install -p -m 0755 disassembler/brcm80211-ivaldump /builddir/build/BUILDROOT/b43-tools-019-15.fc38.riscv64/usr/bin + install -p -m 0755 ssb_sprom/ssb-sprom /builddir/build/BUILDROOT/b43-tools-019-15.fc38.riscv64/usr/bin + cd debug + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer ' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + /usr/bin/python3 setup.py install -O1 --skip-build --root /builddir/build/BUILDROOT/b43-tools-019-15.fc38.riscv64 --prefix /usr /builddir/build/BUILD/b43-tools-019/debug/setup.py:6: DeprecationWarning: The distutils package is deprecated and slated for removal in Python 3.12. Use setuptools or check PEP 632 for potential alternatives from distutils.core import setup running install running install_lib creating /builddir/build/BUILDROOT/b43-tools-019-15.fc38.riscv64/usr/lib creating /builddir/build/BUILDROOT/b43-tools-019-15.fc38.riscv64/usr/lib/python3.11 creating /builddir/build/BUILDROOT/b43-tools-019-15.fc38.riscv64/usr/lib/python3.11/site-packages copying build/lib/libb43.py -> /builddir/build/BUILDROOT/b43-tools-019-15.fc38.riscv64/usr/lib/python3.11/site-packages byte-compiling /builddir/build/BUILDROOT/b43-tools-019-15.fc38.riscv64/usr/lib/python3.11/site-packages/libb43.py to libb43.cpython-311.pyc writing byte-compilation script '/tmp/tmphk6scmmg.py' /usr/bin/python3 -Wignore:The distutils package is deprecated and slated for removal in Python 3.12. Use setuptools or check PEP 632 for potential alternatives:DeprecationWarning /tmp/tmphk6scmmg.py removing /tmp/tmphk6scmmg.py running install_scripts copying build/scripts-3.11/b43-fwdump -> /builddir/build/BUILDROOT/b43-tools-019-15.fc38.riscv64/usr/bin copying build/scripts-3.11/b43-beautifier -> /builddir/build/BUILDROOT/b43-tools-019-15.fc38.riscv64/usr/bin changing mode of /builddir/build/BUILDROOT/b43-tools-019-15.fc38.riscv64/usr/bin/b43-fwdump to 755 changing mode of /builddir/build/BUILDROOT/b43-tools-019-15.fc38.riscv64/usr/bin/b43-beautifier to 755 running install_egg_info Writing /builddir/build/BUILDROOT/b43-tools-019-15.fc38.riscv64/usr/lib/python3.11/site-packages/B43_debug_tools-0.0.0-py3.11.egg-info + rm -rfv /builddir/build/BUILDROOT/b43-tools-019-15.fc38.riscv64/usr/bin/__pycache__ + /usr/bin/find-debuginfo -j4 --strict-build-id -m -i --build-id-seed 019-15.fc38 --unique-debug-suffix -019-15.fc38.riscv64 --unique-debug-src-base b43-tools-019-15.fc38.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/b43-tools-019 extracting debug info from /builddir/build/BUILDROOT/b43-tools-019-15.fc38.riscv64/usr/bin/ssb-sprom extracting debug info from /builddir/build/BUILDROOT/b43-tools-019-15.fc38.riscv64/usr/bin/b43-dasm extracting debug info from /builddir/build/BUILDROOT/b43-tools-019-15.fc38.riscv64/usr/bin/b43-asm.bin original debug info size: 1092kB, size after compression: 1084kB /usr/bin/sepdebugcrcfix: Updated 3 CRC32s, 0 CRC32s did match. 802 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/redhat/brp-mangle-shebangs mangling shebang in /usr/bin/b43-asm from /bin/sh to #!/usr/bin/sh mangling shebang in /usr/bin/brcm80211-fwconv from /usr/bin/env python3 to #!/usr/bin/python3 mangling shebang in /usr/bin/brcm80211-ivaldump from /usr/bin/env python3 to #!/usr/bin/python3 mangling shebang in /usr/bin/b43-ivaldump from /usr/bin/env python3 to #!/usr/bin/python3 + /usr/lib/rpm/brp-remove-la-files + env /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 -j4 Bytecompiling .py files below /builddir/build/BUILDROOT/b43-tools-019-15.fc38.riscv64/usr/lib/python3.11 using python3.11 + /usr/lib/rpm/redhat/brp-python-hardlink Processing files: b43-tools-019-15.fc38.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.72hMwx + umask 022 + cd /builddir/build/BUILD + cd b43-tools-019 + DOCDIR=/builddir/build/BUILDROOT/b43-tools-019-15.fc38.riscv64/usr/share/doc/b43-tools + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/b43-tools-019-15.fc38.riscv64/usr/share/doc/b43-tools + cp -pr README.assembler README.debug README.ssb_sprom /builddir/build/BUILDROOT/b43-tools-019-15.fc38.riscv64/usr/share/doc/b43-tools + cp -pr COPYING.assembler COPYING.debug COPYING.disassembler COPYING.ssb_sprom /builddir/build/BUILDROOT/b43-tools-019-15.fc38.riscv64/usr/share/doc/b43-tools + RPM_EC=0 ++ jobs -p + exit 0 Error: The version in the Python package metadata 0.0.0 normalizes to zero. It's likely a packaging error caused by missing version information (e.g. when using a version control system snapshot as a source). Try providing the version information manually when building the Python package, for example by setting the SETUPTOOLS_SCM_PRETEND_VERSION environment variable if the package uses setuptools_scm. If you are confident that the version of the Python package is intentionally zero, you may %define the _python_dist_allow_version_zero macro in the spec file to disable this check. error: Dependency tokens must begin with alpha-numeric, '_' or '/': *** PYTHON_PROVIDED_VERSION_NORMALIZES_TO_ZERO___SEE_STDERR *** Provides: b43-tools = 019-15.fc38 b43-tools(riscv-64) = 019-15.fc38 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PartialHardlinkSets) <= 4.0.4-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: /usr/bin/python3 /usr/bin/sh ld-linux-riscv64-lp64d.so.1()(64bit) ld-linux-riscv64-lp64d.so.1(GLIBC_2.27)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) libc.so.6(GLIBC_2.33)(64bit) libc.so.6(GLIBC_2.34)(64bit) python(abi) = 3.11 rtld(GNU_HASH) RPM build warnings: RPM build errors: Macro expanded in comment on line 13: %{name}-%{version}/ b43-fwcutter-%{version} | xz > ../%{name}-%{version}.tar.xz Dependency tokens must begin with alpha-numeric, '_' or '/': *** PYTHON_PROVIDED_VERSION_NORMALIZES_TO_ZERO___SEE_STDERR *** Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.9/site-packages/mockbuild/util.py", line 600, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode) mockbuild.exception.Error: Command failed: # bash --login -c /usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/b43-tools.spec