Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target s390x --nodeps /builddir/build/SPECS/usb_modeswitch.spec'], chrootPath='/var/lib/mock/centos-stream-9-s390x-1672987778.495296/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=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.wlbuqwn9:/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.wlbuqwn9:/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', '6dd2ce117cf04f26ade830ec8f509a1a', '-D', '/var/lib/mock/centos-stream-9-s390x-1672987778.495296/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.wlbuqwn9:/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 s390x --nodeps /builddir/build/SPECS/usb_modeswitch.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: s390x Building for target s390x setting SOURCE_DATE_EPOCH=1628553600 Wrote: /builddir/build/SRPMS/usb_modeswitch-2.6.1-4.eln_clang_unknown.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target s390x --nodeps /builddir/build/SPECS/usb_modeswitch.spec'], chrootPath='/var/lib/mock/centos-stream-9-s390x-1672987778.495296/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=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.wlbuqwn9:/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.wlbuqwn9:/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', 'b9fd1b200a5047c0a92ab0280adb34a2', '-D', '/var/lib/mock/centos-stream-9-s390x-1672987778.495296/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.wlbuqwn9:/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 s390x --nodeps /builddir/build/SPECS/usb_modeswitch.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: s390x Building for target s390x setting SOURCE_DATE_EPOCH=1628553600 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.sXGNbt + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf usb-modeswitch-2.6.1 + /usr/bin/bzip2 -dc /builddir/build/SOURCES/usb-modeswitch-2.6.1.tar.bz2 + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd usb-modeswitch-2.6.1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + cp -f /builddir/build/SOURCES/device_reference.txt device_reference.txt Patch #0 (device_reference-utf8.patch): + echo 'Patch #0 (device_reference-utf8.patch):' + /usr/bin/patch --no-backup-if-mismatch -p0 --fuzz=0 patching file device_reference.txt + '[' -e /usr/lib/rpm/clang/usb_modeswitch-run ']' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.9p2rCZ + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -m64 -march=z14 -mtune=z15 -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -m64 -march=z14 -mtune=z15 -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -m64 -march=z14 -mtune=z15 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -m64 -march=z14 -mtune=z15 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -flto' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=clang + export CC + CXX=clang++ + export CXX + cd usb-modeswitch-2.6.1 + CFLAGS='-O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -m64 -march=z14 -mtune=z15 -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -m64 -march=z14 -mtune=z15 -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -m64 -march=z14 -mtune=z15 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -m64 -march=z14 -mtune=z15 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -flto' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=clang + export CC + CXX=clang++ + export CXX + /usr/bin/make -O -j2 V=1 VERBOSE=1 DISPATCH=dispatcher-script cp -f usb_modeswitch_dispatcher.tcl usb_modeswitch_dispatcher clang -o usb_modeswitch usb_modeswitch.c -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -m64 -march=z14 -mtune=z15 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wno-deprecated-declarations `pkg-config --libs --cflags libusb-1.0` -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -flto usb_modeswitch.c:573:45: warning: passing arguments to 'get_current_config_value' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] currentConfigVal = get_current_config_value(dev); ^ usb_modeswitch.c:775:48: warning: passing arguments to 'get_current_config_value' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] currentConfigVal = get_current_config_value(dev); ^ usb_modeswitch.c:1603:9: warning: explicitly assigning value of variable of type 'int' to itself [-Wself-assign] for (i=i; i < CheckSuccess; i++) { ~^~ usb_modeswitch.c:1915:8: warning: variable 'token' is used uninitialized whenever 'if' condition is true [-Wsometimes-uninitialized] if (file==NULL) { ^~~~~~~~~~ usb_modeswitch.c:1922:10: note: uninitialized use occurs here while (token != NULL && numLines < MAXLINES) { ^~~~~ usb_modeswitch.c:1915:4: note: remove the 'if' if its condition is always false if (file==NULL) { ^~~~~~~~~~~~~~~~~ usb_modeswitch.c:1896:13: note: initialize the variable 'token' to silence this warning char *token, *configPos; ^ = NULL 4 warnings generated. + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.s4sZax + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/usb_modeswitch-2.6.1-4.eln_clang_unknown.s390x '!=' / ']' + rm -rf /builddir/build/BUILDROOT/usb_modeswitch-2.6.1-4.eln_clang_unknown.s390x ++ dirname /builddir/build/BUILDROOT/usb_modeswitch-2.6.1-4.eln_clang_unknown.s390x + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/usb_modeswitch-2.6.1-4.eln_clang_unknown.s390x + CFLAGS='-O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -m64 -march=z14 -mtune=z15 -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -m64 -march=z14 -mtune=z15 -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -m64 -march=z14 -mtune=z15 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -m64 -march=z14 -mtune=z15 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -flto' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=clang + export CC + CXX=clang++ + export CXX + cd usb-modeswitch-2.6.1 + mkdir -p /builddir/build/BUILDROOT/usb_modeswitch-2.6.1-4.eln_clang_unknown.s390x/usr/lib/systemd/system + /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/usb_modeswitch-2.6.1-4.eln_clang_unknown.s390x 'INSTALL=/usr/bin/install -p' SYSDIR=/builddir/build/BUILDROOT/usb_modeswitch-2.6.1-4.eln_clang_unknown.s390x/usr/lib/systemd/system UDEVDIR=/builddir/build/BUILDROOT/usb_modeswitch-2.6.1-4.eln_clang_unknown.s390x/usr/lib/udev DISPATCH=dispatcher-script cp -f usb_modeswitch_dispatcher.tcl usb_modeswitch_dispatcher install -D --mode=755 usb_modeswitch /builddir/build/BUILDROOT/usb_modeswitch-2.6.1-4.eln_clang_unknown.s390x/usr/sbin/usb_modeswitch install -D --mode=755 usb_modeswitch.sh /builddir/build/BUILDROOT/usb_modeswitch-2.6.1-4.eln_clang_unknown.s390x/usr/lib/udev/usb_modeswitch install -D --mode=644 usb_modeswitch.conf /builddir/build/BUILDROOT/usb_modeswitch-2.6.1-4.eln_clang_unknown.s390x/etc/usb_modeswitch.conf install -D --mode=644 usb_modeswitch.1 /builddir/build/BUILDROOT/usb_modeswitch-2.6.1-4.eln_clang_unknown.s390x/usr/share/man/man1/usb_modeswitch.1 install -D --mode=644 usb_modeswitch_dispatcher.1 /builddir/build/BUILDROOT/usb_modeswitch-2.6.1-4.eln_clang_unknown.s390x/usr/share/man/man1/usb_modeswitch_dispatcher.1 install -D --mode=755 usb_modeswitch_dispatcher /builddir/build/BUILDROOT/usb_modeswitch-2.6.1-4.eln_clang_unknown.s390x/usr/sbin/usb_modeswitch_dispatcher install -d /builddir/build/BUILDROOT/usb_modeswitch-2.6.1-4.eln_clang_unknown.s390x/var/lib/usb_modeswitch test -d /builddir/build/BUILDROOT/usb_modeswitch-2.6.1-4.eln_clang_unknown.s390x/etc/init -a -e /sbin/initctl && install --mode=644 usb-modeswitch-upstart.conf /builddir/build/BUILDROOT/usb_modeswitch-2.6.1-4.eln_clang_unknown.s390x/etc/init || test 1 test -d /builddir/build/BUILDROOT/usb_modeswitch-2.6.1-4.eln_clang_unknown.s390x/usr/lib/systemd/system -a \( -e /usr/bin/systemctl -o -e /bin/systemctl \) && install --mode=644 usb_modeswitch@.service /builddir/build/BUILDROOT/usb_modeswitch-2.6.1-4.eln_clang_unknown.s390x/usr/lib/systemd/system || test 1 + /bin/bash /usr/lib/rpm/redhat/verify-clang-cc --- COMPILER CHECK: /builddir/build/BUILDROOT/usb_modeswitch-2.6.1-4.eln_clang_unknown.s390x/usr/sbin/usb_modeswitch error: write on a pipe with no reader error: write on a pipe with no reader [ 5c] clang version 15.0.1 (Red Hat 15.0.1-2.el9) /builddir/build/BUILDROOT/usb_modeswitch-2.6.1-4.eln_clang_unknown.s390x/usr/sbin/usb_modeswitch built with clang + /usr/lib/rpm/redhat/brp-llvm-compile-lto-elf -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -m64 -march=z14 -mtune=z15 -fasynchronous-unwind-tables -fstack-clash-protection -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -flto Checking for LLVM bitcode artifacts + /usr/lib/rpm/find-debuginfo.sh -j2 --strict-build-id -m -i --build-id-seed 2.6.1-4.eln_clang_unknown --unique-debug-suffix -2.6.1-4.eln_clang_unknown.s390x --unique-debug-src-base usb_modeswitch-2.6.1-4.eln_clang_unknown.s390x --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 --remove-section .gnu.build.attributes -S debugsourcefiles.list /builddir/build/BUILD/usb-modeswitch-2.6.1 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/usb_modeswitch-2.6.1-4.eln_clang_unknown.s390x/usr/sbin/usb_modeswitch extracting debug info from /builddir/build/BUILDROOT/usb_modeswitch-2.6.1-4.eln_clang_unknown.s390x/usr/sbin/usb_modeswitch original debug info size: 84kB, size after compression: 80kB /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. 129 blocks + /usr/lib/rpm/check-buildroot + /bin/bash /usr/lib/rpm/redhat/verify-clang-cc --- COMPILER CHECK: /builddir/build/BUILDROOT/usb_modeswitch-2.6.1-4.eln_clang_unknown.s390x/usr/sbin/usb_modeswitch error: write on a pipe with no reader [ 5c] clang version 15.0.1 (Red Hat 15.0.1-2.el9) /builddir/build/BUILDROOT/usb_modeswitch-2.6.1-4.eln_clang_unknown.s390x/usr/lib/debug/usr/sbin/usb_modeswitch-2.6.1-4.eln_clang_unknown.s390x.debug built with clang --- COMPILER CHECK: /builddir/build/BUILDROOT/usb_modeswitch-2.6.1-4.eln_clang_unknown.s390x/usr/lib/debug/usr/sbin/usb_modeswitch-2.6.1-4.eln_clang_unknown.s390x.debug error: write on a pipe with no reader error: write on a pipe with no reader [ 5c] clang version 15.0.1 (Red Hat 15.0.1-2.el9) /builddir/build/BUILDROOT/usb_modeswitch-2.6.1-4.eln_clang_unknown.s390x/usr/lib/debug/usr/sbin/usb_modeswitch-2.6.1-4.eln_clang_unknown.s390x.debug built with clang + /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/redhat/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs mangling shebang in /usr/lib/udev/usb_modeswitch from /bin/sh to #!/usr/bin/sh Processing files: usb_modeswitch-2.6.1-4.eln_clang_unknown.s390x Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.yIb539 + umask 022 + cd /builddir/build/BUILD + cd usb-modeswitch-2.6.1 + DOCDIR=/builddir/build/BUILDROOT/usb_modeswitch-2.6.1-4.eln_clang_unknown.s390x/usr/share/doc/usb_modeswitch + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/usb_modeswitch-2.6.1-4.eln_clang_unknown.s390x/usr/share/doc/usb_modeswitch + cp -pr COPYING /builddir/build/BUILDROOT/usb_modeswitch-2.6.1-4.eln_clang_unknown.s390x/usr/share/doc/usb_modeswitch + cp -pr README /builddir/build/BUILDROOT/usb_modeswitch-2.6.1-4.eln_clang_unknown.s390x/usr/share/doc/usb_modeswitch + cp -pr ChangeLog /builddir/build/BUILDROOT/usb_modeswitch-2.6.1-4.eln_clang_unknown.s390x/usr/share/doc/usb_modeswitch + cp -pr device_reference.txt /builddir/build/BUILDROOT/usb_modeswitch-2.6.1-4.eln_clang_unknown.s390x/usr/share/doc/usb_modeswitch + RPM_EC=0 ++ jobs -p + exit 0 Provides: config(usb_modeswitch) = 2.6.1-4.eln_clang_unknown usb_modeswitch = 2.6.1-4.eln_clang_unknown usb_modeswitch(s390-64) = 2.6.1-4.eln_clang_unknown Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: /usr/bin/sh /usr/bin/tclsh libc.so.6()(64bit) libc.so.6(GLIBC_2.2)(64bit) libc.so.6(GLIBC_2.3)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.34)(64bit) libc.so.6(GLIBC_2.4)(64bit) libusb-1.0.so.0()(64bit) Processing files: usb_modeswitch-debugsource-2.6.1-4.eln_clang_unknown.s390x Provides: usb_modeswitch-debugsource = 2.6.1-4.eln_clang_unknown usb_modeswitch-debugsource(s390-64) = 2.6.1-4.eln_clang_unknown Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: usb_modeswitch-debuginfo-2.6.1-4.eln_clang_unknown.s390x Provides: debuginfo(build-id) = 394c6c86570e7b66f3b926921ce8875f3121a64a usb_modeswitch-debuginfo = 2.6.1-4.eln_clang_unknown usb_modeswitch-debuginfo(s390-64) = 2.6.1-4.eln_clang_unknown Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: usb_modeswitch-debugsource(s390-64) = 2.6.1-4.eln_clang_unknown Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/usb_modeswitch-2.6.1-4.eln_clang_unknown.s390x Wrote: /builddir/build/RPMS/usb_modeswitch-debuginfo-2.6.1-4.eln_clang_unknown.s390x.rpm Wrote: /builddir/build/RPMS/usb_modeswitch-2.6.1-4.eln_clang_unknown.s390x.rpm Wrote: /builddir/build/RPMS/usb_modeswitch-debugsource-2.6.1-4.eln_clang_unknown.s390x.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.tSSQFX + umask 022 + cd /builddir/build/BUILD + cd usb-modeswitch-2.6.1 + /usr/bin/rm -rf /builddir/build/BUILDROOT/usb_modeswitch-2.6.1-4.eln_clang_unknown.s390x + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0