Mock Version: 1.4.13 Mock Version: 1.4.13 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/upslug2.spec'], chrootPath='/var/lib/mock/f30-build-38163-22013/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=345600uid=995gid=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 BUILDSTDERR: warning: Macro expanded in comment on line 12: %{svn_revision} http://svn.nslu2-linux.org/svnroot/upslug2/trunk %{name} BUILDSTDERR: warning: Macro expanded in comment on line 13: %{name}-svn-%{svn_revision}.tar.gz %{name} Building target platforms: riscv64 Building for target riscv64 Wrote: /builddir/build/SRPMS/upslug2-0.0-0.20.20071107.svn39.fc30.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/upslug2.spec'], chrootPath='/var/lib/mock/f30-build-38163-22013/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=345600uid=995gid=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 BUILDSTDERR: warning: Macro expanded in comment on line 12: %{svn_revision} http://svn.nslu2-linux.org/svnroot/upslug2/trunk %{name} BUILDSTDERR: warning: Macro expanded in comment on line 13: %{name}-svn-%{svn_revision}.tar.gz %{name} Building target platforms: riscv64 Building for target riscv64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.ns2tjD + 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 BUILDSTDERR: configure.ac:24: installing './compile' BUILDSTDERR: configure.ac:11: installing './config.guess' BUILDSTDERR: configure.ac:11: installing './config.sub' BUILDSTDERR: configure.ac:6: installing './install-sh' BUILDSTDERR: configure.ac:6: installing './missing' BUILDSTDERR: Makefile.am: installing './INSTALL' BUILDSTDERR: Makefile.am: installing './depcomp' + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.Qtp883 + umask 022 + cd /builddir/build/BUILD + cd upslug2 + CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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 + '[' 1 = 1 ']' BUILDSTDERR: +++ dirname ./configure BUILDSTDERR: ++ find . -name config.guess -o -name config.sub + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) BUILDSTDERR: ++ basename ./config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ./config.sub BUILDSTDERR: ++ 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) BUILDSTDERR: ++ basename ./config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ./config.guess BUILDSTDERR: ++ 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' ']' BUILDSTDERR: ++ find . -name ltmain.sh + ./configure --build=riscv64-koji-linux-gnu --host=riscv64-koji-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-koji-linux-gnu checking host system type... riscv64-koji-linux-gnu checking for riscv64-koji-linux-gnu-g++... no checking for riscv64-koji-linux-gnu-c++... no checking for riscv64-koji-linux-gnu-gpp... no checking for riscv64-koji-linux-gnu-aCC... no checking for riscv64-koji-linux-gnu-CC... no checking for riscv64-koji-linux-gnu-cxx... no checking for riscv64-koji-linux-gnu-cc++... no checking for riscv64-koji-linux-gnu-cl.exe... no checking for riscv64-koji-linux-gnu-FCC... no checking for riscv64-koji-linux-gnu-KCC... no checking for riscv64-koji-linux-gnu-RCC... no checking for riscv64-koji-linux-gnu-xlC_r... no checking for riscv64-koji-linux-gnu-xlC... no checking for g++... g++ 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-koji-linux-gnu-gcc... no checking for 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 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o upslug2.o upslug2.cc BUILDSTDERR: In file included from nslu2_upgrade.cc:7: BUILDSTDERR: nslu2_protocol.h: In member function 'bool NSLU2Protocol::SequenceNumber::Seen(int)': BUILDSTDERR: nslu2_protocol.h:233:13: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] BUILDSTDERR: if (seen > (lastSent & 0xffff)) BUILDSTDERR: ~~~~~^~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: nslu2_protocol.h:237:13: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] BUILDSTDERR: if (seen > lastSeen) { BUILDSTDERR: ~~~~~^~~~~~~~~~ BUILDSTDERR: nslu2_protocol.h:238:14: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] BUILDSTDERR: if (seen <= lastSent) BUILDSTDERR: ~~~~~^~~~~~~~~~~ BUILDSTDERR: nslu2_upgrade.cc: In constructor 'NSLU2Upgrade::RealDoUpgrade::RealDoUpgrade(NSLU2Upgrade::Wire*, NSLU2Upgrade::Progress*, bool)': BUILDSTDERR: nslu2_upgrade.cc:178:34: warning: 'NSLU2Upgrade::RealDoUpgrade::reprogram' will be initialized after [-Wreorder] BUILDSTDERR: bool reprogram; BUILDSTDERR: ^~~~~~~~~ BUILDSTDERR: nslu2_upgrade.cc:176:34: warning: 'NSLU2Protocol::Type NSLU2Upgrade::RealDoUpgrade::lastType' [-Wreorder] BUILDSTDERR: NSLU2Protocol::Type lastType; BUILDSTDERR: ^~~~~~~~ BUILDSTDERR: nslu2_upgrade.cc:89:3: warning: when initialized here [-Wreorder] BUILDSTDERR: RealDoUpgrade(Wire *w, Progress *p, bool r) : BUILDSTDERR: ^~~~~~~~~~~~~ BUILDSTDERR: In file included from nslu2_upgrade.h:10, BUILDSTDERR: from pcap_wire.cc:48: BUILDSTDERR: nslu2_protocol.h: In member function 'bool NSLU2Protocol::SequenceNumber::Seen(int)': BUILDSTDERR: nslu2_protocol.h:233:13: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] BUILDSTDERR: if (seen > (lastSent & 0xffff)) BUILDSTDERR: ~~~~~^~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: nslu2_protocol.h:237:13: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] BUILDSTDERR: if (seen > lastSeen) { BUILDSTDERR: ~~~~~^~~~~~~~~~ BUILDSTDERR: nslu2_protocol.h:238:14: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] BUILDSTDERR: if (seen <= lastSent) BUILDSTDERR: ~~~~~^~~~~~~~~~~ BUILDSTDERR: nslu2_upgrade.cc: In member function 'virtual void NSLU2Upgrade::RealDoUpgrade::Reboot()': BUILDSTDERR: nslu2_upgrade.cc:533:26: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] BUILDSTDERR: } while (seq.LastSeen() < sequence); BUILDSTDERR: ~~~~~~~~~~~~~~~^~~~~~~~~~ BUILDSTDERR: pcap_wire.cc: In constructor 'NSLU2Upgrade::PCapWire::PCapWire(pcap_t*, const char*, const unsigned char*, const unsigned char*)': BUILDSTDERR: pcap_wire.cc:72:32: warning: conversion from 'NSLU2Protocol::Constant' to 'char' changes value from '(NSLU2Protocol::Constant)34952' to ''\210'' [-Woverflow] BUILDSTDERR: header[13] = NSLU2Protocol::UpgradeProtocol; BUILDSTDERR: ^~~~~~~~~~~~~~~ BUILDSTDERR: pcap_wire.cc: In destructor 'NSLU2Upgrade::EUID::~EUID()': BUILDSTDERR: pcap_wire.cc:270:13: warning: ignoring return value of 'int seteuid(__uid_t)', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: ::seteuid(euid); BUILDSTDERR: ~~~~~~~~~^~~~~~ BUILDSTDERR: In file included from nslu2_upgrade.h:10, BUILDSTDERR: from upslug2.cc:18: BUILDSTDERR: nslu2_protocol.h: In member function 'bool NSLU2Protocol::SequenceNumber::Seen(int)': BUILDSTDERR: nslu2_protocol.h:233:13: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] BUILDSTDERR: if (seen > (lastSent & 0xffff)) BUILDSTDERR: ~~~~~^~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: nslu2_protocol.h:237:13: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] BUILDSTDERR: if (seen > lastSeen) { BUILDSTDERR: ~~~~~^~~~~~~~~~ BUILDSTDERR: nslu2_protocol.h:238:14: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] BUILDSTDERR: if (seen <= lastSent) BUILDSTDERR: ~~~~~^~~~~~~~~~~ BUILDSTDERR: In file included from nslu2_image.h:11, BUILDSTDERR: from nslu2_image.cc:11: BUILDSTDERR: nslu2_protocol.h: In member function 'bool NSLU2Protocol::SequenceNumber::Seen(int)': BUILDSTDERR: nslu2_protocol.h:233:13: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] BUILDSTDERR: if (seen > (lastSent & 0xffff)) BUILDSTDERR: ~~~~~^~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: nslu2_protocol.h:237:13: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] BUILDSTDERR: if (seen > lastSeen) { BUILDSTDERR: ~~~~~^~~~~~~~~~ BUILDSTDERR: nslu2_protocol.h:238:14: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] BUILDSTDERR: if (seen <= lastSent) BUILDSTDERR: ~~~~~^~~~~~~~~~~ BUILDSTDERR: In file included from upslug2.cc:20: BUILDSTDERR: upslug2_progress.h: In constructor 'UpSlug2::Progress::Progress()': BUILDSTDERR: upslug2_progress.h:130:7: warning: 'UpSlug2::Progress::addressOfLastSeen' will be initialized after [-Wreorder] BUILDSTDERR: int addressOfLastSeen; /* highest address seen */ BUILDSTDERR: ^~~~~~~~~~~~~~~~~ BUILDSTDERR: upslug2_progress.h:129:7: warning: 'int UpSlug2::Progress::addressOfLastSent' [-Wreorder] BUILDSTDERR: int addressOfLastSent; /* highest address sent */ BUILDSTDERR: ^~~~~~~~~~~~~~~~~ BUILDSTDERR: upslug2_progress.h:26:10: warning: when initialized here [-Wreorder] BUILDSTDERR: inline Progress() : BUILDSTDERR: ^~~~~~~~ BUILDSTDERR: upslug2_progress.h: In static member function 'static unsigned int UpSlug2::Progress::Scale(long unsigned int, unsigned int, unsigned int)': BUILDSTDERR: upslug2_progress.h:67:30: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] BUILDSTDERR: while (shift > 0 && scale >= (1<<(32-shift))) BUILDSTDERR: ~~~~~~^~~~~~~~~~~~~~~~~~ BUILDSTDERR: upslug2_progress.h: In constructor 'UpSlug2::ProgressBar::ProgressBar(bool)': BUILDSTDERR: upslug2_progress.h:279:10: warning: 'UpSlug2::ProgressBar::retransmit' will be initialized after [-Wreorder] BUILDSTDERR: bool retransmit; /* Retransmit recorded */ BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: upslug2_progress.h:275:10: warning: 'UpSlug2::ProgressBar::Status UpSlug2::ProgressBar::status' [-Wreorder] BUILDSTDERR: Status status; /* Overall status */ BUILDSTDERR: ^~~~~~ BUILDSTDERR: upslug2_progress.h:171:3: warning: when initialized here [-Wreorder] BUILDSTDERR: ProgressBar(bool r) : BUILDSTDERR: ^~~~~~~~~~~ BUILDSTDERR: upslug2_progress.h: In member function 'void UpSlug2::ProgressBar::AddressByStatus(UpSlug2::ProgressBar::Status, int&, int&)': BUILDSTDERR: upslug2_progress.h:184:11: warning: enumeration value 'NumberOfStates' not handled in switch [-Wswitch] BUILDSTDERR: switch (st) { BUILDSTDERR: ^ BUILDSTDERR: upslug2.cc: In constructor 'ProgressBar::ProgressBar(bool, const unsigned char*)': BUILDSTDERR: upslug2.cc:112:23: warning: 'ProgressBar::target' will be initialized after [-Wreorder] BUILDSTDERR: const unsigned char *target; BUILDSTDERR: ^~~~~~ BUILDSTDERR: upslug2.cc:111:23: warning: 'bool ProgressBar::displayed' [-Wreorder] BUILDSTDERR: bool displayed; BUILDSTDERR: ^~~~~~~~~ BUILDSTDERR: upslug2.cc:24:2: warning: when initialized here [-Wreorder] BUILDSTDERR: ProgressBar(bool reprogram, const unsigned char *t) : BUILDSTDERR: ^~~~~~~~~~~ BUILDSTDERR: upslug2.cc:111:23: warning: 'ProgressBar::displayed' will be initialized after [-Wreorder] BUILDSTDERR: bool displayed; BUILDSTDERR: ^~~~~~~~~ BUILDSTDERR: upslug2.cc:110:23: warning: 'int ProgressBar::ticker' [-Wreorder] BUILDSTDERR: int ticker; BUILDSTDERR: ^~~~~~ BUILDSTDERR: upslug2.cc:24:2: warning: when initialized here [-Wreorder] BUILDSTDERR: ProgressBar(bool reprogram, const unsigned char *t) : BUILDSTDERR: ^~~~~~~~~~~ BUILDSTDERR: 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)': BUILDSTDERR: nslu2_image.cc:205:12: warning: 'NSLU2Image::SynthesiseImage::little_endian_fis' will be initialized after [-Wreorder] BUILDSTDERR: bool little_endian_fis; /* Build a little endian FIS directory */ BUILDSTDERR: ^~~~~~~~~~~~~~~~~ BUILDSTDERR: nslu2_image.cc:202:12: warning: 'int NSLU2Image::SynthesiseImage::segment_count' [-Wreorder] BUILDSTDERR: int segment_count; /* Count of Segment entries used */ BUILDSTDERR: ^~~~~~~~~~~~~ BUILDSTDERR: nslu2_image.cc:258:1: warning: when initialized here [-Wreorder] BUILDSTDERR: NSLU2Image::SynthesiseImage::SynthesiseImage(char kernel_sex, char data_sex, BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: nslu2_image.cc:481:21: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] BUILDSTDERR: if (buffer_pointer > sizeof buffer) BUILDSTDERR: ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ BUILDSTDERR: upslug2.cc: In function 'int main(int, char**)': BUILDSTDERR: upslug2.cc:563:36: warning: catching polymorphic type 'class NSLU2Upgrade::FlashError' by value [-Wcatch-value=] BUILDSTDERR: } catch (NSLU2Upgrade::FlashError e) { BUILDSTDERR: ^ BUILDSTDERR: nslu2_image.cc: In member function 'virtual void NSLU2Image::SynthesiseImage::GetBytes(char*, size_t, int&, int&)': BUILDSTDERR: nslu2_image.cc:511:11: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: if (len > buffer_length) BUILDSTDERR: ~~~~^~~~~~~~~~~~~~~ BUILDSTDERR: upslug2.cc:599:39: warning: catching polymorphic type 'class NSLU2Upgrade::SequenceError' by value [-Wcatch-value=] BUILDSTDERR: } catch (NSLU2Upgrade::SequenceError e) { BUILDSTDERR: ^ BUILDSTDERR: upslug2.cc:604:38: warning: catching polymorphic type 'class NSLU2Upgrade::AddressError' by value [-Wcatch-value=] BUILDSTDERR: } catch (NSLU2Upgrade::AddressError e) { BUILDSTDERR: ^ BUILDSTDERR: upslug2.cc:609:33: warning: catching polymorphic type 'class NSLU2Image::FileError' by value [-Wcatch-value=] BUILDSTDERR: } catch (NSLU2Image::FileError e) { BUILDSTDERR: ^ BUILDSTDERR: upslug2.cc:613:35: warning: catching polymorphic type 'class NSLU2Upgrade::WireError' by value [-Wcatch-value=] BUILDSTDERR: } catch (NSLU2Upgrade::WireError e) { BUILDSTDERR: ^ BUILDSTDERR: upslug2.cc:617:35: warning: catching polymorphic type 'class NSLU2Upgrade::SendError' by value [-Wcatch-value=] BUILDSTDERR: } catch (NSLU2Upgrade::SendError e) { BUILDSTDERR: ^ BUILDSTDERR: upslug2.cc:621:38: warning: catching polymorphic type 'class NSLU2Upgrade::ReceiveError' by value [-Wcatch-value=] BUILDSTDERR: } catch (NSLU2Upgrade::ReceiveError e) { BUILDSTDERR: ^ BUILDSTDERR: upslug2.cc:625:33: warning: catching polymorphic type 'class NSLU2Upgrade::OSError' by value [-Wcatch-value=] BUILDSTDERR: } catch (NSLU2Upgrade::OSError e) { BUILDSTDERR: ^ BUILDSTDERR: upslug2.cc:629:28: warning: catching polymorphic type 'class std::logic_error' by value [-Wcatch-value=] BUILDSTDERR: } catch (std::logic_error e) { BUILDSTDERR: ^ BUILDSTDERR: upslug2.cc:632:26: warning: catching polymorphic type 'class std::exception' by value [-Wcatch-value=] BUILDSTDERR: } catch (std::exception e) { BUILDSTDERR: ^ BUILDSTDERR: In file included from upslug2.cc:20: BUILDSTDERR: upslug2_progress.h: In instantiation of 'UpSlug2::CharacterProgressBar::CharacterProgressBar(bool, int, const char*) [with int characters = 80]': BUILDSTDERR: upslug2.cc:26:40: required from here BUILDSTDERR: upslug2_progress.h:360:8: warning: 'UpSlug2::CharacterProgressBar<80>::numberOfCharacters' will be initialized after [-Wreorder] BUILDSTDERR: int numberOfCharacters; BUILDSTDERR: ^~~~~~~~~~~~~~~~~~ BUILDSTDERR: upslug2_progress.h:291:25: warning: base 'UpSlug2::ProgressBar' [-Wreorder] BUILDSTDERR: ProgressBar(reprogram) { BUILDSTDERR: ^ BUILDSTDERR: upslug2_progress.h:289:3: warning: when initialized here [-Wreorder] BUILDSTDERR: CharacterProgressBar(bool reprogram, int n, const char ind[NumberOfStates] = 0) : BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: upslug2.cc:364:11: warning: ignoring return value of 'int seteuid(__uid_t)', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: ::seteuid(::getuid()); BUILDSTDERR: ~~~~~~~~~^~~~~~~~~~~~ g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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' + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.bUroil + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/upslug2-0.0-0.20.20071107.svn39.fc30.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/upslug2-0.0-0.20.20071107.svn39.fc30.riscv64 BUILDSTDERR: ++ dirname /builddir/build/BUILDROOT/upslug2-0.0-0.20.20071107.svn39.fc30.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/upslug2-0.0-0.20.20071107.svn39.fc30.riscv64 + cd upslug2 + rm -rf /builddir/build/BUILDROOT/upslug2-0.0-0.20.20071107.svn39.fc30.riscv64 + make install DESTDIR=/builddir/build/BUILDROOT/upslug2-0.0-0.20.20071107.svn39.fc30.riscv64 make[1]: Entering directory '/builddir/build/BUILD/upslug2' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/upslug2-0.0-0.20.20071107.svn39.fc30.riscv64/usr/sbin' /usr/bin/install -c upslug2 '/builddir/build/BUILDROOT/upslug2-0.0-0.20.20071107.svn39.fc30.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.20.20071107.svn39.fc30.riscv64//usr/share/man/man8 + install -p -m 644 upslug2.8 /builddir/build/BUILDROOT/upslug2-0.0-0.20.20071107.svn39.fc30.riscv64//usr/share/man/man8 + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 0.0-0.20.20071107.svn39.fc30 --unique-debug-suffix -0.0-0.20.20071107.svn39.fc30.riscv64 --unique-debug-src-base upslug2-0.0-0.20.20071107.svn39.fc30.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.20.20071107.svn39.fc30.riscv64/usr/sbin/upslug2 extracting debug info from /builddir/build/BUILDROOT/upslug2-0.0-0.20.20071107.svn39.fc30.riscv64/usr/sbin/upslug2 /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. BUILDSTDERR: 211 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig BUILDSTDERR: /sbin/ldconfig: Warning: ignoring configuration file that cannot be opened: /etc/ld.so.conf: No such file or directory + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 0 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Processing files: upslug2-0.0-0.20.20071107.svn39.fc30.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.toZG12 + umask 022 + cd /builddir/build/BUILD + cd upslug2 + DOCDIR=/builddir/build/BUILDROOT/upslug2-0.0-0.20.20071107.svn39.fc30.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.20.20071107.svn39.fc30.riscv64/usr/share/doc/upslug2 + cp -pr AUTHORS /builddir/build/BUILDROOT/upslug2-0.0-0.20.20071107.svn39.fc30.riscv64/usr/share/doc/upslug2 + cp -pr ChangeLog /builddir/build/BUILDROOT/upslug2-0.0-0.20.20071107.svn39.fc30.riscv64/usr/share/doc/upslug2 + cp -pr COPYING /builddir/build/BUILDROOT/upslug2-0.0-0.20.20071107.svn39.fc30.riscv64/usr/share/doc/upslug2 + cp -pr README /builddir/build/BUILDROOT/upslug2-0.0-0.20.20071107.svn39.fc30.riscv64/usr/share/doc/upslug2 + exit 0 Provides: upslug2 = 0.0-0.20.20071107.svn39.fc30 upslug2(riscv-64) = 0.0-0.20.20071107.svn39.fc30 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) 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.20.20071107.svn39.fc30.riscv64 Provides: upslug2-debugsource = 0.0-0.20.20071107.svn39.fc30 upslug2-debugsource(riscv-64) = 0.0-0.20.20071107.svn39.fc30 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.20.20071107.svn39.fc30.riscv64 Provides: debuginfo(build-id) = 4a046b6c9cc6fb45fb8fcb2ec040c407903f6f7c upslug2-debuginfo = 0.0-0.20.20071107.svn39.fc30 upslug2-debuginfo(riscv-64) = 0.0-0.20.20071107.svn39.fc30 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.20.20071107.svn39.fc30 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/upslug2-0.0-0.20.20071107.svn39.fc30.riscv64 Wrote: /builddir/build/RPMS/upslug2-0.0-0.20.20071107.svn39.fc30.riscv64.rpm Wrote: /builddir/build/RPMS/upslug2-debugsource-0.0-0.20.20071107.svn39.fc30.riscv64.rpm Wrote: /builddir/build/RPMS/upslug2-debuginfo-0.0-0.20.20071107.svn39.fc30.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.82JEF9 + umask 022 + cd /builddir/build/BUILD + cd upslug2 + /usr/bin/rm -rf /builddir/build/BUILDROOT/upslug2-0.0-0.20.20071107.svn39.fc30.riscv64 + exit 0 Child return code was: 0