| ^~~~ | 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 ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 17.0_musl_hardened-20200328-201618 ------------------------------------------------------------------- Please see the tracker bug for details. gcc-config -l: [1] x86_64-gentoo-linux-musl-9.3.0 * clang version 10.0.0 Target: x86_64-gentoo-linux-musl Thread model: posix InstalledDir: /usr/lib/llvm/10/bin /usr/lib/llvm/10 10.0.0 Available Python interpreters, in order of preference: [1] python3.8 [2] python3.7 [3] python3.6 [4] python2.7 (fallback) Available Ruby profiles: [1] ruby24 (with Rubygems) [2] ruby25 (with Rubygems) * Available Rust versions: [1] rust-1.42.0 * timestamp of HEAD at this tinderbox image: /var/db/repos/gentoo Mon Mar 30 22:39:15 UTC 2020 /var/db/repos/musl Fri Mar 27 00:25:27 UTC 2020 emerge -qpvO app-forensics/chkrootkit [ebuild N ] app-forensics/chkrootkit-0.53 USE="cron"
Created attachment 627674 [details] emerge-info.txt
Created attachment 627676 [details] app-forensics:chkrootkit-0.53:20200330-232737.log
Created attachment 627678 [details] emerge-history.txt
Created attachment 627680 [details] environment
Created attachment 627682 [details] etc.portage.tbz2
Created attachment 627684 [details] temp.tbz2
Likely an occurrence of missing #include <fcntl.h>.
tinderbox_musl has reproduced this issue with version 0.55 - Updating summary.
Created attachment 761135 [details, diff] path_max fix this is a two part fix, first part is PATH_MAX undefined, second part will be the missing fnctl.h
Created attachment 761136 [details, diff] add missing include for fcntl.h
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=07737b95af2452c0055e1ed0660590c1487befdb commit 07737b95af2452c0055e1ed0660590c1487befdb Author: Jory Pratt <anarchy@gentoo.org> AuthorDate: 2022-01-03 04:00:37 +0000 Commit: Jory Pratt <anarchy@gentoo.org> CommitDate: 2022-01-03 04:00:51 +0000 app-forensics/chkrootkit: Fix missing includes for musl Closes: https://bugs.gentoo.org/show_bug.cgi?id=715552 Package-Manager: Portage-3.0.28, Repoman-3.0.3 Signed-off-by: Jory Pratt <anarchy@gentoo.org> app-forensics/chkrootkit/chkrootkit-0.55.ebuild | 4 ++- .../chkrootkit/files/chkrootkit-0.55-fcntl_h.patch | 30 ++++++++++++++++++++++ .../files/chkrootkit-0.55-limits_h.patch | 10 ++++++++ 3 files changed, 43 insertions(+), 1 deletion(-)