<86>Oct 3 08:23:53 userdel[4155214]: delete user 'rooter' <86>Oct 3 08:23:53 userdel[4155214]: removed group 'rooter' owned by 'rooter' <86>Oct 3 08:23:53 userdel[4155214]: removed shadow group 'rooter' owned by 'rooter' <86>Oct 3 08:23:53 groupadd[4155228]: group added to /etc/group: name=rooter, GID=573 <86>Oct 3 08:23:53 groupadd[4155228]: group added to /etc/gshadow: name=rooter <86>Oct 3 08:23:53 groupadd[4155228]: new group: name=rooter, GID=573 <86>Oct 3 08:23:53 useradd[4155243]: new user: name=rooter, UID=573, GID=573, home=/root, shell=/bin/bash <86>Oct 3 08:23:53 userdel[4155274]: delete user 'builder' <86>Oct 3 08:23:53 userdel[4155274]: removed group 'builder' owned by 'builder' <86>Oct 3 08:23:53 userdel[4155274]: removed shadow group 'builder' owned by 'builder' <86>Oct 3 08:23:53 groupadd[4155292]: group added to /etc/group: name=builder, GID=574 <86>Oct 3 08:23:53 groupadd[4155292]: group added to /etc/gshadow: name=builder <86>Oct 3 08:23:53 groupadd[4155292]: new group: name=builder, GID=574 <86>Oct 3 08:23:53 useradd[4155305]: new user: name=builder, UID=574, GID=574, home=/usr/src, shell=/bin/bash <13>Oct 3 08:23:57 rpmi: libexpat-2.2.9-alt1 sisyphus+252464.200.2.1 1590958865 installed <13>Oct 3 08:23:57 rpmi: libexpat-devel-2.2.9-alt1 sisyphus+252464.200.2.1 1590958865 installed <13>Oct 3 08:23:57 rpmi: flex-2.6.4.0.88.9801-alt1 sisyphus+221902.2300.4.1 1550596430 installed Building target platforms: i586 Building for target i586 Wrote: /usr/src/in/nosrpm/rats-2.3-alt2.nosrc.rpm Installing rats-2.3-alt2.src.rpm Building target platforms: i586 Building for target i586 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.69609 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + rm -rf rats-2.3 + echo 'Source #0 (rats-2.3.tar):' Source #0 (rats-2.3.tar): + /bin/tar -xf /usr/src/RPM/SOURCES/rats-2.3.tar + cd rats-2.3 + /bin/chmod -c -Rf u+rwX,go-w . + rm lex.yyc.c lex.yyp.c lex.yyperl.c lex.yyphp.c lex.yyruby.c + echo 'Patch #0 (rats-2.3-alt-flex.patch):' Patch #0 (rats-2.3-alt-flex.patch): + /usr/bin/patch -p1 patching file tokens.h + exit 0 Executing(%build): /bin/sh -e /usr/src/tmp/rpm-tmp.69609 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd rats-2.3 + 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 + FCFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic' + export FCFLAGS + '[' -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 -rn1 install -pm755 -- /usr/share/gnu-config/config.sub /usr/share/gnu-config/config.guess + sort -u + xargs -ri find '{}' -type f '(' -name config.sub -or -name config.guess ')' -printf '%h/\n' + xargs -ri dirname -- '{}' + ./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 --datadir=/usr/share/rats checking for i586-alt-linux-gcc... i586-alt-linux-gcc checking for C compiler default output... 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-gcc accepts -g... yes checking for i586-alt-linux-gcc option to accept ANSI C... none needed checking for flex... flex checking for yywrap in -lfl... yes checking lex output file root... lex.yy checking whether yytext is a pointer... yes checking for a BSD-compatible install... /bin/install -c checking for XML_ParserCreate in -lexpat... yes checking how to run the C preprocessor... i586-alt-linux-gcc -E checking for ANSI C header files... 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 expat.h usability... yes checking expat.h presence... yes checking for expat.h... yes checking xmlparse.h usability... no checking xmlparse.h presence... no checking for xmlparse.h... no configure: creating ./config.status config.status: creating Makefile + make -j8 lex make: Entering directory '/usr/src/RPM/BUILD/rats-2.3' flex -F -8 -Pyyc c-lex.l flex -F -8 -Pyyp python-lex.l flex -F -8 -Pyyperl perl-lex.l flex -F -8 -Pyyphp php-lex.l flex -F -8 -Pyyruby ruby-lex.l make: Leaving directory '/usr/src/RPM/BUILD/rats-2.3' + make -j8 make: Entering directory '/usr/src/RPM/BUILD/rats-2.3' i586-alt-linux-gcc -Wall -g -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I/usr/local/include -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DYYTEXT_POINTER=1 -DHAVE_LIBEXPAT=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_EXPAT_H=1 -DDATADIR=\"/usr/share/rats\" -o hash.o -c hash.c In file included from hash.h:23, from hash.c:23: hash.c: In function 'HashKeys': kazhash.h:232:25: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 232 | #define hnode_getkey(N) ((N)->hash_key) | ^ hash.c:96:21: note: in expansion of macro 'hnode_getkey' 96 | char *tmp = hnode_getkey(hn); | ^~~~~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/rats-2.3' make: Entering directory '/usr/src/RPM/BUILD/rats-2.3' i586-alt-linux-gcc -Wall -g -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I/usr/local/include -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DYYTEXT_POINTER=1 -DHAVE_LIBEXPAT=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_EXPAT_H=1 -DDATADIR=\"/usr/share/rats\" -o engine.o -c engine.c engine.c: In function 'analyze_identifier': engine.c:794:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 794 | if (!analyzed) | ^~ engine.c:797:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 797 | if (process) | ^~ engine.c: In function 'analyze_comment': engine.c:1174:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 1174 | if (yyclength < 5) | ^~ engine.c:1176:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 1176 | if (*ratslexer.yycomment == NULL) | ^~ make: Leaving directory '/usr/src/RPM/BUILD/rats-2.3' make: Entering directory '/usr/src/RPM/BUILD/rats-2.3' i586-alt-linux-gcc -Wall -g -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I/usr/local/include -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DYYTEXT_POINTER=1 -DHAVE_LIBEXPAT=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_EXPAT_H=1 -DDATADIR=\"/usr/share/rats\" -o lex.yyc.o -c lex.yyc.c make: Leaving directory '/usr/src/RPM/BUILD/rats-2.3' make: Entering directory '/usr/src/RPM/BUILD/rats-2.3' i586-alt-linux-gcc -Wall -g -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I/usr/local/include -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DYYTEXT_POINTER=1 -DHAVE_LIBEXPAT=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_EXPAT_H=1 -DDATADIR=\"/usr/share/rats\" -o kazhash.o -c kazhash.c make: Leaving directory '/usr/src/RPM/BUILD/rats-2.3' make: Entering directory '/usr/src/RPM/BUILD/rats-2.3' i586-alt-linux-gcc -Wall -g -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I/usr/local/include -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DYYTEXT_POINTER=1 -DHAVE_LIBEXPAT=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_EXPAT_H=1 -DDATADIR=\"/usr/share/rats\" -o main.o -c main.c main.c: In function 'load_database': main.c:104:5: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] 104 | fread(buf, st.st_size, 1, fd); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/string.h:508, from main.c:36: In function 'strncpy', inlined from 'main' at main.c:398:4: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c: In function 'main': main.c:398:4: note: length computed here 398 | strncpy(uservul->Name, optarg, strlen(optarg)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/rats-2.3' make: Entering directory '/usr/src/RPM/BUILD/rats-2.3' i586-alt-linux-gcc -Wall -g -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I/usr/local/include -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DYYTEXT_POINTER=1 -DHAVE_LIBEXPAT=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_EXPAT_H=1 -DDATADIR=\"/usr/share/rats\" -o getopt.o -c getopt.c make: Leaving directory '/usr/src/RPM/BUILD/rats-2.3' make: Entering directory '/usr/src/RPM/BUILD/rats-2.3' i586-alt-linux-gcc -Wall -g -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I/usr/local/include -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DYYTEXT_POINTER=1 -DHAVE_LIBEXPAT=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_EXPAT_H=1 -DDATADIR=\"/usr/share/rats\" -o lex.yyperl.o -c lex.yyperl.c lex.yyperl.c:4134:17: warning: 'yyunput' defined but not used [-Wunused-function] 4134 | static void yyunput (int c, char * yy_bp ) | ^~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/rats-2.3' make: Entering directory '/usr/src/RPM/BUILD/rats-2.3' i586-alt-linux-gcc -Wall -g -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I/usr/local/include -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DYYTEXT_POINTER=1 -DHAVE_LIBEXPAT=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_EXPAT_H=1 -DDATADIR=\"/usr/share/rats\" -o lex.yyphp.o -c lex.yyphp.c lex.yyphp.c:11111:16: warning: 'yy_top_state' defined but not used [-Wunused-function] 11111 | static int yy_top_state (void) | ^~~~~~~~~~~~ lex.yyphp.c:11103:17: warning: 'yy_pop_state' defined but not used [-Wunused-function] 11103 | static void yy_pop_state (void) | ^~~~~~~~~~~~ lex.yyphp.c:11078:17: warning: 'yy_push_state' defined but not used [-Wunused-function] 11078 | static void yy_push_state (int _new_state ) | ^~~~~~~~~~~~~ lex.yyphp.c:10616:17: warning: 'yyunput' defined but not used [-Wunused-function] 10616 | static void yyunput (int c, char * yy_bp ) | ^~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/rats-2.3' make: Entering directory '/usr/src/RPM/BUILD/rats-2.3' i586-alt-linux-gcc -Wall -g -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I/usr/local/include -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DYYTEXT_POINTER=1 -DHAVE_LIBEXPAT=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_EXPAT_H=1 -DDATADIR=\"/usr/share/rats\" -o lex.yyruby.o -c lex.yyruby.c ruby-lex.l:240:6: warning: 'scan_yytext' defined but not used [-Wunused-function] 240 | void scan_yytext(void) | ^~~~~~~~~~~ lex.yyruby.c:6496:17: warning: 'yyunput' defined but not used [-Wunused-function] 6496 | static void yyunput (int c, char * yy_bp ) | ^~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/rats-2.3' make: Entering directory '/usr/src/RPM/BUILD/rats-2.3' i586-alt-linux-gcc -Wall -g -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I/usr/local/include -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DYYTEXT_POINTER=1 -DHAVE_LIBEXPAT=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_EXPAT_H=1 -DDATADIR=\"/usr/share/rats\" -o vuln_db.o -c vuln_db.c vuln_db.c: In function 'ParseVulnDb': vuln_db.c:415:38: warning: format '%d' expects argument of type 'int', but argument 4 has type 'XML_Size' {aka 'long unsigned int'} [-Wformat=] 415 | fprintf(stderr, "%s at line %d\n", | ~^ | | | int | %ld 416 | XML_ErrorString(XML_GetErrorCode(parser)), 417 | XML_GetCurrentLineNumber(parser)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | XML_Size {aka long unsigned int} In file included from /usr/include/string.h:508, from vuln_db.c:22: In function 'strncpy', inlined from 'StartElement' at vuln_db.c:161:5, inlined from 'StartElement' at vuln_db.c:147:6: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ vuln_db.c: In function 'StartElement': vuln_db.c:161:5: note: length computed here 161 | strncpy(mydata->fname[mydata->depth + 1], name, strlen(name)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/string.h:508, from vuln_db.c:22: In function 'strncpy', inlined from 'EndElement' at vuln_db.c:342:9, inlined from 'EndElement' at vuln_db.c:295:6: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ vuln_db.c: In function 'EndElement': vuln_db.c:342:9: note: length computed here 342 | strncpy(mydata->vuln->Info->URL, mydata->databuf, strlen(mydata->databuf)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/string.h:508, from vuln_db.c:22: In function 'strncpy', inlined from 'EndElement' at vuln_db.c:336:9, inlined from 'EndElement' at vuln_db.c:295:6: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ vuln_db.c: In function 'EndElement': vuln_db.c:336:9: note: length computed here 336 | strncpy(mydata->vuln->Info->Description, mydata->databuf, strlen(mydata->databuf)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/string.h:508, from vuln_db.c:22: In function 'strncpy', inlined from 'EndElement' at vuln_db.c:324:9, inlined from 'EndElement' at vuln_db.c:295:6: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ vuln_db.c: In function 'EndElement': vuln_db.c:324:9: note: length computed here 324 | strncpy(mydata->vuln->Name, mydata->databuf, strlen(mydata->databuf)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/rats-2.3' make: Entering directory '/usr/src/RPM/BUILD/rats-2.3' i586-alt-linux-gcc -Wall -g -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I/usr/local/include -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DYYTEXT_POINTER=1 -DHAVE_LIBEXPAT=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_EXPAT_H=1 -DDATADIR=\"/usr/share/rats\" -o lex.yyp.o -c lex.yyp.c lex.yyp.c:5352:17: warning: 'yyunput' defined but not used [-Wunused-function] 5352 | static void yyunput (int c, char * yy_bp ) | ^~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/rats-2.3' make: Entering directory '/usr/src/RPM/BUILD/rats-2.3' i586-alt-linux-gcc -Wall -g -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I/usr/local/include -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DYYTEXT_POINTER=1 -DHAVE_LIBEXPAT=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_EXPAT_H=1 -DDATADIR=\"/usr/share/rats\" -o report.o -c report.c In file included from /usr/include/string.h:508, from report.c:29: In function 'strncpy', inlined from 'replace_cfname' at report.c:137:3: /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)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ report.c: In function 'replace_cfname': report.c:137:3: note: length computed here 137 | strncpy(context_filename, filename, strlen(filename)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/string.h:508, from report.c:29: In function 'strncpy', inlined from 'getctx' at report.c:187:11: /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)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ report.c: In function 'getctx': report.c:187:11: note: length computed here 187 | strncpy(ret, buf, strlen(buf)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/rats-2.3' make: Entering directory '/usr/src/RPM/BUILD/rats-2.3' i586-alt-linux-gcc -Wall -g -L/usr/local/lib -o rats engine.o lex.yyc.o lex.yyp.o lex.yyperl.o lex.yyphp.o lex.yyruby.o hash.o kazhash.o main.o report.o vuln_db.o getopt.o -lexpat make: Leaving directory '/usr/src/RPM/BUILD/rats-2.3' + exit 0 Executing(%install): /bin/sh -e /usr/src/tmp/rpm-tmp.54131 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + /bin/chmod -Rf u+rwX -- /usr/src/tmp/rats-buildroot + : + /bin/rm -rf -- /usr/src/tmp/rats-buildroot + cd rats-2.3 + /usr/bin/make 'INSTALL=/bin/install -p' prefix=/usr/src/tmp/rats-buildroot/usr exec_prefix=/usr/src/tmp/rats-buildroot/usr bindir=/usr/src/tmp/rats-buildroot/usr/bin sbindir=/usr/src/tmp/rats-buildroot/usr/sbin sysconfdir=/usr/src/tmp/rats-buildroot/etc datadir=/usr/src/tmp/rats-buildroot/usr/share includedir=/usr/src/tmp/rats-buildroot/usr/include libdir=/usr/src/tmp/rats-buildroot/usr/lib libexecdir=/usr/src/tmp/rats-buildroot/usr/lib localstatedir=/usr/src/tmp/rats-buildroot/var/lib sharedstatedir=/usr/src/tmp/rats-buildroot/var/lib mandir=/usr/src/tmp/rats-buildroot/usr/share/man infodir=/usr/src/tmp/rats-buildroot/usr/share/info install BINDIR=/usr/src/tmp/rats-buildroot/usr/bin SHAREDIR=/usr/src/tmp/rats-buildroot/usr/share/rats MANDIR=/usr/src/tmp/rats-buildroot/usr/share/man make: Entering directory '/usr/src/RPM/BUILD/rats-2.3' ./mkinstalldirs /usr/src/tmp/rats-buildroot/usr/bin /usr/lib /usr/src/tmp/rats-buildroot/usr/share/man /usr/src/tmp/rats-buildroot/usr/share/man/man1 /usr/src/tmp/rats-buildroot/usr/share/rats mkdir /usr/src/tmp/rats-buildroot mkdir /usr/src/tmp/rats-buildroot/usr mkdir /usr/src/tmp/rats-buildroot/usr/bin mkdir /usr/src/tmp/rats-buildroot/usr/share mkdir /usr/src/tmp/rats-buildroot/usr/share/man mkdir /usr/src/tmp/rats-buildroot/usr/share/man/man1 mkdir /usr/src/tmp/rats-buildroot/usr/share/rats /bin/install -p rats /usr/src/tmp/rats-buildroot/usr/bin /bin/install -p -m 644 rats-python.xml /usr/src/tmp/rats-buildroot/usr/share/rats /bin/install -p -m 644 rats-c.xml /usr/src/tmp/rats-buildroot/usr/share/rats /bin/install -p -m 644 rats-perl.xml /usr/src/tmp/rats-buildroot/usr/share/rats /bin/install -p -m 644 rats-php.xml /usr/src/tmp/rats-buildroot/usr/share/rats /bin/install -p -m 644 rats-ruby.xml /usr/src/tmp/rats-buildroot/usr/share/rats /bin/install -p -m 644 rats-openssl.xml /usr/src/tmp/rats-buildroot/usr/share/rats /bin/install -p -m 644 rats.1 /usr/src/tmp/rats-buildroot/usr/share/man/man1 make: Leaving directory '/usr/src/RPM/BUILD/rats-2.3' + /usr/lib/rpm/brp-alt Cleaning files in /usr/src/tmp/rats-buildroot (auto) Verifying and fixing files in /usr/src/tmp/rats-buildroot (binconfig,pkgconfig,libtool,desktop) Checking contents of files in /usr/src/tmp/rats-buildroot/ (default) Compressing files in /usr/src/tmp/rats-buildroot (auto) Verifying ELF objects in /usr/src/tmp/rats-buildroot (arch=normal,fhs=normal,lfs=relaxed,lint=relaxed,rpath=normal,stack=normal,textrel=normal,unresolved=normal) verify-elf: WARNING: ./usr/bin/rats: uses non-LFS functions: __fxstat __lxstat fopen readdir Hardlinking identical .pyc and .pyo files Processing files: rats-2.3-alt2 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.Gt32fX 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.5Z3v1U 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.3), libc.so.6(GLIBC_2.3.4), libc.so.6(GLIBC_2.4), libexpat.so.1 >= set:kgE3cnblKboj81fLUPQV3R0, 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.qBTJjW Creating rats-debuginfo package Processing files: rats-debuginfo-2.3-alt2 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.w8EReX find-provides: running scripts (debuginfo) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.0gcQvW find-requires: running scripts (debuginfo) Requires: rats = 2.3-alt2, /usr/lib/debug/lib/ld-linux.so.2.debug, debug(libc.so.6), debug(libexpat.so.1) Wrote: /usr/src/RPM/RPMS/i586/rats-2.3-alt2.i586.rpm Wrote: /usr/src/RPM/RPMS/i586/rats-debuginfo-2.3-alt2.i586.rpm 10.31user 2.06system 0:13.13elapsed 94%CPU (0avgtext+0avgdata 32892maxresident)k 0inputs+0outputs (0major+400269minor)pagefaults 0swaps 16.86user 7.81system 0:24.59elapsed 100%CPU (0avgtext+0avgdata 110496maxresident)k 0inputs+0outputs (0major+697852minor)pagefaults 0swaps --- rats-2.3-alt2.i586.rpm.repo 2012-10-06 14:14:35.000000000 +0000 +++ rats-2.3-alt2.i586.rpm.hasher 2020-10-03 08:24:14.529492031 +0000 @@ -1,3 +1,3 @@ /usr/bin/rats 100755 -/usr/share/man/man1/rats.1.gz 100644 +/usr/share/man/man1/rats.1.xz 100644 /usr/share/rats 40755