Build log:
Mock Version: 5.4
Mock Version: 5.4
Mock Version: 5.4
ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target i686 --nodeps /builddir/build/SPECS/perl-Tk.spec'], chrootPath='/var/lib/mock/f40-build-48860215-5807676/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=<mockbuild.trace_decorator.getLog object at 0x7f5db7b356a0>timeout=201600uid=1000gid=425user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv._aywsdhr:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--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=False)
Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv._aywsdhr:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--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', '9689bced72a34e8abd53eb4c8e0f4eef', '-D', '/var/lib/mock/f40-build-48860215-5807676/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv._aywsdhr:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--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;<mock-chroot>\\007"', '--setenv=PS1=<mock-chroot> \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target i686 --nodeps /builddir/build/SPECS/perl-Tk.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False
sh: line 1: /usr/bin/perl: No such file or directory
sh: line 1: /usr/bin/perl: No such file or directory
sh: line 1: /usr/bin/perl: No such file or directory
sh: line 1: /usr/bin/perl: No such file or directory
sh: line 1: /usr/bin/perl: No such file or directory
sh: line 1: /usr/bin/perl: No such file or directory
sh: line 1: /usr/bin/perl: No such file or directory
sh: line 1: /usr/bin/perl: No such file or directory
sh: line 1: /usr/bin/perl: No such file or directory
sh: line 1: /usr/bin/perl: No such file or directory
sh: line 1: /usr/bin/perl: No such file or directory
Building target platforms: i686
Building for target i686
setting SOURCE_DATE_EPOCH=1707350400
Wrote: /builddir/build/SRPMS/perl-Tk-804.036-15.fc40.src.rpm
Child return code was: 0
ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target i686 --nodeps /builddir/build/SPECS/perl-Tk.spec'], chrootPath='/var/lib/mock/f40-build-48860215-5807676/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=<mockbuild.trace_decorator.getLog object at 0x7f5db7b356a0>timeout=201600uid=1000gid=425user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv._aywsdhr:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--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=False)
Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv._aywsdhr:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--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', '064254e2a5124294af1ef14776a21ddc', '-D', '/var/lib/mock/f40-build-48860215-5807676/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv._aywsdhr:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--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;<mock-chroot>\\007"', '--setenv=PS1=<mock-chroot> \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target i686 --nodeps /builddir/build/SPECS/perl-Tk.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False
Building target platforms: i686
Building for target i686
setting SOURCE_DATE_EPOCH=1707350400
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.QtBvWb
+ umask 022
+ cd /builddir/build/BUILD
+ cd /builddir/build/BUILD
+ rm -rf Tk-804.036
+ /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/Tk-804.036.tar.gz
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd Tk-804.036
+ rm -rf /builddir/build/BUILD/Tk-804.036-SPECPARTS
+ /usr/bin/mkdir -p /builddir/build/BUILD/Tk-804.036-SPECPARTS
+ /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ find . -type f -exec /usr/bin/perl -pi -e 's,^(#!)(/usr/local)?/bin/perl\b,$1/usr/bin/perl, if ($. == 1)' '{}' ';'
+ chmod -x pod/Popup.pod Tixish/lib/Tk/balArrow.xbm
+ echo 'Patch #0 (perl-Tk-widget.patch):'
Patch #0 (perl-Tk-widget.patch):
+ /usr/bin/patch --no-backup-if-mismatch -f -p0 --fuzz=0
patching file demos/widget
+ /usr/bin/perl -pi -e 's,\@demopath\@,/usr/share/doc/perl-Tk/demos,g' demos/widget
Patch #2 (perl-Tk-seg.patch):
+ echo 'Patch #2 (perl-Tk-seg.patch):'
+ /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .seg --fuzz=0
patching file pTk/mTk/generic/tkConfig.c
Patch #3 (perl-Tk-c99.patch):
+ echo 'Patch #3 (perl-Tk-c99.patch):'
+ /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .c99 --fuzz=0
patching file config/signedchar.c
patching file config/unsigned.c
patching file pTk/config/Hstrdup.c
patching file pTk/config/Hstrtoul.c
patching file pTk/mTk/generic/tkEvent.c
patching file pTk/mTk/generic/tkImage.c
Patch #4 (perl-Tk-Fix-STRLEN-vs-int-pointer-confusion-in-Tcl_GetByteAr.patch):
+ echo 'Patch #4 (perl-Tk-Fix-STRLEN-vs-int-pointer-confusion-in-Tcl_GetByteAr.patch):'
+ /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0
patching file objGlue.c
+ RPM_EC=0
++ jobs -p
+ exit 0
Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.iwUWdM
+ 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  -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection '
+ 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  -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection '
+ 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  -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib/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  -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib/gfortran/modules '
+ export FCFLAGS
+ VALAFLAGS=-g
+ export VALAFLAGS
+ RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -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,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -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/lib:
+ export LT_SYS_LIBRARY_PATH
+ CC=gcc
+ export CC
+ CXX=g++
+ export CXX
+ cd Tk-804.036
+ /usr/bin/perl Makefile.PL INSTALLDIRS=vendor X11LIB=/usr/lib XFT=1
PPM for perl5.038002
Test Compiling config/perlrx.c
/usr/bin/perl is installed in /usr/lib/perl5 okay
Test Compiling config/pmop.c
Test Compiling config/pregcomp2.c
Test Compiling config/regexp511.c
Test Compiling config/signedchar.c
Test Compiling config/Ksprintf.c
Test Compiling config/svtrv.c
Test Compiling config/copstashset.c
Test Compiling config/tod.c
Generic gettimeofday()
Test Compile/Run config/xft.c
Using -L/usr/lib to find /usr/lib/libX11.so.6.4.0
Using -I/usr/include to find /usr/include/X11/Xlib.h
Using -I/usr/include/freetype2 to find /usr/include/freetype2/freetype/freetype.h
xlib='-L/usr/lib' xinc='-I/usr/include'
Seem to have -lXft
Writing Tk/Config.pm
Writing pTk/tkConfig.h
Checking if your kit is complete...
Looks good
'X11LIB' is not a known MakeMaker parameter name.
'XFT' is not a known MakeMaker parameter name.
Generating Dependencies for linux, win_arch=x
Test Compiling config/Hstrtoul.c
Test Compiling config/Hstrdup.c
Test Compiling config/Hstrcasecmp.c
Extracting ClientWin.c
Extracting default.h
Extracting exWinHandle.c
Extracting img.h
Extracting imgBMP.c
Extracting imgInit.c
Extracting imgInt.h
Extracting imgObj.c
Extracting imgUtil.c
Extracting imgWindow.c
Extracting imgXBM.c
Extracting imgXPM.c
Extracting ks_names.h
Extracting moredefs.h
Extracting port.h
Extracting stbDItem.c
Extracting stbDiStyle.c
Extracting tclAsync.c
Extracting tclDecls.h
Extracting tclEvent.c
Extracting tclHash.c
Extracting tclIntDecls.h
Extracting tclIntPlatDecls.h
Extracting tclMath.h
Extracting tclNotify.c
Extracting tclPlatDecls.h
Extracting tclPreserve.c
Extracting tclTimer.c
Extracting tclUnixEvent.c
Extracting tclUnixNotfy.c
Extracting tclUnixTime.c
Extracting tix.h
Extracting tixBitmaps.h
Extracting tixCompat.c
Extracting tixDItem.c
Extracting tixDef.h
Extracting tixDiITxt.c
Extracting tixDiImg.c
Extracting tixDiStyle.c
Extracting tixDiText.c
Extracting tixDiWin.c
Extracting tixError.c
Extracting tixForm.c
Extracting tixForm.h
Extracting tixFormMisc.c
Extracting tixGrData.c
Extracting tixGrData.h
Extracting tixGrFmt.c
Extracting tixGrRC.c
Extracting tixGrSel.c
Extracting tixGrSort.c
Extracting tixGrUtl.c
Extracting tixGrid.c
Extracting tixGrid.h
Extracting tixHLCol.c
Extracting tixHLHdr.c
Extracting tixHLInd.c
Extracting tixHList.c
Extracting tixHList.h
Extracting tixImgCmp.c
Extracting tixImgXpm.c
Extracting tixImgXpm.h
Extracting tixInputO.c
Extracting tixInt.h
Extracting tixList.c
Extracting tixMwm.c
Extracting tixNBFrame.c
Extracting tixPort.h
Extracting tixScroll.c
Extracting tixSmpLs.c
Extracting tixTList.c
Extracting tixTList.h
Extracting tixUnixDraw.c
Extracting tixUnixInt.h
Extracting tixUnixPort.h
Extracting tixUnixWm.c
Extracting tixUnixXpm.c
Extracting tixUtils.c
Extracting tk.h
Extracting tk3d.c
Extracting tk3d.h
Extracting tkAtom.c
Extracting tkBind.c
Extracting tkBitmap.c
Extracting tkButton.c
Extracting tkButton.h
Extracting tkCanvArc.c
Extracting tkCanvBmap.c
Extracting tkCanvImg.c
Extracting tkCanvLine.c
Extracting tkCanvPoly.c
Extracting tkCanvPs.c
Extracting tkCanvText.c
Extracting tkCanvUtil.c
Extracting tkCanvWind.c
Extracting tkCanvas.c
Extracting tkCanvas.h
Extracting tkClipboard.c
Extracting tkCmds.c
Extracting tkColor.c
Extracting tkColor.h
Extracting tkConfig.c
Extracting tkCursor.c
Extracting tkDecls.h
Extracting tkEntry.c
Extracting tkError.c
Extracting tkEvent.c
Extracting tkFileFilter.c
Extracting tkFileFilter.h
Extracting tkFocus.c
Extracting tkFont.c
Extracting tkFont.h
Extracting tkFrame.c
Extracting tkGC.c
Extracting tkGeometry.c
Extracting tkGet.c
Extracting tkGrab.c
Extracting tkGrid.c
Extracting tkImage.c
Extracting tkImgBmap.c
Extracting tkImgGIF.c
Extracting tkImgPPM.c
Extracting tkImgPhoto.c
Extracting tkImgUtil.c
Extracting tkInitScript.h
Extracting tkInt.h
Extracting tkIntDecls.h
Extracting tkIntPlatDecls.h
Extracting tkIntXlibDecls.h
Extracting tkListbox.c
Extracting tkMacWinMenu.c
Extracting tkMenu.c
Extracting tkMenu.h
Extracting tkMenuDraw.c
Extracting tkMenubutton.c
Extracting tkMenubutton.h
Extracting tkMessage.c
Extracting tkObj.c
Extracting tkOldConfig.c
Extracting tkOption.c
Extracting tkPack.c
Extracting tkPanedWindow.c
Extracting tkPlace.c
Extracting tkPlatDecls.h
Extracting tkPointer.c
Extracting tkPort.h
Extracting tkRectOval.c
Extracting tkScale.c
Extracting tkScale.h
Extracting tkScrollbar.c
Extracting tkScrollbar.h
Extracting tkSelect.c
Extracting tkSelect.h
Extracting tkSquare.c
Extracting tkStubImg.c
Extracting tkStyle.c
Extracting tkText.c
Extracting tkText.h
Extracting tkTextBTree.c
Extracting tkTextDisp.c
Extracting tkTextImage.c
Extracting tkTextIndex.c
Extracting tkTextMark.c
Extracting tkTextTag.c
Extracting tkTextWind.c
Extracting tkTrig.c
Extracting tkUndo.c
Extracting tkUndo.h
Extracting tkUnix.c
Extracting tkUnix3d.c
Extracting tkUnixButton.c
Extracting tkUnixColor.c
Extracting tkUnixConfig.c
Extracting tkUnixCursor.c
Extracting tkUnixDefault.h
Extracting tkUnixDialog.c
Extracting tkUnixDraw.c
Extracting tkUnixEmbed.c
Extracting tkUnixEvent.c
Extracting tkUnixFocus.c
Extracting tkUnixFont.c
Extracting tkUnixInit.c
Extracting tkUnixInt.h
Extracting tkUnixKey.c
Extracting tkUnixMenu.c
Extracting tkUnixMenubu.c
Extracting tkUnixPort.h
Extracting tkUnixScale.c
Extracting tkUnixScrlbr.c
Extracting tkUnixSelect.c
Extracting tkUnixSend.c
Extracting tkUnixWm.c
Extracting tkUnixXId.c
Extracting tkUnixXft.c
Extracting tkUtil.c
Extracting tkVisual.c
Extracting tkWindow.c
Extracting xbytes.h
Finding dependencies for ClientWin.c
Finding dependencies for Lang_f.c
Finding dependencies for Xlib_f.c
Finding dependencies for XrmOption.c
Finding dependencies for imgBMP.c
Finding dependencies for imgInit.c
Finding dependencies for imgInt_f.c
Finding dependencies for imgObj.c
Finding dependencies for imgUtil.c
Finding dependencies for imgWindow.c
Finding dependencies for imgXBM.c
Finding dependencies for imgXPM.c
Finding dependencies for ptkCanvGrid.c
Finding dependencies for ptkCanvGroup.c
Finding dependencies for stbDItem.c
Finding dependencies for stbDashCustom.c
Finding dependencies for stbDiStyle.c
Finding dependencies for strGlue.c
Finding dependencies for tclAsync.c
Finding dependencies for tclDecls_f.c
Finding dependencies for tclEvent.c
Finding dependencies for tclHash.c
Finding dependencies for tclNotify.c
Finding dependencies for tclPreserve.c
Finding dependencies for tclTimer.c
Finding dependencies for tclUnixEvent.c
Finding dependencies for tclUnixNotfy.c
Finding dependencies for tclUnixTime.c
Finding dependencies for tixCompat.c
Finding dependencies for tixDItem.c
Finding dependencies for tixDiITxt.c
Finding dependencies for tixDiImg.c
Finding dependencies for tixDiStyle.c
Finding dependencies for tixDiText.c
Finding dependencies for tixDiWin.c
Finding dependencies for tixError.c
Finding dependencies for tixForm.c
Finding dependencies for tixFormMisc.c
Finding dependencies for tixGrData.c
Finding dependencies for tixGrFmt.c
Finding dependencies for tixGrRC.c
Finding dependencies for tixGrSel.c
Finding dependencies for tixGrSort.c
Finding dependencies for tixGrUtl.c
Finding dependencies for tixGrid.c
Finding dependencies for tixHLCol.c
Finding dependencies for tixHLHdr.c
Finding dependencies for tixHLInd.c
Finding dependencies for tixHList.c
Finding dependencies for tixImgCmp.c
Finding dependencies for tixImgXpm.c
Finding dependencies for tixImgXpm_f.c
Finding dependencies for tixInputO.c
Finding dependencies for tixInt_f.c
Finding dependencies for tixList.c
Finding dependencies for tixMwm.c
Finding dependencies for tixNBFrame.c
Finding dependencies for tixScroll.c
Finding dependencies for tixSmpLs.c
Finding dependencies for tixTList.c
Finding dependencies for tixUnixDraw.c
Finding dependencies for tixUnixWm.c
Finding dependencies for tixUnixXpm.c
Finding dependencies for tixUtils.c
Finding dependencies for tixVars.c
Finding dependencies for tix_f.c
Finding dependencies for tk3d.c
Finding dependencies for tkAtom.c
Finding dependencies for tkBind.c
Finding dependencies for tkBitmap.c
Finding dependencies for tkButton.c
Finding dependencies for tkCanvArc.c
Finding dependencies for tkCanvBmap.c
Finding dependencies for tkCanvImg.c
Finding dependencies for tkCanvLine.c
Finding dependencies for tkCanvPoly.c
Finding dependencies for tkCanvPs.c
Finding dependencies for tkCanvText.c
Finding dependencies for tkCanvUtil.c
Finding dependencies for tkCanvWind.c
Finding dependencies for tkCanvas.c
Finding dependencies for tkClipboard.c
Finding dependencies for tkCmds.c
Finding dependencies for tkColor.c
Finding dependencies for tkConfig.c
Finding dependencies for tkCursor.c
Finding dependencies for tkDecls_f.c
Finding dependencies for tkEntry.c
Finding dependencies for tkError.c
Finding dependencies for tkEvent.c
Finding dependencies for tkEvent_f.c
Finding dependencies for tkFileFilter.c
Finding dependencies for tkFocus.c
Finding dependencies for tkFont.c
Finding dependencies for tkFrame.c
Finding dependencies for tkGC.c
Finding dependencies for tkGeometry.c
Finding dependencies for tkGet.c
Finding dependencies for tkGrab.c
Finding dependencies for tkGrid.c
Finding dependencies for tkImage.c
Finding dependencies for tkImgBmap.c
Finding dependencies for tkImgGIF.c
Finding dependencies for tkImgPPM.c
Finding dependencies for tkImgPhoto.c
Finding dependencies for tkImgPhoto_f.c
Finding dependencies for tkIntDecls_f.c
Finding dependencies for tkIntPlatDecls_f.c
Finding dependencies for tkIntXlibDecls_f.c
Finding dependencies for tkInt_f.c
Finding dependencies for tkListbox.c
Finding dependencies for tkMenu.c
Finding dependencies for tkMenuDraw.c
Finding dependencies for tkMenubutton.c
Finding dependencies for tkMessage.c
Finding dependencies for tkObj.c
Finding dependencies for tkOldConfig.c
Finding dependencies for tkOption.c
Finding dependencies for tkOption_f.c
Finding dependencies for tkPack.c
Finding dependencies for tkPanedWindow.c
Finding dependencies for tkPlace.c
Finding dependencies for tkPlatDecls_f.c
Finding dependencies for tkPointer.c
Finding dependencies for tkProperty.c
Finding dependencies for tkRectOval.c
Finding dependencies for tkScale.c
Finding dependencies for tkScrollbar.c
Finding dependencies for tkSelect.c
Finding dependencies for tkSquare.c
Finding dependencies for tkStubImg.c
Finding dependencies for tkStyle.c
Finding dependencies for tkText.c
Finding dependencies for tkTextBTree.c
Finding dependencies for tkTextDisp.c
Finding dependencies for tkTextImage.c
Finding dependencies for tkTextIndex.c
Finding dependencies for tkTextMark.c
Finding dependencies for tkTextTag.c
Finding dependencies for tkTextWind.c
Finding dependencies for tkTrig.c
Finding dependencies for tkUndo.c
Finding dependencies for tkUnix.c
Finding dependencies for tkUnix3d.c
Finding dependencies for tkUnixButton.c
Finding dependencies for tkUnixColor.c
Finding dependencies for tkUnixConfig.c
Finding dependencies for tkUnixCursor.c
Finding dependencies for tkUnixDialog.c
Finding dependencies for tkUnixDraw.c
Finding dependencies for tkUnixEmbed.c
Finding dependencies for tkUnixEvent.c
Finding dependencies for tkUnixFocus.c
Finding dependencies for tkUnixFont.c
Finding dependencies for tkUnixInit.c
Finding dependencies for tkUnixKey.c
Finding dependencies for tkUnixMenu.c
Finding dependencies for tkUnixMenubu.c
Finding dependencies for tkUnixScale.c
Finding dependencies for tkUnixScrlbr.c
Finding dependencies for tkUnixSelect.c
Finding dependencies for tkUnixSend.c
Finding dependencies for tkUnixWm.c
Finding dependencies for tkUnixXId.c
Finding dependencies for tkUnixXft.c
Finding dependencies for tkUtil.c
Finding dependencies for tkVisual.c
Finding dependencies for tkWindow.c
Finding dependencies for tk_f.c
Warning: LINKTYPE set to '', no longer necessary
Checking if your kit is complete...
Looks good
Finding dependencies for X.xs
Finding dependencies for Xlib.xs
Finding dependencies for WinPhoto.xs
Finding dependencies for Pixmap.xs
Finding dependencies for TixGrid.xs
Finding dependencies for Text.xs
Finding dependencies for TList.xs
Finding dependencies for Scrollbar.xs
Finding dependencies for Scale.xs
Test Compile/Run config/has_png.c
Using system's -lpng
Finding dependencies for PNG.xs
Finding dependencies for imgPNG.c
Invalid term: -32768 && INT_MAX == 32767 at /builddir/build/BUILD/Tk-804.036/Tk/MakeDepend.pm line 57, </usr/include/libpng16/pngconf.h> line 486.
trailing:  -32768 && INT_MAX == 32767 at /builddir/build/BUILD/Tk-804.036/Tk/MakeDepend.pm line 106, </usr/include/libpng16/pngconf.h> line 486.
ignore 'error "libpng requires a signed 16-bit type"'
ignore 'error "libpng requires an unsigned 16-bit type"'
Invalid term: -2147483646 && INT_MAX > 2147483646 at /builddir/build/BUILD/Tk-804.036/Tk/MakeDepend.pm line 57, </usr/include/libpng16/pngconf.h> line 502.
trailing:  -2147483646 && INT_MAX > 2147483646 at /builddir/build/BUILD/Tk-804.036/Tk/MakeDepend.pm line 106, </usr/include/libpng16/pngconf.h> line 502.
Invalid term: -2147483646 && LONG_MAX > 2147483646 at /builddir/build/BUILD/Tk-804.036/Tk/MakeDepend.pm line 57, </usr/include/libpng16/pngconf.h> line 504.
trailing:  -2147483646 && LONG_MAX > 2147483646 at /builddir/build/BUILD/Tk-804.036/Tk/MakeDepend.pm line 106, </usr/include/libpng16/pngconf.h> line 504.
ignore 'error "libpng requires a signed 32-bit (or more) type"'
trailing: U at /builddir/build/BUILD/Tk-804.036/Tk/MakeDepend.pm line 106, </usr/include/libpng16/pngconf.h> line 510.
trailing: U at /builddir/build/BUILD/Tk-804.036/Tk/MakeDepend.pm line 106, </usr/include/libpng16/pngconf.h> line 512.
ignore 'error "libpng requires an unsigned 32-bit (or more) type"'
Finding dependencies for NBFrame.xs
Finding dependencies for Mwm.xs
Finding dependencies for Menubutton.xs
Finding dependencies for Listbox.xs
Test Compile/Run config/has_jpeg.c
Using system's -ljpeg
Finding dependencies for JPEG.xs
Finding dependencies for imgJPEG.c
Finding dependencies for InputO.xs
Finding dependencies for IO.xs
Finding dependencies for HList.xs
Finding dependencies for Event.xs
Finding dependencies for eventWin32Dll.c
Finding dependencies for pTkCallback.c
Finding dependencies for tclAsync.c
Finding dependencies for tclEvent.c
Finding dependencies for tclNotify.c
Finding dependencies for tclPlatEvent.c
Finding dependencies for tclPlatNotfy.c
Finding dependencies for tclPlatTime.c
Finding dependencies for tclTimer.c
Finding dependencies for Entry.xs
Skip Win32Site on x
Warning: LINKTYPE set to '', no longer necessary
Finding dependencies for Compound.xs
Finding dependencies for Canvas.xs
Ignoring 
Finding dependencies for Tk.xs
Finding dependencies for chnGlue.c
Finding dependencies for encGlue.c
Finding dependencies for evtGlue.c
Finding dependencies for objGlue.c
Finding dependencies for tixGlue.c
Finding dependencies for tkGlue.c
Finding dependencies for tkGlue_f.c
Finding dependencies for tkWin32Dll.c
Tests in PNG
Tests in JPEG
Tests in Event
Generating a Unix-style Makefile
Writing Makefile for Tk
+ find . -name Makefile
+ xargs /usr/bin/perl -pi -e 's/^\tLD_RUN_PATH=[^\s]+\s*/\t/'
+ make -j6
"/usr/bin/perl" vtab.def.PL vtab.def 
Running Mkbootstrap for Tk ()
"/usr/bin/perl" "/usr/share/perl5/vendor_perl/ExtUtils/xsubpp"  -typemap '/usr/share/perl5/ExtUtils/typemap' -typemap '/builddir/build/BUILD/Tk-804.036/Tk/typemap'  Tk.xs > Tk.xsc
gcc -c  -I/usr/include/freetype2 -D_REENTRANT -D_GNU_SOURCE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -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 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fwrapv -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -g   -DVERSION=\"804.036\" -DXS_VERSION=\"804.036\" -fPIC "-I/usr/lib/perl5/CORE"    tkWin32Dll.c
gcc -c  -I/usr/include/freetype2 -D_REENTRANT -D_GNU_SOURCE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -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 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fwrapv -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -g   -DVERSION=\"804.036\" -DXS_VERSION=\"804.036\" -fPIC "-I/usr/lib/perl5/CORE"    chnGlue.c
gcc -c  -I/usr/include/freetype2 -D_REENTRANT -D_GNU_SOURCE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -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 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fwrapv -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -g   -DVERSION=\"804.036\" -DXS_VERSION=\"804.036\" -fPIC "-I/usr/lib/perl5/CORE"    encGlue.c
chmod 644 "Tk.bs"
gcc -c  -I/usr/include/freetype2 -D_REENTRANT -D_GNU_SOURCE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -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 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fwrapv -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -g   -DVERSION=\"804.036\" -DXS_VERSION=\"804.036\" -fPIC "-I/usr/lib/perl5/CORE"    evtGlue.c
cp Tk/MMutil.pm blib/lib/Tk/MMutil.pm
cp Tk/Optionmenu.pm blib/lib/Tk/Optionmenu.pm
cp Tk/English.pm blib/lib/Tk/English.pm
cp Tk/Pretty.pm blib/lib/Tk/Pretty.pm
cp Tk/ROText.pm blib/lib/Tk/ROText.pm
cp Tk/Bitmap.pm blib/lib/Tk/Bitmap.pm
cp Tk/CmdLine.pm blib/lib/Tk/CmdLine.pm
cp Tk/IconList.pm blib/lib/Tk/IconList.pm
cp Tk/Adjuster.pm blib/lib/Tk/Adjuster.pm
cp Tk/Label.pm blib/lib/Tk/Label.pm
cp Tk/MainWindow.pm blib/lib/Tk/MainWindow.pm
cp Tk/Message.pm blib/lib/Tk/Message.pm
cp Tk/LabEntry.pm blib/lib/Tk/LabEntry.pm
cp Tk/ItemStyle.pm blib/lib/Tk/ItemStyle.pm
cp Tk/ColorEditor.pm blib/lib/Tk/ColorEditor.pm
cp Tk/Derived.pm blib/lib/Tk/Derived.pm
cp Tk/Config.pm blib/arch/Tk/Config.pm
cp Tk/Camel.xpm blib/lib/Tk/Camel.xpm
cp Tk/Configure.pm blib/lib/Tk/Configure.pm
cp Tk/Button.pm blib/lib/Tk/Button.pm
cp Tk/Radiobutton.pm blib/lib/Tk/Radiobutton.pm
cp Tk/Checkbutton.pm blib/lib/Tk/Checkbutton.pm
cp Tk.pm blib/lib/Tk.pm
AutoSplitting blib/lib/Tk.pm (blib/lib/auto/Tk)
cp Tk/LabRadio.pm blib/lib/Tk/LabRadio.pm
cp Tk/Menubar.pm blib/lib/Tk/Menubar.pm
cp Tk/Menu/Item.pm blib/lib/Tk/Menu/Item.pm
cp Tk/Animation.pm blib/lib/Tk/Animation.pm
cp Tk/Pane.pm blib/lib/Tk/Pane.pm
cp Tk/Photo.pm blib/lib/Tk/Photo.pm
cp Tk/Dialog.pm blib/lib/Tk/Dialog.pm
cp Tk/Frame.pm blib/lib/Tk/Frame.pm
AutoSplitting blib/lib/Tk/Frame.pm (blib/lib/auto/Tk/Frame)
cp Tk/Credits blib/lib/Tk/Credits
cp Tk/ProgressBar.pm blib/lib/Tk/ProgressBar.pm
cp Tk/ColorEdit.xpm blib/lib/Tk/ColorEdit.xpm
cp Tk/Image.pm blib/lib/Tk/Image.pm
cp Tk/README.Adjust blib/lib/Tk/README.Adjust
cp Tk/FileSelect.pm blib/lib/Tk/FileSelect.pm
cp Tk/MsgBox.pm blib/lib/Tk/MsgBox.pm
cp Tk/Clipboard.pm blib/lib/Tk/Clipboard.pm
AutoSplitting blib/lib/Tk/Clipboard.pm (blib/lib/auto/Tk/Clipboard)
cp Tk/Region.pm blib/lib/Tk/Region.pm
cp Tk/ErrorDialog.pm blib/lib/Tk/ErrorDialog.pm
cp Tk/MMtry.pm blib/lib/Tk/MMtry.pm
cp Tk/ColorDialog.pm blib/lib/Tk/ColorDialog.pm
cp Tk/Labelframe.pm blib/lib/Tk/Labelframe.pm
cp Tk.pod blib/lib/Tk.pod
cp Tk/FBox.pm blib/lib/Tk/FBox.pm
cp Tk/ColorSelect.pm blib/lib/Tk/ColorSelect.pm
cp Tk/Panedwindow.pm blib/lib/Tk/Panedwindow.pm
cp Tk/Stats.pm blib/lib/Tk/Stats.pm
cp Tk/DummyEncode.pm blib/lib/Tk/DummyEncode.pm
cp Tk/Font.pm blib/lib/Tk/Font.pm
cp Tk/Menu.pm blib/lib/Tk/Menu.pm
cp Tk/Spinbox.pm blib/lib/Tk/Spinbox.pm
cp Tk/Dirlist.pm blib/lib/Tk/Dirlist.pm
cp Tk/MakeDepend.pm blib/lib/Tk/MakeDepend.pm
cp Tk/After.pm blib/lib/Tk/After.pm
cp Tk/install.pm blib/lib/Tk/install.pm
cp Tk/arrowdownwin.xbm blib/lib/Tk/arrowdownwin.xbm
cp Tk/act_folder.xbm blib/lib/Tk/act_folder.xbm
cp Tk/win.xbm blib/lib/Tk/win.xbm
cp Tk/file.xpm blib/lib/Tk/file.xpm
cp tkGlue_f.h blib/arch/Tk/tkGlue_f.h
cp Tk/Submethods.pm blib/lib/Tk/Submethods.pm
cp tkGlue.def blib/arch/Tk/tkGlue.def
cp Tk/cbxarrow.xbm blib/lib/Tk/cbxarrow.xbm
cp Tk/Xrm.pm blib/lib/Tk/Xrm.pm
cp lib/Tie/Watch.pm blib/lib/Tie/Watch.pm
cp Tk/widgets.pm blib/lib/Tk/widgets.pm
cp Tk/openfile.xbm blib/lib/Tk/openfile.xbm
cp Tk/Table.pm blib/lib/Tk/Table.pm
AutoSplitting blib/lib/Tk/Table.pm (blib/lib/auto/Tk/Table)
cp tkGlue.t blib/arch/Tk/tkGlue.t
cp Tk/Widget.pm blib/lib/Tk/Widget.pm
AutoSplitting blib/lib/Tk/Widget.pm (blib/lib/auto/Tk/Widget)
cp Tk/srcfile.xpm blib/lib/Tk/srcfile.xpm
cp Tk/Tk.xbm blib/lib/Tk/Tk.xbm
cp Tk/Xcamel.gif blib/lib/Tk/Xcamel.gif
cp Tk/openfolder.xpm blib/lib/Tk/openfolder.xpm
cp Tk/prolog.ps blib/lib/Tk/prolog.ps
cp TkXSUB.def blib/arch/Tk/TkXSUB.def
cp Tk/typemap blib/lib/Tk/typemap
cp Tk/wintext.xpm blib/lib/Tk/wintext.xpm
cp Tk/TextEdit.pm blib/lib/Tk/TextEdit.pm
AutoSplitting blib/lib/Tk/TextEdit.pm (blib/lib/auto/Tk/TextEdit)
cp Tk/tranicon.gif blib/lib/Tk/tranicon.gif
cp Tk/Toplevel.pm blib/lib/Tk/Toplevel.pm
AutoSplitting blib/lib/Tk/Toplevel.pm (blib/lib/auto/Tk/Toplevel)
cp vtab.def blib/arch/Tk/vtab.def
cp Tk/folder.xbm blib/lib/Tk/folder.xbm
cp Tk/Trace.pm blib/lib/Tk/Trace.pm
cp Tk/act_folder.xpm blib/lib/Tk/act_folder.xpm
cp Tk/Tiler.pm blib/lib/Tk/Tiler.pm
cp tkGlue.m blib/arch/Tk/tkGlue.m
cp Tk/winfolder.xpm blib/lib/Tk/winfolder.xpm
cp Tk/icon.gif blib/lib/Tk/icon.gif
cp Tk/TextUndo.pm blib/lib/Tk/TextUndo.pm
AutoSplitting blib/lib/Tk/TextUndo.pm (blib/lib/auto/Tk/TextUndo)
cp ppport.h blib/arch/Tk/ppport.h
cp Tk/textfile.xpm blib/lib/Tk/textfile.xpm
cp Tk/openfolder.xbm blib/lib/Tk/openfolder.xbm
cp Tk/folder.xpm blib/lib/Tk/folder.xpm
cp Tk/license.terms blib/lib/Tk/license.terms
cp Tk/anim.gif blib/lib/Tk/anim.gif
cp Tk/X11Font.pm blib/lib/Tk/X11Font.pm
cp Tk/Tk.xpm blib/lib/Tk/Tk.xpm
cp Tk/Wm.pm blib/lib/Tk/Wm.pm
AutoSplitting blib/lib/Tk/Wm.pm (blib/lib/auto/Tk/Wm)
cp tkGlue.h blib/arch/Tk/tkGlue.h
cp Tk/file.xbm blib/lib/Tk/file.xbm
gcc -c  -I/usr/include/freetype2 -D_REENTRANT -D_GNU_SOURCE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -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 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fwrapv -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -g   -DVERSION=\"804.036\" -DXS_VERSION=\"804.036\" -fPIC "-I/usr/lib/perl5/CORE"    objGlue.c
Warning: Found a 'CODE' section which seems to be using 'RETVAL' but no 'OUTPUT' section. in Tk.xs, line 1030
gcc -c  -I/usr/include/freetype2 -D_REENTRANT -D_GNU_SOURCE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -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 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fwrapv -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -g   -DVERSION=\"804.036\" -DXS_VERSION=\"804.036\" -fPIC "-I/usr/lib/perl5/CORE"    tixGlue.c
mv Tk.xsc Tk.c
gcc -c  -I/usr/include/freetype2 -D_REENTRANT -D_GNU_SOURCE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -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 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fwrapv -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -g   -DVERSION=\"804.036\" -DXS_VERSION=\"804.036\" -fPIC "-I/usr/lib/perl5/CORE"    tkGlue.c
In file included from /usr/lib/perl5/CORE/perl.h:7811,
                 from objGlue.c:9:
