First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 9750
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Daniel Ahlberg (RETIRED) <aliz@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Janos Milus <j.milus@chello.hu>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 9750 depends on: Show dependency tree
Show dependency graph
Bug 9750 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)







View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2002-10-27 06:56 0000
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 From johnathan spectre 2002-10-28 09:05:17 0000 -------
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 From Daniel Ahlberg (RETIRED) 2002-10-29 07:56:13 0000 -------
Added a patch to fix compilation. Thanks for finding this!

First Last Prev Next    No search results available      Search page      Enter new bug