<86>Dec 21 00:04:26 userdel[1755508]: delete user 'rooter' <86>Dec 21 00:04:26 userdel[1755508]: removed group 'rooter' owned by 'rooter' <86>Dec 21 00:04:26 groupadd[1755523]: group added to /etc/group: name=rooter, GID=1235 <86>Dec 21 00:04:26 groupadd[1755523]: group added to /etc/gshadow: name=rooter <86>Dec 21 00:04:26 groupadd[1755523]: new group: name=rooter, GID=1235 <86>Dec 21 00:04:26 useradd[1755543]: new user: name=rooter, UID=1235, GID=1235, home=/root, shell=/bin/bash, from=none <86>Dec 21 00:04:26 userdel[1755575]: delete user 'builder' <86>Dec 21 00:04:26 userdel[1755575]: removed group 'builder' owned by 'builder' <86>Dec 21 00:04:26 userdel[1755575]: removed shadow group 'builder' owned by 'builder' <86>Dec 21 00:04:26 groupadd[1755595]: group added to /etc/group: name=builder, GID=1236 <86>Dec 21 00:04:26 groupadd[1755595]: group added to /etc/gshadow: name=builder <86>Dec 21 00:04:26 groupadd[1755595]: new group: name=builder, GID=1236 <86>Dec 21 00:04:26 useradd[1755612]: new user: name=builder, UID=1236, GID=1236, home=/usr/src, shell=/bin/bash, from=none /usr/src/in/srpm/recover-1.3c-alt1.qa1.src.rpm: The use of such a license name is ambiguous: GPL Building target platforms: x86_64 Building for target x86_64 Wrote: /usr/src/in/nosrpm/recover-1.3c-alt1.qa1.nosrc.rpm (w1.gzdio) Installing recover-1.3c-alt1.qa1.src.rpm Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.95342 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + rm -rf recover-1.3c + echo 'Source #0 (recover-1.3c.tar.bz2):' Source #0 (recover-1.3c.tar.bz2): + /usr/bin/bzip2 -dc /usr/src/RPM/SOURCES/recover-1.3c.tar.bz2 + /bin/tar -xf - + cd recover-1.3c + /bin/chmod -c -Rf u+rwX,go-w . + exit 0 Executing(%build): /bin/sh -e /usr/src/tmp/rpm-tmp.95342 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd recover-1.3c + make -j8 'CFLAGS=-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto' make: Entering directory '/usr/src/RPM/BUILD/recover-1.3c' gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o ui.o ui.c ui.c: In function 'print_devices': ui.c:106:41: warning: format '%s' expects argument of type 'char *', but argument 3 has type 'char (*)[100]' [-Wformat=] 106 | counter=fscanf (file, "%s%s%s", &ext2_fs[ext2_fs_count], | ~^ ~~~~~~~~~~~~~~~~~~~~~~~ | | | | char * char (*)[100] ui.c:106:43: warning: format '%s' expects argument of type 'char *', but argument 4 has type 'char (*)[100]' [-Wformat=] 106 | counter=fscanf (file, "%s%s%s", &ext2_fs[ext2_fs_count], | ~^ | | | char * 107 | &ext2_fs_root[ext2_fs_count], &fs_type); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char (*)[100] ui.c:106:45: warning: format '%s' expects argument of type 'char *', but argument 5 has type 'char (*)[20]' [-Wformat=] 106 | counter=fscanf (file, "%s%s%s", &ext2_fs[ext2_fs_count], | ~^ | | | char * 107 | &ext2_fs_root[ext2_fs_count], &fs_type); | ~~~~~~~~ | | | char (*)[20] ui.c:108:21: error: implicit declaration of function 'strcmp' [-Wimplicit-function-declaration] 108 | if (strcmp (fs_type, "ext2") == 0 && ext2_fs[ext2_fs_count][0]=='/') { | ^~~~~~ ui.c:31:1: note: include '' or provide a declaration of 'strcmp' 30 | #include "recover.h" +++ |+#include 31 | ui.c:110:63: warning: format '%s' expects argument of type 'char *', but argument 3 has type 'char (*)[100]' [-Wformat=] 110 | printf ("device: %s mount point: %s\n", ext2_fs[ext2_fs_count-1], &ext2_fs_root[ext2_fs_count-1]); | ~^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | | char * char (*)[100] ui.c:97:17: warning: unused variable 'dev' [-Wunused-variable] 97 | dev, | ^~~ ui.c:96:17: warning: unused variable 'part' [-Wunused-variable] 96 | part, | ^~~~ ui.c:95:17: warning: unused variable 'count' [-Wunused-variable] 95 | int count=0, | ^~~~~ ui.c: In function 'get_int': ui.c:198:28: warning: format '%s' expects argument of type 'char *', but argument 2 has type 'char (*)[12]' [-Wformat=] 198 | scanf ("%12s", &tmp); | ~~~^ ~~~~ | | | | | char (*)[12] | char * ui.c: In function 'get_long': ui.c:211:28: warning: format '%s' expects argument of type 'char *', but argument 2 has type 'char (*)[22]' [-Wformat=] 211 | scanf ("%22s", &tmp); | ~~~^ ~~~~ | | | | | char (*)[22] | char * ui.c: In function 'start_it': ui.c:240:25: error: implicit declaration of function 'strcpy' [-Wimplicit-function-declaration] 240 | strcpy (device, device1); | ^~~~~~ ui.c:240:25: note: include '' or provide a declaration of 'strcpy' ui.c:240:25: warning: incompatible implicit declaration of built-in function 'strcpy' [-Wbuiltin-declaration-mismatch] ui.c:240:25: note: include '' or provide a declaration of 'strcpy' ui.c:289:18: warning: format '%s' expects argument of type 'char *', but argument 2 has type 'char (*)[4]' [-Wformat=] 289 | scanf("%3s", &month); | ~~^ ~~~~~~ | | | | | char (*)[4] | char * ui.c:298:18: warning: format '%s' expects argument of type 'char *', but argument 2 has type 'char (*)[4]' [-Wformat=] 298 | scanf("%3s", &weekd); | ~~^ ~~~~~~ | | | | | char (*)[4] | char * ui.c:323:29: warning: format '%s' expects argument of type 'char *', but argument 2 has type 'char (*)[126]' [-Wformat=] 323 | scanf ("%125s", &dir); | ~~~~^ ~~~~ | | | | | char (*)[126] | char * ui.c:249:1: warning: label 'start_device' defined but not used [-Wunused-label] 249 | start_device: | ^~~~~~~~~~~~ ui.c: In function 'print_devices': ui.c:149:1: warning: control reaches end of non-void function [-Wreturn-type] 149 | } | ^ ui.c: In function 'get_int': ui.c:198:17: warning: ignoring return value of 'scanf' declared with attribute 'warn_unused_result' [-Wunused-result] 198 | scanf ("%12s", &tmp); | ^~~~~~~~~~~~~~~~~~~~ ui.c: In function 'get_long': ui.c:211:17: warning: ignoring return value of 'scanf' declared with attribute 'warn_unused_result' [-Wunused-result] 211 | scanf ("%22s", &tmp); | ^~~~~~~~~~~~~~~~~~~~ ui.c: In function 'start_it': ui.c:256:9: warning: ignoring return value of 'scanf' declared with attribute 'warn_unused_result' [-Wunused-result] 256 | scanf ("%128s", device); | ^~~~~~~~~~~~~~~~~~~~~~~ ui.c:289:9: warning: ignoring return value of 'scanf' declared with attribute 'warn_unused_result' [-Wunused-result] 289 | scanf("%3s", &month); | ^~~~~~~~~~~~~~~~~~~~ ui.c:298:9: warning: ignoring return value of 'scanf' declared with attribute 'warn_unused_result' [-Wunused-result] 298 | scanf("%3s", &weekd); | ^~~~~~~~~~~~~~~~~~~~ ui.c:323:17: warning: ignoring return value of 'scanf' declared with attribute 'warn_unused_result' [-Wunused-result] 323 | scanf ("%125s", &dir); | ^~~~~~~~~~~~~~~~~~~~~ ui.c:356:33: warning: ignoring return value of 'chown' declared with attribute 'warn_unused_result' [-Wunused-result] 356 | chown (command, tmp_inode->mem_location->UID, 0); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make: *** [: ui.o] Error 1 make: Leaving directory '/usr/src/RPM/BUILD/recover-1.3c' make: *** Waiting for unfinished jobs.... make: Entering directory '/usr/src/RPM/BUILD/recover-1.3c' gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o recover.o recover.c recover.c: In function 'get_inodes': recover.c:179:47: warning: format '%[^/' expects argument of type 'char *', but argument 7 has type 'char (*)[12]' [-Wformat=] 179 | sscanf (temp, "%d %d %d %d %[^/]/%d %s %s %d %d:%d:%d %d", | ~~~^ | | | char * ...... 184 | &dummy, | ~~~~~~ | | | char (*)[12] recover.c:179:54: warning: format '%s' expects argument of type 'char *', but argument 9 has type 'char (*)[4]' [-Wformat=] 179 | sscanf (temp, "%d %d %d %d %[^/]/%d %s %s %d %d:%d:%d %d", | ~^ | | | char * ...... 186 | &(cur_inode->weekd), | ~~~~~~~~~~~~~~~~~~~ | | | char (*)[4] recover.c:179:57: warning: format '%s' expects argument of type 'char *', but argument 10 has type 'char (*)[4]' [-Wformat=] 179 | sscanf (temp, "%d %d %d %d %[^/]/%d %s %s %d %d:%d:%d %d", | ~^ | | | char * ...... 187 | &(cur_inode->month), | ~~~~~~~~~~~~~~~~~~~ | | | char (*)[4] recover.c:153:37: warning: unused variable 'fd' [-Wunused-variable] 153 | int num_del_inodes, x, pid, fd[2]; | ^~ recover.c:153:32: warning: unused variable 'pid' [-Wunused-variable] 153 | int num_del_inodes, x, pid, fd[2]; | ^~~ recover.c: In function 'get_questions': recover.c:326:20: warning: the comparison will always evaluate as 'true' for the address of 'line' will never be NULL [-Waddress] 326 | for (; line!=NULL ;) { | ^~ recover.c:305:17: note: 'line' declared here 305 | char line[101], | ^~~~ recover.c:334:62: warning: format '%s' expects argument of type 'char *', but argument 3 has type 'char (*)[20]' [-Wformat=] 334 | tmp = fscanf (txt, "%s%s%s", &temp, &temp2, &temp3); | ~^ ~~~~~ | | | | char * char (*)[20] recover.c:334:64: warning: format '%s' expects argument of type 'char *', but argument 4 has type 'char (*)[20]' [-Wformat=] 334 | tmp = fscanf (txt, "%s%s%s", &temp, &temp2, &temp3); | ~^ ~~~~~~ | | | | char * char (*)[20] recover.c:334:66: warning: format '%s' expects argument of type 'char *', but argument 5 has type 'char (*)[20]' [-Wformat=] 334 | tmp = fscanf (txt, "%s%s%s", &temp, &temp2, &temp3); | ~^ ~~~~~~ | | | | char * char (*)[20] recover.c:316:17: warning: unused variable 'place' [-Wunused-variable] 316 | place; | ^~~~~ recover.c:315:17: warning: variable 'tmp' set but not used [-Wunused-but-set-variable] 315 | tmp, | ^~~ recover.c:310:18: warning: unused variable 'dest' [-Wunused-variable] 310 | *dest; | ^~~~ recover.c:306:17: warning: unused variable 'header' [-Wunused-variable] 306 | header[20], | ^~~~~~ recover.c: In function 'get_output': recover.c:101:9: warning: ignoring return value of 'pipe' declared with attribute 'warn_unused_result' [-Wunused-result] 101 | pipe (fd); | ^~~~~~~~~ recover.c: In function 'get_inodes': recover.c:167:9: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 167 | fgets (temp, 256, list); | ^~~~~~~~~~~~~~~~~~~~~~~ recover.c:169:9: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 169 | fgets (temp, 256, list); | ^~~~~~~~~~~~~~~~~~~~~~~ recover.c: In function 'free_inodes': recover.c:288:1: warning: control reaches end of non-void function [-Wreturn-type] 288 | } | ^ recover.c: In function 'get_questions': recover.c:355:57: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 355 | fgets (line, 100, txt); | ^~~~~~~~~~~~~~~~~~~~~~ recover.c:366:1: warning: control reaches end of non-void function [-Wreturn-type] 366 | } | ^ make: Leaving directory '/usr/src/RPM/BUILD/recover-1.3c' error: Bad exit status from /usr/src/tmp/rpm-tmp.95342 (%build) RPM build errors: Bad exit status from /usr/src/tmp/rpm-tmp.95342 (%build) Command exited with non-zero status 1 0.09user 0.06system 0:00.11elapsed 140%CPU (0avgtext+0avgdata 24832maxresident)k 0inputs+0outputs (0major+11888minor)pagefaults 0swaps hsh-rebuild: rebuild of `recover-1.3c-alt1.qa1.src.rpm' failed. Command exited with non-zero status 1 0.71user 1.19system 0:03.59elapsed 52%CPU (0avgtext+0avgdata 12032maxresident)k 0inputs+0outputs (0major+82380minor)pagefaults 0swaps