Mock Version: 2.11 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/upslug2.spec'], chrootPath='/var/lib/mock/fedora-rawhide-x86_64-1627070863.625574/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.22b2ak4c:/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.22b2ak4c:/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', '7e7a92df778b478fbfaf5a8426588a19', '-D', '/var/lib/mock/fedora-rawhide-x86_64-1627070863.625574/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.22b2ak4c:/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/upslug2.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 warning: Macro expanded in comment on line 11: %{svn_revision} http://svn.nslu2-linux.org/svnroot/upslug2/trunk %{name} warning: Macro expanded in comment on line 12: %{name}-svn-%{svn_revision}.tar.gz %{name} Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1626998400 Wrote: /builddir/build/SRPMS/upslug2-0.0-0.26.20071107.svn39.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/upslug2.spec'], chrootPath='/var/lib/mock/fedora-rawhide-x86_64-1627070863.625574/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.22b2ak4c:/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.22b2ak4c:/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', '1a5768e3f3a642518f0ce456c795a398', '-D', '/var/lib/mock/fedora-rawhide-x86_64-1627070863.625574/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.22b2ak4c:/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/upslug2.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 warning: Macro expanded in comment on line 11: %{svn_revision} http://svn.nslu2-linux.org/svnroot/upslug2/trunk %{name} warning: Macro expanded in comment on line 12: %{name}-svn-%{svn_revision}.tar.gz %{name} Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1626998400 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.Kc7qrj + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf upslug2 + /usr/bin/gzip -dc /builddir/build/SOURCES/upslug2-svn-39.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd upslug2 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + autoreconf -i configure.ac:8: warning: 'AM_CONFIG_HEADER': this macro is obsolete. configure.ac:8: You should use the 'AC_CONFIG_HEADERS' macro instead. ./lib/autoconf/general.m4:2434: AC_DIAGNOSE is expanded from... aclocal.m4:727: AM_CONFIG_HEADER is expanded from... configure.ac:8: the top level configure.ac:54: warning: The macro `AC_HEADER_STDC' is obsolete. configure.ac:54: You should run autoupdate. ./lib/autoconf/headers.m4:704: AC_HEADER_STDC is expanded from... configure.ac:54: the top level configure.ac:62: warning: The macro `AC_HEADER_TIME' is obsolete. configure.ac:62: You should run autoupdate. ./lib/autoconf/headers.m4:743: AC_HEADER_TIME is expanded from... configure.ac:62: the top level configure.ac:24: installing './compile' configure.ac:11: installing './config.guess' configure.ac:11: installing './config.sub' configure.ac:6: installing './install-sh' configure.ac:6: installing './missing' Makefile.am: installing './INSTALL' Makefile.am: installing './depcomp' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.iVCAUT + umask 022 + cd /builddir/build/BUILD + cd upslug2 + 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-07-23 20:10:13.457601033 +0000 +++ ./configure 2021-07-23 20:10:14.115589414 +0000 @@ -1831,7 +1831,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 + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ./config.sub ++ basename ./config.sub + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./config.sub '/usr/lib/rpm/redhat/config.sub' -> './config.sub' + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ./config.guess ++ basename ./config.guess + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./config.guess '/usr/lib/rpm/redhat/config.guess' -> './config.guess' + '[' 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 --with-libpcap 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 build system type... x86_64-redhat-linux-gnu checking host system type... x86_64-redhat-linux-gnu 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 g++ accepts -g... yes checking for g++ option to enable C++11 features... none needed checking whether make supports the include directive... yes (GNU style) checking dependency style of g++... none checking for x86_64-redhat-linux-gnu-gcc... gcc 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 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 sys/time.h... yes checking for sys/select.h... yes checking for sys/socket.h... yes checking for pcap.h... yes checking for pcap_open_live in -lpcap... yes checking for pcap_inject in -lpcap... yes checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for stdlib.h... (cached) yes checking for sys/ioctl.h... yes checking for sys/socket.h... (cached) yes checking for unistd.h... (cached) yes checking for _Bool... yes checking for stdbool.h that conforms to C99... yes checking for an ANSI C-conforming const... yes checking for inline... inline checking for size_t... yes checking how to run the C preprocessor... gcc -E checking for uid_t in sys/types.h... yes checking whether gcc needs -traditional... no checking for working memcmp... yes checking types of arguments for select... int,fd_set *,struct timeval * checking for memset... yes checking for select... yes checking for socket... yes checking for strerror... yes checking for strtoul... yes checking for getifaddrs... yes checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating config.h config.status: executing depfiles commands + make -j2 make all-am make[1]: Entering directory '/builddir/build/BUILD/upslug2' g++ -DHAVE_CONFIG_H -I. -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 linux_wire.o linux_wire.cc g++ -DHAVE_CONFIG_H -I. -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 pcap_wire.o pcap_wire.cc g++ -DHAVE_CONFIG_H -I. -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 nslu2_image.o nslu2_image.cc In file included from nslu2_upgrade.h:10, from pcap_wire.cc:48: nslu2_protocol.h: In member function 'bool NSLU2Protocol::SequenceNumber::Seen(int)': nslu2_protocol.h:233:34: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 233 | if (seen > (lastSent & 0xffff)) | ~~~~~^~~~~~~~~~~~~~~~~~~~~ nslu2_protocol.h:237:34: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 237 | if (seen > lastSeen) { | ~~~~~^~~~~~~~~~ nslu2_protocol.h:238:42: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 238 | if (seen <= lastSent) | ~~~~~^~~~~~~~~~~ pcap_wire.cc: In constructor 'NSLU2Upgrade::PCapWire::PCapWire(pcap_t*, const char*, const unsigned char*, const unsigned char*)': pcap_wire.cc:72:53: warning: overflow in conversion from 'NSLU2Protocol::Constant' to 'char' changes value from 'NSLU2Protocol::UpgradeProtocol' to ''\37777777610'' [-Woverflow] 72 | header[13] = NSLU2Protocol::UpgradeProtocol; | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ pcap_wire.cc: In destructor 'NSLU2Upgrade::EUID::~EUID()': pcap_wire.cc:270:34: warning: ignoring return value of 'int seteuid(__uid_t)' declared with attribute 'warn_unused_result' [-Wunused-result] 270 | ::seteuid(euid); | ~~~~~~~~~^~~~~~ In file included from nslu2_image.h:11, from nslu2_image.cc:11: nslu2_protocol.h: In member function 'bool NSLU2Protocol::SequenceNumber::Seen(int)': nslu2_protocol.h:233:34: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 233 | if (seen > (lastSent & 0xffff)) | ~~~~~^~~~~~~~~~~~~~~~~~~~~ nslu2_protocol.h:237:34: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 237 | if (seen > lastSeen) { | ~~~~~^~~~~~~~~~ nslu2_protocol.h:238:42: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 238 | if (seen <= lastSent) | ~~~~~^~~~~~~~~~~ nslu2_image.cc: In constructor 'NSLU2Image::SynthesiseImage::SynthesiseImage(char, char, char, const char*, bool, const char*, const char*, const char*, short unsigned int, short unsigned int, short unsigned int, short unsigned int)': nslu2_image.cc:205:26: warning: 'NSLU2Image::SynthesiseImage::little_endian_fis' will be initialized after [-Wreorder] 205 | bool little_endian_fis; /* Build a little endian FIS directory */ | ^~~~~~~~~~~~~~~~~ nslu2_image.cc:202:26: warning: 'int NSLU2Image::SynthesiseImage::segment_count' [-Wreorder] 202 | int segment_count; /* Count of Segment entries used */ | ^~~~~~~~~~~~~ nslu2_image.cc:258:1: warning: when initialized here [-Wreorder] 258 | NSLU2Image::SynthesiseImage::SynthesiseImage(char kernel_sex, char data_sex, | ^~~~~~~~~~ nslu2_image.cc:481:28: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 481 | if (buffer_pointer > sizeof buffer) | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ nslu2_image.cc: In member function 'virtual void NSLU2Image::SynthesiseImage::GetBytes(char*, size_t, int&, int&)': nslu2_image.cc:511:25: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 511 | if (len > buffer_length) | ~~~~^~~~~~~~~~~~~~~ g++ -DHAVE_CONFIG_H -I. -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 nslu2_upgrade.o nslu2_upgrade.cc In file included from nslu2_upgrade.cc:7: nslu2_protocol.h: In member function 'bool NSLU2Protocol::SequenceNumber::Seen(int)': nslu2_protocol.h:233:34: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 233 | if (seen > (lastSent & 0xffff)) | ~~~~~^~~~~~~~~~~~~~~~~~~~~ nslu2_protocol.h:237:34: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 237 | if (seen > lastSeen) { | ~~~~~^~~~~~~~~~ nslu2_protocol.h:238:42: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 238 | if (seen <= lastSent) | ~~~~~^~~~~~~~~~~ nslu2_upgrade.cc: In constructor 'NSLU2Upgrade::RealDoUpgrade::RealDoUpgrade(NSLU2Upgrade::Wire*, NSLU2Upgrade::Progress*, bool)': nslu2_upgrade.cc:178:48: warning: 'NSLU2Upgrade::RealDoUpgrade::reprogram' will be initialized after [-Wreorder] 178 | bool reprogram; | ^~~~~~~~~ nslu2_upgrade.cc:176:48: warning: 'NSLU2Protocol::Type NSLU2Upgrade::RealDoUpgrade::lastType' [-Wreorder] 176 | NSLU2Protocol::Type lastType; | ^~~~~~~~ nslu2_upgrade.cc:89:17: warning: when initialized here [-Wreorder] 89 | RealDoUpgrade(Wire *w, Progress *p, bool r) : | ^~~~~~~~~~~~~ nslu2_upgrade.cc: In member function 'virtual void NSLU2Upgrade::RealDoUpgrade::Reboot()': nslu2_upgrade.cc:533:33: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 533 | } while (seq.LastSeen() < sequence); | ~~~~~~~~~~~~~~~^~~~~~~~~~ g++ -DHAVE_CONFIG_H -I. -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 upslug2.o upslug2.cc In file included from nslu2_upgrade.h:10, from upslug2.cc:18: nslu2_protocol.h: In member function 'bool NSLU2Protocol::SequenceNumber::Seen(int)': nslu2_protocol.h:233:34: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 233 | if (seen > (lastSent & 0xffff)) | ~~~~~^~~~~~~~~~~~~~~~~~~~~ nslu2_protocol.h:237:34: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 237 | if (seen > lastSeen) { | ~~~~~^~~~~~~~~~ nslu2_protocol.h:238:42: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 238 | if (seen <= lastSent) | ~~~~~^~~~~~~~~~~ In file included from upslug2.cc:20: upslug2_progress.h: In constructor 'UpSlug2::Progress::Progress()': upslug2_progress.h:130:21: warning: 'UpSlug2::Progress::addressOfLastSeen' will be initialized after [-Wreorder] 130 | int addressOfLastSeen; /* highest address seen */ | ^~~~~~~~~~~~~~~~~ upslug2_progress.h:129:21: warning: 'int UpSlug2::Progress::addressOfLastSent' [-Wreorder] 129 | int addressOfLastSent; /* highest address sent */ | ^~~~~~~~~~~~~~~~~ upslug2_progress.h:26:24: warning: when initialized here [-Wreorder] 26 | inline Progress() : | ^~~~~~~~ upslug2_progress.h: In static member function 'static unsigned int UpSlug2::Progress::Scale(long unsigned int, unsigned int, unsigned int)': upslug2_progress.h:67:51: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 67 | while (shift > 0 && scale >= (1<<(32-shift))) | ~~~~~~^~~~~~~~~~~~~~~~~~ upslug2_progress.h: In constructor 'UpSlug2::ProgressBar::ProgressBar(bool)': upslug2_progress.h:279:24: warning: 'UpSlug2::ProgressBar::retransmit' will be initialized after [-Wreorder] 279 | bool retransmit; /* Retransmit recorded */ | ^~~~~~~~~~ upslug2_progress.h:275:24: warning: 'UpSlug2::ProgressBar::Status UpSlug2::ProgressBar::status' [-Wreorder] 275 | Status status; /* Overall status */ | ^~~~~~ upslug2_progress.h:171:17: warning: when initialized here [-Wreorder] 171 | ProgressBar(bool r) : | ^~~~~~~~~~~ upslug2_progress.h: In member function 'void UpSlug2::ProgressBar::AddressByStatus(UpSlug2::ProgressBar::Status, int&, int&)': upslug2_progress.h:184:32: warning: enumeration value 'NumberOfStates' not handled in switch [-Wswitch] 184 | switch (st) { | ^ upslug2.cc: In constructor 'ProgressBar::ProgressBar(bool, const unsigned char*)': upslug2.cc:112:30: warning: 'ProgressBar::target' will be initialized after [-Wreorder] 112 | const unsigned char *target; | ^~~~~~ upslug2.cc:111:30: warning: 'bool ProgressBar::displayed' [-Wreorder] 111 | bool displayed; | ^~~~~~~~~ upslug2.cc:24:9: warning: when initialized here [-Wreorder] 24 | ProgressBar(bool reprogram, const unsigned char *t) : | ^~~~~~~~~~~ upslug2.cc:111:30: warning: 'ProgressBar::displayed' will be initialized after [-Wreorder] 111 | bool displayed; | ^~~~~~~~~ upslug2.cc:110:30: warning: 'int ProgressBar::ticker' [-Wreorder] 110 | int ticker; | ^~~~~~ upslug2.cc:24:9: warning: when initialized here [-Wreorder] 24 | ProgressBar(bool reprogram, const unsigned char *t) : | ^~~~~~~~~~~ upslug2.cc: In function 'int main(int, char**)': upslug2.cc:563:43: warning: catching polymorphic type 'class NSLU2Upgrade::FlashError' by value [-Wcatch-value=] 563 | } catch (NSLU2Upgrade::FlashError e) { | ^ upslug2.cc:599:46: warning: catching polymorphic type 'class NSLU2Upgrade::SequenceError' by value [-Wcatch-value=] 599 | } catch (NSLU2Upgrade::SequenceError e) { | ^ upslug2.cc:604:45: warning: catching polymorphic type 'class NSLU2Upgrade::AddressError' by value [-Wcatch-value=] 604 | } catch (NSLU2Upgrade::AddressError e) { | ^ upslug2.cc:609:40: warning: catching polymorphic type 'class NSLU2Image::FileError' by value [-Wcatch-value=] 609 | } catch (NSLU2Image::FileError e) { | ^ upslug2.cc:613:42: warning: catching polymorphic type 'class NSLU2Upgrade::WireError' by value [-Wcatch-value=] 613 | } catch (NSLU2Upgrade::WireError e) { | ^ upslug2.cc:617:42: warning: catching polymorphic type 'class NSLU2Upgrade::SendError' by value [-Wcatch-value=] 617 | } catch (NSLU2Upgrade::SendError e) { | ^ upslug2.cc:621:45: warning: catching polymorphic type 'class NSLU2Upgrade::ReceiveError' by value [-Wcatch-value=] 621 | } catch (NSLU2Upgrade::ReceiveError e) { | ^ upslug2.cc:625:40: warning: catching polymorphic type 'class NSLU2Upgrade::OSError' by value [-Wcatch-value=] 625 | } catch (NSLU2Upgrade::OSError e) { | ^ upslug2.cc:629:35: warning: catching polymorphic type 'class std::logic_error' by value [-Wcatch-value=] 629 | } catch (std::logic_error e) { | ^ upslug2.cc:632:33: warning: catching polymorphic type 'class std::exception' by value [-Wcatch-value=] 632 | } catch (std::exception e) { | ^ In file included from upslug2.cc:20: upslug2_progress.h: In instantiation of 'UpSlug2::CharacterProgressBar::CharacterProgressBar(bool, int, const char*) [with int characters = 80]': upslug2.cc:26:40: required from here upslug2_progress.h:360:22: warning: 'UpSlug2::CharacterProgressBar<80>::numberOfCharacters' will be initialized after [-Wreorder] 360 | int numberOfCharacters; | ^~~~~~~~~~~~~~~~~~ upslug2_progress.h:291:46: warning: base 'UpSlug2::ProgressBar' [-Wreorder] 291 | ProgressBar(reprogram) { | ^ upslug2_progress.h:289:17: warning: when initialized here [-Wreorder] 289 | CharacterProgressBar(bool reprogram, int n, const char ind[NumberOfStates] = 0) : | ^~~~~~~~~~~~~~~~~~~~ upslug2.cc:364:18: warning: ignoring return value of 'int seteuid(__uid_t)' declared with attribute 'warn_unused_result' [-Wunused-result] 364 | ::seteuid(::getuid()); | ~~~~~~~~~^~~~~~~~~~~~ g++ -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 -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o upslug2 linux_wire.o pcap_wire.o nslu2_image.o nslu2_upgrade.o upslug2.o -lpcap make[1]: Leaving directory '/builddir/build/BUILD/upslug2' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.sAYmAy + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/upslug2-0.0-0.26.20071107.svn39.fc35.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/upslug2-0.0-0.26.20071107.svn39.fc35.x86_64 ++ dirname /builddir/build/BUILDROOT/upslug2-0.0-0.26.20071107.svn39.fc35.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/upslug2-0.0-0.26.20071107.svn39.fc35.x86_64 + cd upslug2 + rm -rf /builddir/build/BUILDROOT/upslug2-0.0-0.26.20071107.svn39.fc35.x86_64 + make install DESTDIR=/builddir/build/BUILDROOT/upslug2-0.0-0.26.20071107.svn39.fc35.x86_64 make[1]: Entering directory '/builddir/build/BUILD/upslug2' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/upslug2-0.0-0.26.20071107.svn39.fc35.x86_64/usr/sbin' /usr/bin/install -c upslug2 '/builddir/build/BUILDROOT/upslug2-0.0-0.26.20071107.svn39.fc35.x86_64/usr/sbin' make[1]: Nothing to be done for 'install-data-am'. make[1]: Leaving directory '/builddir/build/BUILD/upslug2' + mkdir -p /builddir/build/BUILDROOT/upslug2-0.0-0.26.20071107.svn39.fc35.x86_64//usr/share/man/man8 + install -p -m 644 upslug2.8 /builddir/build/BUILDROOT/upslug2-0.0-0.26.20071107.svn39.fc35.x86_64//usr/share/man/man8 + /usr/bin/find-debuginfo -j2 --strict-build-id -m -i --build-id-seed 0.0-0.26.20071107.svn39.fc35 --unique-debug-suffix -0.0-0.26.20071107.svn39.fc35.x86_64 --unique-debug-src-base upslug2-0.0-0.26.20071107.svn39.fc35.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -S debugsourcefiles.list /builddir/build/BUILD/upslug2 extracting debug info from /builddir/build/BUILDROOT/upslug2-0.0-0.26.20071107.svn39.fc35.x86_64/usr/sbin/upslug2 original debug info size: 360kB, size after compression: 312kB /usr/bin/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. 227 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/redhat/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/redhat/brp-python-hardlink Processing files: upslug2-0.0-0.26.20071107.svn39.fc35.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.a0xeia + umask 022 + cd /builddir/build/BUILD + cd upslug2 + DOCDIR=/builddir/build/BUILDROOT/upslug2-0.0-0.26.20071107.svn39.fc35.x86_64/usr/share/doc/upslug2 + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/upslug2-0.0-0.26.20071107.svn39.fc35.x86_64/usr/share/doc/upslug2 + cp -pr AUTHORS /builddir/build/BUILDROOT/upslug2-0.0-0.26.20071107.svn39.fc35.x86_64/usr/share/doc/upslug2 + cp -pr ChangeLog /builddir/build/BUILDROOT/upslug2-0.0-0.26.20071107.svn39.fc35.x86_64/usr/share/doc/upslug2 + cp -pr COPYING /builddir/build/BUILDROOT/upslug2-0.0-0.26.20071107.svn39.fc35.x86_64/usr/share/doc/upslug2 + cp -pr README /builddir/build/BUILDROOT/upslug2-0.0-0.26.20071107.svn39.fc35.x86_64/usr/share/doc/upslug2 + RPM_EC=0 ++ jobs -p + exit 0 Provides: upslug2 = 0.0-0.26.20071107.svn39.fc35 upslug2(x86-64) = 0.0-0.26.20071107.svn39.fc35 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: glibc >= 2.33.9000-43.fc35 libc.so.6()(64bit) libc.so.6(GLIBC_2.14)(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.3)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.34)(64bit) libc.so.6(GLIBC_2.4)(64bit) libgcc_s.so.1()(64bit) libgcc_s.so.1(GCC_3.0)(64bit) libgcc_s.so.1(GCC_3.3.1)(64bit) libpcap.so.1()(64bit) libstdc++.so.6()(64bit) libstdc++.so.6(CXXABI_1.3)(64bit) libstdc++.so.6(CXXABI_1.3.1)(64bit) libstdc++.so.6(CXXABI_1.3.9)(64bit) libstdc++.so.6(GLIBCXX_3.4)(64bit) libstdc++.so.6(GLIBCXX_3.4.21)(64bit) rtld(GNU_HASH) Processing files: upslug2-debugsource-0.0-0.26.20071107.svn39.fc35.x86_64 Provides: upslug2-debugsource = 0.0-0.26.20071107.svn39.fc35 upslug2-debugsource(x86-64) = 0.0-0.26.20071107.svn39.fc35 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: upslug2-debuginfo-0.0-0.26.20071107.svn39.fc35.x86_64 Provides: debuginfo(build-id) = 685127904f0ff87eaaed47e9b5dd39739dea1c17 upslug2-debuginfo = 0.0-0.26.20071107.svn39.fc35 upslug2-debuginfo(x86-64) = 0.0-0.26.20071107.svn39.fc35 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: upslug2-debugsource(x86-64) = 0.0-0.26.20071107.svn39.fc35 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/upslug2-0.0-0.26.20071107.svn39.fc35.x86_64 Wrote: /builddir/build/RPMS/upslug2-debugsource-0.0-0.26.20071107.svn39.fc35.x86_64.rpm Wrote: /builddir/build/RPMS/upslug2-debuginfo-0.0-0.26.20071107.svn39.fc35.x86_64.rpm Wrote: /builddir/build/RPMS/upslug2-0.0-0.26.20071107.svn39.fc35.x86_64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.hI2mKJ + umask 022 + cd /builddir/build/BUILD + cd upslug2 + /usr/bin/rm -rf /builddir/build/BUILDROOT/upslug2-0.0-0.26.20071107.svn39.fc35.x86_64 + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0