Mock Version: 4.1 Mock Version: 4.1 Mock Version: 4.1 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target x86_64 --nodeps /builddir/build/SPECS/wmctrl.spec'], chrootPath='/var/lib/mock/dist-ocs23-epol9-build-165069-10179/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=86400uid=981gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target x86_64 --nodeps /builddir/build/SPECS/wmctrl.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False warning: %patchN is deprecated (2 usages found), use %patch N (or %patch -P N) Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/wmctrl-1.07-1.ocs23.src.rpm RPM build warnings: %patchN is deprecated (2 usages found), use %patch N (or %patch -P N) Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/wmctrl.spec'], chrootPath='/var/lib/mock/dist-ocs23-epol9-build-165069-10179/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=86400uid=981gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/wmctrl.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False warning: %patchN is deprecated (2 usages found), use %patch N (or %patch -P N) Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.5BqORQ + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf wmctrl-1.07 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/wmctrl-1.07.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd wmctrl-1.07 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (wmctrl_1.07-6.diff.gz):' Patch #0 (wmctrl_1.07-6.diff.gz): + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/wmctrl_1.07-6.diff.gz + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file debian/control patching file debian/wmctrl.docs patching file debian/watch patching file debian/compat patching file debian/changelog patching file debian/rules patching file debian/copyright patching file BAH patching file main.c Patch #1 (wmctrl-sticky-workspace.patch): + echo 'Patch #1 (wmctrl-sticky-workspace.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file main.c patching file wmctrl.1 + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.TS7bet + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd wmctrl-1.07 + '[' '-flto=auto -ffat-lto-objectsx' '!=' x ']' ++ find . -type f -name configure -print + for file in $(find . -type f -name configure -print) + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\) = /__attribute__ ((used)) char (*f) () = /g' ./configure + diff -u ./configure.backup ./configure --- ./configure.backup 2005-01-29 11:33:06.000000000 +0800 +++ ./configure 2024-05-14 23:12:39.023742133 +0800 @@ -3459,7 +3459,7 @@ #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname) choke me #else -char (*f) () = gethostbyname; +__attribute__ ((used)) char (*f) () = gethostbyname; #endif #ifdef __cplusplus } @@ -3660,7 +3660,7 @@ #if defined (__stub_connect) || defined (__stub___connect) choke me #else -char (*f) () = connect; +__attribute__ ((used)) char (*f) () = connect; #endif #ifdef __cplusplus } @@ -3795,7 +3795,7 @@ #if defined (__stub_remove) || defined (__stub___remove) choke me #else -char (*f) () = remove; +__attribute__ ((used)) char (*f) () = remove; #endif #ifdef __cplusplus } @@ -3930,7 +3930,7 @@ #if defined (__stub_shmat) || defined (__stub___shmat) choke me #else -char (*f) () = shmat; +__attribute__ ((used)) char (*f) () = shmat; #endif #ifdef __cplusplus } + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\);/__attribute__ ((used)) char (*f) ();/g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed -r --in-place=.backup 's/^char \$2 \(\);/__attribute__ ((used)) char \$2 ();/g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed --in-place=.backup '1{$!N;$!N};$!N;s/int x = 1;\nint y = 0;\nint z;\nint nan;/volatile int x = 1; volatile int y = 0; volatile int z, nan;/;P;D' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed --in-place=.backup 's#^lt_cv_sys_global_symbol_to_cdecl=.*#lt_cv_sys_global_symbol_to_cdecl="sed -n -e '\''s/^T .* \\(.*\\)$/extern int \\1();/p'\'' -e '\''s/^$symcode* .* \\(.*\\)$/extern char \\1;/p'\''"#' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + '[' 1 = 1 ']' +++ dirname ./configure ++ find . -name config.guess -o -name config.sub + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld' ']' ++ find . -name ltmain.sh + ./configure --build=x86_64-opencloudos-linux-gnu --host=x86_64-opencloudos-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for gawk... gawk checking whether make sets $(MAKE)... yes checking for x86_64-opencloudos-linux-gnu-gcc... gcc checking for C compiler default output... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ANSI C... none needed checking for style of include used by make... GNU checking dependency style of gcc... none checking how to run the C preprocessor... gcc -E checking for X... libraries , headers checking for gethostbyname... yes checking for connect... yes checking for remove... yes checking for shmat... yes checking for IceConnectionNumber in -lICE... yes checking for pkg-config... /usr/bin/pkg-config checking for GLIB - version >= 2.0.0... yes (version 2.78.3) configure: creating ./config.status config.status: creating Makefile config.status: executing depfiles commands + make -j32 gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"wmctrl\" -DVERSION=\"1.07\" -I. -I. -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -Wall -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c `test -f 'main.c' || echo './'`main.c main.c: In function 'window_set_title': main.c:651:21: warning: pointer targets in passing argument 7 of 'XChangeProperty' differ in signedness [-Wpointer-sign] 651 | title_local, strlen(title_local)); | ^~~~~~~~~~~ | | | gchar * {aka char *} In file included from /usr/include/X11/Xlib.h:47, from main.c:33: /usr/include/X11/Xlib.h:2089:5: note: expected 'const unsigned char *' but argument is of type 'gchar *' {aka 'char *'} 2089 | _Xconst unsigned char* /* data */, | ^ main.c:658:17: warning: pointer targets in passing argument 7 of 'XChangeProperty' differ in signedness [-Wpointer-sign] 658 | title_utf8, strlen(title_utf8)); | ^~~~~~~~~~ | | | gchar * {aka char *} /usr/include/X11/Xlib.h:2089:5: note: expected 'const unsigned char *' but argument is of type 'gchar *' {aka 'char *'} 2089 | _Xconst unsigned char* /* data */, | ^ main.c:665:21: warning: pointer targets in passing argument 7 of 'XChangeProperty' differ in signedness [-Wpointer-sign] 665 | title_local, strlen(title_local)); | ^~~~~~~~~~~ | | | gchar * {aka char *} /usr/include/X11/Xlib.h:2089:5: note: expected 'const unsigned char *' but argument is of type 'gchar *' {aka 'char *'} 2089 | _Xconst unsigned char* /* data */, | ^ main.c:672:17: warning: pointer targets in passing argument 7 of 'XChangeProperty' differ in signedness [-Wpointer-sign] 672 | title_utf8, strlen(title_utf8)); | ^~~~~~~~~~ | | | gchar * {aka char *} /usr/include/X11/Xlib.h:2089:5: note: expected 'const unsigned char *' but argument is of type 'gchar *' {aka 'char *'} 2089 | _Xconst unsigned char* /* data */, | ^ gcc -Wall -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o wmctrl main.o -lSM -lICE -lX11 -lXmu -lglib-2.0 + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.yuqSlu + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/wmctrl-1.07-1.ocs23.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/wmctrl-1.07-1.ocs23.x86_64 ++ dirname /builddir/build/BUILDROOT/wmctrl-1.07-1.ocs23.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/wmctrl-1.07-1.ocs23.x86_64 + cd wmctrl-1.07 + make install DESTDIR=/builddir/build/BUILDROOT/wmctrl-1.07-1.ocs23.x86_64 make[1]: Entering directory '/builddir/build/BUILD/wmctrl-1.07' /bin/sh ./mkinstalldirs /builddir/build/BUILDROOT/wmctrl-1.07-1.ocs23.x86_64/usr/bin mkdir -p -- /builddir/build/BUILDROOT/wmctrl-1.07-1.ocs23.x86_64/usr/bin /usr/bin/install -c wmctrl /builddir/build/BUILDROOT/wmctrl-1.07-1.ocs23.x86_64/usr/bin/wmctrl /bin/sh ./mkinstalldirs /builddir/build/BUILDROOT/wmctrl-1.07-1.ocs23.x86_64/usr/share/man/man1 mkdir -p -- /builddir/build/BUILDROOT/wmctrl-1.07-1.ocs23.x86_64/usr/share/man/man1 /usr/bin/install -c -m 644 ./wmctrl.1 /builddir/build/BUILDROOT/wmctrl-1.07-1.ocs23.x86_64/usr/share/man/man1/wmctrl.1 make[1]: Leaving directory '/builddir/build/BUILD/wmctrl-1.07' + /usr/bin/find-debuginfo -j32 --strict-build-id -m -i --build-id-seed 1.07-1.ocs23 --unique-debug-suffix -1.07-1.ocs23.x86_64 --unique-debug-src-base wmctrl-1.07-1.ocs23.x86_64 -S debugsourcefiles.list /builddir/build/BUILD/wmctrl-1.07 extracting debug info from /builddir/build/BUILDROOT/wmctrl-1.07-1.ocs23.x86_64/usr/bin/wmctrl 105 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/OpenCloudOS/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/OpenCloudOS/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/OpenCloudOS/brp-mangle-shebangs + /usr/lib/rpm/OpenCloudOS/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/OpenCloudOS/brp-python-hardlink Processing files: wmctrl-1.07-1.ocs23.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.YYpmvc + umask 022 + cd /builddir/build/BUILD + cd wmctrl-1.07 + DOCDIR=/builddir/build/BUILDROOT/wmctrl-1.07-1.ocs23.x86_64/usr/share/doc/wmctrl + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/wmctrl-1.07-1.ocs23.x86_64/usr/share/doc/wmctrl + cp -pr AUTHORS /builddir/build/BUILDROOT/wmctrl-1.07-1.ocs23.x86_64/usr/share/doc/wmctrl + cp -pr COPYING /builddir/build/BUILDROOT/wmctrl-1.07-1.ocs23.x86_64/usr/share/doc/wmctrl + cp -pr README /builddir/build/BUILDROOT/wmctrl-1.07-1.ocs23.x86_64/usr/share/doc/wmctrl + RPM_EC=0 ++ jobs -p + exit 0 Provides: wmctrl = 1.07-1.ocs23 wmctrl(x86-64) = 1.07-1.ocs23 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libX11.so.6()(64bit) libXmu.so.6()(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.14)(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.34)(64bit) libc.so.6(GLIBC_2.4)(64bit) libc.so.6(GLIBC_2.7)(64bit) libglib-2.0.so.0()(64bit) rtld(GNU_HASH) Processing files: wmctrl-debugsource-1.07-1.ocs23.x86_64 Provides: wmctrl-debugsource = 1.07-1.ocs23 wmctrl-debugsource(x86-64) = 1.07-1.ocs23 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: wmctrl-debuginfo-1.07-1.ocs23.x86_64 Provides: debuginfo(build-id) = ffff3fc20e634c6f1c7d32acc21aa36d9b5937cb wmctrl-debuginfo = 1.07-1.ocs23 wmctrl-debuginfo(x86-64) = 1.07-1.ocs23 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: wmctrl-debugsource(x86-64) = 1.07-1.ocs23 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/wmctrl-1.07-1.ocs23.x86_64 Wrote: /builddir/build/RPMS/wmctrl-debugsource-1.07-1.ocs23.x86_64.rpm Wrote: /builddir/build/RPMS/wmctrl-1.07-1.ocs23.x86_64.rpm Wrote: /builddir/build/RPMS/wmctrl-debuginfo-1.07-1.ocs23.x86_64.rpm RPM build warnings: %patchN is deprecated (2 usages found), use %patch N (or %patch -P N) Child return code was: 0