Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 759169 Details for
Bug 829268
app-forensics/aide-0.16.2_p20200614 - src/report.c: error: S_IFMT undeclared (first use in this function)
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
app-forensics:aide-0.16.2_p20200614:20211215-134547.log
app-forensics:aide-0.16.2_p20200614:20211215-134547.log (text/plain), 14.84 KB, created by
Toralf Förster
on 2021-12-15 14:33:14 UTC
(
hide
)
Description:
app-forensics:aide-0.16.2_p20200614:20211215-134547.log
Filename:
MIME Type:
Creator:
Toralf Förster
Created:
2021-12-15 14:33:14 UTC
Size:
14.84 KB
patch
obsolete
> * Package: app-forensics/aide-0.16.2_p20200614 > * Repository: gentoo > * USE: abi_x86_64 acl amd64 curl e2fs elibc_musl kernel_linux postgres userland_GNU xattr zlib > * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox > * > * WARNING! > * You need to choose one of the postgres versions before building > * > * Please select a target postgres version/slot using: > * > * ~# eselect postgresql list > * ~# eselect postgresql set <version> > * >>>> Unpacking source... >>>> Unpacking aide-0.16.2_p20200614.tar.gz to /var/tmp/portage/app-forensics/aide-0.16.2_p20200614/work >>>> Source unpacked in /var/tmp/portage/app-forensics/aide-0.16.2_p20200614/work >>>> Preparing source in /var/tmp/portage/app-forensics/aide-0.16.2_p20200614/work/aide-7949feff20501724a43929ee7894b005812ffb4f ... > * Applying aide-0.16-fix-LIBS-LDFLAGS-mixing.patch ... > [ ok ] > * Applying aide-0.16-fix-acl-configure-option.patch ... > [ ok ] > * Applying aide-0.16.2_p20200614_define_hash_use_gcrypt.patch ... > [ ok ] > * Running eautoreconf in '/var/tmp/portage/app-forensics/aide-0.16.2_p20200614/work/aide-7949feff20501724a43929ee7894b005812ffb4f' ... > * Running 'aclocal' ... > [ ok ] > * Running 'autoconf --force' ... > [ ok ] > * Running 'autoheader' ... > [ ok ] > * Running 'automake --add-missing --copy --foreign --force-missing' ... > [ ok ] > * Running elibtoolize in: aide-7949feff20501724a43929ee7894b005812ffb4f/ >>>> Source prepared. >>>> Configuring source in /var/tmp/portage/app-forensics/aide-0.16.2_p20200614/work/aide-7949feff20501724a43929ee7894b005812ffb4f ... > * econf: updating aide-7949feff20501724a43929ee7894b005812ffb4f/config.sub with /usr/share/gnuconfig/config.sub > * econf: updating aide-7949feff20501724a43929ee7894b005812ffb4f/config.guess with /usr/share/gnuconfig/config.guess >./configure --prefix=/usr --build=x86_64-gentoo-linux-musl --host=x86_64-gentoo-linux-musl --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --disable-dependency-tracking --disable-silent-rules --docdir=/usr/share/doc/aide-0.16.2_p20200614 --htmldir=/usr/share/doc/aide-0.16.2_p20200614/html --libdir=/usr/lib --sysconfdir=/etc/aide --with-confighmactype=sha512 --with-dbhmackey=sha512 --without-locale --disable-static --with-zlib --with-curl --with-posix-acl --without-selinux --without-prelink --with-xattr --with-e2fsattrs --without-mhash --with-gcrypt --with-psql --without-audit >checking build system type... x86_64-gentoo-linux-musl >checking host system type... x86_64-gentoo-linux-musl >checking target system type... x86_64-gentoo-linux-musl >checking for a BSD-compatible install... /usr/lib/portage/python3.9/ebuild-helpers/xattr/install -c >checking whether build environment is sane... yes >checking for a race-free mkdir -p... /bin/mkdir -p >checking for gawk... gawk >checking whether make sets $(MAKE)... yes >checking whether make supports nested variables... yes >checking whether make supports the include directive... yes (GNU style) >checking for x86_64-gentoo-linux-musl-gcc... x86_64-gentoo-linux-musl-gcc >checking whether the C compiler works... yes >checking for C compiler default output file name... a.out >checking for suffix of executables... >checking whether we are cross compiling... no >checking for suffix of object files... o >checking whether the compiler supports GNU C... yes >checking whether x86_64-gentoo-linux-musl-gcc accepts -g... yes >checking for x86_64-gentoo-linux-musl-gcc option to enable C11 features... none needed >checking whether x86_64-gentoo-linux-musl-gcc understands -c and -o together... yes >checking dependency style of x86_64-gentoo-linux-musl-gcc... none >checking whether make sets $(MAKE)... (cached) yes >checking for x86_64-gentoo-linux-musl-ranlib... x86_64-gentoo-linux-musl-ranlib >checking for bison... bison -y >checking for flex... flex >checking for lex output file root... lex.yy >checking for lex library... none needed >checking for library containing yywrap... -lfl >checking whether yytext is a pointer... yes >checking for ld... ld >checking for x86_64-gentoo-linux-musl-pkg-config... /usr/bin/x86_64-gentoo-linux-musl-pkg-config >checking for special C compiler options needed for large files... no >checking for _FILE_OFFSET_BITS value needed for large files... no >checking for library containing syslog... none required >checking for vsyslog... yes >checking for stdio.h... yes >checking for stdlib.h... yes >checking for string.h... yes >checking for inttypes.h... yes >checking for stdint.h... yes >checking for strings.h... yes >checking for sys/stat.h... yes >checking for sys/types.h... yes >checking for unistd.h... yes >checking whether byte ordering is bigendian... no >checking for byte... no >checking for ushort... yes >checking for ulong... yes >checking for u16... no >checking for u32... no >checking for u64... no >checking size of unsigned short... 2 >checking size of unsigned int... 4 >checking size of unsigned long... 8 >checking size of unsigned long long... 8 >checking size of int... 4 >checking size of long... 8 >checking size of long long... 8 >checking size of uid_t... 4 >checking size of gid_t... 4 >checking size of ino_t... 8 >checking size of nlink_t... 8 >checking size of off_t... 8 >checking size of blkcnt_t... 8 >checking for long double with more range or precision than double... yes >checking for grep that handles long lines and -e... /bin/grep >checking for egrep... /bin/grep -E >checking for strtoll... yes >checking for strtoimax... yes >checking for readdir... yes >checking for stricmp... no >checking for strnstr... no >checking for strnlen... yes >checking for mmap... yes >checking for fcntl... yes >checking for ftruncate... yes >checking for posix_fadvise... yes >checking for asprintf... yes >checking for snprintf... yes >checking for vasprintf... yes >checking for vsnprintf... yes >checking for va_copy... no >checking for __va_copy... no >checking for open/O_NOATIME... yes >checking for syslog.h... yes >checking for inttypes.h... (cached) yes >checking for fcntl.h... yes >checking for ctype.h... yes >checking for pcre_exec in -lpcre... yes >checking for sun-acl-support... no >checking for posix-acl-support... yes >checking for selinux-support... no >checking for prelink-support... no >checking for xattr-support... yes >checking for capabilities-support... no >checking for e2fsattrs-support... yes >checking for x86_64-gentoo-linux-musl-pkg-config... (cached) /usr/bin/x86_64-gentoo-linux-musl-pkg-config >checking pkg-config is at least version 0.9.0... yes >checking for CHECK... no >Check not found (testing via 'make check' disabled) >checking for zlib.h... yes >checking for deflate in -lz... yes >checking for curl-config... /usr/bin/curl-config >checking for curl/curl.h... yes >checking for curl_easy_init in -lcurl... yes >checking for gpg_strerror in -lgpg-error... yes >checking for gcry_md_hash_buffer in -lgcrypt... yes >checking for PSQL... yes >checking that generated files are newer than configure... done >configure: creating ./config.status >config.status: creating Makefile >config.status: creating doc/aide.conf >config.status: creating doc/aide.1 >config.status: creating doc/aide.conf.5 >config.status: creating config.h >config.status: executing depfiles commands >>>> Source configured. >>>> Compiling source in /var/tmp/portage/app-forensics/aide-0.16.2_p20200614/work/aide-7949feff20501724a43929ee7894b005812ffb4f ... >make -j4 >bison -y -d -o src/conf_yacc.c -p conf src/conf_yacc.y >src/conf_yacc.y: warning: 1 shift/reduce conflict [8;id=acd4990f0005d32f865298de00000000;https://www.gnu.org/software/bison/manual/html_node/Diagnostics.html#Wconflicts-sr\-Wconflicts-sr8;;\] >src/conf_yacc.y: note: rerun with option '-Wcounterexamples' to generate conflict counterexamples >make all-am >make[1]: Entering directory '/var/tmp/portage/app-forensics/aide-0.16.2_p20200614/work/aide-7949feff20501724a43929ee7894b005812ffb4f' >flex -osrc/conf_lex.c -Pconf src/conf_lex.l >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/aide.o src/aide.c >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/base64.o src/base64.c >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/be.o src/be.c >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/commandconf.o src/commandconf.c >src/aide.c: In function 'main': >src/aide.c:509:9: warning: unused variable 'digstr' [-Wunused-variable] > 509 | char* digstr=NULL; > | ^~~~~~ >src/aide.c:508:9: warning: unused variable 'dig' [-Wunused-variable] > 508 | byte* dig=NULL; > | ^~~ >In file included from ./include/commandconf.h:25, > from src/commandconf.c:30: >./include/gen_list.h:75:66: warning: 'struct stat' declared inside parameter list will not be visible outside of this definition or declaration > 75 | ine* get_file_attrs(char* filename,DB_ATTR_TYPE attr, struct stat *fs); > | ^~~~ > >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/attributes.o src/attributes.c >src/commandconf.c: In function 'conf_input_wrapper': >src/commandconf.c:172:7: warning: unused variable 'keylen' [-Wunused-variable] > 172 | int keylen=0; > | ^~~~~~ >src/commandconf.c:171:9: warning: unused variable 'key' [-Wunused-variable] > 171 | void* key=NULL; > | ^~~ >src/commandconf.c:170:9: warning: unused variable 'tmp' [-Wunused-variable] > 170 | char* tmp=NULL; > | ^~~ >src/commandconf.c:169:7: warning: unused variable 'c' [-Wunused-variable] > 169 | int c=0; > | ^ >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/report.o src/report.c >In file included from src/report.c:38: >./include/gen_list.h:75:66: warning: 'struct stat' declared inside parameter list will not be visible outside of this definition or declaration > 75 | ine* get_file_attrs(char* filename,DB_ATTR_TYPE attr, struct stat *fs); > | ^~~~ > >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) > 198 | case S_IFREG: return 'f'; > | ^~~~~~~ >src/report.c:199:14: error: 'S_IFDIR' undeclared (first use in this function) > 199 | case S_IFDIR: return 'd'; > | ^~~~~~~ >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_yacc.o src/conf_yacc.c >src/report.c:203:14: error: 'S_IFLNK' undeclared (first use in this function) > 203 | case S_IFLNK: return 'l'; > | ^~~~~~~ >src/report.c:204:14: error: 'S_IFBLK' undeclared (first use in this function) > 204 | case S_IFBLK: return 'b'; > | ^~~~~~~ >src/report.c:205:14: error: 'S_IFCHR' undeclared (first use in this function) > 205 | case S_IFCHR: return 'c'; > | ^~~~~~~ >src/report.c: In function 'get_file_type_string': >src/report.c:325:20: error: 'S_IFMT' undeclared (first use in this function) > 325 | switch (mode & S_IFMT) { > | ^~~~~~ >src/report.c:326:14: error: 'S_IFREG' undeclared (first use in this function) > 326 | case S_IFREG: return _("File"); > | ^~~~~~~ >src/report.c:327:14: error: 'S_IFDIR' undeclared (first use in this function) > 327 | case S_IFDIR: return _("Directory"); > | ^~~~~~~ >src/report.c:331:14: error: 'S_IFLNK' undeclared (first use in this function) > 331 | case S_IFLNK: return _("Link"); > | ^~~~~~~ >src/report.c:332:14: error: 'S_IFBLK' undeclared (first use in this function) > 332 | case S_IFBLK: return _("Block device"); > | ^~~~~~~ >src/report.c:333:14: error: 'S_IFCHR' undeclared (first use in this function) > 333 | case S_IFCHR: return _("Character device"); > | ^~~~~~~ >src/report.c: In function 'get_file_type_char': >src/report.c:217:1: warning: control reaches end of non-void function [-Wreturn-type] > 217 | } > | ^ >src/report.c: In function 'get_file_type_string': >src/report.c:346:1: warning: control reaches end of non-void function [-Wreturn-type] > 346 | } > | ^ >In file included from src/conf_yacc.y:29: >./include/gen_list.h:75:66: warning: 'struct stat' declared inside parameter list will not be visible outside of this definition or declaration > 75 | ine* get_file_attrs(char* filename,DB_ATTR_TYPE attr, struct stat *fs); > | ^~~~ > >make[1]: *** [Makefile:719: src/report.o] Error 1 >make[1]: *** Waiting for unfinished jobs.... >In file included from src/conf_lex.l:38: >./include/gen_list.h:75:66: warning: 'struct stat' declared inside parameter list will not be visible outside of this definition or declaration > 75 | ine* get_file_attrs(char* filename,DB_ATTR_TYPE attr, struct stat *fs); > | ^~~~ > >make[1]: Leaving directory '/var/tmp/portage/app-forensics/aide-0.16.2_p20200614/work/aide-7949feff20501724a43929ee7894b005812ffb4f' >make: *** [Makefile:499: all] Error 2 > * ERROR: app-forensics/aide-0.16.2_p20200614::gentoo failed (compile phase): > * emake failed > * > * If you need support, post the output of `emerge --info '=app-forensics/aide-0.16.2_p20200614::gentoo'`, > * the complete build log and the output of `emerge -pqv '=app-forensics/aide-0.16.2_p20200614::gentoo'`. > * The complete build log is located at '/var/log/portage/app-forensics:aide-0.16.2_p20200614:20211215-134547.log'. > * For convenience, a symlink to the build log is located at '/var/tmp/portage/app-forensics/aide-0.16.2_p20200614/temp/build.log'. > * The ebuild environment file is located at '/var/tmp/portage/app-forensics/aide-0.16.2_p20200614/temp/environment'. > * Working directory: '/var/tmp/portage/app-forensics/aide-0.16.2_p20200614/work/aide-7949feff20501724a43929ee7894b005812ffb4f' > * S: '/var/tmp/portage/app-forensics/aide-0.16.2_p20200614/work/aide-7949feff20501724a43929ee7894b005812ffb4f' >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 829268
:
759168
| 759169 |
759170
|
759171
|
759172
|
759173
|
759174