objGlue.c: In function ‘LangString’:
objGlue.c:500:26: warning: pointer targets in passing argument 1 of ‘Perl_is_utf8_string_loclen’ differ in signedness [-Wpointer-sign]
  500 |      if (!is_utf8_string(s,len))
      |                          ^
      |                          |
      |                          char *
/usr/lib/perl5/CORE/inline.h:1168:55: note: in definition of macro ‘is_utf8_string’
 1168 | #define is_utf8_string(s, len)  is_utf8_string_loclen(s, len, NULL, NULL)
      |                                                       ^
/usr/lib/perl5/CORE/inline.h:1408:38: note: expected ‘const U8 *’ {aka ‘const unsigned char *’} but argument is of type ‘char *’
 1408 | Perl_is_utf8_string_loclen(const U8 *s, STRLEN len, const U8 **ep, STRLEN *el)
      |                            ~~~~~~~~~~^
objGlue.c:506:26: warning: pointer targets in passing argument 1 of ‘Perl_is_utf8_string_loclen’ differ in signedness [-Wpointer-sign]
  506 |      if (!is_utf8_string(s,len))
      |                          ^
      |                          |
      |                          char *
/usr/lib/perl5/CORE/inline.h:1168:55: note: in definition of macro ‘is_utf8_string’
 1168 | #define is_utf8_string(s, len)  is_utf8_string_loclen(s, len, NULL, NULL)
      |                                                       ^
