Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 9750 - aide 0.9 build failed
Summary: aide 0.9 build failed
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Daniel Ahlberg (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-10-27 06:56 UTC by Janos Milus
Modified: 2003-02-04 19:42 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Janos Milus 2002-10-27 06:56:51 UTC
emerge aide failed. I think the reason is that the gcc 3.2 changes the search order of the include directories if the "-I/usr/include" parameter used. Because of this the compiler uses the include file /usr/include/db.h and not the /var/tmp/portage/aide-0.9/work/aide-0.9/include/db.h
Comment 1 johnathan spectre 2002-10-28 09:05:17 UTC
aide fails for me as well.. here's the end of the build..


[previous stuff snipped]
gcc -DHAVE_CONFIG_H -I. -I/var/tmp/portage/aide-0.9/work/aide-0.9/src -I..
-I/usr/include -I/var/tmp/portage/aide-0.9/work/aide-0.9/include  -static 
-static  -c do_md.c
do_md.c:46: warning: `READ_BLOCK_SIZE' redefined
do_md.c:45: warning: this is the location of the previous definition
gen_list.c: In function `add_file_to_tree':
gen_list.c:948: `NODE_ADD_CHILDREN' undeclared (first use in this function)
gen_list.c:948: (Each undeclared identifier is reported only once
gen_list.c:948: for each function it appears in.)
gen_list.c:957: `DB_OLD' undeclared (first use in this function)
gen_list.c:961: `DB_NEW' undeclared (first use in this function)
gen_list.c:958: warning: unreachable code at beginning of switch statement
gen_list.c: In function `check_rxtree':
gen_list.c:1018: `NODE_ADD_CHILDREN' undeclared (first use in this function)
gen_list.c: In function `populate_tree':
gen_list.c:1223: `DB_OLD' undeclared (first use in this function)
gen_list.c:1223: warning: assignment makes pointer from integer without a cast
gen_list.c:1231: `NODE_ADD_CHILDREN' undeclared (first use in this function)
gen_list.c:1243: warning: assignment makes pointer from integer without a cast
gen_list.c:1249: `DB_NEW' undeclared (first use in this function)
gen_list.c:1249: warning: assignment makes pointer from integer without a cast
gen_list.c:1269: warning: assignment makes pointer from integer without a cast
gen_list.c:1278: `DB_DISK' undeclared (first use in this function)
gen_list.c:1278: warning: assignment makes pointer from integer without a cast
gen_list.c:1298: warning: assignment makes pointer from integer without a cast
make[2]: *** [gen_list.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory `/var/tmp/portage/aide-0.9/work/aide-0.9/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/aide-0.9/work/aide-0.9'
make: *** [all-recursive-am] Error 2

!!! ERROR: The ebuild did not complete successfully.
!!! Function src_compile, Line -137, Exitcode 2
!!! (no error message)
Comment 2 Daniel Ahlberg (RETIRED) gentoo-dev 2002-10-29 07:56:13 UTC
Added a patch to fix compilation. Thanks for finding this!