<86>Jun 7 11:23:00 userdel[2455213]: delete user 'rooter' <86>Jun 7 11:23:00 groupadd[2455218]: group added to /etc/group: name=rooter, GID=549 <86>Jun 7 11:23:00 groupadd[2455218]: group added to /etc/gshadow: name=rooter <86>Jun 7 11:23:00 groupadd[2455218]: new group: name=rooter, GID=549 <86>Jun 7 11:23:00 useradd[2455222]: new user: name=rooter, UID=549, GID=549, home=/root, shell=/bin/bash <86>Jun 7 11:23:00 userdel[2455242]: delete user 'builder' <86>Jun 7 11:23:00 userdel[2455242]: removed group 'builder' owned by 'builder' <86>Jun 7 11:23:00 userdel[2455242]: removed shadow group 'builder' owned by 'builder' <86>Jun 7 11:23:00 groupadd[2455251]: group added to /etc/group: name=builder, GID=550 <86>Jun 7 11:23:00 groupadd[2455251]: group added to /etc/gshadow: name=builder <86>Jun 7 11:23:00 groupadd[2455251]: new group: name=builder, GID=550 <86>Jun 7 11:23:00 useradd[2455255]: new user: name=builder, UID=550, GID=550, home=/usr/src, shell=/bin/bash <13>Jun 7 11:23:02 rpmi: gcc-c++-common-1.4.23-alt1 sisyphus+221902.2500.4.1 1550596716 installed <13>Jun 7 11:23:02 rpmi: libstdc++8-devel-8.4.1-alt0.p9.1 p9+247559.100.2.1 1585587912 installed <13>Jun 7 11:23:03 rpmi: gcc8-c++-8.4.1-alt0.p9.1 p9+247559.100.2.1 1585587912 installed <13>Jun 7 11:23:03 rpmi: libp11-kit-0.23.15-alt1 sisyphus+226408.100.2.1 1554288204 installed <13>Jun 7 11:23:03 rpmi: libtasn1-4.14-alt1 p9+235792.100.2.1 1565425233 installed <13>Jun 7 11:23:03 rpmi: rpm-macros-alternatives-0.5.1-alt1 sisyphus+226946.100.1.1 1554830426 installed <13>Jun 7 11:23:03 rpmi: alternatives-0.5.1-alt1 sisyphus+226946.100.1.1 1554830426 installed <13>Jun 7 11:23:03 rpmi: ca-certificates-2020.01.23-alt1 p9+245253.100.3.1 1580749631 installed <13>Jun 7 11:23:03 rpmi: ca-trust-0.1.2-alt1 p9+233349.100.1.1 1561655062 installed <13>Jun 7 11:23:03 rpmi: p11-kit-trust-0.23.15-alt1 sisyphus+226408.100.2.1 1554288204 installed <13>Jun 7 11:23:03 rpmi: libcrypto1.1-1.1.1g-alt1 p9+250580.100.5.1 1588175266 installed <13>Jun 7 11:23:03 rpmi: libssl1.1-1.1.1g-alt1 p9+250580.100.5.1 1588175266 installed <13>Jun 7 11:23:03 rpmi: libssl-devel-1.1.1g-alt1 p9+250580.100.5.1 1588175266 installed <13>Jun 7 11:23:03 rpmi: gcc-c++-8-alt2 p9+246536.100.3.1 1582643803 installed Building target platforms: i586 Building for target i586 Wrote: /usr/src/in/nosrpm/ctorrent-3.3.2-alt2.nosrc.rpm Installing ctorrent-3.3.2-alt2.src.rpm Building target platforms: i586 Building for target i586 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.60266 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + rm -rf ctorrent-dnh3.3.2 + echo 'Source #0 (ctorrent-dnh3.3.2.tar.gz):' Source #0 (ctorrent-dnh3.3.2.tar.gz): + /bin/gzip -dc /usr/src/RPM/SOURCES/ctorrent-dnh3.3.2.tar.gz + /bin/tar -xf - + cd ctorrent-dnh3.3.2 + /bin/chmod -c -Rf u+rwX,go-w . + echo 'Patch #0 (ctorrent-dnh3.3.2-security-fix.patch):' Patch #0 (ctorrent-dnh3.3.2-security-fix.patch): + /usr/bin/patch -p0 patching file bencode.h patching file bencode.cpp patching file btfiles.cpp + echo 'Patch #1 (ctorrent-return-type-fix.patch):' Patch #1 (ctorrent-return-type-fix.patch): + /usr/bin/patch -p2 patching file btcontent.cpp + exit 0 Executing(%build): /bin/sh -e /usr/src/tmp/rpm-tmp.89795 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd ctorrent-dnh3.3.2 + CFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic' + export CFLAGS + CXXFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic' + export CXXFLAGS + FFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic' + export FFLAGS + '[' -n '' ']' ++ printf %s '-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic' ++ sed -r 's/(^|[[:space:]]+)-[^m][^[:space:]]*//g' + ASFLAGS=' -march=i586 -mtune=generic' + export ASFLAGS + export lt_cv_deplibs_check_method=pass_all + lt_cv_deplibs_check_method=pass_all + readlink -e -- ./configure + xargs -ri dirname -- '{}' + xargs -ri find '{}' -type f '(' -name config.sub -or -name config.guess ')' -printf '%h/\n' + sort -u + xargs -rn1 install -pm755 -- /usr/share/gnu-config/config.sub /usr/share/gnu-config/config.guess + ./configure --build=i586-alt-linux --host=i586-alt-linux --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib --libexecdir=/usr/lib --localstatedir=/var/lib --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --disable-dependency-tracking --disable-silent-rules --without-included-gettext checking for a BSD-compatible install... /bin/install -c checking whether build environment is sane... yes checking for gawk... gawk checking whether make sets $(MAKE)... yes checking for i586-alt-linux-g++... i586-alt-linux-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 i586-alt-linux-g++ accepts -g... yes checking for style of include used by make... GNU checking dependency style of i586-alt-linux-g++... none checking for i586-alt-linux-gcc... i586-alt-linux-gcc checking whether we are using the GNU C compiler... yes checking whether i586-alt-linux-gcc accepts -g... yes checking for i586-alt-linux-gcc option to accept ISO C89... none needed checking dependency style of i586-alt-linux-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... i586-alt-linux-g++ -E checking for grep that handles long lines and -e... /bin/grep checking for egrep... /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 i586-alt-linux-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... 64 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 make: Entering directory '/usr/src/RPM/BUILD/ctorrent-dnh3.3.2' make all-am make[1]: Entering directory '/usr/src/RPM/BUILD/ctorrent-dnh3.3.2' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I. -I. -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o bencode.o bencode.cpp i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I. -I. -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o bitfield.o bitfield.cpp bitfield.cpp: In member function 'void BitField::_setall(unsigned char*)': bitfield.cpp:99:10: warning: unused variable 'i' [-Wunused-variable] size_t i; ^ i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I. -I. -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o btconfig.o btconfig.cpp i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I. -I. -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o btcontent.o btcontent.cpp 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 of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] for( ; r < alend && *(b+r) != 'e' && n < 9; ){ // each list ~~^~~~~~~ btcontent.cpp:302:18: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-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:770:19: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] for( int i=0; i < m_npieces; i++ ){ ~~^~~~~~~~~~~ btcontent.cpp: In member function 'void btContent::CompletionCommand()': btcontent.cpp:1310:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] while( pt = strstr(pt, "&t") ){ nt++; pt+=2; } ~~~^~~~~~~~~~~~~~~~~~ btcontent.cpp:1311:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] while( pd = strstr(pd, "&d") ){ nd++; pd+=2; } ~~~^~~~~~~~~~~~~~~~~~ btcontent.cpp:1312:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] while( pw = strstr(pw, "&w") ){ nw++; pw+=2; } ~~~^~~~~~~~~~~~~~~~~~ i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I. -I. -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o btfiles.o btfiles.cpp 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 of integer expressions of different signedness: '__off64_t' {aka 'long long int'} and 'uint64_t' {aka 'long long unsigned int'} [-Wsign-compare] if(sb.st_size != pbt->bf_length){ ~~~~~~~~~~~^~~~~~~~~~~~~~~~~ btfiles.cpp: In member function 'void btFiles::SetFilter(int, BitField*, size_t)': btfiles.cpp:746:24: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] if( nfile==0 || nfile>m_nfiles ){ ~~~~~^~~~~~~~~ btfiles.cpp:753:13: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] if(++id == nfile){ ~~~~~^~~~~~~~ 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; ^ i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I. -I. -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o btrequest.o btrequest.cpp btrequest.cpp: In member function 'int PendingQueue::Exist(size_t) const': btrequest.cpp:500:44: warning: comparison of integer expressions of different signedness: 'int' and 'const size_t' {aka 'const unsigned int'} [-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 of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-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 of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-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 of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-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; ~~~~^~~~~~~~~~~ i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I. -I. -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o btstream.o btstream.cpp i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I. -I. -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o bufio.o bufio.cpp i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I. -I. -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c compat.c i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I. -I. -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o connect_nonb.o connect_nonb.cpp i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I. -I. -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o console.o console.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 of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-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::StatusLine1(char*, size_t)': console.cpp:982:14: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if( rate = Self.RateDL() ){ ~~~~~^~~~~~~~~~~~~~~ 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() ){ ~~~~~^~~~~~~~~~~~~~~ In file included from console.cpp:28: 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); ^~~~~~~~~~ i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I. -I. -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o ctcs.o ctcs.cpp ctcs.cpp: In member function 'int Ctcs::Send_Detail()': 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'; ~~^~~~~~~~~~~~~~~~~~~~~ i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I. -I. -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o ctorrent.o ctorrent.cpp 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: 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); ^~~~~~~~~~ i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I. -I. -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o downloader.o downloader.cpp downloader.cpp: In function 'void Downloader()': downloader.cpp:33:19: warning: unused variable 'nowspec' [-Wunused-variable] struct timespec nowspec; ^~~~~~~ i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I. -I. -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o httpencode.o httpencode.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; ~~^~~~~~~~~~~~~~~~~~~~~ i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I. -I. -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o iplist.o iplist.cpp i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I. -I. -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o peer.o peer.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 of integer expressions of different signedness: 'time_t' {aka 'long int'} and 'unsigned int' [-Wsign-compare] if( m_last_timestamp - m_unchoke_timestamp > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ (m_latency ? (m_latency*2) : 60) ){ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ peer.cpp:530:52: warning: comparison of integer expressions of different signedness: 'time_t' {aka 'long int'} and 'unsigned int' [-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 of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] if( rate < unchoked || rate < (unchoked*len)/3600 ) ~~~~~^~~~~~~~~~~~~~~~~~~~~ peer.cpp:587:20: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-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 of integer expressions of different signedness: 'time_t' {aka 'long int'} and 'unsigned int' [-Wsign-compare] m_last_timestamp - m_cancel_time <= (m_latency ? (m_latency*2) : 60) && ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ peer.cpp:865:42: warning: comparison of integer expressions of different signedness: 'time_t' {aka 'long int'} and 'unsigned int' [-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 of integer expressions of different signedness: 'time_t' {aka 'long int'} and 'long unsigned int' [-Wsign-compare] if( m_receive_time < now - 2*allowance ){ ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ peer.cpp:1281:32: warning: comparison of integer expressions of different signedness: 'time_t' {aka 'long int'} and 'long unsigned int' [-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 of integer expressions of different signedness: 'time_t' {aka 'long int'} and 'long unsigned int' [-Wsign-compare] predict <= now + cfg_cache_size*1024*1024 / rd) ){ ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ peer.cpp:1375:33: warning: comparison of integer expressions of different signedness: 'time_t' {aka 'long int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] now - m_prefetch_time > BTCONTENT.CacheSize() / (rd + ru) ){ ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ peer.cpp:1375:63: warning: 'ru' may be used uninitialized in this function [-Wmaybe-uninitialized] now - m_prefetch_time > BTCONTENT.CacheSize() / (rd + ru) ){ ~~~~^~~~~ i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I. -I. -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o peerlist.o peerlist.cpp peerlist.cpp: In member function 'int PeerList::IntervalCheck(fd_set*, fd_set*)': peerlist.cpp:282:36: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-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 of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-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 of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-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 of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'long int' [-Wsign-compare] if( m_max_unchoke+1 < 60 / m_unchoke_interval ){ ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ peerlist.cpp:465:16: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-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 of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] for( i = 1; i < slots; i++ ) ~~^~~~~~~ peerlist.cpp:585:15: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] if( i >= slots ){ ~~^~~~~~~~ peerlist.cpp:605:17: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] for( i = 0; i < slots; i++ ){ ~~^~~~~~~ peerlist.cpp:613:12: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] if( mark < slots && data[mark].count == 1 ) m_dup_req_pieces++; ~~~~~^~~~~~~ peerlist.cpp:616:16: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-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 of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-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; ^~~ peerlist.cpp: In member function 'int PeerList::UnChokeCheck(btPeer*, btPeer**)': peerlist.cpp:1160:30: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-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 of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] (slow = (Self.RateDL() < cfg_max_bandwidth_down / 2))) && ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ peerlist.cpp:1511:31: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] (slow = (Self.RateUL() < cfg_max_bandwidth_up / 2))) && ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ peerlist.cpp: In member function 'int PeerList::IntervalCheck(fd_set*, fd_set*)': peerlist.cpp:304:19: warning: 'UNCHOKER' may be used uninitialized in this function [-Wmaybe-uninitialized] return FillFDSet(rfdp, wfdp, f_keepalive_check, f_unchoke_check, UNCHOKER); ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I. -I. -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o rate.o rate.cpp rate.cpp: In member function 'size_t Rate::RateMeasure()': rate.cpp:260:10: warning: unused variable 'timestamp' [-Wunused-variable] time_t timestamp = now; ^~~~~~~~~ i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I. -I. -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o setnonblock.o setnonblock.cpp i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I. -I. -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o sigint.o sigint.cpp i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I. -I. -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o tracker.o tracker.cpp 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] i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I. -I. -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c sha1.c i586-alt-linux-g++ -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -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 '/usr/src/RPM/BUILD/ctorrent-dnh3.3.2' make: Leaving directory '/usr/src/RPM/BUILD/ctorrent-dnh3.3.2' + exit 0 Executing(%install): /bin/sh -e /usr/src/tmp/rpm-tmp.60942 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + /bin/chmod -Rf u+rwX -- /usr/src/tmp/ctorrent-buildroot + : + /bin/rm -rf -- /usr/src/tmp/ctorrent-buildroot + cd ctorrent-dnh3.3.2 + make 'INSTALL=/bin/install -p' DESTDIR=/usr/src/tmp/ctorrent-buildroot install make: Entering directory '/usr/src/RPM/BUILD/ctorrent-dnh3.3.2' make[1]: Entering directory '/usr/src/RPM/BUILD/ctorrent-dnh3.3.2' test -z "/usr/bin" || mkdir -p -- "/usr/src/tmp/ctorrent-buildroot/usr/bin" /bin/install -p 'ctorrent' '/usr/src/tmp/ctorrent-buildroot/usr/bin/ctorrent' make[1]: Nothing to be done for 'install-data-am'. make[1]: Leaving directory '/usr/src/RPM/BUILD/ctorrent-dnh3.3.2' make: Leaving directory '/usr/src/RPM/BUILD/ctorrent-dnh3.3.2' + /usr/lib/rpm/brp-alt Cleaning files in /usr/src/tmp/ctorrent-buildroot (auto) Verifying and fixing files in /usr/src/tmp/ctorrent-buildroot (binconfig,pkgconfig,libtool,desktop) Checking contents of files in /usr/src/tmp/ctorrent-buildroot/ (default) Compressing files in /usr/src/tmp/ctorrent-buildroot (auto) Verifying ELF objects in /usr/src/tmp/ctorrent-buildroot (arch=normal,fhs=normal,lfs=relaxed,lint=relaxed,rpath=normal,stack=normal,textrel=normal,unresolved=normal) Hardlinking identical .pyc and .pyo files Processing files: ctorrent-3.3.2-alt2 Executing(%doc): /bin/sh -e /usr/src/tmp/rpm-tmp.60942 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd ctorrent-dnh3.3.2 + DOCDIR=/usr/src/tmp/ctorrent-buildroot/usr/share/doc/ctorrent-3.3.2 + export DOCDIR + rm -rf /usr/src/tmp/ctorrent-buildroot/usr/share/doc/ctorrent-3.3.2 + /bin/mkdir -p /usr/src/tmp/ctorrent-buildroot/usr/share/doc/ctorrent-3.3.2 + cp -prL AUTHORS COPYING ChangeLog NEWS README README-DNH.TXT UserGuide /usr/src/tmp/ctorrent-buildroot/usr/share/doc/ctorrent-3.3.2 + chmod -R go-w /usr/src/tmp/ctorrent-buildroot/usr/share/doc/ctorrent-3.3.2 + chmod -R a+rX /usr/src/tmp/ctorrent-buildroot/usr/share/doc/ctorrent-3.3.2 + exit 0 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.wEDE63 find-provides: running scripts (alternatives,debuginfo,lib,pam,perl,pkgconfig,python,shell) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.lwmpQa find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,rpmlib,shebang,shell,static,symlinks,systemd-services) Requires: /lib/ld-linux.so.2, libc.so.6(GLIBC_2.0), libc.so.6(GLIBC_2.1), libc.so.6(GLIBC_2.1.3), libc.so.6(GLIBC_2.15), libc.so.6(GLIBC_2.17), libc.so.6(GLIBC_2.2), libc.so.6(GLIBC_2.3.4), libc.so.6(GLIBC_2.4), libcrypto.so.1.1 >= set:qoPDJTmSSi2hV0, libcrypto.so.1.1(OPENSSL_1_1_0), libgcc_s.so.1(GCC_3.0), libgcc_s.so.1(GLIBC_2.0), libstdc++.so.6(CXXABI_1.3), libstdc++.so.6(CXXABI_1.3.8), libstdc++.so.6(CXXABI_1.3.9), libstdc++.so.6(GLIBCXX_3.4), rtld(GNU_HASH) Requires(rpmlib): rpmlib(SetVersions) Finding debuginfo files (using /usr/lib/rpm/find-debuginfo-files) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.uJp9hq Creating ctorrent-debuginfo package Processing files: ctorrent-debuginfo-3.3.2-alt2 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.czVEVV find-provides: running scripts (debuginfo) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.R31WQI find-requires: running scripts (debuginfo) Requires: ctorrent = 3.3.2-alt2, /usr/lib/debug/lib/ld-linux.so.2.debug, debug(libc.so.6), debug(libcrypto.so.1.1), debug(libgcc_s.so.1), debug(libstdc++.so.6) Adding to ctorrent-debuginfo a strict dependency on ctorrent Wrote: /usr/src/RPM/RPMS/i586/ctorrent-3.3.2-alt2.i586.rpm Wrote: /usr/src/RPM/RPMS/i586/ctorrent-debuginfo-3.3.2-alt2.i586.rpm 13.32user 2.64system 0:23.27elapsed 68%CPU (0avgtext+0avgdata 42108maxresident)k 0inputs+0outputs (0major+1094096minor)pagefaults 0swaps 18.50user 4.89system 0:32.18elapsed 72%CPU (0avgtext+0avgdata 115860maxresident)k 0inputs+0outputs (0major+1415715minor)pagefaults 0swaps --- ctorrent-3.3.2-alt2.i586.rpm.repo 2019-02-12 15:28:20.000000000 +0000 +++ ctorrent-3.3.2-alt2.i586.rpm.hasher 2020-06-07 11:23:30.973548271 +0000 @@ -18,3 +18,3 @@ Requires: libc.so.6(GLIBC_2.4) -Requires: libcrypto.so.1.1 >= set:pnPDJTmSSi8a7 +Requires: libcrypto.so.1.1 >= set:qoPDJTmSSi2hV0 Requires: rpmlib(SetVersions)