<86>Dec 25 00:03:25 userdel[1304036]: delete user 'rooter' <86>Dec 25 00:03:25 userdel[1304036]: removed group 'rooter' owned by 'rooter' <86>Dec 25 00:03:25 userdel[1304036]: removed shadow group 'rooter' owned by 'rooter' <86>Dec 25 00:03:25 groupadd[1304045]: group added to /etc/group: name=rooter, GID=1802 <86>Dec 25 00:03:25 groupadd[1304045]: group added to /etc/gshadow: name=rooter <86>Dec 25 00:03:25 groupadd[1304045]: new group: name=rooter, GID=1802 <86>Dec 25 00:03:25 useradd[1304051]: new user: name=rooter, UID=1802, GID=1802, home=/root, shell=/bin/bash, from=none <86>Dec 25 00:03:25 userdel[1304061]: delete user 'builder' <86>Dec 25 00:03:25 userdel[1304061]: removed group 'builder' owned by 'builder' <86>Dec 25 00:03:25 userdel[1304061]: removed shadow group 'builder' owned by 'builder' <86>Dec 25 00:03:25 groupadd[1304069]: group added to /etc/group: name=builder, GID=1803 <86>Dec 25 00:03:25 groupadd[1304069]: group added to /etc/gshadow: name=builder <86>Dec 25 00:03:25 groupadd[1304069]: new group: name=builder, GID=1803 <86>Dec 25 00:03:25 useradd[1304075]: new user: name=builder, UID=1803, GID=1803, home=/usr/src, shell=/bin/bash, from=none /usr/src/in/srpm/ettcp-1.0-alt5.qa1.src.rpm: license not found in '/usr/share/license' directory: Public /usr/src/in/srpm/ettcp-1.0-alt5.qa1.src.rpm: license not found in '/usr/share/license' directory: Domain Building target platforms: x86_64 Building for target x86_64 Wrote: /usr/src/in/nosrpm/ettcp-1.0-alt5.qa1.nosrc.rpm (w1.gzdio) Installing ettcp-1.0-alt5.qa1.src.rpm Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.10163 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + rm -rf ettcp-1.0 + echo 'Source #0 (ettcp-1.0.tar.bz2):' Source #0 (ettcp-1.0.tar.bz2): + /usr/bin/bzip2 -dc /usr/src/RPM/SOURCES/ettcp-1.0.tar.bz2 + /bin/tar -xf - + cd ettcp-1.0 + /bin/chmod -c -Rf u+rwX,go-w . + echo 'Patch #1 (ettcp-1.0-alt-path.patch):' Patch #1 (ettcp-1.0-alt-path.patch): + /usr/bin/patch -p1 patching file xinetd.d/blow patching file xinetd.d/suck + exit 0 Executing(%build): /bin/sh -e /usr/src/tmp/rpm-tmp.10163 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd ettcp-1.0 + make -j16 make: Entering directory '/usr/src/RPM/BUILD/ettcp-1.0' gcc -o suck suck.c suck.c: In function 'main': suck.c:10:31: error: implicit declaration of function 'malloc' [-Wimplicit-function-declaration] 10 | char *buffer = (char*)malloc(buffer_size); | ^~~~~~ suck.c:5:1: note: include '' or provide a declaration of 'malloc' 4 | #include +++ |+#include 5 | suck.c:10:31: warning: incompatible implicit declaration of built-in function 'malloc' [-Wbuiltin-declaration-mismatch] 10 | char *buffer = (char*)malloc(buffer_size); | ^~~~~~ suck.c:10:31: note: include '' or provide a declaration of 'malloc' suck.c:12:17: error: implicit declaration of function 'exit' [-Wimplicit-function-declaration] 12 | exit(1); | ^~~~ suck.c:12:17: note: include '' or provide a declaration of 'exit' suck.c:12:17: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch] suck.c:12:17: note: include '' or provide a declaration of 'exit' make: *** [Makefile:26: suck] Error 1 make: Leaving directory '/usr/src/RPM/BUILD/ettcp-1.0' make: *** Waiting for unfinished jobs.... make: Entering directory '/usr/src/RPM/BUILD/ettcp-1.0' gcc -o blow blow.c blow.c: In function 'main': blow.c:18:31: error: implicit declaration of function 'malloc' [-Wimplicit-function-declaration] 18 | char *buffer = (char*)malloc(buffer_size); | ^~~~~~ blow.c:5:1: note: include '' or provide a declaration of 'malloc' 4 | #include +++ |+#include 5 | blow.c:18:31: warning: incompatible implicit declaration of built-in function 'malloc' [-Wbuiltin-declaration-mismatch] 18 | char *buffer = (char*)malloc(buffer_size); | ^~~~~~ blow.c:18:31: note: include '' or provide a declaration of 'malloc' blow.c:20:17: error: implicit declaration of function 'exit' [-Wimplicit-function-declaration] 20 | exit(1); | ^~~~ blow.c:20:17: note: include '' or provide a declaration of 'exit' blow.c:20:17: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch] blow.c:20:17: note: include '' or provide a declaration of 'exit' make: *** [Makefile:30: blow] Error 1 make: Leaving directory '/usr/src/RPM/BUILD/ettcp-1.0' make: Entering directory '/usr/src/RPM/BUILD/ettcp-1.0' gcc -o ettcp ettcp.c ettcp.c:162:1: error: return type defaults to 'int' [-Wimplicit-int] 162 | main(argc,argv) | ^~~~ ettcp.c: In function 'main': ettcp.c:171:21: error: implicit declaration of function 'getopt' [-Wimplicit-function-declaration] 171 | while ((c = getopt(argc, argv, "cdrstuvBDTqb:f:l:n:p:A:O:i:")) != -1) { | ^~~~~~ ettcp.c:195:32: error: implicit declaration of function 'atoi' [-Wimplicit-function-declaration] 195 | nbuf = atoi(optarg); | ^~~~ ettcp.c:250:17: error: implicit declaration of function 'bzero' [-Wimplicit-function-declaration] 250 | bzero((char *)&sinhim, sizeof(sinhim)); | ^~~~~ ettcp.c:250:17: warning: incompatible implicit declaration of built-in function 'bzero' [-Wbuiltin-declaration-mismatch] ettcp.c:265:25: error: implicit declaration of function 'bcopy' [-Wimplicit-function-declaration] 265 | bcopy(addr->h_addr,(char*)&addr_tmp, addr->h_length); | ^~~~~ ettcp.c:265:25: warning: incompatible implicit declaration of built-in function 'bcopy' [-Wbuiltin-declaration-mismatch] ettcp.c:284:29: error: implicit declaration of function 'malloc' [-Wimplicit-function-declaration] 284 | if ( (buf = (char *)malloc(buflen+bufalign)) == (char *)NULL) | ^~~~~~ ettcp.c:71:1: note: include '' or provide a declaration of 'malloc' 70 | #include +++ |+#include 71 | #endif ettcp.c:284:29: warning: incompatible implicit declaration of built-in function 'malloc' [-Wbuiltin-declaration-mismatch] 284 | if ( (buf = (char *)malloc(buflen+bufalign)) == (char *)NULL) | ^~~~~~ ettcp.c:284:29: note: include '' or provide a declaration of 'malloc' ettcp.c:287:36: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 287 | buf +=(bufalign - ((int)buf % bufalign) + bufoffset) % bufalign; | ^ ettcp.c:440:36: error: implicit declaration of function 'read'; did you mean 'mread'? [-Wimplicit-function-declaration] 440 | while((cnt=read(0,buf,buflen)) > 0 && | ^~~~ | mread ettcp.c:445:29: error: implicit declaration of function 'write'; did you mean 'Nwrite'? [-Wimplicit-function-declaration] 445 | write(1,buf,cnt) == cnt) | ^~~~~ | Nwrite ettcp.c:476:28: warning: format '%d' expects argument of type 'int', but argument 4 has type 'long unsigned int' [-Wformat=] 476 | "nttcp%s: %d I/O calls, msec/call = %.2f, calls/sec = %.2f\n", | ~^ | | | int | %ld 477 | trans?"-t":"-r", 478 | numCalls, | ~~~~~~~~ | | | long unsigned int ettcp.c:484:44: warning: format '%x' expects argument of type 'unsigned int', but argument 4 has type 'char *' [-Wformat=] 484 | "nttcp%s: buffer address %#x\n", | ~~^ | | | unsigned int | %#s 485 | trans?"-t":"-r", 486 | buf); | ~~~ | | | char * ettcp.c:489:9: error: implicit declaration of function 'exit' [-Wimplicit-function-declaration] 489 | exit(0); | ^~~~ ettcp.c:489:9: note: include '' or provide a declaration of 'exit' ettcp.c:489:9: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch] ettcp.c:489:9: note: include '' or provide a declaration of 'exit' ettcp.c:492:24: warning: format not a string literal and no format arguments [-Wformat-security] 492 | fprintf(stderr,Usage); | ^~~~~ ettcp.c: In function 'err': ettcp.c:503:9: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch] 503 | exit(1); | ^~~~ ettcp.c:503:9: note: include '' or provide a declaration of 'exit' ettcp.c: At top level: ettcp.c:513:1: error: return type defaults to 'int' [-Wimplicit-int] 513 | pattern( cp, cnt ) | ^~~~~~~ ettcp.c: In function 'read_timer': ettcp.c:618:1: error: type of 'len' defaults to 'int' [-Wimplicit-int] 618 | read_timer(str,len) | ^~~~~~~~~~ ettcp.c:630:15: error: implicit declaration of function 'strncpy' [-Wimplicit-function-declaration] 630 | (void)strncpy( str, line, len ); | ^~~~~~~ ettcp.c:71:1: note: include '' or provide a declaration of 'strncpy' 70 | #include +++ |+#include 71 | #endif ettcp.c:630:15: warning: incompatible implicit declaration of built-in function 'strncpy' [-Wbuiltin-declaration-mismatch] 630 | (void)strncpy( str, line, len ); | ^~~~~~~ ettcp.c:630:15: note: include '' or provide a declaration of 'strncpy' ettcp.c: In function 'prusage': ettcp.c:694:40: warning: format '%d' expects argument of type 'int', but argument 3 has type '__time_t' {aka 'long int'} [-Wformat=] 694 | sprintf(outp,"%d.%01d", tdiff.tv_sec, tdiff.tv_usec/100000); | ~^ ~~~~~~~~~~~~ | | | | int __time_t {aka long int} | %ld ettcp.c:694:45: warning: format '%d' expects argument of type 'int', but argument 4 has type '__suseconds_t' {aka 'long int'} [-Wformat=] 694 | sprintf(outp,"%d.%01d", tdiff.tv_sec, tdiff.tv_usec/100000); | ~~~^ ~~~~~~~~~~~~~~~~~~~~ | | | | int __suseconds_t {aka long int} | %01ld ettcp.c:700:40: warning: format '%d' expects argument of type 'int', but argument 3 has type '__time_t' {aka 'long int'} [-Wformat=] 700 | sprintf(outp,"%d.%01d", tdiff.tv_sec, tdiff.tv_usec/100000); | ~^ ~~~~~~~~~~~~ | | | | int __time_t {aka long int} | %ld ettcp.c:700:45: warning: format '%d' expects argument of type 'int', but argument 4 has type '__suseconds_t' {aka 'long int'} [-Wformat=] 700 | sprintf(outp,"%d.%01d", tdiff.tv_sec, tdiff.tv_usec/100000); | ~~~^ ~~~~~~~~~~~~~~~~~~~~ | | | | int __suseconds_t {aka long int} | %01ld ettcp.c:722:40: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long int' [-Wformat=] 722 | sprintf(outp,"%d", t == 0 ? 0 : (r1->ru_ixrss-r0->ru_ixrss)/t); | ~^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | | int long int | %ld ettcp.c:727:40: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long int' [-Wformat=] 727 | sprintf(outp,"%d", t == 0 ? 0 : | ~^ ~~~~~~~~~~~~ | | | | int long int | %ld 728 | (r1->ru_idrss+r1->ru_isrss-(r0->ru_idrss+r0->ru_isrss))/t); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ettcp.c:733:40: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long int' [-Wformat=] 733 | sprintf(outp,"%d", t == 0 ? 0 : | ~^ ~~~~~~~~~~~~ | | | | int long int | %ld 734 | ((r1->ru_ixrss+r1->ru_isrss+r1->ru_idrss) - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 735 | (r0->ru_ixrss+r0->ru_idrss+r0->ru_isrss))/t); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ettcp.c:740:40: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long int' [-Wformat=] 740 | sprintf(outp,"%d", r1->ru_maxrss/2); | ~^ ~~~~~~~~~~~~~~~ | | | | int long int | %ld ettcp.c:745:40: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long int' [-Wformat=] 745 | sprintf(outp,"%d", r1->ru_majflt-r0->ru_majflt); | ~^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | | int long int | %ld ettcp.c:750:40: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long int' [-Wformat=] 750 | sprintf(outp,"%d", r1->ru_minflt-r0->ru_minflt); | ~^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | | int long int | %ld ettcp.c:755:40: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long int' [-Wformat=] 755 | sprintf(outp,"%d", r1->ru_inblock-r0->ru_inblock); | ~^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | | int long int | %ld ettcp.c:760:40: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long int' [-Wformat=] 760 | sprintf(outp,"%d", r1->ru_oublock-r0->ru_oublock); | ~^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | | int long int | %ld ettcp.c:764:40: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long int' [-Wformat=] 764 | sprintf(outp,"%d+%d", r1->ru_nvcsw-r0->ru_nvcsw, | ~^ ~~~~~~~~~~~~~~~~~~~~~~~~~ | | | | int long int | %ld ettcp.c:764:43: warning: format '%d' expects argument of type 'int', but argument 4 has type 'long int' [-Wformat=] 764 | sprintf(outp,"%d+%d", r1->ru_nvcsw-r0->ru_nvcsw, | ~^ | | | int | %ld 765 | r1->ru_nivcsw-r0->ru_nivcsw ); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | long int ettcp.c: At top level: ettcp.c:823:1: error: return type defaults to 'int' [-Wimplicit-int] 823 | Nread( fd, buf, count ) | ^~~~~ ettcp.c:854:1: error: return type defaults to 'int' [-Wimplicit-int] 854 | Nwrite( fd, buf, count ) | ^~~~~~ ettcp.c: In function 'delay': ettcp.c:877:1: error: type of 'us' defaults to 'int' [-Wimplicit-int] 877 | delay(us) | ^~~~~ make: *** [Makefile:28: ettcp] Error 1 make: Leaving directory '/usr/src/RPM/BUILD/ettcp-1.0' error: Bad exit status from /usr/src/tmp/rpm-tmp.10163 (%build) RPM build errors: Bad exit status from /usr/src/tmp/rpm-tmp.10163 (%build) Command exited with non-zero status 1 0.03user 0.05system 0:00.07elapsed 129%CPU (0avgtext+0avgdata 19084maxresident)k 0inputs+0outputs (0major+9125minor)pagefaults 0swaps hsh-rebuild: rebuild of `ettcp-1.0-alt5.qa1.src.rpm' failed. Command exited with non-zero status 1 0.53user 1.53system 0:03.96elapsed 52%CPU (0avgtext+0avgdata 11596maxresident)k 0inputs+0outputs (0major+83488minor)pagefaults 0swaps