Cook: chkrootkit 0.53 ================================================================================ QA: checking package receipt... Extracting source archive "chkrootkit-0.53.tar" Executing: compile_rules CFLAGS : -march=i486 -Os -pipe -mindirect-branch=thunk CXXLAGS : -march=i486 -Os -pipe -mindirect-branch=thunk CPPFLAGS : -D_GLIBCXX_USE_C99_MATH=1 LDFLAGS : -Wl,-Os,--as-needed patching file chkrootkit Hunk #1 succeeded at 10 with fuzz 1. Hunk #2 succeeded at 170 (offset 5 lines). Hunk #3 FAILED at 177. Hunk #4 FAILED at 198. Hunk #5 succeeded at 226 (offset 4 lines). Hunk #6 FAILED at 236. Hunk #7 succeeded at 276 (offset 4 lines). Hunk #8 FAILED at 315. Hunk #9 succeeded at 334 (offset 6 lines). Hunk #10 succeeded at 361 (offset 6 lines). Hunk #11 succeeded at 370 (offset 6 lines). Hunk #12 succeeded at 549 (offset 6 lines). Hunk #13 succeeded at 1032 (offset 16 lines). Hunk #14 succeeded at 1429 (offset 62 lines). Hunk #15 succeeded at 1459 (offset 62 lines). Hunk #16 succeeded at 1478 (offset 62 lines). Hunk #17 succeeded at 1491 (offset 62 lines). Hunk #18 succeeded at 1505 (offset 62 lines). Hunk #19 succeeded at 1517 (offset 62 lines). Hunk #20 succeeded at 1533 (offset 62 lines). Hunk #21 succeeded at 1541 (offset 62 lines). Hunk #22 succeeded at 1559 (offset 62 lines). Hunk #23 succeeded at 1582 (offset 62 lines). Hunk #24 succeeded at 1603 (offset 62 lines). Hunk #25 succeeded at 1625 (offset 62 lines). Hunk #26 succeeded at 1647 (offset 62 lines). Hunk #27 succeeded at 1669 (offset 62 lines). Hunk #28 succeeded at 1687 (offset 62 lines). Hunk #29 succeeded at 1704 (offset 62 lines). Hunk #30 succeeded at 1728 (offset 62 lines). Hunk #31 succeeded at 1746 (offset 62 lines). Hunk #32 succeeded at 1765 (offset 62 lines). Hunk #33 succeeded at 1787 (offset 62 lines). Hunk #34 succeeded at 1814 (offset 62 lines). Hunk #35 succeeded at 1836 (offset 62 lines). Hunk #36 succeeded at 1858 (offset 62 lines). Hunk #37 succeeded at 1880 (offset 62 lines). Hunk #38 succeeded at 1897 (offset 62 lines). Hunk #39 succeeded at 1923 (offset 62 lines). Hunk #40 succeeded at 1947 (offset 62 lines). Hunk #41 succeeded at 1972 (offset 62 lines). Hunk #42 succeeded at 1993 (offset 62 lines). Hunk #43 succeeded at 2015 (offset 62 lines). Hunk #44 succeeded at 2045 (offset 62 lines). Hunk #45 succeeded at 2066 (offset 62 lines). Hunk #46 succeeded at 2093 (offset 62 lines). Hunk #47 succeeded at 2111 (offset 62 lines). Hunk #48 succeeded at 2130 (offset 62 lines). Hunk #49 succeeded at 2148 (offset 62 lines). Hunk #50 succeeded at 2166 (offset 62 lines). Hunk #51 succeeded at 2182 (offset 62 lines). Hunk #52 succeeded at 2204 (offset 62 lines). Hunk #53 succeeded at 2224 (offset 62 lines). Hunk #54 succeeded at 2260 (offset 62 lines). Hunk #55 succeeded at 2280 (offset 62 lines). Hunk #56 succeeded at 2305 (offset 62 lines). Hunk #57 succeeded at 2327 (offset 62 lines). Hunk #58 succeeded at 2344 (offset 62 lines). Hunk #59 succeeded at 2371 (offset 62 lines). Hunk #60 succeeded at 2393 (offset 62 lines). Hunk #61 succeeded at 2411 (offset 62 lines). Hunk #62 succeeded at 2429 (offset 62 lines). Hunk #63 succeeded at 2447 (offset 62 lines). Hunk #64 succeeded at 2469 (offset 62 lines). Hunk #65 succeeded at 2487 (offset 62 lines). Hunk #66 succeeded at 2518 (offset 62 lines). Hunk #67 succeeded at 2561 (offset 64 lines). Hunk #68 succeeded at 2582 (offset 64 lines). Hunk #69 succeeded at 2603 (offset 64 lines). Hunk #70 succeeded at 2627 (offset 64 lines). Hunk #71 succeeded at 2679 (offset 64 lines). 4 out of 71 hunks FAILED -- saving rejects to file chkrootkit.rej patching file chkutmp.c Hunk #1 succeeded at 44 (offset 1 line). Hunk #2 succeeded at 59 (offset 1 line). Hunk #3 succeeded at 79 (offset 1 line). Hunk #4 succeeded at 99 (offset 1 line). patching file Makefile patching file strings.c cc -march=i486 -Os -pipe -mindirect-branch=thunk -DHAVE_LASTLOG_H -Wl,-Os,--as-needed -o chklastlog chklastlog.c cc -march=i486 -Os -pipe -mindirect-branch=thunk -DHAVE_LASTLOG_H -Wl,-Os,--as-needed -o chkwtmp chkwtmp.c cc -march=i486 -Os -pipe -mindirect-branch=thunk -DHAVE_LASTLOG_H -Wl,-Os,--as-needed -D_FILE_OFFSET_BITS=64 -o ifpromisc ifpromisc.c cc -march=i486 -Os -pipe -mindirect-branch=thunk -DHAVE_LASTLOG_H -Wl,-Os,--as-needed -o chkproc chkproc.c cc -march=i486 -Os -pipe -mindirect-branch=thunk -DHAVE_LASTLOG_H -Wl,-Os,--as-needed -o chkdirs chkdirs.c cc -march=i486 -Os -pipe -mindirect-branch=thunk -DHAVE_LASTLOG_H -Wl,-Os,--as-needed -o check_wtmpx check_wtmpx.c cc -march=i486 -Os -pipe -mindirect-branch=thunk -DHAVE_LASTLOG_H -static -Wl,-Os,--as-needed -o strings-static strings.c In file included from /usr/include/string.h:494, from chkwtmp.c:28: In function 'memcpy', inlined from 'main' at chkwtmp.c:73:8: /usr/include/bits/string_fortified.h:34:10: warning: '__builtin_memcpy' reading 127 bytes from a region of size 14 [-Wstringop-overflow=] return __builtin___memcpy_chk (__dest, __src, __len, __bos0 (__dest)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ chkproc.c: In function 'readline': chkproc.c:131:5: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(buf, MAX_BUF, stream); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ chkproc.c:134:7: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(buf, MAX_BUF, stream); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ chklastlog.c: In function 'main': chklastlog.c:170:49: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'int' [-Wformat=] fprintf(stderr, "MAX_ID is %ld and current uid is %ld, please check\n\r", MAX_ID, *uid ); ~~^ %d chklastlog.c:170:72: warning: format '%ld' expects argument of type 'long int', but argument 4 has type 'uid_t' {aka 'unsigned int'} [-Wformat=] fprintf(stderr, "MAX_ID is %ld and current uid is %ld, please check\n\r", MAX_ID, *uid ); ~~^ ~~~~ %d ifpromisc.c: In function 'read_proc_net_packet': ifpromisc.c:108:5: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(buf, 80, proc); ^~~~~~~~~~~~~~~~~~~~ ifpromisc.c: In function 'walk_process': ifpromisc.c:204:13: warning: ignoring return value of 'readlink', declared with attribute warn_unused_result [-Wunused-result] readlink(path, link, sizeof(link) - 1); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -march=i486 -Os -pipe -mindirect-branch=thunk -DHAVE_LASTLOG_H -Wl,-Os,--as-needed -o chkutmp chkutmp.c In file included from /usr/include/string.h:494, from chklastlog.c:45: In function 'memcpy', inlined from 'main' at chklastlog.c:112:9: /usr/include/bits/string_fortified.h:34:10: warning: '__builtin_memcpy' reading 127 bytes from a region of size 14 [-Wstringop-overflow=] return __builtin___memcpy_chk (__dest, __src, __len, __bos0 (__dest)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'memcpy', inlined from 'main' at chklastlog.c:113:9: /usr/include/bits/string_fortified.h:34:10: warning: '__builtin_memcpy' reading 127 bytes from a region of size 17 [-Wstringop-overflow=] return __builtin___memcpy_chk (__dest, __src, __len, __bos0 (__dest)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ chkutmp.c: In function 'fetchps': chkutmp.c:90:2: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(line, MAXREAD, ps_fp); /* skip header */ ^~~~~~~~~~~~~~~~~~~~~~~~~~~ chkutmp.c:122:20: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(line, MAXREAD, ps_fp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ Copying documentation... Done ================================================================================ Executing strip on all files... Done Time: 0.67s. Size: 624520 B -> 624520 B. Save: 0 KB. ================================================================================ Pack: chkrootkit 0.53 ================================================================================ Executing: genpkg_rules Copying folders and files... Done Copying "receipt"... Done Determining package architecture... i486 Creating the list of files... Done Creating md5sum of files... Done Compressing the FS... Done Creating full cpio archive... Done QA: checking for empty package... Done The release checksum has not changed. ================================================================================ Package "chkrootkit-0.53-i486.tazpkg" created Post-check ================================================================================ Checking build... Done Checking 'any' arch... Done Checking libtool in source/chkrootkit-0.53... Done Checking site script in source/chkrootkit-0.53... Done Checking ownership in install... Done Checking permissions in install... Failed Problems found: 0444 /usr/share/doc/chkrootkit-0.53/README 0444 /usr/share/doc/chkrootkit-0.53/README.chklastlog 0444 /usr/share/doc/chkrootkit-0.53/README.chkwtmp Checking broken symlinks in install... Done Querying Repology... Done Updating activity log... Done ================================================================================ Summary for: chkrootkit 0.53 ================================================================================ Src file : chkrootkit-0.53.tar Src size : 40.0K Source dir : 928.0K Produced : 848.0K Cook time : 7s Cook date : 2020-07-07 05:50 Target arch : i486 -------------------------------------------------------------------------------- # : Packed : Compressed : Files : Package name -------------------------------------------------------------------------------- 1 : 828.0K : 228.4K : 10 : chkrootkit-0.53-i486.tazpkg ================================================================================