/usr/lib/perl5/CORE/inline.h:1408:38: note: expected ‘const U8 *’ {aka ‘const unsigned char *’} but argument is of type ‘char *’
 1408 | Perl_is_utf8_string_loclen(const U8 *s, STRLEN len, const U8 **ep, STRLEN *el)
      |                            ~~~~~~~~~~^
objGlue.c: In function ‘Tcl_GetStringFromObj’:
objGlue.c:564:26: warning: pointer targets in passing argument 1 of ‘Perl_is_utf8_string_loclen’ differ in signedness [-Wpointer-sign]
  564 |      if (!is_utf8_string(s,len))
      |                          ^
      |                          |
      |                          char *
/usr/lib/perl5/CORE/inline.h:1168:55: note: in definition of macro ‘is_utf8_string’
 1168 | #define is_utf8_string(s, len)  is_utf8_string_loclen(s, len, NULL, NULL)
      |                                                       ^
/usr/lib/perl5/CORE/inline.h:1408:38: note: expected ‘const U8 *’ {aka ‘const unsigned char *’} but argument is of type ‘char *’
 1408 | Perl_is_utf8_string_loclen(const U8 *s, STRLEN len, const U8 **ep, STRLEN *el)
      |                            ~~~~~~~~~~^
objGlue.c:571:28: warning: pointer targets in passing argument 1 of ‘Perl_is_utf8_string_loclen’ differ in signedness [-Wpointer-sign]
  571 |        if (!is_utf8_string(s,len))
      |                            ^
      |                            |
      |                            char *
