* Package: app-forensics/chkrootkit-0.53 * Repository: gentoo * USE: abi_x86_64 amd64 cron elibc_musl kernel_linux userland_GNU * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox >>> Unpacking source... >>> Unpacking chkrootkit-0.53.tar.gz to /var/tmp/portage/app-forensics/chkrootkit-0.53/work >>> Unpacking chkrootkit-0.53-gentoo.diff.xz to /var/tmp/portage/app-forensics/chkrootkit-0.53/work >>> Source unpacked in /var/tmp/portage/app-forensics/chkrootkit-0.53/work >>> Preparing source in /var/tmp/portage/app-forensics/chkrootkit-0.53/work/chkrootkit-0.53 ... * Applying chkrootkit-0.53-gentoo.diff ... [ ok ] >>> Source prepared. >>> Configuring source in /var/tmp/portage/app-forensics/chkrootkit-0.53/work/chkrootkit-0.53 ... >>> Source configured. >>> Compiling source in /var/tmp/portage/app-forensics/chkrootkit-0.53/work/chkrootkit-0.53 ... make -j1 CC=x86_64-gentoo-linux-musl-gcc STRIP=true sense x86_64-gentoo-linux-musl-gcc -O2 -pipe -march=native -DHAVE_LASTLOG_H -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -o chklastlog chklastlog.c chklastlog.c: In function ‘main’: chklastlog.c:138:18: warning: implicit declaration of function ‘open’; did you mean ‘popen’? [-Wimplicit-function-declaration] 138 | if ((fh_lastlog=open(lastlogfile,O_RDONLY)) < 0) { | ^~~~ | popen chklastlog.c:138:35: error: ‘O_RDONLY’ undeclared (first use in this function) 138 | if ((fh_lastlog=open(lastlogfile,O_RDONLY)) < 0) { | ^~~~~~~~ chklastlog.c:138:35: note: each undeclared identifier is reported only once for each function it appears in chklastlog.c:170:49: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 3 has type ‘int’ [-Wformat=] 170 | fprintf(stderr, "MAX_ID is %ld and current uid is %ld, please check\n\r", MAX_ID, *uid ); | ~~^ | | | long int | %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=] 170 | fprintf(stderr, "MAX_ID is %ld and current uid is %ld, please check\n\r", MAX_ID, *uid ); | ~~^ ~~~~ | | | | long int uid_t {aka unsigned int} | %d make: *** [Makefile:44: chklastlog] Error 1 * ERROR: app-forensics/chkrootkit-0.53::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=app-forensics/chkrootkit-0.53::gentoo'`, * the complete build log and the output of `emerge -pqv '=app-forensics/chkrootkit-0.53::gentoo'`. * The complete build log is located at '/var/log/portage/app-forensics:chkrootkit-0.53:20200330-232737.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/app-forensics/chkrootkit-0.53/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/app-forensics/chkrootkit-0.53/temp/environment'. * Working directory: '/var/tmp/portage/app-forensics/chkrootkit-0.53/work/chkrootkit-0.53' * S: '/var/tmp/portage/app-forensics/chkrootkit-0.53/work/chkrootkit-0.53'