Mock Version: 4.1 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/woffTools.spec'], chrootPath='/var/lib/mock/fedora-rawhide-x86_64-1690050079.558884/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=0uid=1000gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.p_af5f2a:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.p_af5f2a:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '408e78b3e09f4cd9838d117bf97ab81a', '-D', '/var/lib/mock/fedora-rawhide-x86_64-1690050079.558884/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.p_af5f2a:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/woffTools.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', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1689984000 Wrote: /builddir/build/SRPMS/woffTools-0.1-0.39.20160211git.fc39.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/woffTools.spec'], chrootPath='/var/lib/mock/fedora-rawhide-x86_64-1690050079.558884/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=0uid=1000gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.p_af5f2a:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.p_af5f2a:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '835d7de05ba242889cdd1c5215513517', '-D', '/var/lib/mock/fedora-rawhide-x86_64-1690050079.558884/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.p_af5f2a:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/woffTools.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', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1689984000 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.lc0TJi + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf woffTools-67030d47ccb97993eb683e23bbce0f79d9577cf5 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/woffTools-67030d4.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd woffTools-67030d47ccb97993eb683e23bbce0f79d9577cf5 + /usr/bin/mkdir -p SPECPARTS + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + sed -i -e '/^#! \//, 1d' Lib/woffTools/tools/validate.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: Refactored ./setup.py RefactoringTool: Refactored ./Lib/woffTools/__init__.py RefactoringTool: Refactored ./Lib/woffTools/test/test_validate.py RefactoringTool: Refactored ./Lib/woffTools/tools/css.py RefactoringTool: Refactored ./Lib/woffTools/tools/info.py --- ./setup.py (original) +++ ./setup.py (refactored) @@ -6,8 +6,8 @@ try: import fontTools except: - print "*** Warning: woffTools requires FontTools, see:" - print " fonttools.sf.net" + print("*** Warning: woffTools requires FontTools, see:") + print(" fonttools.sf.net") setup( --- ./Lib/woffTools/__init__.py (original) +++ ./Lib/woffTools/__init__.py (refactored) @@ -11,7 +11,7 @@ import zlib import struct import sstruct -from cStringIO import StringIO +from io import StringIO from xml.etree import ElementTree from fontTools.ttLib import TTFont, debugmsg, sortedTagList from fontTools.ttLib.sfnt import getSearchRange, calcChecksum, SFNTDirectoryEntry, \ @@ -68,7 +68,7 @@ self.flavor = self.reader.flavor self.majorVersion = self.reader.majorVersion self.minorVersion = self.reader.minorVersion - self._tableOrder = self.reader.keys() + self._tableOrder = list(self.reader.keys()) else: self._metadata = ElementTree.Element("metadata", version="1.0") self.privateData = None @@ -155,7 +155,7 @@ # if DSIG is to be written, the table order # must be completely specified. otherwise the # DSIG may not be valid after decoding the WOFF. - tags = self.keys() + tags = list(self.keys()) if "GlyphOrder" in tags: tags.remove("GlyphOrder") if "DSIG" in tags: @@ -294,7 +294,7 @@ of each table. """ sorter = [] - for tag, entry in self.tables.items(): + for tag, entry in list(self.tables.items()): sorter.append((entry.offset, tag)) order = [tag for offset, tag in sorted(sorter)] return order @@ -314,8 +314,8 @@ if self.checkChecksums > 1: assert checksum == entry.origChecksum, "bad checksum for '%s' table" % tag elif checksum != entry.origChecksum: - print "bad checksum for '%s' table" % tag - print + print("bad checksum for '%s' table" % tag) + print() return data def getCompressedTableData(self, tag): @@ -683,7 +683,7 @@ sfntEntry.length = entry["length"] directory += sfntEntry.toString() # calculate the checkSumAdjustment - checkSums = [entry["checkSum"] for entry in tables.values()] + checkSums = [entry["checkSum"] for entry in list(tables.values())] checkSums.append(calcChecksum(directory)) checkSumAdjustment = sum(checkSums) checkSumAdjustment = (0xB1B0AFBA - checkSumAdjustment) & 0xffffffff @@ -913,8 +913,8 @@ edges[entry["tag"]] = (start, end) # look for overlaps overlaps = set() - for tag, (start, end) in edges.items(): - for otherTag, (otherStart, otherEnd) in edges.items(): + for tag, (start, end) in list(edges.items()): + for otherTag, (otherStart, otherEnd) in list(edges.items()): tag = tag.strip() otherTag = otherTag.strip() if tag == otherTag: --- ./Lib/woffTools/test/test_validate.py (original) +++ ./Lib/woffTools/test/test_validate.py (refactored) @@ -696,7 +696,7 @@ header, directory, tableData = defaultTestData(header=True, directory=True, tableData=True) origData = testDataTableData compData = zlib.compress(origData) - for tag, (origData, compData) in tableData.items(): + for tag, (origData, compData) in list(tableData.items()): tableData[tag] = (origData, zlib.compress(origData)) updateDirectoryEntries(directory, tableData) return packTestHeader(header) + packTestDirectory(directory) + packTestTableData(directory, tableData) @@ -711,7 +711,7 @@ header, directory, tableData = defaultTestData(header=True, directory=True, tableData=True) origData = testDataTableData compData = zlib.compress(origData) - for tag, (origData, compData) in tableData.items(): + for tag, (origData, compData) in list(tableData.items()): tableData[tag] = (origData, zlib.compress(origData)) updateDirectoryEntries(directory, tableData) for entry in directory: @@ -952,7 +952,7 @@ (False, 'PASS') """ header, directory, tableData = defaultTestData(header=True, directory=True, tableData=True) - for tag, (origData, compData) in tableData.items(): + for tag, (origData, compData) in list(tableData.items()): tableData[tag] = (origData, zlib.compress(compData)) updateDirectoryEntries(directory, tableData) return packTestHeader(header) + packTestDirectory(directory) + packTestTableData(directory, tableData) @@ -965,7 +965,7 @@ (True, 'ERROR') """ header, directory, tableData = defaultTestData(header=True, directory=True, tableData=True) - for tag, (origData, compData) in tableData.items(): + for tag, (origData, compData) in list(tableData.items()): compData = "".join(reversed(zlib.compress(compData))) tableData[tag] = (origData, compData) updateDirectoryEntries(directory, tableData) --- ./Lib/woffTools/tools/css.py (original) +++ ./Lib/woffTools/tools/css.py (refactored) @@ -24,13 +24,13 @@ if importErrors: import sys - print "Could not import needed module(s):", ", ".join(importErrors) + print("Could not import needed module(s):", ", ".join(importErrors)) sys.exit() # import import os -import urllib +import urllib.request, urllib.parse, urllib.error import optparse from woffTools import WOFFFont from woffTools.tools.support import findUniqueFileName @@ -90,7 +90,7 @@ s = "/* " + s + " */" sources.append(s) # file name - s = "url(\"%s\")" % urllib.quote(fileName) # XXX: format(\"woff\") + s = "url(\"%s\")" % urllib.parse.quote(fileName) # XXX: format(\"woff\") sources.append(s) # write sources = "\n\t".join(sources) @@ -194,7 +194,7 @@ text = nameRecord.string nameIDs[nameID, platformID, platEncID, langID] = text for (nameID, platformID, platEncID, langID) in priority: - for (nID, pID, pEID, lID), text in nameIDs.items(): + for (nID, pID, pEID, lID), text in list(nameIDs.items()): if nID != nameID: continue if pID != platformID and platformID is not None: @@ -259,14 +259,14 @@ (options, args) = parser.parse_args() outputDirectory = options.outputDirectory if outputDirectory is not None and not os.path.exists(outputDirectory): - print "Directory does not exist:", outputDirectory + print("Directory does not exist:", outputDirectory) sys.exit() for fontPath in args: if not os.path.exists(fontPath): - print "File does not exist:", fontPath + print("File does not exist:", fontPath) sys.exit() else: - print "Creating CSS: %s..." % fontPath + print("Creating CSS: %s..." % fontPath) fontPath = fontPath.decode("utf-8") font = WOFFFont(fontPath) css = makeFontFaceRule(font, fontPath, doLocalSrc=options.doLocalSrc) --- ./Lib/woffTools/tools/info.py (original) +++ ./Lib/woffTools/tools/info.py (refactored) @@ -23,7 +23,7 @@ if importErrors: import sys - print "Could not import needed module(s):", ", ".join(importErrors) + print("Could not import needed module(s):", ", ".join(importErrors)) sys.exit() # import @@ -175,7 +175,7 @@ src = font.privateData length = 16 result = [] - for i in xrange(0, len(src), length): + for i in range(0, len(src), length): s = src[i:i+length] hexa = [] c = [] @@ -263,14 +263,14 @@ (options, args) = parser.parse_args() outputDirectory = options.outputDirectory if outputDirectory is not None and not os.path.exists(outputDirectory): - print "Directory does not exist:", outputDirectory + print("Directory does not exist:", outputDirectory) sys.exit() for fontPath in args: if not os.path.exists(fontPath): RefactoringTool: Refactored ./Lib/woffTools/tools/proof.py RefactoringTool: Refactored ./Lib/woffTools/tools/support.py RefactoringTool: Refactored ./Lib/woffTools/tools/validate.py RefactoringTool: Files that were modified: RefactoringTool: ./setup.py RefactoringTool: ./Lib/woffTools/__init__.py RefactoringTool: ./Lib/woffTools/test/test_validate.py RefactoringTool: ./Lib/woffTools/tools/css.py RefactoringTool: ./Lib/woffTools/tools/info.py RefactoringTool: ./Lib/woffTools/tools/proof.py RefactoringTool: ./Lib/woffTools/tools/support.py RefactoringTool: ./Lib/woffTools/tools/validate.py - print "File does not exist:", fontPath + print("File does not exist:", fontPath) sys.exit() else: - print "Creating Info Report: %s..." % fontPath + print("Creating Info Report: %s..." % fontPath) fontPath = fontPath.decode("utf-8") font = WOFFFont(fontPath) html = reportInfo(font, fontPath) --- ./Lib/woffTools/tools/proof.py (original) +++ ./Lib/woffTools/tools/proof.py (refactored) @@ -24,7 +24,7 @@ if importErrors: import sys - print "Could not import needed module(s):", ", ".join(importErrors) + print("Could not import needed module(s):", ", ".join(importErrors)) sys.exit() # import @@ -103,7 +103,7 @@ categorizedCharacters = {} glyphNameToCharacter = {} for value, glyphName in sorted(mapping.items()): - character = unichr(value) + character = chr(value) # skip whitespace if not character.strip(): continue @@ -115,7 +115,7 @@ for glyphName in font.getGlyphOrder(): if glyphName in glyphNameToCharacter: sortedCharacters += glyphNameToCharacter[glyphName] - return u"".join(sortedCharacters) + return "".join(sortedCharacters) # --------------- # Public Function @@ -169,22 +169,22 @@ (options, args) = parser.parse_args() outputDirectory = options.outputDirectory if outputDirectory is not None and not os.path.exists(outputDirectory): - print "Directory does not exist:", outputDirectory + print("Directory does not exist:", outputDirectory) sys.exit() sampleText = defaultSampleText if options.sampleTextFile: if not os.path.exists(options.sampleTextFile): - print "Sample text file does not exist:", options.sampleTextFile + print("Sample text file does not exist:", options.sampleTextFile) sys.exit() f = open(options.sampleTextFile, "r") sampleText = f.read() f.close() for fontPath in args: if not os.path.exists(fontPath): - print "File does not exist:", fontPath + print("File does not exist:", fontPath) sys.exit() else: - print "Creating Proof: %s..." % fontPath + print("Creating Proof: %s..." % fontPath) fontPath = fontPath.decode("utf-8") font = WOFFFont(fontPath) html = proofFont(font, fontPath, sampleText=sampleText) --- ./Lib/woffTools/tools/support.py (original) +++ ./Lib/woffTools/tools/support.py (refactored) @@ -1,7 +1,7 @@ import os import time from xml.etree import ElementTree -from cStringIO import StringIO +from io import StringIO # ---------------------- # Very Simple XML Writer @@ -361,7 +361,7 @@ # write the css writer.begintag("style", type="text/css") css = defaultCSS - for before, after in cssReplacements.items(): + for before, after in list(cssReplacements.items()): css = css.replace(before, after) writer.write(css) writer.endtag("style") --- ./Lib/woffTools/tools/validate.py (original) +++ ./Lib/woffTools/tools/validate.py (refactored) @@ -16,7 +16,7 @@ import zlib import optparse import codecs -from cStringIO import StringIO +from io import StringIO from xml.etree import ElementTree from xml.parsers.expat import ExpatError @@ -1317,7 +1317,7 @@ haveError = False # unknown attributes knownAttributes = [] - for attrib in spec["requiredAttributes"].keys() + spec["recommendedAttributes"].keys() + spec["optionalAttributes"].keys(): + for attrib in list(spec["requiredAttributes"].keys()) + list(spec["recommendedAttributes"].keys()) + list(spec["optionalAttributes"].keys()): attrib = _parseAttribute(attrib) knownAttributes.append(attrib) for attrib in sorted(element.attrib.keys()): @@ -1352,7 +1352,7 @@ if e: haveError = True # unknown child-elements - knownChildElements = spec["requiredChildElements"].keys() + spec["recommendedChildElements"].keys() + spec["optionalChildElements"].keys() + knownChildElements = list(spec["requiredChildElements"].keys()) + list(spec["recommendedChildElements"].keys()) + list(spec["optionalChildElements"].keys()) for childElement in element: if childElement.tag not in knownChildElements: _logMetadataResult( @@ -1430,7 +1430,7 @@ haveError = False for attrib, valueOptions in sorted(spec.items()): attribs = _parseAttribute(attrib) - if isinstance(attribs, basestring): + if isinstance(attribs, str): attribs = [attribs] found = [] for attrib in attribs: @@ -1485,7 +1485,7 @@ def _validateAttributeValue(element, attrib, valueOptions, reporter, parentTree): haveError = False value = element.attrib[attrib] - if isinstance(valueOptions, basestring): + if isinstance(valueOptions, str): valueOptions = [valueOptions] # no defined value options if valueOptions is None: @@ -1693,7 +1693,7 @@ for tag, sfntEntry in sorted(sfntEntries.items()): sfntData += structPack(sfntDirectoryEntryFormat, sfntEntry) # calculate - checkSums = [entry["checkSum"] for entry in sfntEntries.values()] + checkSums = [entry["checkSum"] for entry in list(sfntEntries.values())] checkSums.append(sumDataULongs(sfntData)) checkSum = sum(checkSums) checkSum = (0xB1B0AFBA - checkSum) & 0xffffffff @@ -2274,7 +2274,7 @@ # write the css writer.begintag("style", type="text/css") css = defaultCSS - for before, after in cssReplacements.items(): + for before, after in list(cssReplacements.items()): css = css.replace(before, after) writer.write(css) writer.endtag("style") @@ -2473,17 +2473,17 @@ options.outputFormat = "html" options.testGroups = None # don't expose this to the commandline. it's for testing only. if outputDirectory is not None and not os.path.exists(outputDirectory): - print "Directory does not exist:", outputDirectory + print("Directory does not exist:", outputDirectory) sys.exit() for fontPath in args: if not os.path.exists(fontPath): - print "File does not exist:", fontPath + print("File does not exist:", fontPath) sys.exit() else: - print "Testing: %s..." % fontPath + print("Testing: %s..." % fontPath) fontPath = fontPath.decode("utf-8") outputPath, report = validateFont(fontPath, options) - print "Wrote report to: %s" % outputPath + print("Wrote report to: %s" % outputPath) if __name__ == "__main__": main() + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.ZDxFR6 + 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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + 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 woffTools-67030d47ccb97993eb683e23bbce0f79d9577cf5 + 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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-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' WARNING: '' not a valid package name; please use only .-separated package names in setup.py /usr/lib/python3.12/site-packages/setuptools/dist.py:519: InformationOnly: Normalizing '0.1beta' to '0.1b0' self.metadata.version = self._normalize_version( + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.5fWVUz + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/woffTools-0.1-0.39.20160211git.fc39.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/woffTools-0.1-0.39.20160211git.fc39.x86_64 ++ dirname /builddir/build/BUILDROOT/woffTools-0.1-0.39.20160211git.fc39.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/woffTools-0.1-0.39.20160211git.fc39.x86_64 + 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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + 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 woffTools-67030d47ccb97993eb683e23bbce0f79d9577cf5 + 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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-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/woffTools-0.1-0.39.20160211git.fc39.x86_64 --prefix /usr WARNING: '' not a valid package name; please use only .-separated package names in setup.py /usr/lib/python3.12/site-packages/setuptools/dist.py:519: InformationOnly: Normalizing '0.1beta' to '0.1b0' self.metadata.version = self._normalize_version( /usr/lib/python3.12/site-packages/setuptools/_distutils/cmd.py:66: SetuptoolsDeprecationWarning: setup.py install is deprecated. !! ******************************************************************************** Please avoid running ``setup.py`` directly. Instead, use pypa/build, pypa/installer, pypa/build or other standards-based tools. Follow the current Python packaging guidelines when building Python RPM packages. See https://blog.ganssle.io/articles/2021/10/setup-py-deprecated.html and https://docs.fedoraproject.org/en-US/packaging-guidelines/Python/ for details. ******************************************************************************** !! self.initialize_options() /usr/lib/python3.12/site-packages/woffTools/test/test_validate.py:1214: SyntaxWarning: invalid escape sequence '\A' /usr/lib/python3.12/site-packages/woffTools/tools/validate.py:1269: SyntaxWarning: invalid escape sequence '\s' /usr/lib/python3.12/site-packages/woffTools/tools/validate.py:1271: SyntaxWarning: invalid escape sequence '\s' /usr/lib/python3.12/site-packages/woffTools/tools/validate.py:1273: SyntaxWarning: invalid escape sequence '\s' /usr/lib/python3.12/site-packages/woffTools/test/test_validate.py:1214: SyntaxWarning: invalid escape sequence '\A' /usr/lib/python3.12/site-packages/woffTools/tools/validate.py:1269: SyntaxWarning: invalid escape sequence '\s' /usr/lib/python3.12/site-packages/woffTools/tools/validate.py:1271: SyntaxWarning: invalid escape sequence '\s' /usr/lib/python3.12/site-packages/woffTools/tools/validate.py:1273: SyntaxWarning: invalid escape sequence '\s' + rm -rfv /builddir/build/BUILDROOT/woffTools-0.1-0.39.20160211git.fc39.x86_64/usr/bin/__pycache__ + /usr/bin/find-debuginfo -j2 --strict-build-id -m -i --build-id-seed 0.1-0.39.20160211git.fc39 --unique-debug-suffix -0.1-0.39.20160211git.fc39.x86_64 --unique-debug-src-base woffTools-0.1-0.39.20160211git.fc39.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -S debugsourcefiles.list /builddir/build/BUILD/woffTools-67030d47ccb97993eb683e23bbce0f79d9577cf5 find-debuginfo: starting Extracting debug info from 0 files Creating .debug symlinks for symlinks to ELF files find: 'debug': No such file or directory find-debuginfo: done + /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 + /usr/lib/rpm/brp-remove-la-files + env /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 -j2 Bytecompiling .py files below /builddir/build/BUILDROOT/woffTools-0.1-0.39.20160211git.fc39.x86_64/usr/lib/python3.12 using python3.12 /usr/lib/python3.12/site-packages/woffTools/test/test_validate.py:1214: SyntaxWarning: invalid escape sequence '\A' /usr/lib/python3.12/site-packages/woffTools/test/test_validate.py:1214: SyntaxWarning: invalid escape sequence '\A' /usr/lib/python3.12/site-packages/woffTools/tools/validate.py:1269: SyntaxWarning: invalid escape sequence '\s' /usr/lib/python3.12/site-packages/woffTools/tools/validate.py:1271: SyntaxWarning: invalid escape sequence '\s' /usr/lib/python3.12/site-packages/woffTools/tools/validate.py:1273: SyntaxWarning: invalid escape sequence '\s' /usr/lib/python3.12/site-packages/woffTools/tools/validate.py:1269: SyntaxWarning: invalid escape sequence '\s' /usr/lib/python3.12/site-packages/woffTools/tools/validate.py:1271: SyntaxWarning: invalid escape sequence '\s' /usr/lib/python3.12/site-packages/woffTools/tools/validate.py:1273: SyntaxWarning: invalid escape sequence '\s' + /usr/lib/rpm/redhat/brp-python-hardlink Processing files: woffTools-0.1-0.39.20160211git.fc39.noarch Provides: woffTools = 0.1-0.39.20160211git.fc39 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: /usr/bin/python3 Processing files: python3-woffTools-0.1-0.39.20160211git.fc39.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.h4pSM8 + umask 022 + cd /builddir/build/BUILD + cd woffTools-67030d47ccb97993eb683e23bbce0f79d9577cf5 + DOCDIR=/builddir/build/BUILDROOT/woffTools-0.1-0.39.20160211git.fc39.x86_64/usr/share/doc/python3-woffTools + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/woffTools-0.1-0.39.20160211git.fc39.x86_64/usr/share/doc/python3-woffTools + cp -pr /builddir/build/BUILD/woffTools-67030d47ccb97993eb683e23bbce0f79d9577cf5/README.txt /builddir/build/BUILDROOT/woffTools-0.1-0.39.20160211git.fc39.x86_64/usr/share/doc/python3-woffTools + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.4UkGfc + umask 022 + cd /builddir/build/BUILD + cd woffTools-67030d47ccb97993eb683e23bbce0f79d9577cf5 + LICENSEDIR=/builddir/build/BUILDROOT/woffTools-0.1-0.39.20160211git.fc39.x86_64/usr/share/licenses/python3-woffTools + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/woffTools-0.1-0.39.20160211git.fc39.x86_64/usr/share/licenses/python3-woffTools + cp -pr /builddir/build/BUILD/woffTools-67030d47ccb97993eb683e23bbce0f79d9577cf5/License.txt /builddir/build/BUILDROOT/woffTools-0.1-0.39.20160211git.fc39.x86_64/usr/share/licenses/python3-woffTools + RPM_EC=0 ++ jobs -p + exit 0 Provides: python-woffTools = 0.1-0.39.20160211git.fc39 python3-woffTools = 0.1-0.39.20160211git.fc39 python3.12-woffTools = 0.1-0.39.20160211git.fc39 python3.12dist(wofftools) = 0.1~b0 python3dist(wofftools) = 0.1~b0 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: python(abi) = 3.12 Obsoletes: python-woffTools < 0.1-0.39.20160211git.fc39 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/woffTools-0.1-0.39.20160211git.fc39.x86_64 Wrote: /builddir/build/RPMS/woffTools-0.1-0.39.20160211git.fc39.noarch.rpm Wrote: /builddir/build/RPMS/python3-woffTools-0.1-0.39.20160211git.fc39.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.2nrf51 + umask 022 + cd /builddir/build/BUILD + cd woffTools-67030d47ccb97993eb683e23bbce0f79d9577cf5 + /usr/bin/rm -rf /builddir/build/BUILDROOT/woffTools-0.1-0.39.20160211git.fc39.x86_64 + RPM_EC=0 ++ jobs -p + exit 0 Executing(rmbuild): /bin/sh -e /var/tmp/rpm-tmp.GBeMzq + umask 022 + cd /builddir/build/BUILD + rm -rf woffTools-67030d47ccb97993eb683e23bbce0f79d9577cf5 woffTools-67030d47ccb97993eb683e23bbce0f79d9577cf5.gemspec + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0