Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 829268 - app-forensics/aide-0.16.2_p20200614 - src/report.c: error: S_IFMT undeclared (first use in this function)
Summary: app-forensics/aide-0.16.2_p20200614 - src/report.c: error: S_IFMT undeclared ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo musl team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-12-15 14:33 UTC by Toralf Förster
Modified: 2022-04-23 01:15 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge-info.txt (emerge-info.txt,15.37 KB, text/plain)
2021-12-15 14:33 UTC, Toralf Förster
Details
app-forensics:aide-0.16.2_p20200614:20211215-134547.log (app-forensics:aide-0.16.2_p20200614:20211215-134547.log,14.84 KB, text/plain)
2021-12-15 14:33 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,39.31 KB, text/plain)
2021-12-15 14:33 UTC, Toralf Förster
Details
environment (environment,73.96 KB, text/plain)
2021-12-15 14:33 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,19.57 KB, application/x-bzip)
2021-12-15 14:33 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,9.93 KB, application/x-bzip)
2021-12-15 14:33 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,23.27 KB, application/x-bzip)
2021-12-15 14:33 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2021-12-15 14:33:12 UTC
      |                                                              ^~~~

x86_64-gentoo-linux-musl-gcc -DHAVE_CONFIG_H -I.  -I. -I./include -I./src -I./src  -D_GNU_SOURCE -W -Wall -g -pipe -march=native -fno-diagnostics-color -O2   -c -o src/conf_lex.o src/conf_lex.c
src/report.c: In function 'get_file_type_char':
src/report.c:197:20: error: 'S_IFMT' undeclared (first use in this function)
  197 |     switch (mode & S_IFMT) {
      |                    ^~~~~~
src/report.c:197:20: note: each undeclared identifier is reported only once for each function it appears in
src/report.c:198:14: error: 'S_IFREG' undeclared (first use in this function)

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.0_musl_hardened-j4-20211215-000030

  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-gentoo-linux-musl-11.2.0 *
clang version 13.0.0
Target: x86_64-gentoo-linux-musl
Thread model: posix
InstalledDir: /usr/lib/llvm/13/bin
/usr/lib/llvm/13
13.0.0
Python 3.9.9
Available Rust versions:
  [1]   rust-1.57.0 *
The following VMs are available for generation-2:
Available Java Virtual Machines:
  (none found)

php cli:

  HEAD of ::gentoo
commit a3cbd7b8418a795e72d205b5771677c2ac4a9a22
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Wed Dec 15 12:06:52 2021 +0000

    2021-12-15 12:06:51 UTC

emerge -qpvO app-forensics/aide
[ebuild  N    ] app-forensics/aide-0.16.2_p20200614  USE="acl curl e2fs postgres xattr zlib -audit -mhash (-prelink) (-selinux)"
Comment 1 Toralf Förster gentoo-dev 2021-12-15 14:33:13 UTC
Created attachment 759168 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2021-12-15 14:33:14 UTC
Created attachment 759169 [details]
app-forensics:aide-0.16.2_p20200614:20211215-134547.log
Comment 3 Toralf Förster gentoo-dev 2021-12-15 14:33:16 UTC
Created attachment 759170 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2021-12-15 14:33:18 UTC
Created attachment 759171 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2021-12-15 14:33:19 UTC
Created attachment 759172 [details]
etc.portage.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2021-12-15 14:33:20 UTC
Created attachment 759173 [details]
logs.tar.bz2
Comment 7 Toralf Förster gentoo-dev 2021-12-15 14:33:26 UTC
Created attachment 759174 [details]
temp.tar.bz2
Comment 8 Larry the Git Cow gentoo-dev 2022-03-11 11:01:16 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=06cefe1606470b4b93e12aef21b1e9733c7e55c9

commit 06cefe1606470b4b93e12aef21b1e9733c7e55c9
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2022-03-11 11:00:35 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-03-11 11:01:01 +0000

    app-forensics/aide: add 0.17.4
    
    Closes: https://bugs.gentoo.org/771924
    Bug: https://bugs.gentoo.org/829268
    Bug: https://bugs.gentoo.org/831658
    Signed-off-by: Sam James <sam@gentoo.org>

 app-forensics/aide/Manifest                        |   1 +
 app-forensics/aide/aide-0.17.4.ebuild              | 103 +++++++++++++++++++++
 app-forensics/aide/files/aide-0.17.4-bashism.patch |  58 ++++++++++++
 3 files changed, 162 insertions(+)