Mock Version: 2.9 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/freight-tools.spec'], chrootPath='/var/lib/mock/fedora-rawhide-x86_64-1616608429.599959/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.czcjtm5e:/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.czcjtm5e:/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', '118cfd5a29a24c74bd8b7bc359b5a685', '-D', '/var/lib/mock/fedora-rawhide-x86_64-1616608429.599959/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.czcjtm5e:/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/freight-tools.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'} and shell False Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1614643200 Wrote: /builddir/build/SRPMS/freight-tools-0-18.20151221gitaa7fe1c1.fc35.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/freight-tools.spec'], chrootPath='/var/lib/mock/fedora-rawhide-x86_64-1616608429.599959/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.czcjtm5e:/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.czcjtm5e:/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', 'd7475de6753345f88047a8aeefc4cc43', '-D', '/var/lib/mock/fedora-rawhide-x86_64-1616608429.599959/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.czcjtm5e:/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/freight-tools.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'} and shell False Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1614643200 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.SFeZ4L + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf freight-tools + /usr/bin/gzip -dc /builddir/build/SOURCES/freight-tools-20151221gitaa7fe1c1.tgz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd freight-tools + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (xmlrpc-buildfix.patch):' Patch #0 (xmlrpc-buildfix.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file src/freight-agent/freightproxy_main.c patching file src/freight-agent/xmlrpc_client.c + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.u4K8MO + umask 022 + cd /builddir/build/BUILD + cd freight-tools + ./autogen.sh configure.ac:12: installing './compile' configure.ac:6: installing './install-sh' configure.ac:6: installing './missing' src/freight-agent/Makefile.am: installing './depcomp' configure.ac:37: warning: AC_OUTPUT should be used without arguments. configure.ac:37: You should run autoupdate. + 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 ' + 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 2021-03-24 17:54:19.019757343 +0000 +++ ./configure 2021-03-24 17:54:19.040757387 +0000 @@ -1699,7 +1699,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 + ./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 checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a race-free mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking for x86_64-redhat-linux-gnu-gcc... gcc 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 the compiler supports GNU C... yes checking whether gcc accepts -g... yes checking for gcc option to enable C11 features... none needed checking whether gcc understands -c and -o together... yes checking whether make supports the include directive... yes (GNU style) checking dependency style of gcc... none checking for stdio.h... yes checking for stdlib.h... yes checking for string.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for strings.h... yes checking for sys/stat.h... yes checking for sys/types.h... yes checking for unistd.h... yes checking for stdlib.h... (cached) yes checking for ftw.h... yes checking for x86_64-redhat-linux-gnu-pkg-config... /usr/bin/x86_64-redhat-linux-gnu-pkg-config checking pkg-config is at least version 0.9.0... yes checking for libpq... yes checking for libconfig... yes checking for libsqlite3... yes checking for xmlrpc... yes checking for xmlrpc_util... yes checking for xmlrpc_abyss... yes checking for xmlrpc_server_abyss... yes checking for xmlrpc_client... yes checking for xmlrpc_server... yes checking for getopt_long... yes checking for nftw... yes checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating src/freight-builder/Makefile config.status: creating src/freight-agent/Makefile config.status: creating src/tests/Makefile config.status: creating config.h config.status: executing depfiles commands + make -j2 make all-recursive make[1]: Entering directory '/builddir/build/BUILD/freight-tools' Making all in . make[2]: Entering directory '/builddir/build/BUILD/freight-tools' make[2]: Leaving directory '/builddir/build/BUILD/freight-tools' Making all in src make[2]: Entering directory '/builddir/build/BUILD/freight-tools/src' Making all in . make[3]: Entering directory '/builddir/build/BUILD/freight-tools/src' make[3]: Nothing to be done for 'all-am'. make[3]: Leaving directory '/builddir/build/BUILD/freight-tools/src' Making all in freight-builder make[3]: Entering directory '/builddir/build/BUILD/freight-tools/src/freight-builder' gcc -DHAVE_CONFIG_H -I. -I../.. -Wall -O2 -D_GNU_SOURCE -I../../src/include/ -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 -c -o main.o main.c gcc -DHAVE_CONFIG_H -I. -I../.. -Wall -O2 -D_GNU_SOURCE -I../../src/include/ -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 -c -o manifest.o manifest.c gcc -DHAVE_CONFIG_H -I. -I../.. -Wall -O2 -D_GNU_SOURCE -I../../src/include/ -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 -c -o package.o package.c gcc -DHAVE_CONFIG_H -I. -I../.. -Wall -O2 -D_GNU_SOURCE -I../../src/include/ -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 -c -o dnf.o dnf.c gcc -DHAVE_CONFIG_H -I. -I../.. -Wall -O2 -D_GNU_SOURCE -I../../src/include/ -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 -c -o ../freight-common.o ../freight-common.c dnf.c: In function 'get_nvr_from_rpm': dnf.c:117:9: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 117 | fgets(name, 128, cmout); | ^~~~~~~~~~~~~~~~~~~~~~~ dnf.c:128:9: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 128 | fgets(version, 128, cmout); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ dnf.c:139:9: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 139 | fgets(release, 128, cmout); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ dnf.c: In function 'yum_init': dnf.c:204:9: warning: ignoring return value of 'getcwd' declared with attribute 'warn_unused_result' [-Wunused-result] 204 | getcwd(path, 1024); | ^~~~~~~~~~~~~~~~~~ dnf.c:207:9: warning: ignoring return value of 'getcwd' declared with attribute 'warn_unused_result' [-Wunused-result] 207 | getcwd(path, 256); | ^~~~~~~~~~~~~~~~~ gcc -Wall -O2 -D_GNU_SOURCE -I../../src/include/ -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 -lconfig -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o freight-builder main.o manifest.o package.o dnf.o ../freight-common.o make[3]: Leaving directory '/builddir/build/BUILD/freight-tools/src/freight-builder' Making all in freight-agent make[3]: Entering directory '/builddir/build/BUILD/freight-tools/src/freight-agent' gcc -DHAVE_CONFIG_H -I. -I../.. -Wall -O2 -D_GNU_SOURCE -I../../src/include/ -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 -c -o main.o main.c gcc -DHAVE_CONFIG_H -I. -I../.. -Wall -O2 -D_GNU_SOURCE -I../../src/include/ -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 -c -o freight-config.o freight-config.c In file included from /usr/include/string.h:519, from main.c:26: In function 'strncpy', inlined from 'main' at main.c:138:3: /usr/include/bits/string_fortified.h:95:10: warning: 'strncpy' specified bound 128 equals destination size [-Wstringop-truncation] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ freight-config.c: In function 'read_configuration': freight-config.c:186:9: warning: 'serverport' may be used uninitialized [-Wmaybe-uninitialized] 186 | free(serverport); | ^~~~~~~~~~~~~~~~ freight-config.c:170:15: note: 'serverport' was declared here 170 | char *serverport; | ^~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I../.. -Wall -O2 -D_GNU_SOURCE -I../../src/include/ -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 -c -o postgres-db.o postgres-db.c gcc -DHAVE_CONFIG_H -I. -I../.. -Wall -O2 -D_GNU_SOURCE -I../../src/include/ -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 -c -o sqlite-db.o sqlite-db.c gcc -DHAVE_CONFIG_H -I. -I../.. -Wall -O2 -D_GNU_SOURCE -I../../src/include/ -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 -c -o mode.o mode.c gcc -DHAVE_CONFIG_H -I. -I../.. -Wall -O2 -D_GNU_SOURCE -I../../src/include/ -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 -c -o freight-db.o freight-db.c mode.c: In function 'daemonize': mode.c:435:9: warning: ignoring return value of 'chdir' declared with attribute 'warn_unused_result' [-Wunused-result] 435 | chdir("/tmp"); | ^~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I../.. -Wall -O2 -D_GNU_SOURCE -I../../src/include/ -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 -c -o xmlrpc_client.o xmlrpc_client.c gcc -DHAVE_CONFIG_H -I. -I../.. -Wall -O2 -D_GNU_SOURCE -I../../src/include/ -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 -c -o freight-networks.o freight-networks.c gcc -DHAVE_CONFIG_H -I. -I../.. -Wall -O2 -D_GNU_SOURCE -I../../src/include/ -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 -c -o freight-net-addrs.o freight-net-addrs.c gcc -DHAVE_CONFIG_H -I. -I../.. -Wall -O2 -D_GNU_SOURCE -I../../src/include/ -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 -c -o freightctl-freightctl_main.o `test -f 'freightctl_main.c' || echo './'`freightctl_main.c gcc -DHAVE_CONFIG_H -I. -I../.. -Wall -O2 -D_GNU_SOURCE -I../../src/include/ -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 -c -o freightctl-freight-config.o `test -f 'freight-config.c' || echo './'`freight-config.c gcc -DHAVE_CONFIG_H -I. -I../.. -Wall -O2 -D_GNU_SOURCE -I../../src/include/ -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 -c -o freightctl-postgres-db.o `test -f 'postgres-db.c' || echo './'`postgres-db.c freight-config.c: In function 'read_configuration': freight-config.c:186:9: warning: 'serverport' may be used uninitialized [-Wmaybe-uninitialized] 186 | free(serverport); | ^~~~~~~~~~~~~~~~ freight-config.c:170:15: note: 'serverport' was declared here 170 | char *serverport; | ^~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I../.. -Wall -O2 -D_GNU_SOURCE -I../../src/include/ -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 -c -o freightctl-freight-db.o `test -f 'freight-db.c' || echo './'`freight-db.c gcc -DHAVE_CONFIG_H -I. -I../.. -Wall -O2 -D_GNU_SOURCE -I../../src/include/ -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 -c -o freightctl-xmlrpc_client.o `test -f 'xmlrpc_client.c' || echo './'`xmlrpc_client.c gcc -DHAVE_CONFIG_H -I. -I../.. -Wall -O2 -D_GNU_SOURCE -I../../src/include/ -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 -c -o freightctl-sqlite-db.o `test -f 'sqlite-db.c' || echo './'`sqlite-db.c gcc -DHAVE_CONFIG_H -I. -I../.. -Wall -O2 -D_GNU_SOURCE -I../../src/include/ -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 -c -o ../freightctl-freight-common.o `test -f '../freight-common.c' || echo './'`../freight-common.c gcc -DHAVE_CONFIG_H -I. -I../.. -Wall -O2 -D_GNU_SOURCE -I../../src/include/ -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 -c -o freightproxy-freightproxy_main.o `test -f 'freightproxy_main.c' || echo './'`freightproxy_main.c freightproxy_main.c: In function 'RequestAuthFromDb': freightproxy_main.c:308:20: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 308 | authHdrPtr = RequestHeaderValue(sessionP, "authorization"); | ^ freightproxy_main.c: In function 'processContentLength': freightproxy_main.c:84:13: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 84 | asprintf((char **)errorP, "The value in your content-length " | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 85 | "HTTP header value is a null string"); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ freightproxy_main.c:93:17: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 93 | asprintf((char **)errorP, "There's non-numeric crap in " | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 94 | "the value of your content-length " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 95 | "HTTP header: '%s'", tail); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ freightproxy_main.c:97:17: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 97 | asprintf((char **)errorP, "According to your content-length " | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 98 | "HTTP header, your request is empty (zero " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 99 | "length)"); | ~~~~~~~~~~ freightproxy_main.c:102:17: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 102 | asprintf((char **)errorP, "According to your content-length " | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 103 | "HTTP header, your request is too big to " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 104 | "process; we can't even do arithmetic on its " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 105 | "size: %s bytes", content_length); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I../.. -Wall -O2 -D_GNU_SOURCE -I../../src/include/ -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 -c -o freightproxy-freight-config.o `test -f 'freight-config.c' || echo './'`freight-config.c gcc -DHAVE_CONFIG_H -I. -I../.. -Wall -O2 -D_GNU_SOURCE -I../../src/include/ -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 -c -o freightproxy-freight-db.o `test -f 'freight-db.c' || echo './'`freight-db.c freight-config.c: In function 'read_configuration': freight-config.c:186:9: warning: 'serverport' may be used uninitialized [-Wmaybe-uninitialized] 186 | free(serverport); | ^~~~~~~~~~~~~~~~ freight-config.c:170:15: note: 'serverport' was declared here 170 | char *serverport; | ^~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I../.. -Wall -O2 -D_GNU_SOURCE -I../../src/include/ -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 -c -o ../freightproxy-freight-common.o `test -f '../freight-common.c' || echo './'`../freight-common.c gcc -DHAVE_CONFIG_H -I. -I../.. -Wall -O2 -D_GNU_SOURCE -I../../src/include/ -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 -c -o freightproxy-postgres-db.o `test -f 'postgres-db.c' || echo './'`postgres-db.c gcc -DHAVE_CONFIG_H -I. -I../.. -Wall -O2 -D_GNU_SOURCE -I../../src/include/ -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 -c -o freightproxy-sqlite-db.o `test -f 'sqlite-db.c' || echo './'`sqlite-db.c gcc -DHAVE_CONFIG_H -I. -I../.. -Wall -O2 -D_GNU_SOURCE -I../../src/include/ -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 -c -o freightproxy-proxy_handlers.o `test -f 'proxy_handlers.c' || echo './'`proxy_handlers.c gcc -DHAVE_CONFIG_H -I. -I../.. -Wall -O2 -D_GNU_SOURCE -I../../src/include/ -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 -c -o freightproxy-xmlrpc_client.o `test -f 'xmlrpc_client.c' || echo './'`xmlrpc_client.c gcc -Wall -O2 -D_GNU_SOURCE -I../../src/include/ -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 -lpq -lconfig -lsqlite3 -lpthread -lxmlrpc_client -lxmlrpc_util -lxmlrpc -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o freight-agent main.o freight-config.o postgres-db.o sqlite-db.o mode.o freight-db.o xmlrpc_client.o freight-networks.o freight-net-addrs.o ../freight-common.o gcc -Wall -O2 -D_GNU_SOURCE -I../../src/include/ -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 -lpq -lconfig -lsqlite3 -lpthread -lxmlrpc_client -lxmlrpc_util -lxmlrpc -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o freightctl freightctl-freightctl_main.o freightctl-freight-config.o freightctl-postgres-db.o freightctl-freight-db.o freightctl-xmlrpc_client.o freightctl-sqlite-db.o ../freightctl-freight-common.o gcc -Wall -O2 -D_GNU_SOURCE -I../../src/include/ -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 -lpq -lconfig -lsqlite3 -lpthread -lxmlrpc -lxmlrpc_abyss -lxmlrpc_util -lxmlrpc_client -lxmlrpc_server -lxmlrpc_server_abyss -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o freightproxy freightproxy-freightproxy_main.o freightproxy-freight-config.o freightproxy-freight-db.o ../freightproxy-freight-common.o freightproxy-postgres-db.o freightproxy-sqlite-db.o freightproxy-proxy_handlers.o freightproxy-xmlrpc_client.o make[3]: Leaving directory '/builddir/build/BUILD/freight-tools/src/freight-agent' Making all in tests make[3]: Entering directory '/builddir/build/BUILD/freight-tools/src/tests' gcc -DHAVE_CONFIG_H -I. -I../.. -Wall -O2 -D_GNU_SOURCE -I../../src/include/ -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 -c -o test-int.o test-int.c gcc -Wall -O2 -D_GNU_SOURCE -I../../src/include/ -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 -lconfig -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o test-int test-int.o ../freight-common.o make[3]: Leaving directory '/builddir/build/BUILD/freight-tools/src/tests' make[2]: Leaving directory '/builddir/build/BUILD/freight-tools/src' make[1]: Leaving directory '/builddir/build/BUILD/freight-tools' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.W2rPez + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/freight-tools-0-18.20151221gitaa7fe1c1.fc35.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/freight-tools-0-18.20151221gitaa7fe1c1.fc35.x86_64 ++ dirname /builddir/build/BUILDROOT/freight-tools-0-18.20151221gitaa7fe1c1.fc35.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/freight-tools-0-18.20151221gitaa7fe1c1.fc35.x86_64 + cd freight-tools + /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/freight-tools-0-18.20151221gitaa7fe1c1.fc35.x86_64 'INSTALL=/usr/bin/install -p' Making install in . make[1]: Entering directory '/builddir/build/BUILD/freight-tools' make[2]: Entering directory '/builddir/build/BUILD/freight-tools' make[2]: Nothing to be done for 'install-exec-am'. /usr/bin/mkdir -p '/builddir/build/BUILDROOT/freight-tools-0-18.20151221gitaa7fe1c1.fc35.x86_64/usr/share/man/man1' /usr/bin/install -p -m 644 doc/freight-builder.1 doc/freight-agent.1 doc/freightproxy.1 doc/freightctl.1 doc/freight-network-config.1 '/builddir/build/BUILDROOT/freight-tools-0-18.20151221gitaa7fe1c1.fc35.x86_64/usr/share/man/man1' make[2]: Leaving directory '/builddir/build/BUILD/freight-tools' make[1]: Leaving directory '/builddir/build/BUILD/freight-tools' Making install in src make[1]: Entering directory '/builddir/build/BUILD/freight-tools/src' Making install in . make[2]: Entering directory '/builddir/build/BUILD/freight-tools/src' make[3]: Entering directory '/builddir/build/BUILD/freight-tools/src' make[3]: Nothing to be done for 'install-exec-am'. make[3]: Nothing to be done for 'install-data-am'. make[3]: Leaving directory '/builddir/build/BUILD/freight-tools/src' make[2]: Leaving directory '/builddir/build/BUILD/freight-tools/src' Making install in freight-builder make[2]: Entering directory '/builddir/build/BUILD/freight-tools/src/freight-builder' make[3]: Entering directory '/builddir/build/BUILD/freight-tools/src/freight-builder' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/freight-tools-0-18.20151221gitaa7fe1c1.fc35.x86_64/usr/bin' /usr/bin/install -p freight-builder '/builddir/build/BUILDROOT/freight-tools-0-18.20151221gitaa7fe1c1.fc35.x86_64/usr/bin' make[3]: Nothing to be done for 'install-data-am'. make[3]: Leaving directory '/builddir/build/BUILD/freight-tools/src/freight-builder' make[2]: Leaving directory '/builddir/build/BUILD/freight-tools/src/freight-builder' Making install in freight-agent make[2]: Entering directory '/builddir/build/BUILD/freight-tools/src/freight-agent' make[3]: Entering directory '/builddir/build/BUILD/freight-tools/src/freight-agent' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/freight-tools-0-18.20151221gitaa7fe1c1.fc35.x86_64/usr/bin' /usr/bin/install -p freight-agent freightctl freightproxy '/builddir/build/BUILDROOT/freight-tools-0-18.20151221gitaa7fe1c1.fc35.x86_64/usr/bin' make[3]: Nothing to be done for 'install-data-am'. make[3]: Leaving directory '/builddir/build/BUILD/freight-tools/src/freight-agent' make[2]: Leaving directory '/builddir/build/BUILD/freight-tools/src/freight-agent' Making install in tests make[2]: Entering directory '/builddir/build/BUILD/freight-tools/src/tests' make[3]: Entering directory '/builddir/build/BUILD/freight-tools/src/tests' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/freight-tools-0-18.20151221gitaa7fe1c1.fc35.x86_64/usr/bin' /usr/bin/install -p test-int '/builddir/build/BUILDROOT/freight-tools-0-18.20151221gitaa7fe1c1.fc35.x86_64/usr/bin' make[3]: Nothing to be done for 'install-data-am'. make[3]: Leaving directory '/builddir/build/BUILD/freight-tools/src/tests' make[2]: Leaving directory '/builddir/build/BUILD/freight-tools/src/tests' make[1]: Leaving directory '/builddir/build/BUILD/freight-tools/src' + rm -f /builddir/build/BUILDROOT/freight-tools-0-18.20151221gitaa7fe1c1.fc35.x86_64//usr/bin/test-int + install -m755 ./scripts/createfreightdb-pg.sh /builddir/build/BUILDROOT/freight-tools-0-18.20151221gitaa7fe1c1.fc35.x86_64//usr/bin + install -m755 ./scripts/createfreightdb-sqlite.sh /builddir/build/BUILDROOT/freight-tools-0-18.20151221gitaa7fe1c1.fc35.x86_64//usr/bin + install -m755 ./scripts/createtennant-pg.sh /builddir/build/BUILDROOT/freight-tools-0-18.20151221gitaa7fe1c1.fc35.x86_64//usr/bin + install -m755 ./scripts/createtennant-sqlite.sh /builddir/build/BUILDROOT/freight-tools-0-18.20151221gitaa7fe1c1.fc35.x86_64//usr/bin + mkdir -m755 -p /builddir/build/BUILDROOT/freight-tools-0-18.20151221gitaa7fe1c1.fc35.x86_64/var/lib/freight-agent + mkdir -m775 -p /builddir/build/BUILDROOT/freight-tools-0-18.20151221gitaa7fe1c1.fc35.x86_64/etc/freight-agent + install -m644 /builddir/build/SOURCES/freight-agent-node.config /builddir/build/BUILDROOT/freight-tools-0-18.20151221gitaa7fe1c1.fc35.x86_64/etc/freight-agent/freight-agent-node.config + install -m644 /builddir/build/SOURCES/freightctl-tennant.config /builddir/build/BUILDROOT/freight-tools-0-18.20151221gitaa7fe1c1.fc35.x86_64/etc/freight-agent/config + mkdir -m775 -p /builddir/build/BUILDROOT/freight-tools-0-18.20151221gitaa7fe1c1.fc35.x86_64/etc/sysconfig + mkdir -m775 -p /builddir/build/BUILDROOT/freight-tools-0-18.20151221gitaa7fe1c1.fc35.x86_64//usr/lib/systemd/system + install -m644 /builddir/build/SOURCES/freight-agent.service /builddir/build/BUILDROOT/freight-tools-0-18.20151221gitaa7fe1c1.fc35.x86_64//usr/lib/systemd/system + install -m644 /builddir/build/SOURCES/freight-agent.sysconfig /builddir/build/BUILDROOT/freight-tools-0-18.20151221gitaa7fe1c1.fc35.x86_64/etc/sysconfig/freight-agent + install -m644 /builddir/build/SOURCES/freightproxy.service /builddir/build/BUILDROOT/freight-tools-0-18.20151221gitaa7fe1c1.fc35.x86_64//usr/lib/systemd/system + install -m644 /builddir/build/SOURCES/freightproxy.sysconfig /builddir/build/BUILDROOT/freight-tools-0-18.20151221gitaa7fe1c1.fc35.x86_64/etc/sysconfig/freightproxy + install -m644 /builddir/build/SOURCES/freightproxy.config /builddir/build/BUILDROOT/freight-tools-0-18.20151221gitaa7fe1c1.fc35.x86_64/etc/freight-agent/freightproxy.config + /usr/lib/rpm/find-debuginfo.sh -j2 --strict-build-id -m -i --build-id-seed 0-18.20151221gitaa7fe1c1.fc35 --unique-debug-suffix -0-18.20151221gitaa7fe1c1.fc35.x86_64 --unique-debug-src-base freight-tools-0-18.20151221gitaa7fe1c1.fc35.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -S debugsourcefiles.list /builddir/build/BUILD/freight-tools explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/freight-tools-0-18.20151221gitaa7fe1c1.fc35.x86_64/usr/bin/freight-agent explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/freight-tools-0-18.20151221gitaa7fe1c1.fc35.x86_64/usr/bin/freight-builder extracting debug info from /builddir/build/BUILDROOT/freight-tools-0-18.20151221gitaa7fe1c1.fc35.x86_64/usr/bin/freight-builder extracting debug info from /builddir/build/BUILDROOT/freight-tools-0-18.20151221gitaa7fe1c1.fc35.x86_64/usr/bin/freight-agent explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/freight-tools-0-18.20151221gitaa7fe1c1.fc35.x86_64/usr/bin/freightctl extracting debug info from /builddir/build/BUILDROOT/freight-tools-0-18.20151221gitaa7fe1c1.fc35.x86_64/usr/bin/freightctl explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/freight-tools-0-18.20151221gitaa7fe1c1.fc35.x86_64/usr/bin/freightproxy extracting debug info from /builddir/build/BUILDROOT/freight-tools-0-18.20151221gitaa7fe1c1.fc35.x86_64/usr/bin/freightproxy original debug info size: 740kB, size after compression: 636kB /usr/lib/rpm/sepdebugcrcfix: Updated 4 CRC32s, 0 CRC32s did match. 392 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/redhat/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs mangling shebang in /usr/bin/createtennant-sqlite.sh from /bin/sh to #!/usr/bin/sh mangling shebang in /usr/bin/createtennant-pg.sh from /bin/sh to #!/usr/bin/sh mangling shebang in /usr/bin/createfreightdb-sqlite.sh from /bin/sh to #!/usr/bin/sh mangling shebang in /usr/bin/createfreightdb-pg.sh from /bin/sh to #!/usr/bin/sh Processing files: freight-tools-0-18.20151221gitaa7fe1c1.fc35.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.Qj827G + umask 022 + cd /builddir/build/BUILD + cd freight-tools + DOCDIR=/builddir/build/BUILDROOT/freight-tools-0-18.20151221gitaa7fe1c1.fc35.x86_64/usr/share/doc/freight-tools + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/freight-tools-0-18.20151221gitaa7fe1c1.fc35.x86_64/usr/share/doc/freight-tools + cp -pr README.md /builddir/build/BUILDROOT/freight-tools-0-18.20151221gitaa7fe1c1.fc35.x86_64/usr/share/doc/freight-tools + cp -pr doc/HOWTO.md /builddir/build/BUILDROOT/freight-tools-0-18.20151221gitaa7fe1c1.fc35.x86_64/usr/share/doc/freight-tools + cp -pr examples/test-configs examples/test-manifest examples/test-networks /builddir/build/BUILDROOT/freight-tools-0-18.20151221gitaa7fe1c1.fc35.x86_64/usr/share/doc/freight-tools + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.4gPjsT + umask 022 + cd /builddir/build/BUILD + cd freight-tools + LICENSEDIR=/builddir/build/BUILDROOT/freight-tools-0-18.20151221gitaa7fe1c1.fc35.x86_64/usr/share/licenses/freight-tools + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/freight-tools-0-18.20151221gitaa7fe1c1.fc35.x86_64/usr/share/licenses/freight-tools + cp -pr LICENSE /builddir/build/BUILDROOT/freight-tools-0-18.20151221gitaa7fe1c1.fc35.x86_64/usr/share/licenses/freight-tools + RPM_EC=0 ++ jobs -p + exit 0 Provides: config(freight-tools) = 0-18.20151221gitaa7fe1c1.fc35 freight-tools = 0-18.20151221gitaa7fe1c1.fc35 freight-tools(x86-64) = 0-18.20151221gitaa7fe1c1.fc35 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.15)(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.3.3)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.33)(64bit) libc.so.6(GLIBC_2.4)(64bit) libconfig.so.11()(64bit) libpq.so.5()(64bit) libpq.so.5(RHPG_9.6)(64bit) libpthread.so.0()(64bit) libpthread.so.0(GLIBC_2.2.5)(64bit) libsqlite3.so.0()(64bit) libxmlrpc.so.3()(64bit) libxmlrpc_client.so.3()(64bit) libxmlrpc_util.so.4()(64bit) rtld(GNU_HASH) Processing files: freight-tools-agent-0-18.20151221gitaa7fe1c1.fc35.x86_64 Provides: config(freight-tools-agent) = 0-18.20151221gitaa7fe1c1.fc35 freight-tools-agent = 0-18.20151221gitaa7fe1c1.fc35 freight-tools-agent(x86-64) = 0-18.20151221gitaa7fe1c1.fc35 Requires(interp): /bin/sh /bin/sh /bin/sh Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires(post): /bin/sh systemd-units Requires(preun): /bin/sh systemd-units Requires(postun): /bin/sh systemd-units Requires: /usr/bin/sh libc.so.6()(64bit) libc.so.6(GLIBC_2.15)(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.33)(64bit) libc.so.6(GLIBC_2.4)(64bit) libconfig.so.11()(64bit) libgcc_s.so.1()(64bit) libgcc_s.so.1(GCC_3.0)(64bit) libgcc_s.so.1(GCC_3.3.1)(64bit) libpq.so.5()(64bit) libpq.so.5(RHPG_9.6)(64bit) libpthread.so.0()(64bit) libpthread.so.0(GLIBC_2.2.5)(64bit) libsqlite3.so.0()(64bit) libxmlrpc.so.3()(64bit) libxmlrpc_client.so.3()(64bit) libxmlrpc_util.so.4()(64bit) rtld(GNU_HASH) Processing files: freight-tools-proxy-0-18.20151221gitaa7fe1c1.fc35.x86_64 Provides: config(freight-tools-proxy) = 0-18.20151221gitaa7fe1c1.fc35 freight-tools-proxy = 0-18.20151221gitaa7fe1c1.fc35 freight-tools-proxy(x86-64) = 0-18.20151221gitaa7fe1c1.fc35 Requires(interp): /bin/sh /bin/sh /bin/sh Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires(post): /bin/sh systemd-units Requires(preun): /bin/sh systemd-units Requires(postun): /bin/sh systemd-units Requires: libc.so.6()(64bit) libc.so.6(GLIBC_2.15)(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.33)(64bit) libc.so.6(GLIBC_2.4)(64bit) libc.so.6(GLIBC_2.8)(64bit) libconfig.so.11()(64bit) libpq.so.5()(64bit) libpq.so.5(RHPG_9.6)(64bit) libpthread.so.0()(64bit) libpthread.so.0(GLIBC_2.2.5)(64bit) libsqlite3.so.0()(64bit) libxmlrpc.so.3()(64bit) libxmlrpc_abyss.so.3()(64bit) libxmlrpc_client.so.3()(64bit) libxmlrpc_server.so.3()(64bit) libxmlrpc_server_abyss.so.3()(64bit) libxmlrpc_util.so.4()(64bit) rtld(GNU_HASH) Processing files: freight-tools-debugsource-0-18.20151221gitaa7fe1c1.fc35.x86_64 Provides: freight-tools-debugsource = 0-18.20151221gitaa7fe1c1.fc35 freight-tools-debugsource(x86-64) = 0-18.20151221gitaa7fe1c1.fc35 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: freight-tools-debuginfo-0-18.20151221gitaa7fe1c1.fc35.x86_64 Provides: debuginfo(build-id) = 8518314da3b830a186e40b309f529c003f399feb debuginfo(build-id) = d6feae3b1bff0f2f0f5f230259fc13392fde1971 freight-tools-debuginfo = 0-18.20151221gitaa7fe1c1.fc35 freight-tools-debuginfo(x86-64) = 0-18.20151221gitaa7fe1c1.fc35 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: freight-tools-debugsource(x86-64) = 0-18.20151221gitaa7fe1c1.fc35 Processing files: freight-tools-agent-debuginfo-0-18.20151221gitaa7fe1c1.fc35.x86_64 Provides: debuginfo(build-id) = ec3cf4b4f179ac6e3bd263b5400cb20bd4af30e7 freight-tools-agent-debuginfo = 0-18.20151221gitaa7fe1c1.fc35 freight-tools-agent-debuginfo(x86-64) = 0-18.20151221gitaa7fe1c1.fc35 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: freight-tools-debugsource(x86-64) = 0-18.20151221gitaa7fe1c1.fc35 Processing files: freight-tools-proxy-debuginfo-0-18.20151221gitaa7fe1c1.fc35.x86_64 Provides: debuginfo(build-id) = 819cd377f3898a6d9eb890294291e8ff581e3820 freight-tools-proxy-debuginfo = 0-18.20151221gitaa7fe1c1.fc35 freight-tools-proxy-debuginfo(x86-64) = 0-18.20151221gitaa7fe1c1.fc35 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: freight-tools-debugsource(x86-64) = 0-18.20151221gitaa7fe1c1.fc35 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/freight-tools-0-18.20151221gitaa7fe1c1.fc35.x86_64 Wrote: /builddir/build/RPMS/freight-tools-agent-debuginfo-0-18.20151221gitaa7fe1c1.fc35.x86_64.rpm Wrote: /builddir/build/RPMS/freight-tools-debuginfo-0-18.20151221gitaa7fe1c1.fc35.x86_64.rpm Wrote: /builddir/build/RPMS/freight-tools-proxy-debuginfo-0-18.20151221gitaa7fe1c1.fc35.x86_64.rpm Wrote: /builddir/build/RPMS/freight-tools-debugsource-0-18.20151221gitaa7fe1c1.fc35.x86_64.rpm Wrote: /builddir/build/RPMS/freight-tools-0-18.20151221gitaa7fe1c1.fc35.x86_64.rpm Wrote: /builddir/build/RPMS/freight-tools-agent-0-18.20151221gitaa7fe1c1.fc35.x86_64.rpm Wrote: /builddir/build/RPMS/freight-tools-proxy-0-18.20151221gitaa7fe1c1.fc35.x86_64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.B96kY2 + umask 022 + cd /builddir/build/BUILD + cd freight-tools + /usr/bin/rm -rf /builddir/build/BUILDROOT/freight-tools-0-18.20151221gitaa7fe1c1.fc35.x86_64 + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0