<86>Nov 8 09:27:31 userdel[46430]: delete user 'rooter' <86>Nov 8 09:27:31 groupadd[46450]: group added to /etc/group: name=rooter, GID=651 <86>Nov 8 09:27:31 groupadd[46450]: group added to /etc/gshadow: name=rooter <86>Nov 8 09:27:31 groupadd[46450]: new group: name=rooter, GID=651 <86>Nov 8 09:27:31 useradd[46476]: new user: name=rooter, UID=651, GID=651, home=/root, shell=/bin/bash <86>Nov 8 09:27:31 userdel[46532]: delete user 'builder' <86>Nov 8 09:27:31 userdel[46532]: removed group 'builder' owned by 'builder' <86>Nov 8 09:27:31 userdel[46532]: removed shadow group 'builder' owned by 'builder' <86>Nov 8 09:27:31 groupadd[46554]: group added to /etc/group: name=builder, GID=652 <86>Nov 8 09:27:31 groupadd[46554]: group added to /etc/gshadow: name=builder <86>Nov 8 09:27:31 groupadd[46554]: new group: name=builder, GID=652 <86>Nov 8 09:27:31 useradd[46570]: new user: name=builder, UID=652, GID=652, home=/usr/src, shell=/bin/bash warning: line 47: Deprecated PreReq converted to Requires(pre,postun): PreReq: /usr/share/games/fortune warning: line 55: Deprecated PreReq converted to Requires(pre,postun): PreReq: /usr/share/games/fortune/off warning: line 47: Deprecated PreReq converted to Requires(pre,postun): PreReq: /usr/share/games/fortune warning: line 55: Deprecated PreReq converted to Requires(pre,postun): PreReq: /usr/share/games/fortune/off Building target platforms: i586 Building for target i586 Wrote: /usr/src/in/nosrpm/fortune-mod-1.99.1-alt5.qa3.nosrc.rpm warning: line 43: Deprecated PreReq converted to Requires(pre,postun): PreReq: /usr/share/games/fortune warning: line 51: Deprecated PreReq converted to Requires(pre,postun): PreReq: /usr/share/games/fortune/off Installing fortune-mod-1.99.1-alt5.qa3.src.rpm Building target platforms: i586 Building for target i586 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.62995 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + rm -rf fortune-mod-1.99.1 + echo 'Source #0 (fortune-mod-1.99.1.tar):' Source #0 (fortune-mod-1.99.1.tar): + /bin/tar -xf /usr/src/RPM/SOURCES/fortune-mod-1.99.1.tar + cd fortune-mod-1.99.1 + /bin/chmod -c -Rf u+rwX,go-w . + echo 'Patch #0 (fortune-mod-1.99.1-alt5.qa3.patch):' Patch #0 (fortune-mod-1.99.1-alt5.qa3.patch): + /usr/bin/patch -p1 patching file Makefile patching file datfiles/Makefile patching file datfiles/off/Makefile patching file datfiles/riddles patching file fortune/fortune.c patching file tools/.gitignore patching file util/randstr.c + exit 0 Executing(%build): /bin/sh -e /usr/src/tmp/rpm-tmp.6351 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd fortune-mod-1.99.1 + make -j8 COOKIEDIR=/usr/share/games/fortune FORTDIR=/usr/bin BINDIR=/usr/bin cd fortune && make CC='gcc' \ CFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -DFORTDIR="\"/usr/share/games/fortune\"" -DOFFDIR="\"/usr/share/games/fortune/off\"" -DLOCFORTDIR="\"/usr/local/share/games/fortunes\"" -DLOCOFFDIR="\"/usr/local/share/games/fortunes/off\"" -Wall -fomit-frame-pointer -pipe -fsigned-char -DHAVE_REGEX_H -DBSD_REGEX -DHAVE_STDBOOL -I../util' \ LDFLAGS='' LIBS='' cd util && make CC='gcc' CFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -DFORTDIR="\"/usr/share/games/fortune\"" -DOFFDIR="\"/usr/share/games/fortune/off\"" -DLOCFORTDIR="\"/usr/local/share/games/fortunes\"" -DLOCOFFDIR="\"/usr/local/share/games/fortunes/off\"" -Wall -fomit-frame-pointer -pipe -fsigned-char' \ LDFLAGS='' make[1]: Entering directory '/usr/src/RPM/BUILD/fortune-mod-1.99.1/util' gcc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -DFORTDIR="\"/usr/share/games/fortune\"" -DOFFDIR="\"/usr/share/games/fortune/off\"" -DLOCFORTDIR="\"/usr/local/share/games/fortunes\"" -DLOCOFFDIR="\"/usr/local/share/games/fortunes/off\"" -Wall -fomit-frame-pointer -pipe -fsigned-char -c -o rot.o rot.c rot.c: In function 'main': rot.c:23:5: warning: implicit declaration of function 'exit' [-Wimplicit-function-declaration] 23 | exit(0); | ^~~~ rot.c:23:5: warning: incompatible implicit declaration of built-in function 'exit' rot.c:8:1: note: include '' or provide a declaration of 'exit' 7 | #include +++ |+#include 8 | make[1]: Leaving directory '/usr/src/RPM/BUILD/fortune-mod-1.99.1/util' make[1]: Entering directory '/usr/src/RPM/BUILD/fortune-mod-1.99.1/util' gcc -fsigned-char -o rot rot.o make[1]: Leaving directory '/usr/src/RPM/BUILD/fortune-mod-1.99.1/util' make[1]: Entering directory '/usr/src/RPM/BUILD/fortune-mod-1.99.1/util' gcc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -DFORTDIR="\"/usr/share/games/fortune\"" -DOFFDIR="\"/usr/share/games/fortune/off\"" -DLOCFORTDIR="\"/usr/local/share/games/fortunes\"" -DLOCOFFDIR="\"/usr/local/share/games/fortunes/off\"" -Wall -fomit-frame-pointer -pipe -fsigned-char -c -o unstr.o unstr.c unstr.c: In function 'getargs': unstr.c:134:8: warning: implicit declaration of function 'exit' [-Wimplicit-function-declaration] 134 | exit(1); | ^~~~ unstr.c:134:8: warning: incompatible implicit declaration of built-in function 'exit' unstr.c:99:1: note: include '' or provide a declaration of 'exit' 98 | #include +++ |+#include 99 | unstr.c:164:2: warning: incompatible implicit declaration of built-in function 'exit' 164 | exit(1); | ^~~~ unstr.c:164:2: note: include '' or provide a declaration of 'exit' unstr.c:169:2: warning: incompatible implicit declaration of built-in function 'exit' 169 | exit(1); | ^~~~ unstr.c:169:2: note: include '' or provide a declaration of 'exit' unstr.c: In function 'order_unstr': unstr.c:189:9: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 189 | sp = fgets(buf, sizeof buf, Inf); | ^ unstr.c:199:9: warning: pointer targets in passing argument 1 of 'fputs' differ in signedness [-Wpointer-sign] 199 | fputs(sp, Outf); | ^~ | | | unsigned char * In file included from unstr.c:95: /usr/include/stdio.h:626:42: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 626 | extern int fputs (const char *__restrict __s, FILE *__restrict __stream); | ~~~~~~~~~~~~~~~~~~~~~~~^~~ unstr.c: In function 'main': unstr.c:213:2: warning: incompatible implicit declaration of built-in function 'exit' 213 | exit(1); | ^~~~ unstr.c:213:2: note: include '' or provide a declaration of 'exit' unstr.c:218:2: warning: incompatible implicit declaration of built-in function 'exit' 218 | exit(1); | ^~~~ unstr.c:218:2: note: include '' or provide a declaration of 'exit' unstr.c:225:2: warning: incompatible implicit declaration of built-in function 'exit' 225 | exit(1); | ^~~~ unstr.c:225:2: note: include '' or provide a declaration of 'exit' unstr.c:236:2: warning: incompatible implicit declaration of built-in function 'exit' 236 | exit(1); | ^~~~ unstr.c:236:2: note: include '' or provide a declaration of 'exit' unstr.c:246:5: warning: incompatible implicit declaration of built-in function 'exit' 246 | exit(0); | ^~~~ unstr.c:246:5: note: include '' or provide a declaration of 'exit' unstr.c: In function 'order_unstr': unstr.c:184:2: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] 184 | fread((char *) &pos, 1, sizeof pos, Dataf); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ unstr.c: In function 'main': unstr.c:227:5: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] 227 | fread(&tbl.str_version, sizeof(tbl.str_version), 1, Dataf); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ unstr.c:228:5: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] 228 | fread(&tbl.str_numstr, sizeof(tbl.str_numstr), 1, Dataf); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ unstr.c:229:5: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] 229 | fread(&tbl.str_longlen, sizeof(tbl.str_longlen), 1, Dataf); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ unstr.c:230:5: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] 230 | fread(&tbl.str_shortlen, sizeof(tbl.str_shortlen), 1, Dataf); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ unstr.c:231:5: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] 231 | fread(&tbl.str_flags, sizeof(tbl.str_flags), 1, Dataf); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ unstr.c:232:5: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] 232 | fread( tbl.stuff, sizeof(tbl.stuff), 1, Dataf); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[1]: Leaving directory '/usr/src/RPM/BUILD/fortune-mod-1.99.1/util' make[1]: Entering directory '/usr/src/RPM/BUILD/fortune-mod-1.99.1/util' gcc -o unstr unstr.o make[1]: Leaving directory '/usr/src/RPM/BUILD/fortune-mod-1.99.1/util' make[1]: Entering directory '/usr/src/RPM/BUILD/fortune-mod-1.99.1/util' gcc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -DFORTDIR="\"/usr/share/games/fortune\"" -DOFFDIR="\"/usr/share/games/fortune/off\"" -DLOCFORTDIR="\"/usr/local/share/games/fortunes\"" -DLOCOFFDIR="\"/usr/local/share/games/fortunes/off\"" -Wall -fomit-frame-pointer -pipe -fsigned-char -c -o strfile.o strfile.c strfile.c: In function 'main': strfile.c:450:5: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 450 | sp = fgets(string, 256, inf); | ^ strfile.c:454:45: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 454 | length = pos - last_off - (sp ? strlen(sp) : 0); | ^~ | | | unsigned char * In file included from strfile.c:81: /usr/include/string.h:384:35: note: expected 'const char *' but argument is of type 'unsigned char *' 384 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ strfile.c:477:15: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 477 | for (nsp = sp; !isalnum(*nsp); nsp++) | ^ strfile.c:516:32: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'u_int32_t' {aka 'unsigned int'} [-Wformat=] 516 | printf("Longest string: %lu byte%s\n", Tbl.str_longlen, | ~~^ ~~~~~~~~~~~~~~~ | | | | | u_int32_t {aka unsigned int} | long unsigned int | %u strfile.c:518:33: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'u_int32_t' {aka 'unsigned int'} [-Wformat=] 518 | printf("Shortest string: %lu byte%s\n", Tbl.str_shortlen, | ~~^ ~~~~~~~~~~~~~~~~ | | | | | u_int32_t {aka unsigned int} | long unsigned int | %u make[1]: Leaving directory '/usr/src/RPM/BUILD/fortune-mod-1.99.1/util' make[1]: Entering directory '/usr/src/RPM/BUILD/fortune-mod-1.99.1/util' gcc -o strfile strfile.o make[1]: Leaving directory '/usr/src/RPM/BUILD/fortune-mod-1.99.1/util' cd datfiles && make COOKIEDIR=/usr/share/games/fortune \ OCOOKIEDIR=/usr/share/games/fortune/off WCOOKIEDIR=/usr/share/games/fortune/html \ OFFENSIVE=1 WEB=0 if [ 1 = 1 ] ; then \ cd off && make OCOOKIEDIR=/usr/share/games/fortune/off ; fi if [ 0 = 1 ] ; then \ cd html && make WCOOKIEDIR=/usr/share/games/fortune/html; fi make[2]: Entering directory '/usr/src/RPM/BUILD/fortune-mod-1.99.1/datfiles/off' for i in drugs misandry privates sex astrology ethnic miscellaneous racism songs-poems black-humor hphobia misogyny religion vulgarity definitions limerick politics riddles zippy cookie fortunes linux art atheism debian ; \ do \ if [ ! -f unrotated/$i.old ]; then \ cp unrotated/$i unrotated/$i.old ; \ fi; \ done touch recoded-stamp make[2]: Leaving directory '/usr/src/RPM/BUILD/fortune-mod-1.99.1/datfiles/off' make[1]: Entering directory '/usr/src/RPM/BUILD/fortune-mod-1.99.1/datfiles' rm -f *.dat for i in art ascii-art computers cookie definitions drugs education ethnic food fortunes goedel humorists kids law linuxcookie literature love magic medicine men-women miscellaneous news people pets platitudes politics riddles science songs-poems sports startrek translate-me wisdom work linux perl knghtbrd paradoxum zippy debian ; \ do \ if [ ! -f $i.old ] ; then \ cp $i $i.old; \ fi; \ ../util/strfile $i ; \ done "art.dat" created There were 460 strings Longest string: 1553 bytes Shortest string: 16 bytes "ascii-art.dat" created There were 10 strings Longest string: 1103 bytes Shortest string: 106 bytes "computers.dat" created There were 1026 strings Longest string: 1779 bytes Shortest string: 1 byte "cookie.dat" created There were 1138 strings Longest string: 1790 bytes Shortest string: 9 bytes "definitions.dat" created There were 1187 strings Longest string: 2146 bytes Shortest string: 10 bytes "drugs.dat" created There were 208 strings Longest string: 1341 bytes Shortest string: 23 bytes "education.dat" created There were 203 strings Longest string: 1323 bytes Shortest string: 21 bytes "ethnic.dat" created There were 162 strings Longest string: 1322 bytes Shortest string: 21 bytes "food.dat" created There were 198 strings Longest string: 1054 bytes Shortest string: 22 bytes "fortunes.dat" created There were 431 strings Longest string: 187 bytes Shortest string: 15 bytes "goedel.dat" created There were 54 strings Longest string: 999 bytes Shortest string: 6 bytes "humorists.dat" created There were 197 strings Longest string: 1336 bytes Shortest string: 24 bytes "kids.dat" created There were 150 strings Longest string: 1487 bytes Shortest string: 28 bytes "law.dat" created There were 201 strings Longest string: 1690 bytes Shortest string: 43 bytes "linuxcookie.dat" created There were 104 strings Longest string: 1158 bytes Shortest string: 37 bytes "literature.dat" created There were 261 strings Longest string: 2436 bytes Shortest string: 26 bytes "love.dat" created There were 150 strings Longest string: 843 bytes Shortest string: 26 bytes "magic.dat" created There were 30 strings Longest string: 1216 bytes Shortest string: 47 bytes "medicine.dat" created There were 74 strings Longest string: 1144 bytes Shortest string: 22 bytes "men-women.dat" created There were 582 strings Longest string: 1487 bytes Shortest string: 28 bytes "miscellaneous.dat" created There were 649 strings Longest string: 997 bytes Shortest string: 5 bytes "news.dat" created There were 53 strings Longest string: 983 bytes Shortest string: 49 bytes "people.dat" created There were 1243 strings Longest string: 1208 bytes Shortest string: 23 bytes "pets.dat" created There were 51 strings Longest string: 826 bytes Shortest string: 15 bytes "platitudes.dat" created There were 500 strings Longest string: 694 bytes Shortest string: 3 bytes "politics.dat" created There were 700 strings Longest string: 1720 bytes Shortest string: 10 bytes "riddles.dat" created There were 131 strings Longest string: 2034 bytes Shortest string: 36 bytes "science.dat" created There were 624 strings Longest string: 1532 bytes Shortest string: 14 bytes "songs-poems.dat" created There were 720 strings Longest string: 1653 bytes Shortest string: 29 bytes "sports.dat" created There were 147 strings Longest string: 1525 bytes Shortest string: 5 bytes "startrek.dat" created There were 227 strings Longest string: 1024 bytes Shortest string: 17 bytes "translate-me.dat" created There were 12 strings Longest string: 1186 bytes Shortest string: 19 bytes "wisdom.dat" created There were 420 strings Longest string: 1819 bytes Shortest string: 17 bytes "work.dat" created There were 630 strings Longest string: 1446 bytes Shortest string: 15 bytes "linux.dat" created There were 393 strings Longest string: 1176 bytes Shortest string: 38 bytes "perl.dat" created There were 273 strings Longest string: 412 bytes Shortest string: 60 bytes "knghtbrd.dat" created There were 554 strings Longest string: 870 bytes Shortest string: 19 bytes "paradoxum.dat" created There were 72 strings Longest string: 688 bytes Shortest string: 22 bytes "zippy.dat" created There were 548 strings Longest string: 486 bytes Shortest string: 5 bytes "debian.dat" created There were 16 strings Longest string: 546 bytes Shortest string: 1 byte touch cookies-stamp make[1]: Leaving directory '/usr/src/RPM/BUILD/fortune-mod-1.99.1/datfiles' make[2]: Entering directory '/usr/src/RPM/BUILD/fortune-mod-1.99.1/datfiles/off' for i in drugs misandry privates sex astrology ethnic miscellaneous racism songs-poems black-humor hphobia misogyny religion vulgarity definitions limerick politics riddles zippy cookie fortunes linux art atheism debian ; \ do ../../util/rot < unrotated/$i > $i || exit $? ; ln -s $i $i.u8; done touch rotated-stamp make[2]: Leaving directory '/usr/src/RPM/BUILD/fortune-mod-1.99.1/datfiles/off' make[2]: Entering directory '/usr/src/RPM/BUILD/fortune-mod-1.99.1/datfiles/off' rm -f *.dat for i in drugs misandry privates sex astrology ethnic miscellaneous racism songs-poems black-humor hphobia misogyny religion vulgarity definitions limerick politics riddles zippy cookie fortunes linux art atheism debian ; do ../../util/strfile -x $i || exit $? ; done "drugs.dat" created There were 73 strings Longest string: 1408 bytes Shortest string: 29 bytes "misandry.dat" created There were 23 strings Longest string: 772 bytes Shortest string: 26 bytes "privates.dat" created There were 131 strings Longest string: 1506 bytes Shortest string: 13 bytes "sex.dat" created There were 809 strings Longest string: 1524 bytes Shortest string: 10 bytes "astrology.dat" created There were 42 strings Longest string: 961 bytes Shortest string: 37 bytes "ethnic.dat" created There were 127 strings Longest string: 1660 bytes Shortest string: 39 bytes "miscellaneous.dat" created There were 65 strings Longest string: 1339 bytes Shortest string: 23 bytes "racism.dat" created There were 4 strings Longest string: 162 bytes Shortest string: 148 bytes "songs-poems.dat" created There were 206 strings Longest string: 1706 bytes Shortest string: 50 bytes "black-humor.dat" created There were 270 strings Longest string: 1758 bytes Shortest string: 24 bytes "hphobia.dat" created There were 40 strings Longest string: 1401 bytes Shortest string: 40 bytes "misogyny.dat" created There were 60 strings Longest string: 1225 bytes Shortest string: 39 bytes "religion.dat" created There were 229 strings Longest string: 1655 bytes Shortest string: 17 bytes "vulgarity.dat" created There were 194 strings Longest string: 1444 bytes Shortest string: 12 bytes "definitions.dat" created There were 332 strings Longest string: 1066 bytes Shortest string: 10 bytes "limerick.dat" created There were 1000 strings Longest string: 873 bytes Shortest string: 66 bytes "politics.dat" created There were 349 strings Longest string: 2065 bytes Shortest string: 22 bytes "riddles.dat" created There were 269 strings Longest string: 667 bytes Shortest string: 40 bytes "zippy.dat" created There were 548 strings Longest string: 486 bytes Shortest string: 5 bytes "cookie.dat" created There was 1 string Longest string: 14 bytes Shortest string: 14 bytes "fortunes.dat" created There were 2 strings Longest string: 65 bytes Shortest string: 32 bytes "linux.dat" created There were 7 strings Longest string: 468 bytes Shortest string: 104 bytes "art.dat" created There was 1 string Longest string: 91 bytes Shortest string: 91 bytes "atheism.dat" created There were 2166 strings Longest string: 2377 bytes Shortest string: 18 bytes "debian.dat" created There were 5 strings Longest string: 330 bytes Shortest string: 90 bytes touch ocookies-stamp make[2]: Leaving directory '/usr/src/RPM/BUILD/fortune-mod-1.99.1/datfiles/off' make[1]: Entering directory '/usr/src/RPM/BUILD/fortune-mod-1.99.1/fortune' gcc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -DFORTDIR="\"/usr/share/games/fortune\"" -DOFFDIR="\"/usr/share/games/fortune/off\"" -DLOCFORTDIR="\"/usr/local/share/games/fortunes\"" -DLOCOFFDIR="\"/usr/local/share/games/fortunes/off\"" -Wall -fomit-frame-pointer -pipe -fsigned-char -DHAVE_REGEX_H -DBSD_REGEX -DHAVE_STDBOOL -I../util -c -o fortune.o fortune.c fortune.c: In function 'get_fort': fortune.c:1539:5: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] 1539 | read(fp->datfd, &Seekpts[0], sizeof Seekpts[0]); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fortune.c:1540:5: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] 1540 | read(fp->datfd, &Seekpts[1], sizeof Seekpts[1]); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fortune.c: In function 'add_file': fortune.c:698:45: warning: '%s' directive output may be truncated writing up to 511 bytes into a region of size 487 [-Wformat-truncation=] 698 | snprintf(langdir,sizeof(langdir),"%s/%s", | ^~ In file included from /usr/include/stdio.h:862, from fortune.c:136: /usr/include/bits/stdio2.h:64:10: note: '__builtin___snprintf_chk' output between 26 and 537 bytes into a destination of size 512 64 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 65 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/string.h:507, from fortune.c:139: In function 'strncpy', inlined from 'add_file' at fortune.c:726:5: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fortune.c: In function 'add_file': fortune.c:726:30: note: length computed here 726 | strncpy (fp->name, file, strlen (file) + 1); | ^~~~~~~~~~~~~ In file included from /usr/include/string.h:507, from fortune.c:139: In function 'strncpy', inlined from 'add_file' at fortune.c:729:5: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fortune.c: In function 'add_file': fortune.c:729:30: note: length computed here 729 | strncpy (fp->path, path, strlen (path) + 1); | ^~~~~~~~~~~~~ In file included from /usr/include/string.h:507, from fortune.c:139: In function 'strncpy', inlined from 'add_file' at fortune.c:691:6: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound 512 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fortune.c: In function 'form_file_list': fortune.c:1001:43: warning: '%s' directive output may be truncated writing up to 511 bytes into a region of size 487 [-Wformat-truncation=] 1001 | snprintf(langdir,sizeof(langdir),"%s/%s/%s", | ^~ In file included from /usr/include/stdio.h:862, from fortune.c:136: /usr/include/bits/stdio2.h:64:10: note: '__builtin___snprintf_chk' output 27 or more bytes (assuming 538) into a destination of size 512 64 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 65 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/string.h:507, from fortune.c:139: In function 'strncpy', inlined from 'form_file_list' at fortune.c:992:4: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound 512 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'form_file_list' at fortune.c:872:3: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound 512 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[1]: Leaving directory '/usr/src/RPM/BUILD/fortune-mod-1.99.1/fortune' make[1]: Entering directory '/usr/src/RPM/BUILD/fortune-mod-1.99.1/fortune' gcc -o fortune fortune.o make[1]: Leaving directory '/usr/src/RPM/BUILD/fortune-mod-1.99.1/fortune' + make -j8 COOKIEDIR=/usr/share/games/fortune fortune/fortune.man make: Entering directory '/usr/src/RPM/BUILD/fortune-mod-1.99.1' Building fortune/fortune.man ... done. make: Leaving directory '/usr/src/RPM/BUILD/fortune-mod-1.99.1' + exit 0 Executing(%install): /bin/sh -e /usr/src/tmp/rpm-tmp.31486 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + /bin/chmod -Rf u+rwX -- /usr/src/tmp/fortune-mod-buildroot + : + /bin/rm -rf -- /usr/src/tmp/fortune-mod-buildroot + cd fortune-mod-1.99.1 + make 'INSTALL=/bin/install -p' FORTDIR=/usr/src/tmp/fortune-mod-buildroot//usr/bin COOKIEDIR=/usr/src/tmp/fortune-mod-buildroot/usr/share/games/fortune BINDIR=/usr/src/tmp/fortune-mod-buildroot//usr/bin BINMANDIR=/usr/src/tmp/fortune-mod-buildroot//usr/share/man/man1 FORTMANDIR=/usr/src/tmp/fortune-mod-buildroot//usr/share/man/man6 install make: Entering directory '/usr/src/RPM/BUILD/fortune-mod-1.99.1' cd fortune && make CC='gcc' \ CFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -DFORTDIR="\"/usr/src/tmp/fortune-mod-buildroot/usr/share/games/fortune\"" -DOFFDIR="\"/usr/src/tmp/fortune-mod-buildroot/usr/share/games/fortune/off\"" -DLOCFORTDIR="\"/usr/local/share/games/fortunes\"" -DLOCOFFDIR="\"/usr/local/share/games/fortunes/off\"" -Wall -fomit-frame-pointer -pipe -fsigned-char -DHAVE_REGEX_H -DBSD_REGEX -DHAVE_STDBOOL -I../util' \ LDFLAGS='' LIBS='' make[1]: Entering directory '/usr/src/RPM/BUILD/fortune-mod-1.99.1/fortune' make[1]: Nothing to be done for 'all'. make[1]: Leaving directory '/usr/src/RPM/BUILD/fortune-mod-1.99.1/fortune' install -m 0755 -d /usr/src/tmp/fortune-mod-buildroot//usr/bin install -m 0755 fortune/fortune /usr/src/tmp/fortune-mod-buildroot//usr/bin cd util && make CC='gcc' CFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -DFORTDIR="\"/usr/src/tmp/fortune-mod-buildroot/usr/share/games/fortune\"" -DOFFDIR="\"/usr/src/tmp/fortune-mod-buildroot/usr/share/games/fortune/off\"" -DLOCFORTDIR="\"/usr/local/share/games/fortunes\"" -DLOCOFFDIR="\"/usr/local/share/games/fortunes/off\"" -Wall -fomit-frame-pointer -pipe -fsigned-char' \ LDFLAGS='' make[1]: Entering directory '/usr/src/RPM/BUILD/fortune-mod-1.99.1/util' make[1]: Nothing to be done for 'all'. make[1]: Leaving directory '/usr/src/RPM/BUILD/fortune-mod-1.99.1/util' install -m 0755 -d /usr/src/tmp/fortune-mod-buildroot//usr/bin install -m 0755 util/strfile /usr/src/tmp/fortune-mod-buildroot//usr/bin install -m 0755 util/unstr /usr/src/tmp/fortune-mod-buildroot//usr/bin install -m 0755 -d /usr/src/tmp/fortune-mod-buildroot//usr/share/man/man6 install -m 0644 fortune/fortune.man /usr/src/tmp/fortune-mod-buildroot//usr/share/man/man6/fortune.6 install -m 0755 -d /usr/src/tmp/fortune-mod-buildroot//usr/share/man/man1 install -m 0644 util/strfile.man /usr/src/tmp/fortune-mod-buildroot//usr/share/man/man1/strfile.1 rm -f /usr/src/tmp/fortune-mod-buildroot//usr/share/man/man1/unstr.1 (cd /usr/src/tmp/fortune-mod-buildroot//usr/share/man/man1 && ln -sf strfile.1.gz /usr/src/tmp/fortune-mod-buildroot//usr/share/man/man1/unstr.1.gz) cd datfiles && make COOKIEDIR=/usr/src/tmp/fortune-mod-buildroot/usr/share/games/fortune \ OCOOKIEDIR=/usr/src/tmp/fortune-mod-buildroot/usr/share/games/fortune/off WCOOKIEDIR=/usr/src/tmp/fortune-mod-buildroot/usr/share/games/fortune/html \ OFFENSIVE=1 WEB=0 make[1]: Entering directory '/usr/src/RPM/BUILD/fortune-mod-1.99.1/datfiles' if [ 1 = 1 ] ; then \ cd off && make OCOOKIEDIR=/usr/src/tmp/fortune-mod-buildroot/usr/share/games/fortune/off ; fi make[2]: Entering directory '/usr/src/RPM/BUILD/fortune-mod-1.99.1/datfiles/off' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/usr/src/RPM/BUILD/fortune-mod-1.99.1/datfiles/off' if [ 0 = 1 ] ; then \ cd html && make WCOOKIEDIR=/usr/src/tmp/fortune-mod-buildroot/usr/share/games/fortune/html; fi make[1]: Leaving directory '/usr/src/RPM/BUILD/fortune-mod-1.99.1/datfiles' cd datfiles && make COOKIEDIR=/usr/src/tmp/fortune-mod-buildroot/usr/share/games/fortune \ OCOOKIEDIR=/usr/src/tmp/fortune-mod-buildroot/usr/share/games/fortune/off WCOOKIEDIR=/usr/src/tmp/fortune-mod-buildroot/usr/share/games/fortune/html \ OFFENSIVE=1 WEB=0 install make[1]: Entering directory '/usr/src/RPM/BUILD/fortune-mod-1.99.1/datfiles' install -m 0755 -d /usr/src/tmp/fortune-mod-buildroot/usr/share/games/fortune if [ 1 = 1 ] ; then cd off && make install ; fi make[2]: Entering directory '/usr/src/RPM/BUILD/fortune-mod-1.99.1/datfiles/off' install -m 0755 -d /usr/src/tmp/fortune-mod-buildroot/usr/share/games/fortune/off for i in drugs misandry privates sex astrology ethnic miscellaneous racism songs-poems black-humor hphobia misogyny religion vulgarity definitions limerick politics riddles zippy cookie fortunes linux art atheism debian ; \ do install -m 0644 $i $i.dat /usr/src/tmp/fortune-mod-buildroot/usr/share/games/fortune/off || exit $? ; \ done make[2]: Leaving directory '/usr/src/RPM/BUILD/fortune-mod-1.99.1/datfiles/off' if [ 0 = 1 ] ; then cd html && make install ; fi for i in art ascii-art computers cookie definitions drugs education ethnic food fortunes goedel humorists kids law linuxcookie literature love magic medicine men-women miscellaneous news people pets platitudes politics riddles science songs-poems sports startrek translate-me wisdom work linux perl knghtbrd paradoxum zippy debian ; do \ install -m 0644 $i $i.dat /usr/src/tmp/fortune-mod-buildroot/usr/share/games/fortune || exit cookies-stamp ; \ done make[1]: Leaving directory '/usr/src/RPM/BUILD/fortune-mod-1.99.1/datfiles' make: Leaving directory '/usr/src/RPM/BUILD/fortune-mod-1.99.1' + tar xvf /usr/src/RPM/SOURCES/kernelnewbies-fortunes.tar -C /usr/src/tmp/fortune-mod-buildroot/usr/share/games/fortune/ kernelnewbies kernelnewbies.dat + tar xvf /usr/src/RPM/SOURCES/bofh-excuses.tar -C /usr/src/tmp/fortune-mod-buildroot/usr/share/games/fortune/ bofh-excuses bofh-excuses.dat + /usr/lib/rpm/brp-alt Cleaning files in /usr/src/tmp/fortune-mod-buildroot (auto) Verifying and fixing files in /usr/src/tmp/fortune-mod-buildroot (binconfig,pkgconfig,libtool,desktop) Checking contents of files in /usr/src/tmp/fortune-mod-buildroot/ (default) Compressing files in /usr/src/tmp/fortune-mod-buildroot (auto) removed '/usr/src/tmp/fortune-mod-buildroot/usr/share/man/man1/unstr.1.gz' '/usr/src/tmp/fortune-mod-buildroot/usr/share/man/man1/unstr.1.xz' -> 'strfile.1.xz' Verifying ELF objects in /usr/src/tmp/fortune-mod-buildroot (arch=normal,fhs=normal,lfs=relaxed,lint=relaxed,rpath=normal,stack=normal,textrel=normal,unresolved=normal) verify-elf: WARNING: ./usr/bin/unstr: uses non-LFS functions: fopen verify-elf: WARNING: ./usr/bin/strfile: uses non-LFS functions: fopen verify-elf: WARNING: ./usr/bin/fortune: uses non-LFS functions: __xstat lseek open readdir Hardlinking identical .pyc and .pyo files Processing files: fortune-mod-1.99.1-alt5.qa3 Requires: fortune = 1.99.1-alt5.qa3, fortunes = 1.99.1-alt5.qa3 Processing files: fortune-1.99.1-alt5.qa3 Executing(%doc): /bin/sh -e /usr/src/tmp/rpm-tmp.60189 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd fortune-mod-1.99.1 + DOCDIR=/usr/src/tmp/fortune-mod-buildroot/usr/share/doc/fortune-1.99.1 + export DOCDIR + rm -rf /usr/src/tmp/fortune-mod-buildroot/usr/share/doc/fortune-1.99.1 + /bin/mkdir -p /usr/src/tmp/fortune-mod-buildroot/usr/share/doc/fortune-1.99.1 + cp -prL README ChangeLog TODO /usr/src/tmp/fortune-mod-buildroot/usr/share/doc/fortune-1.99.1 + chmod -R go-w /usr/src/tmp/fortune-mod-buildroot/usr/share/doc/fortune-1.99.1 + chmod -R a+rX /usr/src/tmp/fortune-mod-buildroot/usr/share/doc/fortune-1.99.1 + exit 0 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.YPVRZb find-provides: running scripts (debuginfo,lib,pam,perl,pkgconfig,python,shell) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.8DCrys find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,rpmlib,shebang,shell,static,symlinks) Provides: /usr/share/games/fortune, /usr/share/games/fortune/off Requires: /lib/ld-linux.so.2, libc.so.6(GLIBC_2.0), libc.so.6(GLIBC_2.1), libc.so.6(GLIBC_2.3), libc.so.6(GLIBC_2.3.4), libc.so.6(GLIBC_2.4), rtld(GNU_HASH) Finding debuginfo files (using /usr/lib/rpm/find-debuginfo-files) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.nRzyO7 Creating fortune-debuginfo package Processing files: fortunes-1.99.1-alt5.qa3 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.f9euth find-provides: running scripts (debuginfo,lib,pam,perl,pkgconfig,python,shell) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.7xqwGG find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,rpmlib,shebang,shell,static,symlinks) Requires(pre): /usr/share/games/fortune Requires(postun): /usr/share/games/fortune Finding debuginfo files (using /usr/lib/rpm/find-debuginfo-files) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.2ccMiH Processing files: fortunes-offensive-1.99.1-alt5.qa3 Executing(%doc): /bin/sh -e /usr/src/tmp/rpm-tmp.9040 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd fortune-mod-1.99.1 + DOCDIR=/usr/src/tmp/fortune-mod-buildroot/usr/share/doc/fortunes-offensive-1.99.1 + export DOCDIR + rm -rf /usr/src/tmp/fortune-mod-buildroot/usr/share/doc/fortunes-offensive-1.99.1 + /bin/mkdir -p /usr/src/tmp/fortune-mod-buildroot/usr/share/doc/fortunes-offensive-1.99.1 + cp -prL Offensive /usr/src/tmp/fortune-mod-buildroot/usr/share/doc/fortunes-offensive-1.99.1 + chmod -R go-w /usr/src/tmp/fortune-mod-buildroot/usr/share/doc/fortunes-offensive-1.99.1 + chmod -R a+rX /usr/src/tmp/fortune-mod-buildroot/usr/share/doc/fortunes-offensive-1.99.1 + exit 0 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.3Fmcwg find-provides: running scripts (debuginfo,lib,pam,perl,pkgconfig,python,shell) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.zjwxmf find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,rpmlib,shebang,shell,static,symlinks) Requires(pre): /usr/share/games/fortune/off Requires(postun): /usr/share/games/fortune/off Finding debuginfo files (using /usr/lib/rpm/find-debuginfo-files) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.VmYgGp Processing files: fortune-debuginfo-1.99.1-alt5.qa3 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.GBSUD5 find-provides: running scripts (debuginfo) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.h44xmt find-requires: running scripts (debuginfo) Requires: fortune = 1.99.1-alt5.qa3, /usr/lib/debug/lib/ld-linux.so.2.debug, debug(libc.so.6) warning: fortunes: non-strict dependency on fortune warning: fortunes-offensive: non-strict dependency on fortune Wrote: /usr/src/RPM/RPMS/i586/fortune-mod-1.99.1-alt5.qa3.i586.rpm Wrote: /usr/src/RPM/RPMS/i586/fortune-1.99.1-alt5.qa3.i586.rpm Wrote: /usr/src/RPM/RPMS/i586/fortunes-1.99.1-alt5.qa3.i586.rpm Wrote: /usr/src/RPM/RPMS/i586/fortunes-offensive-1.99.1-alt5.qa3.i586.rpm Wrote: /usr/src/RPM/RPMS/i586/fortune-debuginfo-1.99.1-alt5.qa3.i586.rpm 8.62user 1.32system 0:22.27elapsed 44%CPU (0avgtext+0avgdata 31064maxresident)k 0inputs+0outputs (0major+370985minor)pagefaults 0swaps 10.43user 3.85system 0:28.43elapsed 50%CPU (0avgtext+0avgdata 31064maxresident)k 0inputs+0outputs (0major+607048minor)pagefaults 0swaps