Mock Version: 3.3 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/libircclient.spec'], chrootPath='/var/lib/mock/fedora-rawhide-x86_64-1667515585.032024/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=0uid=1000gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.s1or2nnn:/etc/resolv.conf', '--bind=/dev/btrfs-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.s1or2nnn:/etc/resolv.conf', '--bind=/dev/btrfs-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', 'f4491827815a4bee8397ac9ef15d0009', '-D', '/var/lib/mock/fedora-rawhide-x86_64-1667515585.032024/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.s1or2nnn:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/libircclient.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1658361600 Wrote: /builddir/build/SRPMS/libircclient-1.8-22.fc38.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/libircclient.spec'], chrootPath='/var/lib/mock/fedora-rawhide-x86_64-1667515585.032024/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=0uid=1000gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.s1or2nnn:/etc/resolv.conf', '--bind=/dev/btrfs-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.s1or2nnn:/etc/resolv.conf', '--bind=/dev/btrfs-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', '78c186d598e244f7b969ea518163fefa', '-D', '/var/lib/mock/fedora-rawhide-x86_64-1667515585.032024/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.s1or2nnn:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/libircclient.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1658361600 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.MM0Kaq + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf libircclient-1.8 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/libircclient-1.8.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd libircclient-1.8 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + sed -e s/SSL_library_init/SSL_CTX_new/g -i configure + rm -rvf cocoa removed 'cocoa/English.lproj/InfoPlist.strings' removed directory 'cocoa/English.lproj' removed 'cocoa/IRCClient.xcodeproj/TemplateIcon.icns' removed 'cocoa/IRCClient.xcodeproj/project.pbxproj' removed directory 'cocoa/IRCClient.xcodeproj' removed 'cocoa/LICENSE' removed 'cocoa/Info.plist' removed 'cocoa/doc/html/functions_func.html' removed 'cocoa/doc/html/interface_i_r_c_client_channel.html' removed 'cocoa/doc/html/tab_b.gif' removed 'cocoa/doc/html/interface_i_r_c_client_channel.png' removed 'cocoa/doc/html/annotated.html' removed 'cocoa/doc/html/_i_r_c_client_channel_delegate_8h.html' removed 'cocoa/doc/html/class_n_s_object_07_i_r_c_client_session_delegate_08-members.html' removed 'cocoa/doc/html/index.html' removed 'cocoa/doc/html/classes.html' removed 'cocoa/doc/html/tab_l.gif' removed 'cocoa/doc/html/interface_n_s_object_07_i_r_c_client_channel_delegate_08.html' removed 'cocoa/doc/html/functions_prop.html' removed 'cocoa/doc/html/class_i_r_c_client_session-members.html' removed 'cocoa/doc/html/interface_n_s_object_07_i_r_c_client_session_delegate_08.html' removed 'cocoa/doc/html/tab_r.gif' removed 'cocoa/doc/html/_i_r_c_client_channel_delegate_8h-source.html' removed 'cocoa/doc/html/_i_r_c_client_session_delegate_8h-source.html' removed 'cocoa/doc/html/_n_s_object_09_d_d_extensions_8h-source.html' removed 'cocoa/doc/html/class_i_r_c_client_channel-members.html' removed 'cocoa/doc/html/hierarchy.html' removed 'cocoa/doc/html/_i_r_c_client_channel_8h-source.html' removed 'cocoa/doc/html/doxygen.css' removed 'cocoa/doc/html/class_n_s_object_07_i_r_c_client_channel_delegate_08-members.html' removed 'cocoa/doc/html/_i_r_c_client_session_8h-source.html' removed 'cocoa/doc/html/files.html' removed 'cocoa/doc/html/interface_i_r_c_client_session.png' removed 'cocoa/doc/html/_i_r_c_client_session_8h.html' removed 'cocoa/doc/html/interface_i_r_c_client_session.html' removed 'cocoa/doc/html/_i_r_c_client_channel_8h.html' removed 'cocoa/doc/html/_d_d_invocation_grabber_8h-source.html' removed 'cocoa/doc/html/doxygen.png' removed 'cocoa/doc/html/tabs.css' removed 'cocoa/doc/html/functions.html' removed directory 'cocoa/doc/html' removed directory 'cocoa/doc' removed 'cocoa/Doxyfile' removed 'cocoa/README' removed 'cocoa/Classes/IRCClientChannel.h' removed 'cocoa/Classes/IRCClientSession.h' removed 'cocoa/Classes/NSObject+DDExtensions.m' removed 'cocoa/Classes/NSObject+DDExtensions.h' removed 'cocoa/Classes/IRCClientChannel.m' removed 'cocoa/Classes/DDInvocationGrabber.h' removed 'cocoa/Classes/IRCClientSession.m' removed 'cocoa/Classes/IRCClientChannelDelegate.h' removed 'cocoa/Classes/IRCClientSessionDelegate.h' removed 'cocoa/Classes/DDInvocationGrabber.m' removed directory 'cocoa/Classes' removed 'cocoa/IRCClient_Prefix.pch' removed directory 'cocoa' Patch #0 (libircclient-rfc.patch): + echo 'Patch #0 (libircclient-rfc.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file include/libircclient.h Patch #1 (libircclient-1.8-nostrip.patch): + echo 'Patch #1 (libircclient-1.8-nostrip.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file src/Makefile.in + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.MOCUlA + 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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + 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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + 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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd libircclient-1.8 + 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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + 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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + 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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + '[' '-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 + mv ./configure.backup ./configure + /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 --- ./configure.backup 2022-11-03 22:47:26.614339375 +0000 +++ ./configure 2022-11-03 22:47:26.639339664 +0000 @@ -1802,7 +1802,7 @@ #ifdef __cplusplus extern "C" #endif -char $2 (); +__attribute__ ((used)) char $2 (); /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ + /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/redhat/redhat-hardened-ld' ']' ++ find . -name ltmain.sh ++ grep -q runstatedir=DIR ./configure + ./configure --build=x86_64-redhat-linux-gnu --host=x86_64-redhat-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 --enable-shared --enable-threads --enable-openssl --enable-ipv6 configure: WARNING: unrecognized options: --disable-dependency-tracking checking whether the C++ compiler works... yes checking for C++ compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking for x86_64-redhat-linux-gnu-gcc... gcc checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking for x86_64-redhat-linux-gnu-ar... no checking for ar... ar checking for x86_64-redhat-linux-gnu-ranlib... no checking for ranlib... ranlib checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for stdbool.h that conforms to C99... yes checking for _Bool... yes checking for an ANSI C-conforming const... yes checking for size_t... yes checking whether time.h and sys/time.h may both be included... yes checking for stdlib.h... (cached) yes checking for GNU libc compatible malloc... yes checking sys/select.h usability... yes checking sys/select.h presence... yes checking for sys/select.h... yes checking sys/socket.h usability... yes checking sys/socket.h presence... yes checking for sys/socket.h... yes checking types of arguments for select... int,fd_set *,struct timeval * checking whether lstat correctly handles trailing slash... yes checking whether stat accepts an empty string... no checking for localtime_r... yes checking for socket... yes checking for socket in -lsocket... no checking for getaddrinfo... yes checking for inet_pton... yes checking for getaddrinfo in -lnsl... no checking For MinGW32... no checking for CRYPTO_new_ex_data in -lcrypto... yes checking for SSL_CTX_new in -lssl... yes checking openssl/ssl.h usability... yes checking openssl/ssl.h presence... yes checking for openssl/ssl.h... yes configure: creating ./config.status config.status: creating examples/Makefile config.status: creating src/Makefile config.status: creating src/config.h configure: WARNING: unrecognized options: --disable-dependency-tracking + make -j2 for subdir in src examples; do \ make -C $subdir || exit 1; \ done make[1]: Entering directory '/builddir/build/BUILD/libircclient-1.8/src' gcc -Wall -DIN_BUILDING_LIBIRC -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -O3 -fpic -DENABLE_IPV6 -DENABLE_THREADS -D_REENTRANT -DENABLE_SSL -I../include -c -o libircclient.o libircclient.c In file included from libircclient.c:18: sockets.c: In function 'socket_connect': sockets.c:104:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 104 | if ( socket_error() == EINTR ) | ^~ sockets.c:107:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 107 | if ( socket_error() != EINPROGRESS && socket_error() != EWOULDBLOCK ) | ^~ sockets.c: In function 'socket_accept': sockets.c:120:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 120 | if ( socket_error() == EINTR ) | ^~ sockets.c:123:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 123 | return 1; | ^~~~~~ libircclient.c: In function 'irc_process_select_descriptors': libircclient.c:834:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 834 | if ( gethostname (hname, sizeof(hname)) < 0 ) | ^~ libircclient.c:838:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 838 | if ( session->server_password ) | ^~ In file included from libircclient.c:27: ssl.c: At top level: ssl.c:76:22: warning: 'cb_openssl_id_function' defined but not used [-Wunused-function] 76 | static unsigned long cb_openssl_id_function() | ^~~~~~~~~~~~~~~~~~~~~~ ssl.c:64:13: warning: 'cb_openssl_locking_function' defined but not used [-Wunused-function] 64 | static void cb_openssl_locking_function( int mode, int n, const char * file, int line ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from libircclient.c:25: In function 'libirc_colorparser_addorcat', inlined from 'libirc_colorparser_applymask' at colors.c:73:3, inlined from 'libirc_colorparser_closetags' at colors.c:102:3: colors.c:49:28: warning: argument 1 null where non-null expected [-Wnonnull] 49 | unsigned int len = strlen(str); | ^~~~~~~~~~~ In file included from portable.c:20, from libircclient.c:17: /usr/include/string.h: In function 'libirc_colorparser_closetags': /usr/include/string.h:407:15: note: in a call to function 'strlen' declared 'nonnull' 407 | extern size_t strlen (const char *__s) | ^~~~~~ In file included from /usr/include/string.h:535: In function 'strcpy', inlined from 'libirc_colorparser_addorcat' at colors.c:53:3, inlined from 'libirc_colorparser_applymask' at colors.c:73:3, inlined from 'libirc_colorparser_closetags' at colors.c:102:3: /usr/include/bits/string_fortified.h:79:10: warning: argument 2 null where non-null expected [-Wnonnull] 79 | return __builtin___strcpy_chk (__dest, __src, __glibc_objsize (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/bits/string_fortified.h:79:10: note: in a call to built-in function 'strcpy' In function 'libirc_colorparser_addorcat', inlined from 'libirc_colorparser_applymask' at colors.c:73:3, inlined from 'libirc_colorparser_closetags' at colors.c:105:3: colors.c:49:28: warning: argument 1 null where non-null expected [-Wnonnull] 49 | unsigned int len = strlen(str); | ^~~~~~~~~~~ /usr/include/string.h: In function 'libirc_colorparser_closetags': /usr/include/string.h:407:15: note: in a call to function 'strlen' declared 'nonnull' 407 | extern size_t strlen (const char *__s) | ^~~~~~ In function 'strcpy', inlined from 'libirc_colorparser_addorcat' at colors.c:53:3, inlined from 'libirc_colorparser_applymask' at colors.c:73:3, inlined from 'libirc_colorparser_closetags' at colors.c:105:3: /usr/include/bits/string_fortified.h:79:10: warning: argument 2 null where non-null expected [-Wnonnull] 79 | return __builtin___strcpy_chk (__dest, __src, __glibc_objsize (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/bits/string_fortified.h:79:10: note: in a call to built-in function 'strcpy' In function 'libirc_colorparser_addorcat', inlined from 'libirc_colorparser_applymask' at colors.c:73:3, inlined from 'libirc_colorparser_closetags' at colors.c:108:3: colors.c:49:28: warning: argument 1 null where non-null expected [-Wnonnull] 49 | unsigned int len = strlen(str); | ^~~~~~~~~~~ /usr/include/string.h: In function 'libirc_colorparser_closetags': /usr/include/string.h:407:15: note: in a call to function 'strlen' declared 'nonnull' 407 | extern size_t strlen (const char *__s) | ^~~~~~ In function 'strcpy', inlined from 'libirc_colorparser_addorcat' at colors.c:53:3, inlined from 'libirc_colorparser_applymask' at colors.c:73:3, inlined from 'libirc_colorparser_closetags' at colors.c:108:3: /usr/include/bits/string_fortified.h:79:10: warning: argument 2 null where non-null expected [-Wnonnull] 79 | return __builtin___strcpy_chk (__dest, __src, __glibc_objsize (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/bits/string_fortified.h:79:10: note: in a call to built-in function 'strcpy' In function 'libirc_colorparser_addorcat', inlined from 'libirc_colorparser_applymask' at colors.c:73:3, inlined from 'libirc_colorparser_closetags' at colors.c:111:3: colors.c:49:28: warning: argument 1 null where non-null expected [-Wnonnull] 49 | unsigned int len = strlen(str); | ^~~~~~~~~~~ /usr/include/string.h: In function 'libirc_colorparser_closetags': /usr/include/string.h:407:15: note: in a call to function 'strlen' declared 'nonnull' 407 | extern size_t strlen (const char *__s) | ^~~~~~ In function 'strcpy', inlined from 'libirc_colorparser_addorcat' at colors.c:53:3, inlined from 'libirc_colorparser_applymask' at colors.c:73:3, inlined from 'libirc_colorparser_closetags' at colors.c:111:3: /usr/include/bits/string_fortified.h:79:10: warning: argument 2 null where non-null expected [-Wnonnull] 79 | return __builtin___strcpy_chk (__dest, __src, __glibc_objsize (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/bits/string_fortified.h:79:10: note: in a call to built-in function 'strcpy' In file included from libircclient.c:26: In function 'libirc_dcc_add_descriptors', inlined from 'irc_add_select_descriptors' at libircclient.c:491:2, inlined from 'irc_add_select_descriptors' at libircclient.c:456:5: dcc.c:134:25: warning: pointer 'dcc_277' used after 'free' [-Wuse-after-free] 134 | if ( dcc->state == LIBIRC_STATE_CONNECTED | ~~~^~~~~~~ In function 'libirc_remove_dcc_session', inlined from 'libirc_dcc_add_descriptors' at dcc.c:127:4, inlined from 'irc_add_select_descriptors' at libircclient.c:491:2, inlined from 'irc_add_select_descriptors' at libircclient.c:456:5: dcc.c:90:9: note: call to 'free' here 90 | free (dcc); | ^~~~~~~~~~ gcc -shared -Wl,-soname,libircclient.so.1 -o libircclient.so libircclient.o -lssl -lcrypto make[1]: Leaving directory '/builddir/build/BUILD/libircclient-1.8/src' make[1]: Entering directory '/builddir/build/BUILD/libircclient-1.8/examples' Compiling spammer.c Compiling censor.cpp Compiling irctest.c Compiling ircftp.cpp Compiling colors.cpp gcc -o spammer spammer.o -L../src/ -lircclient -lpthread -lssl -lcrypto g++ -o censor censor.o -L../src/ -lircclient -lpthread -lssl -lcrypto gcc -o irctest irctest.o -L../src/ -lircclient -lpthread -lssl -lcrypto g++ -o ircftp ircftp.o -L../src/ -lircclient -lpthread -lssl -lcrypto g++ -o colors colors.o -L../src/ -lircclient -lpthread -lssl -lcrypto make[1]: Leaving directory '/builddir/build/BUILD/libircclient-1.8/examples' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.S0F2LZ + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/libircclient-1.8-22.fc38.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/libircclient-1.8-22.fc38.x86_64 ++ dirname /builddir/build/BUILDROOT/libircclient-1.8-22.fc38.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/libircclient-1.8-22.fc38.x86_64 + 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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + 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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + 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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd libircclient-1.8 + make install DESTDIR=/builddir/build/BUILDROOT/libircclient-1.8-22.fc38.x86_64 for subdir in src examples; do \ make -C $subdir || exit 1; \ done make[1]: Entering directory '/builddir/build/BUILD/libircclient-1.8/src' make[1]: Nothing to be done for 'all'. make[1]: Leaving directory '/builddir/build/BUILD/libircclient-1.8/src' make[1]: Entering directory '/builddir/build/BUILD/libircclient-1.8/examples' make[1]: Nothing to be done for 'all'. make[1]: Leaving directory '/builddir/build/BUILD/libircclient-1.8/examples' cd src && make install make[1]: Entering directory '/builddir/build/BUILD/libircclient-1.8/src' mkdir -p /builddir/build/BUILDROOT/libircclient-1.8-22.fc38.x86_64/usr/include mkdir -p /builddir/build/BUILDROOT/libircclient-1.8-22.fc38.x86_64/usr/lib64 cp ../include/libircclient.h /builddir/build/BUILDROOT/libircclient-1.8-22.fc38.x86_64/usr/include/libircclient.h cp ../include/libirc_errors.h /builddir/build/BUILDROOT/libircclient-1.8-22.fc38.x86_64/usr/include/libirc_errors.h cp ../include/libirc_events.h /builddir/build/BUILDROOT/libircclient-1.8-22.fc38.x86_64/usr/include/libirc_events.h cp ../include/libirc_options.h /builddir/build/BUILDROOT/libircclient-1.8-22.fc38.x86_64/usr/include/libirc_options.h cp ../include/libirc_rfcnumeric.h /builddir/build/BUILDROOT/libircclient-1.8-22.fc38.x86_64/usr/include/libirc_rfcnumeric.h cp libircclient.so /builddir/build/BUILDROOT/libircclient-1.8-22.fc38.x86_64/usr/lib64/libircclient.so.1 ln -fs libircclient.so.1 /builddir/build/BUILDROOT/libircclient-1.8-22.fc38.x86_64/usr/lib64/libircclient.so make[1]: Leaving directory '/builddir/build/BUILD/libircclient-1.8/src' + mkdir -p /builddir/build/BUILDROOT/libircclient-1.8-22.fc38.x86_64/usr/share/man/man1 + cp -p man/libircclient.1 /builddir/build/BUILDROOT/libircclient-1.8-22.fc38.x86_64/usr/share/man/man1 + /usr/bin/find-debuginfo -j2 --strict-build-id -m -i --build-id-seed 1.8-22.fc38 --unique-debug-suffix -1.8-22.fc38.x86_64 --unique-debug-src-base libircclient-1.8-22.fc38.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -S debugsourcefiles.list /builddir/build/BUILD/libircclient-1.8 extracting debug info from /builddir/build/BUILDROOT/libircclient-1.8-22.fc38.x86_64/usr/lib64/libircclient.so.1 original debug info size: 136kB, size after compression: 128kB /usr/bin/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. 324 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/redhat/brp-mangle-shebangs + /usr/lib/rpm/brp-remove-la-files + /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/redhat/brp-python-hardlink Processing files: libircclient-1.8-22.fc38.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.o5Gso8 + umask 022 + cd /builddir/build/BUILD + cd libircclient-1.8 + DOCDIR=/builddir/build/BUILDROOT/libircclient-1.8-22.fc38.x86_64/usr/share/doc/libircclient + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/libircclient-1.8-22.fc38.x86_64/usr/share/doc/libircclient + cp -pr Changelog /builddir/build/BUILDROOT/libircclient-1.8-22.fc38.x86_64/usr/share/doc/libircclient + cp -pr THANKS /builddir/build/BUILDROOT/libircclient-1.8-22.fc38.x86_64/usr/share/doc/libircclient + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.YjtVME + umask 022 + cd /builddir/build/BUILD + cd libircclient-1.8 + LICENSEDIR=/builddir/build/BUILDROOT/libircclient-1.8-22.fc38.x86_64/usr/share/licenses/libircclient + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/libircclient-1.8-22.fc38.x86_64/usr/share/licenses/libircclient + cp -pr LICENSE /builddir/build/BUILDROOT/libircclient-1.8-22.fc38.x86_64/usr/share/licenses/libircclient + RPM_EC=0 ++ jobs -p + exit 0 Provides: libircclient = 1.8-22.fc38 libircclient(x86-64) = 1.8-22.fc38 libircclient.so.1()(64bit) Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libc.so.6()(64bit) libc.so.6(GLIBC_2.14)(64bit) libc.so.6(GLIBC_2.15)(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.3)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.4)(64bit) libc.so.6(GLIBC_2.7)(64bit) libcrypto.so.3()(64bit) libcrypto.so.3(OPENSSL_3.0.0)(64bit) libssl.so.3()(64bit) libssl.so.3(OPENSSL_3.0.0)(64bit) rtld(GNU_HASH) Processing files: libircclient-devel-1.8-22.fc38.x86_64 Provides: libircclient-devel = 1.8-22.fc38 libircclient-devel(x86-64) = 1.8-22.fc38 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libircclient.so.1()(64bit) Processing files: libircclient-debugsource-1.8-22.fc38.x86_64 Provides: libircclient-debugsource = 1.8-22.fc38 libircclient-debugsource(x86-64) = 1.8-22.fc38 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: libircclient-debuginfo-1.8-22.fc38.x86_64 Provides: debuginfo(build-id) = 619e9bb2fe93ace75142d7f2ac9515764759e630 libircclient-debuginfo = 1.8-22.fc38 libircclient-debuginfo(x86-64) = 1.8-22.fc38 libircclient.so.1-1.8-22.fc38.x86_64.debug()(64bit) Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: libircclient-debugsource(x86-64) = 1.8-22.fc38 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/libircclient-1.8-22.fc38.x86_64 Wrote: /builddir/build/RPMS/libircclient-devel-1.8-22.fc38.x86_64.rpm Wrote: /builddir/build/RPMS/libircclient-debugsource-1.8-22.fc38.x86_64.rpm Wrote: /builddir/build/RPMS/libircclient-1.8-22.fc38.x86_64.rpm Wrote: /builddir/build/RPMS/libircclient-debuginfo-1.8-22.fc38.x86_64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.SnNvYu + umask 022 + cd /builddir/build/BUILD + cd libircclient-1.8 + /usr/bin/rm -rf /builddir/build/BUILDROOT/libircclient-1.8-22.fc38.x86_64 + RPM_EC=0 ++ jobs -p + exit 0 Executing(rmbuild): /bin/sh -e /var/tmp/rpm-tmp.RihIA8 + umask 022 + cd /builddir/build/BUILD + rm -rf libircclient-1.8 libircclient-1.8.gemspec + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0