Same errors as Bug #16282, in the same files. However, it seems that there was a patch made for #16282. Log of --debug db available.
Created attachment 16926 [details] Log of emerge --debug db
Everything in your build log seems to go the way it should. I see no error in it.
Hrm... Okay... here's the end of output I get on term when I execute emerge -U world: test ! -f /usr/bin/ranlib || /usr/bin/ranlib libdb_cxx.a gcc -I/usr/include/db1 -c -D_GNU_SOURCE -O2 -mcpu=i686 -pipe -I../dist/../include -D_REENTRANT ../dist/../db_dump185/db_dump185.c ../db_dump185/db_dump185.c: In function `main': ../db_dump185/db_dump185.c:210: warning: assignment makes pointer from integer without a cast ../db_dump185/db_dump185.c:212: warning: assignment makes pointer from integer without a cast ../db_dump185/db_dump185.c:227: structure has no member named `seq' ../db_dump185/db_dump185.c:227: `R_NEXT' undeclared (first use in this function)../db_dump185/db_dump185.c:227: (Each undeclared identifier is reported only once ../db_dump185/db_dump185.c:227: for each function it appears in.) ../db_dump185/db_dump185.c:232: structure has no member named `seq' ../db_dump185/db_dump185.c: In function `db_hash': ../db_dump185/db_dump185.c:260: structure has no member named `internal' ../db_dump185/db_dump185.c:262: structure has no member named `internal' ../db_dump185/db_dump185.c: In function `db_btree': ../db_dump185/db_dump185.c:287: structure has no member named `internal' make: *** [db_dump185.o] Error 1 !!! ERROR: sys-libs/db-3.2.9-r7 failed. !!! Function src_compile, Line 92, Exitcode 2 !!! Static build failed
Ben: please do 'emerge db 2>&1 | tee logfile' then attach that logfile here. also include the output of 'emerge info' please.
Sorry to have waited awhile. I emerged the newest portage, and it seems to be working fine now. Sorry!