/usr/lib/perl5/CORE/inline.h:1168:55: note: in definition of macro ‘is_utf8_string’
 1168 | #define is_utf8_string(s, len)  is_utf8_string_loclen(s, len, NULL, NULL)
      |                                                       ^
/usr/lib/perl5/CORE/inline.h:1408:38: note: expected ‘const U8 *’ {aka ‘const unsigned char *’} but argument is of type ‘char *’
 1408 | Perl_is_utf8_string_loclen(const U8 *s, STRLEN len, const U8 **ep, STRLEN *el)
      |                            ~~~~~~~~~~^
objGlue.c:597:26: warning: pointer targets in passing argument 1 of ‘Perl_is_utf8_string_loclen’ differ in signedness [-Wpointer-sign]
  597 |      if (!is_utf8_string(s,strlen(s)))
      |                          ^
      |                          |
      |                          char *
/usr/lib/perl5/CORE/inline.h:1168:55: note: in definition of macro ‘is_utf8_string’
 1168 | #define is_utf8_string(s, len)  is_utf8_string_loclen(s, len, NULL, NULL)
      |                                                       ^
/usr/lib/perl5/CORE/inline.h:1408:38: note: expected ‘const U8 *’ {aka ‘const unsigned char *’} but argument is of type ‘char *’
 1408 | Perl_is_utf8_string_loclen(const U8 *s, STRLEN len, const U8 **ep, STRLEN *el)
      |                            ~~~~~~~~~~^
