Mock Version: 1.4.21 Mock Version: 1.4.21 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/upslug2.spec'], chrootPath='/var/lib/mock/f33-build-296277-55654/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': 'en_US.UTF-8'}shell=Falselogger=timeout=432000uid=987gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --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': 'en_US.UTF-8'} 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: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1595980800 Wrote: /builddir/build/SRPMS/upslug2-0.0-0.24.20071107.svn39.fc33.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/upslug2.spec'], chrootPath='/var/lib/mock/f33-build-296277-55654/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': 'en_US.UTF-8'}shell=Falselogger=timeout=432000uid=987gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --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': 'en_US.UTF-8'} 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: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1595980800 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.2ems1O + 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: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.HV0yOR + 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 -fasynchronous-unwind-tables -fstack-clash-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 -fasynchronous-unwind-tables -fstack-clash-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 -fasynchronous-unwind-tables -fstack-clash-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 -fasynchronous-unwind-tables -fstack-clash-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 2020-08-14 11:05:03.058926696 -0400 +++ ./configure 2020-08-14 11:05:40.748928897 -0400 @@ -1880,7 +1880,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=riscv64-redhat-linux-gnu --host=riscv64-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 thread-safe 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... riscv64-redhat-linux-gnu checking host system type... riscv64-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 we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking whether make supports the include directive... yes (GNU style) checking dependency style of g++... none checking for riscv64-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 whether gcc understands -c and -o together... yes checking dependency style of gcc... none 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 pcap.h usability... yes checking pcap.h presence... yes checking for pcap.h... yes checking for pcap_open_live in -lpcap... yes checking for pcap_inject in -lpcap... yes checking for ANSI C header files... (cached) yes checking for stdlib.h... (cached) yes checking sys/ioctl.h usability... yes checking sys/ioctl.h presence... yes checking for sys/ioctl.h... yes checking sys/socket.h usability... yes checking sys/socket.h presence... yes checking for sys/socket.h... yes checking for unistd.h... (cached) yes checking for stdbool.h that conforms to C99... yes checking for _Bool... yes checking for an ANSI C-conforming const... yes checking for inline... inline checking for size_t... yes checking whether time.h and sys/time.h may both be included... yes checking for uid_t in sys/types.h... yes checking whether gcc needs -traditional... no checking for working memcmp... yes checking sys/select.h usability... yes checking sys/select.h presence... yes checking for sys/select.h... yes checking for sys/socket.h... (cached) 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 -j4 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 -fasynchronous-unwind-tables -fstack-clash-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 -fasynchronous-unwind-tables -fstack-clash-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 -fasynchronous-unwind-tables -fstack-clash-protection -c -o nslu2_image.o nslu2_image.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 -fasynchronous-unwind-tables -fstack-clash-protection -c -o nslu2_upgrade.o nslu2_upgrade.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 -fasynchronous-unwind-tables -fstack-clash-protection -c -o upslug2.o upslug2.cc In file included from nslu2_upgrade.cc:7: nslu2_protocol.h: In member function 'bool NSLU2Protocol::SequenceNumber::Seen(int)': nslu2_protocol.h:233:13: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 233 | if (seen > (lastSent & 0xffff)) | ~~~~~^~~~~~~~~~~~~~~~~~~~~ nslu2_protocol.h:237:13: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 237 | if (seen > lastSeen) { | ~~~~~^~~~~~~~~~ nslu2_protocol.h:238:14: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 238 | if (seen <= lastSent) | ~~~~~^~~~~~~~~~~ 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:13: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 233 | if (seen > (lastSent & 0xffff)) | ~~~~~^~~~~~~~~~~~~~~~~~~~~ nslu2_protocol.h:237:13: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 237 | if (seen > lastSeen) { | ~~~~~^~~~~~~~~~ nslu2_protocol.h:238:14: 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:34: warning: 'NSLU2Upgrade::RealDoUpgrade::reprogram' will be initialized after [-Wreorder] 178 | bool reprogram; | ^~~~~~~~~ nslu2_upgrade.cc:176:34: warning: 'NSLU2Protocol::Type NSLU2Upgrade::RealDoUpgrade::lastType' [-Wreorder] 176 | NSLU2Protocol::Type lastType; | ^~~~~~~~ nslu2_upgrade.cc:89:3: warning: when initialized here [-Wreorder] 89 | RealDoUpgrade(Wire *w, Progress *p, bool r) : | ^~~~~~~~~~~~~ pcap_wire.cc: In constructor 'NSLU2Upgrade::PCapWire::PCapWire(pcap_t*, const char*, const unsigned char*, const unsigned char*)': pcap_wire.cc:72:32: warning: conversion from 'NSLU2Protocol::Constant' to 'char' changes value from 'NSLU2Protocol::UpgradeProtocol' to ''\210'' [-Woverflow] 72 | header[13] = NSLU2Protocol::UpgradeProtocol; | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ nslu2_upgrade.cc: In member function 'virtual void NSLU2Upgrade::RealDoUpgrade::Reboot()': nslu2_upgrade.cc:533:26: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 533 | } while (seq.LastSeen() < sequence); | ~~~~~~~~~~~~~~~^~~~~~~~~~ pcap_wire.cc: In destructor 'NSLU2Upgrade::EUID::~EUID()': pcap_wire.cc:270:13: 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:13: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 233 | if (seen > (lastSent & 0xffff)) | ~~~~~^~~~~~~~~~~~~~~~~~~~~ nslu2_protocol.h:237:13: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 237 | if (seen > lastSeen) { | ~~~~~^~~~~~~~~~ nslu2_protocol.h:238:14: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 238 | if (seen <= lastSent) | ~~~~~^~~~~~~~~~~ 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:13: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 233 | if (seen > (lastSent & 0xffff)) | ~~~~~^~~~~~~~~~~~~~~~~~~~~ nslu2_protocol.h:237:13: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 237 | if (seen > lastSeen) { | ~~~~~^~~~~~~~~~ nslu2_protocol.h:238:14: 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:12: 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:12: 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, | ^~~~~~~~~~ In file included from upslug2.cc:20: upslug2_progress.h: In constructor 'UpSlug2::Progress::Progress()': upslug2_progress.h:130:7: warning: 'UpSlug2::Progress::addressOfLastSeen' will be initialized after [-Wreorder] 130 | int addressOfLastSeen; /* highest address seen */ | ^~~~~~~~~~~~~~~~~ upslug2_progress.h:129:7: warning: 'int UpSlug2::Progress::addressOfLastSent' [-Wreorder] 129 | int addressOfLastSent; /* highest address sent */ | ^~~~~~~~~~~~~~~~~ upslug2_progress.h:26:10: 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:30: 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:10: warning: 'UpSlug2::ProgressBar::retransmit' will be initialized after [-Wreorder] 279 | bool retransmit; /* Retransmit recorded */ | ^~~~~~~~~~ upslug2_progress.h:275:10: warning: 'UpSlug2::ProgressBar::Status UpSlug2::ProgressBar::status' [-Wreorder] 275 | Status status; /* Overall status */ | ^~~~~~ upslug2_progress.h:171:3: warning: when initialized here [-Wreorder] 171 | ProgressBar(bool r) : | ^~~~~~~~~~~ nslu2_image.cc:481:21: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 481 | if (buffer_pointer > sizeof buffer) | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ upslug2_progress.h: In member function 'void UpSlug2::ProgressBar::AddressByStatus(UpSlug2::ProgressBar::Status, int&, int&)': upslug2_progress.h:184:11: 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:23: warning: 'ProgressBar::target' will be initialized after [-Wreorder] 112 | const unsigned char *target; | ^~~~~~ upslug2.cc:111:23: warning: 'bool ProgressBar::displayed' [-Wreorder] 111 | bool displayed; | ^~~~~~~~~ upslug2.cc:24:2: warning: when initialized here [-Wreorder] 24 | ProgressBar(bool reprogram, const unsigned char *t) : | ^~~~~~~~~~~ upslug2.cc:111:23: warning: 'ProgressBar::displayed' will be initialized after [-Wreorder] 111 | bool displayed; | ^~~~~~~~~ upslug2.cc:110:23: warning: 'int ProgressBar::ticker' [-Wreorder] 110 | int ticker; | ^~~~~~ upslug2.cc:24:2: warning: when initialized here [-Wreorder] 24 | ProgressBar(bool reprogram, const unsigned char *t) : | ^~~~~~~~~~~ nslu2_image.cc: In member function 'virtual void NSLU2Image::SynthesiseImage::GetBytes(char*, size_t, int&, int&)': nslu2_image.cc:511:11: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 511 | if (len > buffer_length) | ~~~~^~~~~~~~~~~~~~~ upslug2.cc: In function 'int main(int, char**)': upslug2.cc:563:36: warning: catching polymorphic type 'class NSLU2Upgrade::FlashError' by value [-Wcatch-value=] 563 | } catch (NSLU2Upgrade::FlashError e) { | ^ upslug2.cc:599:39: warning: catching polymorphic type 'class NSLU2Upgrade::SequenceError' by value [-Wcatch-value=] 599 | } catch (NSLU2Upgrade::SequenceError e) { | ^ upslug2.cc:604:38: warning: catching polymorphic type 'class NSLU2Upgrade::AddressError' by value [-Wcatch-value=] 604 | } catch (NSLU2Upgrade::AddressError e) { | ^ upslug2.cc:609:33: warning: catching polymorphic type 'class NSLU2Image::FileError' by value [-Wcatch-value=] 609 | } catch (NSLU2Image::FileError e) { | ^ upslug2.cc:613:35: warning: catching polymorphic type 'class NSLU2Upgrade::WireError' by value [-Wcatch-value=] 613 | } catch (NSLU2Upgrade::WireError e) { | ^ upslug2.cc:617:35: warning: catching polymorphic type 'class NSLU2Upgrade::SendError' by value [-Wcatch-value=] 617 | } catch (NSLU2Upgrade::SendError e) { | ^ upslug2.cc:621:38: warning: catching polymorphic type 'class NSLU2Upgrade::ReceiveError' by value [-Wcatch-value=] 621 | } catch (NSLU2Upgrade::ReceiveError e) { | ^ upslug2.cc:625:33: warning: catching polymorphic type 'class NSLU2Upgrade::OSError' by value [-Wcatch-value=] 625 | } catch (NSLU2Upgrade::OSError e) { | ^ upslug2.cc:629:28: warning: catching polymorphic type 'class std::logic_error' by value [-Wcatch-value=] 629 | } catch (std::logic_error e) { | ^ upslug2.cc:632:26: 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:8: warning: 'UpSlug2::CharacterProgressBar<80>::numberOfCharacters' will be initialized after [-Wreorder] 360 | int numberOfCharacters; | ^~~~~~~~~~~~~~~~~~ upslug2_progress.h:291:25: warning: base 'UpSlug2::ProgressBar' [-Wreorder] 291 | ProgressBar(reprogram) { | ^ upslug2_progress.h:289:3: warning: when initialized here [-Wreorder] 289 | CharacterProgressBar(bool reprogram, int n, const char ind[NumberOfStates] = 0) : | ^~~~~~~~~~~~~~~~~~~~ upslug2.cc:364:11: 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 -fasynchronous-unwind-tables -fstack-clash-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.qrl90R + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/upslug2-0.0-0.24.20071107.svn39.fc33.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/upslug2-0.0-0.24.20071107.svn39.fc33.riscv64 ++ dirname /builddir/build/BUILDROOT/upslug2-0.0-0.24.20071107.svn39.fc33.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/upslug2-0.0-0.24.20071107.svn39.fc33.riscv64 + cd upslug2 + rm -rf /builddir/build/BUILDROOT/upslug2-0.0-0.24.20071107.svn39.fc33.riscv64 + make install DESTDIR=/builddir/build/BUILDROOT/upslug2-0.0-0.24.20071107.svn39.fc33.riscv64 make[1]: Entering directory '/builddir/build/BUILD/upslug2' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/upslug2-0.0-0.24.20071107.svn39.fc33.riscv64/usr/sbin' /usr/bin/install -c upslug2 '/builddir/build/BUILDROOT/upslug2-0.0-0.24.20071107.svn39.fc33.riscv64/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.24.20071107.svn39.fc33.riscv64//usr/share/man/man8 + install -p -m 644 upslug2.8 /builddir/build/BUILDROOT/upslug2-0.0-0.24.20071107.svn39.fc33.riscv64//usr/share/man/man8 + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 0.0-0.24.20071107.svn39.fc33 --unique-debug-suffix -0.0-0.24.20071107.svn39.fc33.riscv64 --unique-debug-src-base upslug2-0.0-0.24.20071107.svn39.fc33.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/upslug2 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/upslug2-0.0-0.24.20071107.svn39.fc33.riscv64/usr/sbin/upslug2 extracting debug info from /builddir/build/BUILDROOT/upslug2-0.0-0.24.20071107.svn39.fc33.riscv64/usr/sbin/upslug2 original debug info size: 836kB, size after compression: 788kB /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. 211 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 Processing files: upslug2-0.0-0.24.20071107.svn39.fc33.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.Cw0IDP + umask 022 + cd /builddir/build/BUILD + cd upslug2 + DOCDIR=/builddir/build/BUILDROOT/upslug2-0.0-0.24.20071107.svn39.fc33.riscv64/usr/share/doc/upslug2 + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/upslug2-0.0-0.24.20071107.svn39.fc33.riscv64/usr/share/doc/upslug2 + cp -pr AUTHORS /builddir/build/BUILDROOT/upslug2-0.0-0.24.20071107.svn39.fc33.riscv64/usr/share/doc/upslug2 + cp -pr ChangeLog /builddir/build/BUILDROOT/upslug2-0.0-0.24.20071107.svn39.fc33.riscv64/usr/share/doc/upslug2 + cp -pr COPYING /builddir/build/BUILDROOT/upslug2-0.0-0.24.20071107.svn39.fc33.riscv64/usr/share/doc/upslug2 + cp -pr README /builddir/build/BUILDROOT/upslug2-0.0-0.24.20071107.svn39.fc33.riscv64/usr/share/doc/upslug2 + RPM_EC=0 ++ jobs -p + exit 0 Provides: upslug2 = 0.0-0.24.20071107.svn39.fc33 upslug2(riscv-64) = 0.0-0.24.20071107.svn39.fc33 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ld-linux-riscv64-lp64d.so.1()(64bit) ld-linux-riscv64-lp64d.so.1(GLIBC_2.27)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(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.24.20071107.svn39.fc33.riscv64 Provides: upslug2-debugsource = 0.0-0.24.20071107.svn39.fc33 upslug2-debugsource(riscv-64) = 0.0-0.24.20071107.svn39.fc33 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.24.20071107.svn39.fc33.riscv64 Provides: debuginfo(build-id) = 85a5d47c012846c3144213d0f10c90b4c6da0434 upslug2-debuginfo = 0.0-0.24.20071107.svn39.fc33 upslug2-debuginfo(riscv-64) = 0.0-0.24.20071107.svn39.fc33 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: upslug2-debugsource(riscv-64) = 0.0-0.24.20071107.svn39.fc33 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/upslug2-0.0-0.24.20071107.svn39.fc33.riscv64 Wrote: /builddir/build/RPMS/upslug2-0.0-0.24.20071107.svn39.fc33.riscv64.rpm Wrote: /builddir/build/RPMS/upslug2-debugsource-0.0-0.24.20071107.svn39.fc33.riscv64.rpm Wrote: /builddir/build/RPMS/upslug2-debuginfo-0.0-0.24.20071107.svn39.fc33.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.kjuLgS + umask 022 + cd /builddir/build/BUILD + cd upslug2 + /usr/bin/rm -rf /builddir/build/BUILDROOT/upslug2-0.0-0.24.20071107.svn39.fc33.riscv64 + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0