+ exec + rm -rf /rpmbuild + mkdir -p /rpmbuild + su -c 'rpmbuild -ba /builddir/build/SPECS/ctorrent.spec --define "debug_package %{nil}" --undefine _annotated_build --define "_missing_doc_files_terminate_build %{nil}" --define "_emacs_sitestartdir /usr/share/emacs/site-lisp/site-start.d" --define "_emacs_sitelispdir /usr/share/emacs/site-lisp" --nocheck ' mockbuild warning: bogus date in %changelog: Tue Feb 26 2009 Dominik 'Rathann' Mierzejewski 1.3.4-9.dnh3.3.2 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.Bj8nMr + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf ctorrent-dnh3.3.2 + /usr/bin/gzip -dc /builddir/build/SOURCES/ctorrent-dnh3.3.2.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd ctorrent-dnh3.3.2 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (ctorrent-CVE-2009-1759.patch):' Patch #0 (ctorrent-CVE-2009-1759.patch): + /usr/bin/patch --no-backup-if-mismatch -p0 --fuzz=0 patching file bencode.h patching file bencode.cpp patching file btfiles.cpp + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.Wwtjww + umask 022 + cd /builddir/build/BUILD + cd ctorrent-dnh3.3.2 + 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 ' + 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 ' + 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 -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 -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + '[' 1 = 1 ']' +++ dirname ./configure ++ find . -name config.guess -o -name config.sub + '[' 1 = 1 ']' + '[' x '!=' x-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 checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for gawk... gawk checking whether make sets $(MAKE)... yes checking for riscv64-redhat-linux-gnu-g++... no checking for riscv64-redhat-linux-gnu-c++... no checking for riscv64-redhat-linux-gnu-gpp... no checking for riscv64-redhat-linux-gnu-aCC... no checking for riscv64-redhat-linux-gnu-CC... no checking for riscv64-redhat-linux-gnu-cxx... no checking for riscv64-redhat-linux-gnu-cc++... no checking for riscv64-redhat-linux-gnu-cl.exe... no checking for riscv64-redhat-linux-gnu-FCC... no checking for riscv64-redhat-linux-gnu-KCC... no checking for riscv64-redhat-linux-gnu-RCC... no checking for riscv64-redhat-linux-gnu-xlC_r... no checking for riscv64-redhat-linux-gnu-xlC... no checking for g++... g++ checking for C++ compiler default output file name... a.out checking whether the C++ compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking for style of include used by make... GNU checking dependency style of g++... none checking for riscv64-redhat-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 dependency style of gcc... none checking for library containing clock_gettime... none required checking for library containing gethostbyname... none required checking for library containing socket... none required checking for dirent.h that defines DIR... yes checking for library containing opendir... none required checking how to run the C++ preprocessor... g++ -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 whether time.h and sys/time.h may both be included... 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 arpa/inet.h usability... yes checking arpa/inet.h presence... yes checking for arpa/inet.h... yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking limits.h usability... yes checking limits.h presence... yes checking for limits.h... yes checking for memory.h... (cached) yes checking netdb.h usability... yes checking netdb.h presence... yes checking for netdb.h... yes checking netinet/in.h usability... yes checking netinet/in.h presence... yes checking for netinet/in.h... yes checking sys/param.h usability... yes checking sys/param.h presence... yes checking for sys/param.h... yes checking sys/socket.h usability... yes checking sys/socket.h presence... yes checking for sys/socket.h... yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking for unistd.h... (cached) yes checking termios.h usability... yes checking termios.h presence... yes checking for termios.h... yes checking termio.h usability... yes checking termio.h presence... yes checking for termio.h... yes checking sgtty.h usability... yes checking sgtty.h presence... yes checking for sgtty.h... yes checking ioctl.h usability... no checking ioctl.h presence... no checking for ioctl.h... no checking sys/ioctl.h usability... yes checking sys/ioctl.h presence... yes checking for sys/ioctl.h... yes checking for an ANSI C-conforming const... yes checking for inline... inline checking whether gcc needs -traditional... no checking for size_t... yes checking for ssize_t... yes checking for int8_t... yes checking for int16_t... yes checking for int32_t... yes checking for int64_t... yes checking for uint8_t... yes checking for uint16_t... yes checking for uint32_t... yes checking for uint64_t... yes checking for clockid_t... yes checking whether INADDR_NONE is declared... yes checking whether byte ordering is bigendian... no checking for working memcmp... yes checking return type of signal handlers... void checking whether lstat dereferences a symlink specified with a trailing slash... yes checking whether stat accepts an empty string... no checking for working strtod... yes checking for clock_gettime... yes checking for ftruncate... yes checking for gethostbyname... yes checking for gettimeofday... yes checking for getwd... yes checking for inet_ntoa... yes checking for memchr... yes checking for memmove... yes checking for memset... yes checking for mkdir... yes checking for random... yes checking for select... yes checking for snprintf... yes checking for socket... yes checking for strerror... yes checking for strcasecmp... yes checking for strncasecmp... yes checking for strtol... yes checking for strtoll... yes checking for strnstr... no checking for system... yes checking for vsnprintf... yes checking for pid_t... yes checking vfork.h usability... no checking vfork.h presence... no checking for vfork.h... no checking for fork... yes checking for vfork... yes checking for working fork... yes checking for working vfork... (cached) yes checking for special C compiler options needed for large files... no checking for _FILE_OFFSET_BITS value needed for large files... no checking for _LARGEFILE_SOURCE value needed for large files... no checking POSIX termios... yes checking whether termios.h defines TIOCGWINSZ... no checking whether sys/ioctl.h defines TIOCGWINSZ... yes checking for library containing SHA1_Init... -lcrypto checking openssl/sha.h usability... yes checking openssl/sha.h presence... yes checking for openssl/sha.h... yes checking ssl/sha.h usability... no checking ssl/sha.h presence... no checking for ssl/sha.h... no checking sha.h usability... no checking sha.h presence... no checking for sha.h... no checking for ctime_r... yes, and it takes 2 arguments configure: creating ./config.status config.status: creating Makefile config.status: WARNING: Makefile.in seems to ignore the --datarootdir setting config.status: creating config.h config.status: executing depfiles commands + make -j4 make all-am make[1]: Entering directory '/builddir/build/BUILD/ctorrent-dnh3.3.2' g++ -DHAVE_CONFIG_H -I. -I. -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 -c -o bencode.o bencode.cpp g++ -DHAVE_CONFIG_H -I. -I. -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 -c -o bitfield.o bitfield.cpp g++ -DHAVE_CONFIG_H -I. -I. -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 -c -o btconfig.o btconfig.cpp g++ -DHAVE_CONFIG_H -I. -I. -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 -c -o btcontent.o btcontent.cpp g++ -DHAVE_CONFIG_H -I. -I. -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 -c -o btfiles.o btfiles.cpp bitfield.cpp: In member function 'void BitField::_setall(unsigned char*)': bitfield.cpp:99:10: warning: unused variable 'i' [-Wunused-variable] size_t i; ^ bitfield.cpp: In member function 'int BitField::SetReferFile(const char*)': bitfield.cpp:316:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if( sb.st_size != nbytes ) return -1; ~~~~~~~~~~~^~~~~~~~~ btcontent.cpp: In member function 'int btContent::InitialFromMI(const char*, const char*)': btcontent.cpp:293:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if( r = meta_pos("announce-list") ){ ^ btcontent.cpp:296:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if( q = decode_list(b+r, flen-r, (char *)0) ){ ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ btcontent.cpp:299:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for( ; r < alend && *(b+r) != 'e' && n < 9; ){ // each list ~~^~~~~~~ btcontent.cpp:302:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for( ; r < alend && n < 9; ){ // each value ~~^~~~~~~ btcontent.cpp:320:19: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if( m_comment = new char[r + 1] ){ ~~~~~~~~~~^~~~~~~~~~~~~~~~~ btcontent.cpp:326:22: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if( m_created_by = new char[r + 1] ){ ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ btcontent.cpp: In member function 'void btContent::CacheEval()': btcontent.cpp:689:19: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if( slowest = WORLD.GetSlowestUp(slowest) ) ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ btcontent.cpp:702:19: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if( slowest = WORLD.GetSlowestUp(slowest) ) ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ btcontent.cpp:713:19: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if( slowest = WORLD.GetSlowestUp(slowest) ){ ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ btcontent.cpp:651:44: warning: variable 'upmax' set but not used [-Wunused-but-set-variable] size_t unflushed = 0, dlnext, upadd = 0, upmax = 0, upmin = 0, total; ^~~~~ btcontent.cpp: In member function 'void btContent::FlushCache()': btcontent.cpp:769:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for( int i=0; i < m_npieces; i++ ){ ~~^~~~~~~~~~~ g++ -DHAVE_CONFIG_H -I. -I. -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 -c -o btrequest.o btrequest.cpp btcontent.cpp: In member function 'void btContent::CompletionCommand()': btcontent.cpp:1309:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] while( pt = strstr(pt, "&t") ){ nt++; pt+=2; } ~~~^~~~~~~~~~~~~~~~~~ btcontent.cpp:1310:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] while( pd = strstr(pd, "&d") ){ nd++; pd+=2; } ~~~^~~~~~~~~~~~~~~~~~ btcontent.cpp:1311:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] while( pw = strstr(pw, "&w") ){ nw++; pw+=2; } ~~~^~~~~~~~~~~~~~~~~~ btfiles.cpp: In member function 'int btFiles::BuildFromMI(const char*, size_t, const char*)': btfiles.cpp:492:18: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if( f_conv = ConvertFilename(tmpfn, path, strlen(path)*2+5) ){ ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ btfiles.cpp:547:18: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if( f_conv = ConvertFilename(tmpfn, path, strlen(path)*2+5) ){ ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ btfiles.cpp: In member function 'int btFiles::CreateFiles()': btfiles.cpp:656:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if(sb.st_size != pbt->bf_length){ ~~~~~~~~~~~^~~~~~~~~~~~~~~~~ btcontent.cpp: In member function 'int btContent::NeedFlush() const': btcontent.cpp:764:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ btfiles.cpp: In member function 'void btFiles::SetFilter(int, BitField*, size_t)': btfiles.cpp:746:24: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if( nfile==0 || nfile>m_nfiles ){ ~~~~~^~~~~~~~~ btfiles.cpp:753:13: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if(++id == nfile){ ~~~~~^~~~~~~~ g++ -DHAVE_CONFIG_H -I. -I. -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 -c -o btstream.o btstream.cpp btfiles.cpp: In member function 'int btFiles::_btf_ftruncate(int, int64_t)': btfiles.cpp:257:9: warning: 'r' may be used uninitialized in this function [-Wmaybe-uninitialized] int r, wlen; ^ btrequest.cpp: In member function 'int PendingQueue::Exist(size_t) const': btrequest.cpp:500:44: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for ( i = 0; i < PENDING_QUEUE_SIZE && j < pq_count; i++ ){ ~~^~~~~~~~~~ btrequest.cpp: In member function 'int PendingQueue::HasSlice(size_t, size_t, size_t)': btrequest.cpp:512:43: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for( i = 0; i < PENDING_QUEUE_SIZE && j < pq_count; i++ ){ ~~^~~~~~~~~~ btrequest.cpp: In member function 'int PendingQueue::Delete(size_t)': btrequest.cpp:614:44: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for ( i = 0; i < PENDING_QUEUE_SIZE && j < pq_count; i++ ){ ~~^~~~~~~~~~ btrequest.cpp: In member function 'int PendingQueue::DeleteSlice(size_t, size_t, size_t)': btrequest.cpp:632:43: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for( i = 0; i < PENDING_QUEUE_SIZE && j < pq_count; i++ ){ ~~^~~~~~~~~~ btrequest.cpp: In member function 'int RequestQueue::CopyShuffle(const RequestQueue*, size_t)': btrequest.cpp:184:9: warning: 'end' may be used uninitialized in this function [-Wmaybe-uninitialized] end = end->next; ~~~~^~~~~~~~~~~ g++ -DHAVE_CONFIG_H -I. -I. -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 -c -o bufio.o bufio.cpp gcc -DHAVE_CONFIG_H -I. -I. -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 -c compat.c g++ -DHAVE_CONFIG_H -I. -I. -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 -c -o connect_nonb.o connect_nonb.cpp g++ -DHAVE_CONFIG_H -I. -I. -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 -c -o console.o console.cpp g++ -DHAVE_CONFIG_H -I. -I. -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 -c -o ctcs.o ctcs.cpp g++ -DHAVE_CONFIG_H -I. -I. -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 -c -o ctorrent.o ctorrent.cpp g++ -DHAVE_CONFIG_H -I. -I. -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 -c -o downloader.o downloader.cpp console.cpp: In member function 'void ConStream::Associate(FILE*, const char*, int)': console.cpp:85:14: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if( m_name = new char[strlen(name)+1] ) ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ console.cpp: In member function 'void Console::User(fd_set*, fd_set*, int*, fd_set*, fd_set*)': console.cpp:385:15: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if( s = strchr(param, '\n') ) *s = '\0'; ~~^~~~~~~~~~~~~~~~~~~~~ console.cpp: In member function 'int Console::ChangeChannel(int, const char*, int)': console.cpp:785:16: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if( dest = new ConStream ){ ~~~~~^~~~~~~~~~~~~~~ console.cpp:790:20: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if( stream = fopen(param, (channel==O_INPUT) ? "r" : "a") ) ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ console.cpp: In member function 'void Console::ShowFiles()': console.cpp:846:14: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] while( ++n <= BTCONTENT.GetNFiles() ){ ~~~~^~~~~~~~~~~~~~~~~~~~~~~~ console.cpp:841:11: warning: unused variable 'file' [-Wunused-variable] BTFILE *file = 0; ^~~~ console.cpp: In member function 'void Console::StatusLine0(char*, size_t)': console.cpp:927:64: warning: format '%d' expects argument of type 'int', but argument 3 has type 'size_t {aka long unsigned int}' [-Wformat=] 100 * BTCONTENT.CheckedPieces() / BTCONTENT.GetNPieces() ); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ console.cpp:960:3: warning: format '%d' expects argument of type 'int', but argument 6 has type 'size_t {aka long unsigned int}' [-Wformat=] console.cpp:935:5: (int)(WORLD.GetPeersCount()) - WORLD.GetSeedsCount(), ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ console.cpp:960:3: ); ^ console.cpp: In member function 'void Console::StatusLine1(char*, size_t)': console.cpp:982:14: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if( rate = Self.RateDL() ){ ~~~~~^~~~~~~~~~~~~~~ console.cpp:996:64: warning: format '%d' expects argument of type 'int', but argument 3 has type 'size_t {aka long unsigned int}' [-Wformat=] 100 * BTCONTENT.CheckedPieces() / BTCONTENT.GetNPieces() ); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ console.cpp:1004:60: warning: format '%d' expects argument of type 'int', but argument 3 has type 'size_t {aka long unsigned int}' [-Wformat=] 100 * BTCONTENT.pBF->Count() / BTCONTENT.GetNPieces()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ console.cpp:1023:14: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if( rate = Self.RateDL() ){ ~~~~~^~~~~~~~~~~~~~~ console.cpp:1032:19: warning: suggest parentheses around assignment used as truth value [-Wparentheses] else if( rate = Self.RateUL() ){ ~~~~~^~~~~~~~~~~~~~~ console.cpp:1084:3: warning: format '%d' expects argument of type 'int', but argument 7 has type 'size_t {aka long unsigned int}' [-Wformat=] console.cpp:1063:5: (int)(WORLD.GetPeersCount()) - WORLD.GetSeedsCount() - WORLD.GetConnCount(), ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ console.cpp:1084:3: ); ^ console.cpp:1084:3: warning: format '%d' expects argument of type 'int', but argument 8 has type 'size_t {aka long unsigned int}' [-Wformat=] In file included from console.cpp:28:0: sigint.h: At global scope: sigint.h:10:19: warning: 'void sig_catch2(int)' declared 'static' but never defined [-Wunused-function] static RETSIGTYPE sig_catch2(int sig_no); ^~~~~~~~~~ ctcs.cpp: In member function 'int Ctcs::Send_Status()': ctcs.cpp:287:22: warning: format '%d' expects argument of type 'int', but argument 7 has type 'size_t {aka long unsigned int}' [-Wformat=] ctcs.cpp:280:9: (int)(Tracker.GetPeersCount()) - Tracker.GetSeedsCount() - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (!BTCONTENT.IsFull() ? 1 : 0), ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ctcs.cpp:287:22: (int)cacheused ); ^ ctcs.cpp: In member function 'int Ctcs::Send_Detail()': ctcs.cpp:609:37: warning: format '%lld' expects argument of type 'long long int', but argument 4 has type 'uint64_t {aka long unsigned int}' [-Wformat=] ctcs.cpp:607:5: BTCONTENT.GetTotalFilesLength(), ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ctcs.cpp:609:37: (long)(BTCONTENT.GetSeedTime()) ); ^ ctcs.cpp:637:24: warning: suggest parentheses around assignment used as truth value [-Wparentheses] while( pfilter = BTCONTENT.GetNextFilter(pfilter) ){ ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ctcs.cpp:602:11: warning: unused variable 'file' [-Wunused-variable] BTFILE *file=0; ^~~~ ctcs.cpp: In member function 'int Ctcs::Initial()': ctcs.cpp:718:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if( s = strchr(m_host, ':') ) *s='\0'; ~~^~~~~~~~~~~~~~~~~~~~~ ctorrent.cpp: In function 'int main(int, char**)': ctorrent.cpp:75:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] while(s = strchr(cfg_user_agent, ' ')) *s = '-'; ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ctorrent.cpp: In function 'int param_check(int, char**)': ctorrent.cpp:140:9: warning: unused variable 's' [-Wunused-variable] char *s; ^ In file included from ctorrent.cpp:32:0: sigint.h: At global scope: sigint.h:10:19: warning: 'void sig_catch2(int)' declared 'static' but never defined [-Wunused-function] static RETSIGTYPE sig_catch2(int sig_no); ^~~~~~~~~~ g++ -DHAVE_CONFIG_H -I. -I. -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 -c -o httpencode.o httpencode.cpp downloader.cpp: In function 'void Downloader()': downloader.cpp:33:19: warning: unused variable 'nowspec' [-Wunused-variable] struct timespec nowspec; ^~~~~~~ g++ -DHAVE_CONFIG_H -I. -I. -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 -c -o iplist.o iplist.cpp httpencode.cpp: In function 'size_t Http_split(char*, size_t, char**, size_t*)': httpencode.cpp:92:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if( p = strnstr(b,"\r\n\r\n",n) ) addtion = 4; ~~^~~~~~~~~~~~~~~~~~~~~~~~~ httpencode.cpp:93:16: warning: suggest parentheses around assignment used as truth value [-Wparentheses] else if( p = strnstr(b,"\n\n",n) ) addtion = 2; ~~^~~~~~~~~~~~~~~~~~~~~ g++ -DHAVE_CONFIG_H -I. -I. -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 -c -o peer.o peer.cpp g++ -DHAVE_CONFIG_H -I. -I. -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 -c -o peerlist.o peerlist.cpp g++ -DHAVE_CONFIG_H -I. -I. -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 -c -o rate.o rate.cpp peer.cpp: In member function 'int btPeer::RequestPiece()': peer.cpp:196:7: warning: unused variable 'endgame' [-Wunused-variable] int endgame = 0; ^~~~~~~ peer.cpp: In member function 'int btPeer::MsgDeliver()': peer.cpp:468:52: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if( m_last_timestamp - m_unchoke_timestamp > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ (m_latency ? (m_latency*2) : 60) ){ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ peer.cpp:530:52: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] m_last_timestamp - m_unchoke_timestamp > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ (m_latency ? (m_latency*2) : 60) ){ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ peer.cpp: In member function 'int btPeer::ReponseSlice()': peer.cpp:576:35: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if( rate < unchoked || rate < (unchoked*len)/3600 ) ~~~~~^~~~~~~~~~~~~~~~~~~~~ peer.cpp:587:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ( (currentrate < cfg_max_bandwidth_up || 0==cfg_max_bandwidth_up) ? ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ peer.cpp: In member function 'int btPeer::CancelRequest()': peer.cpp:681:7: warning: unused variable 'retval' [-Wunused-variable] int retval; ^~~~~~ peer.cpp: In member function 'int btPeer::PieceDeliver(size_t)': peer.cpp:828:40: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] m_last_timestamp - m_cancel_time <= (m_latency ? (m_latency*2) : 60) && ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ peer.cpp:865:42: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if( m_last_timestamp - m_cancel_time > (m_latency ? (m_latency*2) : 60) ){ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ peer.cpp: In member function 'int btPeer::RecvModule()': peer.cpp:1197:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses] while( r = stream.HaveMessage() ){ ~~^~~~~~~~~~~~~~~~~~~~~~ peer.cpp: In member function 'int btPeer::HealthCheck()': peer.cpp:1272:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if( m_receive_time < now - 2*allowance ){ ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ peer.cpp:1281:32: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] }else if( m_receive_time < now - allowance ){ ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ peer.cpp: In member function 'void btPeer::Prefetch(time_t)': peer.cpp:1372:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] predict <= now + cfg_cache_size*1024*1024 / rd) ){ ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ peer.cpp:1375:33: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] now - m_prefetch_time > BTCONTENT.CacheSize() / (rd + ru) ){ ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -DHAVE_CONFIG_H -I. -I. -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 -c -o setnonblock.o setnonblock.cpp rate.cpp: In member function 'size_t Rate::RateMeasure()': rate.cpp:260:10: warning: unused variable 'timestamp' [-Wunused-variable] time_t timestamp = now; ^~~~~~~~~ peerlist.cpp: In member function 'int PeerList::IntervalCheck(fd_set*, fd_set*)': peerlist.cpp:282:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ( cfg_max_bandwidth_up < cfg_req_slice_size * (MIN_OPT_CYCLE-1) / ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (MIN_UNCHOKE_INTERVAL * MIN_OPT_CYCLE) || ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ peerlist.cpp:284:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] m_prev_limit_up < cfg_req_slice_size * (MIN_OPT_CYCLE-1) / ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (MIN_UNCHOKE_INTERVAL * MIN_OPT_CYCLE) ) ) ){ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ peerlist.cpp:210:7: warning: unused variable 'i' [-Wunused-variable] int i = 0; ^ peerlist.cpp: In member function 'int PeerList::FillFDSet(fd_set*, fd_set*, int, int, btPeer**)': peerlist.cpp:414:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for( int i = 0; i < m_max_unchoke + 1; i++ ){ ~~^~~~~~~~~~~~~~~~~~~ peerlist.cpp: In member function 'void PeerList::SetUnchokeIntervals()': peerlist.cpp:460:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if( m_max_unchoke+1 < 60 / m_unchoke_interval ){ ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ peerlist.cpp:465:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if( optx > m_max_unchoke+2 ) optx = m_max_unchoke+2; ~~~~~^~~~~~~~~~~~~~~~~ peerlist.cpp: In member function 'size_t PeerList::What_Can_Duplicate(BitField&, const btPeer*, size_t)': peerlist.cpp:561:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for( i = 1; i < slots; i++ ) ~~^~~~~~~ peerlist.cpp:585:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if( i >= slots ){ ~~^~~~~~~~ peerlist.cpp:605:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for( i = 0; i < slots; i++ ){ ~~^~~~~~~ peerlist.cpp:613:12: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if( mark < slots && data[mark].count == 1 ) m_dup_req_pieces++; ~~~~~^~~~~~~ peerlist.cpp:616:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] return (mark < slots) ? data[mark].idx : BTCONTENT.GetNPieces(); ~~~~~^~~~~~~ peerlist.cpp: In member function 'void PeerList::CancelOneRequest(size_t)': peerlist.cpp:787:24: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if( peer && dupcount > peer->request_q.Qlen(idx) ){ ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ peerlist.cpp: In member function 'void PeerList::PrintOut() const': peerlist.cpp:1007:22: warning: unused variable 'sin' [-Wunused-variable] struct sockaddr_in sin; ^~~ g++ -DHAVE_CONFIG_H -I. -I. -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 -c -o sigint.o sigint.cpp g++ -DHAVE_CONFIG_H -I. -I. -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 -c -o tracker.o tracker.cpp peerlist.cpp: In member function 'int PeerList::UnChokeCheck(btPeer*, btPeer**)': peerlist.cpp:1160:30: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for( cancel_idx = i = 0; i < m_max_unchoke + no_opt; i++ ){ ~~^~~~~~~~~~~~~~~~~~~~~~~~ peerlist.cpp: In member function 'int PeerList::IsIdle()': peerlist.cpp:1499:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] (slow = (Self.RateDL() < cfg_max_bandwidth_down / 2))) && ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ peerlist.cpp:1511:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] (slow = (Self.RateUL() < cfg_max_bandwidth_up / 2))) && ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ peer.cpp:1375:63: warning: 'ru' may be used uninitialized in this function [-Wmaybe-uninitialized] now - m_prefetch_time > BTCONTENT.CacheSize() / (rd + ru) ){ ~~~~^~~~~ tracker.cpp: In member function 'int btTracker::CheckReponse()': tracker.cpp:269:34: warning: unused variable 'ih_buf' [-Wunused-variable] char redirect[MAXPATHLEN], ih_buf[20 * 3 + 1], pi_buf[20 * 3 + 1], ^~~~~~ tracker.cpp:269:54: warning: unused variable 'pi_buf' [-Wunused-variable] char redirect[MAXPATHLEN], ih_buf[20 * 3 + 1], pi_buf[20 * 3 + 1], ^~~~~~ tracker.cpp:270:12: warning: unused variable 'tmppath' [-Wunused-variable] tmppath[MAXPATHLEN]; ^~~~~~~ tracker.cpp:234:17: warning: unused variable 'format' [-Wunused-variable] char *pdata, *format; ^~~~~~ tracker.cpp: In member function 'int btTracker::Initial()': tracker.cpp:353:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if( h = gethostbyname(hostname) ){ ~~^~~~~~~~~~~~~~~~~~~~~~~~~ tracker.cpp: In member function 'int btTracker::SendRequest()': tracker.cpp:466:63: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] char *event,*str_event[] = {"started","stopped","completed" }; ^ tracker.cpp:466:63: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] tracker.cpp:466:63: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] gcc -DHAVE_CONFIG_H -I. -I. -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 -c sha1.c peerlist.cpp: In member function 'int PeerList::IntervalCheck(fd_set*, fd_set*)': peerlist.cpp:304:76: warning: 'UNCHOKER' may be used uninitialized in this function [-Wmaybe-uninitialized] return FillFDSet(rfdp, wfdp, f_keepalive_check, f_unchoke_check, UNCHOKER); ^ 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 -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o ctorrent bencode.o bitfield.o btconfig.o btcontent.o btfiles.o btrequest.o btstream.o bufio.o compat.o connect_nonb.o console.o ctcs.o ctorrent.o downloader.o httpencode.o iplist.o peer.o peerlist.o rate.o setnonblock.o sigint.o tracker.o sha1.o -lcrypto make[1]: Leaving directory '/builddir/build/BUILD/ctorrent-dnh3.3.2' + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.n4PBGf + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/ctorrent-1.3.4-27.dnh3.3.2.fc28.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/ctorrent-1.3.4-27.dnh3.3.2.fc28.riscv64 ++ dirname /builddir/build/BUILDROOT/ctorrent-1.3.4-27.dnh3.3.2.fc28.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/ctorrent-1.3.4-27.dnh3.3.2.fc28.riscv64 + cd ctorrent-dnh3.3.2 + rm -rf /builddir/build/BUILDROOT/ctorrent-1.3.4-27.dnh3.3.2.fc28.riscv64 + make install DESTDIR=/builddir/build/BUILDROOT/ctorrent-1.3.4-27.dnh3.3.2.fc28.riscv64 make[1]: Entering directory '/builddir/build/BUILD/ctorrent-dnh3.3.2' test -z "/usr/bin" || mkdir -p -- "/builddir/build/BUILDROOT/ctorrent-1.3.4-27.dnh3.3.2.fc28.riscv64/usr/bin" /usr/bin/install -c 'ctorrent' '/builddir/build/BUILDROOT/ctorrent-1.3.4-27.dnh3.3.2.fc28.riscv64/usr/bin/ctorrent' make[1]: Nothing to be done for 'install-data-am'. make[1]: Leaving directory '/builddir/build/BUILD/ctorrent-dnh3.3.2' + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig /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 /usr/bin/strip + /usr/lib/rpm/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Processing files: ctorrent-1.3.4-27.dnh3.3.2.fc28.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.gyF8uk + umask 022 + cd /builddir/build/BUILD + cd ctorrent-dnh3.3.2 + DOCDIR=/builddir/build/BUILDROOT/ctorrent-1.3.4-27.dnh3.3.2.fc28.riscv64/usr/share/doc/ctorrent + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/ctorrent-1.3.4-27.dnh3.3.2.fc28.riscv64/usr/share/doc/ctorrent + cp -pr AUTHORS /builddir/build/BUILDROOT/ctorrent-1.3.4-27.dnh3.3.2.fc28.riscv64/usr/share/doc/ctorrent + cp -pr COPYING /builddir/build/BUILDROOT/ctorrent-1.3.4-27.dnh3.3.2.fc28.riscv64/usr/share/doc/ctorrent + cp -pr ChangeLog /builddir/build/BUILDROOT/ctorrent-1.3.4-27.dnh3.3.2.fc28.riscv64/usr/share/doc/ctorrent + cp -pr NEWS /builddir/build/BUILDROOT/ctorrent-1.3.4-27.dnh3.3.2.fc28.riscv64/usr/share/doc/ctorrent + cp -pr README /builddir/build/BUILDROOT/ctorrent-1.3.4-27.dnh3.3.2.fc28.riscv64/usr/share/doc/ctorrent + cp -pr README-DNH.TXT /builddir/build/BUILDROOT/ctorrent-1.3.4-27.dnh3.3.2.fc28.riscv64/usr/share/doc/ctorrent + cp -pr UserGuide /builddir/build/BUILDROOT/ctorrent-1.3.4-27.dnh3.3.2.fc28.riscv64/usr/share/doc/ctorrent + exit 0 Provides: ctorrent = 1.3.4-27.dnh3.3.2.fc28 ctorrent(riscv-64) = 1.3.4-27.dnh3.3.2.fc28 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) libcrypto.so.1.1()(64bit) libcrypto.so.1.1(OPENSSL_1_1_0)(64bit) libgcc_s.so.1()(64bit) libgcc_s.so.1(GCC_3.0)(64bit) libgcc_s.so.1(GCC_4.3.0)(64bit) libm.so.6()(64bit) libstdc++.so.6()(64bit) libstdc++.so.6(CXXABI_1.3)(64bit) libstdc++.so.6(CXXABI_1.3.8)(64bit) libstdc++.so.6(CXXABI_1.3.9)(64bit) libstdc++.so.6(GLIBCXX_3.4)(64bit) rtld(GNU_HASH) Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/ctorrent-1.3.4-27.dnh3.3.2.fc28.riscv64 Wrote: /builddir/build/SRPMS/ctorrent-1.3.4-27.dnh3.3.2.fc28.src.rpm Wrote: /builddir/build/RPMS/riscv64/ctorrent-1.3.4-27.dnh3.3.2.fc28.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.nLpLXw + umask 022 + cd /builddir/build/BUILD + cd ctorrent-dnh3.3.2 + rm -rf /builddir/build/BUILDROOT/ctorrent-1.3.4-27.dnh3.3.2.fc28.riscv64 + exit 0 + touch /buildok + cleanup + set +e + sync + sleep 5 + sync + poweroff Terminated ++ cleanup ++ set +e ++ sync Terminated +++ cleanup +++ set +e +++ sync +++ sleep 5 +++ sync +++ poweroff