In file included from /usr/lib/perl5/CORE/perl.h:4530:
objGlue.c: In function ‘Tcl_GetByteArrayFromObj’:
/usr/lib/perl5/CORE/sv.h:1952:4: warning: pointer targets in initialization of ‘unsigned char *’ from ‘char *’ differ in signedness [-Wpointer-sign]
 1952 |    Perl_SvPV_helper(aTHX_ sv, &len, flags, SvPVnormal_type_,                \
      |    ^~~~~~~~~~~~~~~~
/usr/lib/perl5/CORE/sv.h:1972:37: note: in expansion of macro ‘SvPV_flags’
 1972 | #define SvPV(sv, len)               SvPV_flags(sv, len, SV_GMAGIC)
      |                                     ^~~~~~~~~~
objGlue.c:631:23: note: in expansion of macro ‘SvPV’
  631 |    unsigned char *s = SvPV(objPtr, len);
      |                       ^~~~
In file included from /usr/lib/perl5/CORE/perl.h:6227:
objGlue.c: In function ‘ForceList’:
objGlue.c:722:43: warning: pointer targets in passing argument 1 of ‘Tcl_NewStringObj’ differ in signedness [-Wpointer-sign]
  722 |          av_store(av,i++,Tcl_NewStringObj(base,(s-base)));
      |                                           ^~~~
      |                                           |
      |                                           unsigned char *
/usr/lib/perl5/CORE/embed.h:153:73: note: in definition of macro ‘av_store’
  153 | # define av_store(a,b,c)                        Perl_av_store(aTHX_ a,b,c)
      |                                                                         ^
objGlue.c:367:31: note: expected ‘const char *’ but argument is of type ‘unsigned char *’
  367 | Tcl_NewStringObj (CONST char *bytes, int length)
encGlue.c:47:1: warning: "/*" within comment [-Wcomment]
   47 | /* -------------------------------------------------------------------------- */
objGlue.c: In function ‘Tcl_WrongNumArgs’:
objGlue.c:1189:12: warning: unused variable ‘tablePtr’ [-Wunused-variable]
 1189 |     char **tablePtr;
      |            ^~~~~~~~
encGlue.c:298:1: warning: "/*" within comment [-Wcomment]
  298 | /* -------------------------------------------------------------------------- */
objGlue.c: In function ‘TclObjLength’:
objGlue.c:1658:8: warning: unused variable ‘s’ [-Wunused-variable]
 1658 |  char *s = SvPV(obj,len);
      |        ^
In file included from /usr/lib/perl5/CORE/perl.h:6227,
                 from encGlue.c:9:
encGlue.c: In function ‘CallEncode’:
encGlue.c:738:21: warning: pointer targets in passing argument 3 of ‘Perl_sv_setpvn’ differ in signedness [-Wpointer-sign]
  738 |      sv_setpvn(stmp,s,len);
      |                     ^
      |                     |
      |                     U8 * {aka unsigned char *}
/usr/lib/perl5/CORE/embed.h:696:72: note: in definition of macro ‘sv_setpvn’
  696 | # define sv_setpvn(a,b,c)                       Perl_sv_setpvn(aTHX_ a,b,c)
      |                                                                        ^
In file included from /usr/lib/perl5/CORE/perl.h:6188:
/usr/lib/perl5/CORE/proto.h:4783:56: note: expected ‘const char * const’ but argument is of type ‘U8 *’ {aka ‘unsigned char *’}
 4783 | Perl_sv_setpvn(pTHX_ SV * const sv, const char * const ptr, const STRLEN len);
      |                                     ~~~~~~~~~~~~~~~~~~~^~~
encGlue.c:739:22: warning: pointer targets in passing argument 1 of ‘has_highbit’ differ in signedness [-Wpointer-sign]
  739 |      if (has_highbit(s,len))
      |                      ^
      |                      |
      |                      U8 * {aka unsigned char *}
In file included from encGlue.c:25:
tkGlue.h:65:41: note: expected ‘const char *’ but argument is of type ‘U8 *’ {aka ‘unsigned char *’}
   65 | extern int      has_highbit(CONST char *s,int l);
encGlue.c:744:21: warning: pointer targets in passing argument 3 of ‘Perl_sv_setpvn’ differ in signedness [-Wpointer-sign]
  744 |      sv_setpvn(stmp,s,len);
      |                     ^
      |                     |
      |                     U8 * {aka unsigned char *}
/usr/lib/perl5/CORE/embed.h:696:72: note: in definition of macro ‘sv_setpvn’
  696 | # define sv_setpvn(a,b,c)                       Perl_sv_setpvn(aTHX_ a,b,c)
      |                                                                        ^
/usr/lib/perl5/CORE/proto.h:4783:56: note: expected ‘const char * const’ but argument is of type ‘U8 *’ {aka ‘unsigned char *’}
 4783 | Perl_sv_setpvn(pTHX_ SV * const sv, const char * const ptr, const STRLEN len);
      |                                     ~~~~~~~~~~~~~~~~~~~^~~
objGlue.c: At top level:
objGlue.c:1624:1: warning: ‘NoFreeProc’ defined but not used [-Wunused-function]
 1624 | NoFreeProc(Tcl_Obj *obj)
      | ^~~~~~~~~~
objGlue.c:1465:1: warning: ‘TclObj_len’ defined but not used [-Wunused-function]
 1465 | TclObj_len(pTHX_ SV *sv, MAGIC *mg)
      | ^~~~~~~~~~
tkGlue.c:56:25: warning: "/*" within comment [-Wcomment]
   56 | /* #define DEBUG_REFCNT /* */
tkGlue.c: In function ‘LangNull’:
tkGlue.c:315:9: warning: unused variable ‘len’ [-Wunused-variable]
  315 |  STRLEN len = 0;
      |         ^~~
tkGlue.c: In function ‘InterpHv’:
tkGlue.c:524:11: warning: unused variable ‘na’ [-Wunused-variable]
  524 |    STRLEN na;
      |           ^~
tkGlue.c: In function ‘FindXv’:
tkGlue.c:490:24: warning: statement with no effect [-Wunused-value]
  490 | #define TagIt(sv,type) (sv)
      |                        ^
tkGlue.c:573:8: note: in expansion of macro ‘TagIt’
  573 |        TagIt(sv,key);
      |        ^~~~~
tkGlue.c: In function ‘Tcl_CallWhenDeleted’:
tkGlue.c:731:6: warning: unused variable ‘hv’ [-Wunused-variable]
  731 |  HV *hv = InterpHv(interp,1);
      |      ^~
In file included from tkGlue.c:9:
tkGlue.c: In function ‘XS_Tk__Interp_DESTROY’:
/usr/lib/perl5/CORE/XSUB.h:166:20: warning: unused variable ‘items’ [-Wunused-variable]
  166 | #define dITEMS I32 items = (I32)(SP - MARK)
      |                    ^~~~~
/usr/lib/perl5/CORE/XSUB.h:169:23: note: in expansion of macro ‘dITEMS’
  169 |         dSP; dAXMARK; dITEMS
      |                       ^~~~~~
tkGlue.c:739:2: note: in expansion of macro ‘dXSARGS’
  739 |  dXSARGS;
      |  ^~~~~~~
tkGlue.c: In function ‘Lang_DeadMainWindow’:
tkGlue.c:833:9: warning: unused variable ‘na’ [-Wunused-variable]
  833 |  STRLEN na;
      |         ^~
tkGlue.c: In function ‘TkGlue_mgFree’:
tkGlue.c:886:9: warning: unused variable ‘na’ [-Wunused-variable]
  886 |  STRLEN na;
      |         ^~
tkGlue.c: In function ‘LangFontObj’:
tkGlue.c:1453:14: warning: unused variable ‘tkwin’ [-Wunused-variable]
 1453 |    Tk_Window tkwin = Tk_MainWindow(interp);
      |              ^~~~~
tkGlue.c:1441:9: warning: unused variable ‘na’ [-Wunused-variable]
 1441 |  STRLEN na;
      |         ^~
tkGlue.c: In function ‘Font_DESTROY’:
tkGlue.c:1473:9: warning: unused variable ‘na’ [-Wunused-variable]
 1473 |  STRLEN na;
      |         ^~
tkGlue.c: In function ‘Tcl_AddErrorInfo’:
tkGlue.c:1505:8: warning: unused variable ‘sv’ [-Wunused-variable]
 1505 |    SV *sv;
      |        ^~
tkGlue.c: In function ‘PushObjCallbackArgs’:
tkGlue.c:1713:24: warning: unused variable ‘count’ [-Wunused-variable]
 1713 |                    int count = LangCallCallback(arg,G_ARRAY|G_EVAL);
      |                        ^~~~~
In file included from /usr/lib/perl5/CORE/perl.h:6168,
                 from tkGlue.c:8:
tkGlue.c: In function ‘PushCallbackArgs’:
/usr/lib/perl5/CORE/pp.h:91:30: warning: unused variable ‘sp’ [-Wunused-variable]
   91 | #define dSP             SV **sp = PL_stack_sp
      |                              ^~
tkGlue.c:1769:2: note: in expansion of macro ‘dSP’
 1769 |  dSP;
      |  ^~~
tkGlue.c: In function ‘Tcl_BackgroundError’:
tkGlue.c:2020:12: warning: statement with no effect [-Wunused-value]
 2020 |      TagIt((SV *) av, "Tcl_BackgroundError");
      |            ^
tkGlue.c:490:25: note: in definition of macro ‘TagIt’
  490 | #define TagIt(sv,type) (sv)
      |                         ^~
tkGlue.c: In function ‘Tk_CheckHash’:
tkGlue.c:2191:14: warning: unused variable ‘len’ [-Wunused-variable]
 2191 |          I32 len;
      |              ^~~
tkGlue.c:2163:7: warning: unused variable ‘svp’ [-Wunused-variable]
 2163 |  SV **svp;
      |       ^~~
tkGlue.c: In function ‘SelGetProc’:
tkGlue.c:2454:18: warning: unused variable ‘strType’ [-Wunused-variable]
 2454 |      const char *strType = Tk_GetAtomName(tkwin, type);
      |                  ^~~~~~~
tkGlue.c: In function ‘XSTkCommand’:
tkGlue.c:3015:9: warning: unused variable ‘na’ [-Wunused-variable]
 3015 |  STRLEN na;
      |         ^~
tkGlue.c: In function ‘XStoNoWindow’:
tkGlue.c:3069:7: warning: unused variable ‘x’ [-Wunused-variable]
 3069 |  SV **x  ;
      |       ^
tkGlue.c:3066:6: warning: variable ‘cm’ set but not used [-Wunused-but-set-variable]
 3066 |  HV *cm;
      |      ^~
tkGlue.c: In function ‘LangDeadWindow’:
tkGlue.c:3187:9: warning: unused variable ‘na’ [-Wunused-variable]
 3187 |  STRLEN na;
      |         ^~
tkGlue.c: In function ‘Lang_CreateWidget’:
tkGlue.c:3316:6: warning: unused variable ‘tmp’ [-Wunused-variable]
 3316 |  SV *tmp;
      |      ^~~
tkGlue.c: In function ‘Tcl_CreateObjCommand’:
tkGlue.c:3465:10: warning: unused variable ‘hv’ [-Wunused-variable]
 3465 |      HV *hv = InterpHv(interp,1);
      |          ^~
tkGlue.c:3409:10: warning: variable ‘kind’ set but not used [-Wunused-but-set-variable]
 3409 |    char *kind = "NULL";
      |          ^~~~
tkGlue.c:3408:8: warning: unused variable ‘cv’ [-Wunused-variable]
 3408 |    CV *cv;
      |        ^~
tkGlue.c: In function ‘Perl_Value’:
tkGlue.c:3698:8: warning: unused variable ‘result’ [-Wunused-variable]
 3698 |  char *result;
      |        ^~~~~~
tkGlue.c:3697:16: warning: unused variable ‘p’ [-Wunused-variable]
 3697 |  Tk_TraceInfo *p = INT2PTR(Tk_TraceInfo *, ix);
      |                ^
tkGlue.c: In function ‘Lang_TraceVar2’:
tkGlue.c:3878:19: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
 3878 |    mg->mg_virtual = &PL_vtbl_uvar;
      |                   ^
tkGlue.c:3805:6: warning: unused variable ‘exiting’ [-Wunused-variable]
 3805 |  SV *exiting;
      |      ^~~~~~~
tkGlue.c: In function ‘LangClientMessage’:
/usr/lib/perl5/CORE/pp.h:91:30: warning: unused variable ‘sp’ [-Wunused-variable]
   91 | #define dSP             SV **sp = PL_stack_sp
      |                              ^~
tkGlue.c:4602:6: note: in expansion of macro ‘dSP’
 4602 |      dSP;
      |      ^~~
tkGlue.c: In function ‘LangEventCallback’:
tkGlue.c:4679:8: warning: unused variable ‘code’ [-Wunused-variable]
 4679 |    int code;
      |        ^~~~
tkGlue.c: In function ‘handle_idle’:
tkGlue.c:4903:6: warning: unused variable ‘count’ [-Wunused-variable]
 4903 |  int count = 0;
      |      ^~~~~
/usr/lib/perl5/CORE/pp.h:91:30: warning: unused variable ‘sp’ [-Wunused-variable]
   91 | #define dSP             SV **sp = PL_stack_sp
      |                              ^~
tkGlue.c:4902:2: note: in expansion of macro ‘dSP’
 4902 |  dSP;
      |  ^~~
tkGlue.c: In function ‘Tcl_TranslateFileName’:
tkGlue.c:5103:5: warning: unused variable ‘count’ [-Wunused-variable]
 5103 |  IV count;
      |     ^~~~~
tkGlue.c: In function ‘do_comp’:
tkGlue.c:5262:46: error: macro "pregcomp" passed 3 arguments, but takes just 2
 5262 |  p->pat = pregcomp(string,string+len,p->flags);
      |                                              ^
In file included from /usr/lib/perl5/CORE/perl.h:6227:
/usr/lib/perl5/CORE/embed.h:498:10: note: macro "pregcomp" defined here
  498 | # define pregcomp(a,b)                          Perl_pregcomp(aTHX_ a,b)
      |          ^~~~~~~~
tkGlue.c:5262:11: error: ‘pregcomp’ undeclared (first use in this function); did you mean ‘regcomp_t’?
 5262 |  p->pat = pregcomp(string,string+len,p->flags);
      |           ^~~~~~~~
      |           regcomp_t
tkGlue.c:5262:11: note: each undeclared identifier is reported only once for each function it appears in
tkGlue.c:5256:8: warning: unused variable ‘string’ [-Wunused-variable]
 5256 |  char *string = Tcl_GetStringFromObj(p->source,&len);
      |        ^~~~~~
tkGlue.c: In function ‘install_vtab’:
gcc -c  -I/usr/include/freetype2 -D_REENTRANT -D_GNU_SOURCE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -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 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fwrapv -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -g   -DVERSION=\"804.036\" -DXS_VERSION=\"804.036\" -fPIC "-I/usr/lib/perl5/CORE"    tkGlue_f.c
tkGlue.c:5513:11: warning: format ‘%Lu’ expects argument of type ‘long long unsigned int’, but argument 3 has type ‘size_t’ {aka ‘unsigned int’} [-Wformat=]
 5513 |      warn("%s is strange size %"UVuf,name,size);
      |           ^~~~~~~~~~~~~~~~~~~~~~          ~~~~
      |                                           |
      |                                           size_t {aka unsigned int}
In file included from /usr/lib/perl5/CORE/perl.h:44:
/usr/lib/perl5/CORE/config.h:4191:27: note: format string is defined here
 4191 | #define UVuf            "Lu"            /**/
tkGlue.c: In function ‘XS_Tk_INIT’:
/usr/lib/perl5/CORE/XSUB.h:166:20: warning: unused variable ‘items’ [-Wunused-variable]
  166 | #define dITEMS I32 items = (I32)(SP - MARK)
      |                    ^~~~~
/usr/lib/perl5/CORE/XSUB.h:169:23: note: in expansion of macro ‘dITEMS’
  169 |         dSP; dAXMARK; dITEMS
      |                       ^~~~~~
tkGlue.c:5532:2: note: in expansion of macro ‘dXSARGS’
 5532 |  dXSARGS;
      |  ^~~~~~~
In file included from /usr/lib/perl5/CORE/perl.h:6196:
tkGlue.c: In function ‘Boot_Glue’:
/usr/lib/perl5/CORE/embedvar.h:61:49: error: initialization of ‘STRLEN *’ {aka ‘unsigned int *’} from incompatible pointer type ‘char *’ [-Wincompatible-pointer-types]
   61 | # define PL_curcop                              (vTHX->Icurcop)
      |                                                 ^
tkGlue.c:5552:31: note: in expansion of macro ‘PL_curcop’
 5552 |  COP_WARNINGS_TYPE old_warn = PL_curcop->cop_warnings;
      |                               ^~~~~~~~~
tkGlue.c:5560:26: error: assignment to ‘char *’ from incompatible pointer type ‘STRLEN *’ {aka ‘unsigned int *’} [-Wincompatible-pointer-types]
 5560 |  PL_curcop->cop_warnings = old_warn;
      |                          ^
tkGlue.c:5545:6: warning: variable ‘cv’ set but not used [-Wunused-but-set-variable]
 5545 |  CV *cv;
      |      ^~
tkGlue.c:5543:8: warning: unused variable ‘XEventMethods’ [-Wunused-variable]
 5543 |  char *XEventMethods = "abcdfhkmopstvwxyABDEKNRSTWXY#";
      |        ^~~~~~~~~~~~~
evtGlue.c: In function ‘PerlSetupProc’:
evtGlue.c:34:18: warning: unused variable ‘blockTime’ [-Wunused-variable]
   34 |  static Tcl_Time blockTime = { 0, 0 };
      |                  ^~~~~~~~~
evtGlue.c: In function ‘PerlCheckProc’:
evtGlue.c:59:9: warning: unused variable ‘infoPtr’ [-Wunused-variable]
   59 |     SV *infoPtr;
      |         ^~~~~~~
evtGlue.c:58:16: warning: unused variable ‘evPtr’ [-Wunused-variable]
   58 |     PerlEvent *evPtr;
      |                ^~~~~
evtGlue.c: In function ‘PerlEventProc’:
evtGlue.c:88:9: warning: unused variable ‘infoPtr’ [-Wunused-variable]
   88 |     SV *infoPtr;
      |         ^~~~~~~
evtGlue.c:87:16: warning: unused variable ‘perlEvPtr’ [-Wunused-variable]
   87 |     PerlEvent *perlEvPtr = (PerlEvent *)evPtr;
      |                ^~~~~~~~~
evtGlue.c: At top level:
evtGlue.c:121:1: warning: ‘PerlEventInit’ defined but not used [-Wunused-function]
  121 | PerlEventInit(void)
      | ^~~~~~~~~~~~~
evtGlue.c:85:1: warning: ‘PerlEventProc’ defined but not used [-Wunused-function]
   85 | PerlEventProc(Tcl_Event *evPtr, int flags)
      | ^~~~~~~~~~~~~
/usr/lib/perl5/CORE/pp.h:91:30: warning: unused variable ‘sp’ [-Wunused-variable]
   91 | #define dSP             SV **sp = PL_stack_sp
      |                              ^~
tkGlue.c:5541:2: note: in expansion of macro ‘dSP’
 5541 |  dSP;
      |  ^~~
"/usr/bin/perl" -MExtUtils::Command::MM -e 'cp_nonempty' -- Tk.bs blib/arch/auto/Tk/Tk.bs 644
gcc -c  -I/usr/include/freetype2 -D_REENTRANT -D_GNU_SOURCE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -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 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fwrapv -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -g   -DVERSION=\"804.036\" -DXS_VERSION=\"804.036\" -fPIC "-I/usr/lib/perl5/CORE"    Tk.c
tkGlue.c: At top level:
tkGlue.c:118:12: warning: ‘my_watch’ defined but not used [-Wunused-variable]
  118 | static SV *my_watch;
      |            ^~~~~~~~
tkGlue.c:117:12: warning: ‘ec’ defined but not used [-Wunused-variable]
  117 | static I32 ec = 0;
      |            ^~
make: *** [Makefile:484: tkGlue.o] Error 1
make: *** Waiting for unfinished jobs....
Tk.c: In function ‘XS_Tk__FontRankInfo_encoding’:
Tk.c:416:20: warning: format ‘%Lu’ expects argument of type ‘long long unsigned int’, but argument 2 has type ‘STRLEN’ {aka ‘unsigned int’} [-Wformat=]
  416 |              croak("ST(0) too small (%"UVuf") for p LangFontInfo * (%"UVuf")",sz,sizeof(*p));
      |                    ^~~~~~~~~~~~~~~~~~~~                                       ~~
      |                                                                               |
      |                                                                               STRLEN {aka unsigned int}
Tk.c:416:20: warning: format ‘%Lu’ expects argument of type ‘long long unsigned int’, but argument 3 has type ‘unsigned int’ [-Wformat=]
  416 |              croak("ST(0) too small (%"UVuf") for p LangFontInfo * (%"UVuf")",sz,sizeof(*p));
      |                    ^~~~~~~~~~~~~~~~~~~~                                          ~~~~~~~~~~
      |                                                                                  |
      |                                                                                  unsigned int
Tk.c: In function ‘XS_Tk__FontRankInfo_foundary’:
Tk.c:444:20: warning: format ‘%Lu’ expects argument of type ‘long long unsigned int’, but argument 2 has type ‘STRLEN’ {aka ‘unsigned int’} [-Wformat=]
  444 |              croak("ST(0) too small (%"UVuf") for p LangFontInfo * (%"UVuf")",sz,sizeof(*p));
      |                    ^~~~~~~~~~~~~~~~~~~~                                       ~~
      |                                                                               |
      |                                                                               STRLEN {aka unsigned int}
Tk.c:444:20: warning: format ‘%Lu’ expects argument of type ‘long long unsigned int’, but argument 3 has type ‘unsigned int’ [-Wformat=]
  444 |              croak("ST(0) too small (%"UVuf") for p LangFontInfo * (%"UVuf")",sz,sizeof(*p));
      |                    ^~~~~~~~~~~~~~~~~~~~                                          ~~~~~~~~~~
      |                                                                                  |
      |                                                                                  unsigned int
Tk.c: In function ‘XS_Tk__FontRankInfo_Xname’:
Tk.c:472:20: warning: format ‘%Lu’ expects argument of type ‘long long unsigned int’, but argument 2 has type ‘STRLEN’ {aka ‘unsigned int’} [-Wformat=]
  472 |              croak("ST(0) too small (%"UVuf") for p LangFontInfo * (%"UVuf")",sz,sizeof(*p));
      |                    ^~~~~~~~~~~~~~~~~~~~                                       ~~
      |                                                                               |
      |                                                                               STRLEN {aka unsigned int}
Tk.c:472:20: warning: format ‘%Lu’ expects argument of type ‘long long unsigned int’, but argument 3 has type ‘unsigned int’ [-Wformat=]
  472 |              croak("ST(0) too small (%"UVuf") for p LangFontInfo * (%"UVuf")",sz,sizeof(*p));
      |                    ^~~~~~~~~~~~~~~~~~~~                                          ~~~~~~~~~~
      |                                                                                  |
      |                                                                                  unsigned int
Tk.c: In function ‘XS_Tk__FontRankInfo_family’:
Tk.c:500:20: warning: format ‘%Lu’ expects argument of type ‘long long unsigned int’, but argument 2 has type ‘STRLEN’ {aka ‘unsigned int’} [-Wformat=]
  500 |              croak("ST(0) too small (%"UVuf") for p LangFontInfo * (%"UVuf")",sz,sizeof(*p));
      |                    ^~~~~~~~~~~~~~~~~~~~                                       ~~
      |                                                                               |
      |                                                                               STRLEN {aka unsigned int}
Tk.c:500:20: warning: format ‘%Lu’ expects argument of type ‘long long unsigned int’, but argument 3 has type ‘unsigned int’ [-Wformat=]
  500 |              croak("ST(0) too small (%"UVuf") for p LangFontInfo * (%"UVuf")",sz,sizeof(*p));
      |                    ^~~~~~~~~~~~~~~~~~~~                                          ~~~~~~~~~~
      |                                                                                  |
      |                                                                                  unsigned int
Tk.c: In function ‘XS_Tk__FontRankInfo_size’:
Tk.c:529:20: warning: format ‘%Lu’ expects argument of type ‘long long unsigned int’, but argument 2 has type ‘STRLEN’ {aka ‘unsigned int’} [-Wformat=]
  529 |              croak("ST(0) too small (%"UVuf") for p LangFontInfo * (%"UVuf")",sz,sizeof(*p));
      |                    ^~~~~~~~~~~~~~~~~~~~                                       ~~
      |                                                                               |
      |                                                                               STRLEN {aka unsigned int}
Tk.c:529:20: warning: format ‘%Lu’ expects argument of type ‘long long unsigned int’, but argument 3 has type ‘unsigned int’ [-Wformat=]
  529 |              croak("ST(0) too small (%"UVuf") for p LangFontInfo * (%"UVuf")",sz,sizeof(*p));
      |                    ^~~~~~~~~~~~~~~~~~~~                                          ~~~~~~~~~~
      |                                                                                  |
      |                                                                                  unsigned int
Tk.c: In function ‘XS_Tk__FontRankInfo_bold’:
Tk.c:557:20: warning: format ‘%Lu’ expects argument of type ‘long long unsigned int’, but argument 2 has type ‘STRLEN’ {aka ‘unsigned int’} [-Wformat=]
  557 |              croak("ST(0) too small (%"UVuf") for p LangFontInfo * (%"UVuf")",sz,sizeof(*p));
      |                    ^~~~~~~~~~~~~~~~~~~~                                       ~~
      |                                                                               |
      |                                                                               STRLEN {aka unsigned int}
Tk.c:557:20: warning: format ‘%Lu’ expects argument of type ‘long long unsigned int’, but argument 3 has type ‘unsigned int’ [-Wformat=]
  557 |              croak("ST(0) too small (%"UVuf") for p LangFontInfo * (%"UVuf")",sz,sizeof(*p));
      |                    ^~~~~~~~~~~~~~~~~~~~                                          ~~~~~~~~~~
      |                                                                                  |
      |                                                                                  unsigned int
Tk.c: In function ‘XS_Tk__FontRankInfo_italic’:
Tk.c:584:20: warning: format ‘%Lu’ expects argument of type ‘long long unsigned int’, but argument 2 has type ‘STRLEN’ {aka ‘unsigned int’} [-Wformat=]
  584 |              croak("ST(0) too small (%"UVuf") for p LangFontInfo * (%"UVuf")",sz,sizeof(*p));
      |                    ^~~~~~~~~~~~~~~~~~~~                                       ~~
      |                                                                               |
      |                                                                               STRLEN {aka unsigned int}
Tk.c:584:20: warning: format ‘%Lu’ expects argument of type ‘long long unsigned int’, but argument 3 has type ‘unsigned int’ [-Wformat=]
  584 |              croak("ST(0) too small (%"UVuf") for p LangFontInfo * (%"UVuf")",sz,sizeof(*p));
      |                    ^~~~~~~~~~~~~~~~~~~~                                          ~~~~~~~~~~
      |                                                                                  |
      |                                                                                  unsigned int
Tk.c: In function ‘XS_XEvent_DESTROY’:
Tk.c:920:17: warning: unused variable ‘obj’ [-Wunused-variable]
  920 |         SV *    obj = ST(0)
      |                 ^~~
In file included from Tk.xs:9:
Tk.c: In function ‘XS_Tk__MainWindow_Count’:
/usr/lib/perl5/CORE/XSUB.h:189:28: warning: unused variable ‘targ’ [-Wunused-variable]
  189 | #define dXSTARG SV * const targ = ((PL_op->op_private & OPpENTERSUB_HASTARG) \
      |                            ^~~~
Tk.c:963:9: note: in expansion of macro ‘dXSTARG’
  963 |         dXSTARG;
      |         ^~~~~~~
Tk.c:962:17: warning: unused variable ‘RETVAL’ [-Wunused-variable]
  962 |         int     RETVAL;
      |                 ^~~~~~
Tk.c:960:17: warning: unused variable ‘self’ [-Wunused-variable]
  960 |         SV *    self = ST(0)
      |                 ^~~~
Tk.c: In function ‘XS_Tk_Preload’:
Tk.c:1082:17: warning: unused variable ‘filename’ [-Wunused-variable]
 1082 |         char *  filename = (char *)SvPV_nolen(ST(0))
      |                 ^~~~~~~~
Tk.c: In function ‘XS_Tk_WidgetMethod’:
Tk.c:1216:17: warning: unused variable ‘name’ [-Wunused-variable]
 1216 |         SV *    name = ST(1)
      |                 ^~~~
Tk.xs: In function ‘XS_Tk__Widget_DefineBitmap’:
Tk.xs:576:51: warning: pointer targets in passing argument 3 of ‘Tk_DefineBitmap’ differ in signedness [-Wpointer-sign]
  576 |      if (Tk_DefineBitmap(interp, Tk_GetUid(name), data, width, height) != TCL_OK)
      |                                                   ^~~~
      |                                                   |
      |                                                   unsigned char *
In file included from pTk/Lang.h:19,
                 from pTk/tkPort.h:24,
                 from Tk.xs:16:
pTk/tkDecls.h:202:65: note: expected ‘const char *’ but argument is of type ‘unsigned char *’
  202 |                                 CONST char * name, CONST char * source,
pTk/tcl.h:248:33: note: in definition of macro ‘_ANSI_ARGS_’
  248 | #   define _ANSI_ARGS_(x)       x
      |                                 ^
Tk.c: In function ‘XS_Tk__Widget_Grab’:
/usr/lib/perl5/CORE/XSUB.h:189:28: warning: unused variable ‘targ’ [-Wunused-variable]
  189 | #define dXSTARG SV * const targ = ((PL_op->op_private & OPpENTERSUB_HASTARG) \
      |                            ^~~~
Tk.c:2636:9: note: in expansion of macro ‘dXSTARG’
 2636 |         dXSTARG;
      |         ^~~~~~~
Tk.c:2635:17: warning: variable ‘RETVAL’ set but not used [-Wunused-but-set-variable]
 2635 |         int     RETVAL;
      |                 ^~~~~~
Tk.c: In function ‘XS_Tk__Widget_Widget’:
Tk.c:2659:17: warning: unused variable ‘RETVAL’ [-Wunused-variable]
 2659 |         SV *    RETVAL;
      |                 ^~~~~~
Tk.c: In function ‘XS_Tk__Widget__object’:
Tk.c:2682:17: warning: unused variable ‘RETVAL’ [-Wunused-variable]
 2682 |         SV *    RETVAL;
      |                 ^~~~~~
Tk.xs: At top level:
Tk.xs:76:22: warning: ‘TkwinFont’ declared ‘static’ but never defined [-Wunused-function]
   76 | static XFontStruct * TkwinFont _((Tk_Window tkwin, Tk_Uid name));
      |                      ^~~~~~~~~
Tk.xs:14:15: warning: ‘na’ defined but not used [-Wunused-variable]
   14 | static STRLEN na; /* Quick and dirty fix */
      |               ^~
error: Bad exit status from /var/tmp/rpm-tmp.iwUWdM (%build)
    Bad exit status from /var/tmp/rpm-tmp.iwUWdM (%build)
RPM build errors:
Child return code was: 1
EXCEPTION: [Error('Command failed: \n # /usr/bin/systemd-nspawn -q -M 064254e2a5124294af1ef14776a21ddc -D /var/lib/mock/f40-build-48860215-5807676/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv._aywsdhr:/etc/resolv.conf --bind=/dev/btrfs-control --bind=/dev/mapper/control --bind=/dev/fuse --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;<mock-chroot>\\007"\' \'--setenv=PS1=<mock-chroot> \\s-\\v\\$ \' --setenv=LANG=C.UTF-8 --resolv-conf=off bash --login -c \'/usr/bin/rpmbuild -bb --noclean --target i686 --nodeps /builddir/build/SPECS/perl-Tk.spec\'\n', 1)]
Traceback (most recent call last):
  File "/usr/lib/python3.12/site-packages/mockbuild/trace_decorator.py", line 93, in trace
    result = func(*args, **kw)
             ^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/site-packages/mockbuild/util.py", line 612, in do_with_status
    raise exception.Error("Command failed: \n # %s\n%s" % (cmd_pretty(command, env), output), child.returncode)
mockbuild.exception.Error: Command failed: 
 # /usr/bin/systemd-nspawn -q -M 064254e2a5124294af1ef14776a21ddc -D /var/lib/mock/f40-build-48860215-5807676/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv._aywsdhr:/etc/resolv.conf --bind=/dev/btrfs-control --bind=/dev/mapper/control --bind=/dev/fuse --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;<mock-chroot>\007"' '--setenv=PS1=<mock-chroot> \s-\v\$ ' --setenv=LANG=C.UTF-8 --resolv-conf=off bash --login -c '/usr/bin/rpmbuild -bb --noclean --target i686 --nodeps /builddir/build/SPECS/perl-Tk.spec'



Extracted relevant lines:
tkGlue.c:5262:46: error: macro "pregcomp" passed 3 arguments, but takes just 2
 5262 |  p->pat = pregcomp(string,string+len,p->flags);
      |                                              ^
In file included from /usr/lib/perl5/CORE/perl.h:6227:
/usr/lib/perl5/CORE/embed.h:498:10: note: macro "pregcomp" defined here
  498 | # define pregcomp(a,b)                          Perl_pregcomp(aTHX_ a,b)
      |          ^~~~~~~~
tkGlue.c:5262:11: error: ‘pregcomp’ undeclared (first use in this function); did you mean ‘regcomp_t’?
 5262 |  p->pat = pregcomp(string,string+len,p->flags);
      |           ^~~~~~~~
      |           regcomp_t
tkGlue.c:5262:11: note: each undeclared identifier is reported only once for each function it appears in
tkGlue.c:5256:8: warning: unused variable ‘string’ [-Wunused-variable]
 5256 |  char *string = Tcl_GetStringFromObj(p->source,&len);
      |        ^~~~~~
tkGlue.c:117:12: warning: ‘ec’ defined but not used [-Wunused-variable]
  117 | static I32 ec = 0;
      |            ^~
make: *** [Makefile:484: tkGlue.o] Error 1
make: *** Waiting for unfinished jobs....
Tk.c: In function ‘XS_Tk__FontRankInfo_encoding’:
Tk.c:416:20: warning: format ‘%Lu’ expects argument of type ‘long long unsigned int’, but argument 2 has type ‘STRLEN’ {aka ‘unsigned int’} [-Wformat=]
  416 |              croak("ST(0) too small (%"UVuf") for p LangFontInfo * (%"UVuf")",sz,sizeof(*p));
EXCEPTION: [Error('Command failed: 
 # /usr/bin/systemd-nspawn -q -M 064254e2a5124294af1ef14776a21ddc -D /var/lib/mock/f40-build-48860215-5807676/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv._aywsdhr:/etc/resolv.conf --bind=/dev/btrfs-control --bind=/dev/mapper/control --bind=/dev/fuse --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;<mock-chroot>\\007"\' \'--setenv=PS1=<mock-chroot> \\s-\\v\\$ \' --setenv=LANG=C.UTF-8 --resolv-conf=off bash --login -c \'/usr/bin/rpmbuild -bb --noclean --target i686 --nodeps /builddir/build/SPECS/perl-Tk.spec\'
', 1)]
Traceback (most recent call last):
  File "/usr/lib/python3.12/site-packages/mockbuild/trace_decorator.py", line 93, in trace
    result = func(*args, **kw)
             ^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/site-packages/mockbuild/util.py", line 612, in do_with_status
    raise exception.Error("Command failed: 
 # %s
%s" % (cmd_pretty(command, env), output), child.returncode)
mockbuild.exception.Error: Command failed: 
 # /usr/bin/systemd-nspawn -q -M 064254e2a5124294af1ef14776a21ddc -D /var/lib/mock/f40-build-48860215-5807676/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv._aywsdhr:/etc/resolv.conf --bind=/dev/btrfs-control --bind=/dev/mapper/control --bind=/dev/fuse --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;<mock-chroot>\007"' '--setenv=PS1=<mock-chroot> \s-\v\$ ' --setenv=LANG=C.UTF-8 --resolv-conf=off bash --login -c '/usr/bin/rpmbuild -bb --noclean --target i686 --nodeps /builddir/build/SPECS/perl-Tk.spec'