Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 73321 - emerge sys-libs/db-4.1.25_p1-r4 failed
Summary: emerge sys-libs/db-4.1.25_p1-r4 failed
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Lisa Seelye (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-12-04 03:25 UTC by p cooper
Modified: 2005-01-11 22:22 UTC (History)
2 users (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 p cooper 2004-12-04 03:25:09 UTC
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.4/include/g++-v3/i686-pc-linux-gnu/bits/messages_members.h:80: error: there are no argumentsto `_S_create_c_locale' that depend on a template parameter, so a declaration of `_S_create_c_locale' must be available
In file included from /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.4/include/g++-v3/bits/locale_facets.tcc:43,
                 from /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.4/include/g++-v3/locale:47,
                 from /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.4/include/g++-v3/bits/ostream.tcc:37,
                 from /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.4/include/g++-v3/ostream:535,
                 from /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.4/include/g++-v3/iostream:45,
                 from /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.4/include/g++-v3/backward/iostream.h:32,
                 from db_cxx.h:59,
                 from ../cxx/cxx_db.cpp:17:
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.4/include/g++-v3/limits: At global scope:
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.4/include/g++-v3/limits:897: error: `float __builtin_huge_valf()' cannot appear in a constant-expression
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.4/include/g++-v3/limits:897: error: a function call cannot appear in a constant-expression
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.4/include/g++-v3/limits:897: error: `float __builtin_huge_valf()' cannot appear in a constant-expression
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.4/include/g++-v3/limits:897: error: a function call cannot appear in a constant-expression
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.4/include/g++-v3/limits:899: error: `float __builtin_nanf(const char*)' cannot appear in a constant-expression
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.4/include/g++-v3/limits:899: error: a function call cannot appear in a constant-expression
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.4/include/g++-v3/limits:899: error: `float __builtin_nanf(const char*)' cannot appear in a constant-expression
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.4/include/g++-v3/limits:899: error: a function call cannot appear in a constant-expression
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.4/include/g++-v3/limits:900: error: field initializer is not constant
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.4/include/g++-v3/limits:915: error: field initializer is not constant
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.4/include/g++-v3/limits:955: error: `double __builtin_huge_val()' cannot appear in a constant-expression
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.4/include/g++-v3/limits:955: error: a function call cannot appear in a constant-expression
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.4/include/g++-v3/limits:955: error: `double __builtin_huge_val()' cannot appear in a constant-expression
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.4/include/g++-v3/limits:955: error: a function call cannot appear in a constant-expression
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.4/include/g++-v3/limits:957: error: `double __builtin_nan(const char*)' cannot appear in a constant-expression
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.4/include/g++-v3/limits:957: error: a function call cannot appear in a constant-expression
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.4/include/g++-v3/limits:957: error: `double __builtin_nan(const char*)' cannot appear in a constant-expression
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.4/include/g++-v3/limits:957: error: a function call cannot appear in a constant-expression
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.4/include/g++-v3/limits:958: error: field initializer is not constant
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.4/include/g++-v3/limits:973: error: field initializer is not constant
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.4/include/g++-v3/limits:1013: error: `long double __builtin_huge_vall()' cannot appear in a constant-expression
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.4/include/g++-v3/limits:1013: error: a function call cannot appear in a constant-expression
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.4/include/g++-v3/limits:1013: error: `long double __builtin_huge_vall()' cannot appear in a constant-expression
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.4/include/g++-v3/limits:1013: error: a function call cannot appear in a constant-expression
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.4/include/g++-v3/limits:1015: error: `long double __builtin_nanl(const char*)' cannot appearin a constant-expression
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.4/include/g++-v3/limits:1015: error: a function call cannot appear in a constant-expression
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.4/include/g++-v3/limits:1015: error: `long double __builtin_nanl(const char*)' cannot appearin a constant-expression
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.4/include/g++-v3/limits:1015: error: a function call cannot appear in a constant-expression
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.4/include/g++-v3/limits:1016: error: field initializer is not constant
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.4/include/g++-v3/limits:1032: error: field initializer is not constant
distcc[16158] ERROR: compile ../dist/../cxx/cxx_db.cpp on 192.168.0.10 failed
make: *** [cxx_db.lo] Error 1

!!! ERROR: sys-libs/db-4.1.25_p1-r4 failed.
!!! Function src_compile, Line 96, Exitcode 2
!!! (no error message)
!!! If you need support, post the topmost build error, NOT this status message.


Reproducible: Always
Steps to Reproduce:
1.emerge -uD world
2.
3.

Actual Results:  
fails  


ive not got jre installed but have jdk.- other bugs pointed to a java problem. 
 
ash-2.05b# emerge -s jdk 
Searching... 
[ Results for search key : jdk ] 
[ Applications found : 5 ] 
 
*  dev-java/blackdown-jdk 
      Latest version available: 1.4.2.01 
      Latest version installed: 1.4.2.01 
      Size of downloaded files: 73,189 kB 
      Homepage:    http://www.blackdown.org 
      Description: Blackdown Java Development Kit 
      License:     sun-bcla-java-vm 
 
 
bash-2.05b# emerge info 
Portage 2.0.51-r3 (default-linux/x86/2004.0, gcc-3.3.4, 
glibc-2.3.4.20040808-r1, 2.6.7-win4lin-r5 i686) 
================================================================= 
System uname: 2.6.7-win4lin-r5 i686 AMD Athlon(tm) processor 
Gentoo Base System version 1.4.16 
distcc 2.16 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) 
[enabled] 
Autoconf: sys-devel/autoconf-2.59-r5 
Automake: sys-devel/automake-1.8.5-r1 
Binutils: sys-devel/binutils-2.15.90.0.1.1-r3 
Headers:  
sys-kernel/linux-headers-2.4.19-r1,sys-kernel/linux-headers-2.4.21-r1 
Libtools: sys-devel/libtool-1.5.2-r7 
ACCEPT_KEYWORDS="x86" 
AUTOCLEAN="yes" 
CFLAGS="-march=athlon -O3 -pipe" 
CHOST="i686-pc-linux-gnu" 
COMPILER="" 
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.1/share/config /usr/kde/3.2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control" 
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" 
CXXFLAGS="-march=athlon -O3 -pipe" 
DISTDIR="/usr/portage/distfiles" 
FEATURES="autoaddcvs autoconfig ccache distcc distlocks sandbox sfperms" 
GENTOO_MIRRORS="http://gentoo.osuosl.org 
http://distro.ibiblio.org/pub/Linux/distributions/gentoo" 
MAKEOPTS="-j1" 
PKGDIR="/usr/portage/packages" 
PORTAGE_TMPDIR="/var/tmp" 
PORTDIR="/usr/portage" 
PORTDIR_OVERLAY="" 
SYNC="rsync://rsync.gentoo.org/gentoo-portage" 
USE="3dnow X aalib alsa apache2 apm arts avi berkdb bitmap-fonts crypt cups 
directfb encode esd f77 fam flac foomaticdb fortran gdbm gif gpm gtk gtk2 
imlib java jpeg junit kde libg++ libwww mad mikmod mmx motif mozilla mpeg 
mysql ncurses nls oggvorbis opengl oss pam pdflib perl png postgres python qt 
quicktime readline samba scanner sdl slang spell ssl svga tcpd tiff truetype 
x86 xml2 xmms xvzlib" 
 
bash-2.05b#
Comment 1 Paul de Vrieze (RETIRED) gentoo-dev 2004-12-05 08:07:05 UTC
This is not a java problem allright. It seems that someway your toolchain (gcc,binutils,glibc) is broken. Try to rebuild at least gcc.
Comment 2 p cooper 2004-12-05 23:05:40 UTC
ive re-emerged gcc, binutils and glibc and it still fails at the same place
Comment 3 David Cooper 2004-12-26 12:34:35 UTC
I've gotten this too on two separate machines. Only thing real consistant about them is that they havent emerge'd world in a little while (~2 months or so) as they've been offline. One one machine here just for fun, I did emerge -uDv system and it built the db package without a fuss after doing diffutils. Dunno if this will help with you. Maybe. My error is the exact one yours is.
Comment 4 David Cooper 2004-12-26 12:40:10 UTC
Opps I have to recind that comment.. It did blow up. Sorry :(
Comment 5 David Cooper 2004-12-26 13:26:21 UTC
OK, this time I for sure got it to build. Both P. Cooper and I (also a Cooper :P) are using distcc and ccache during builds. I disabled both, manually emerge -u'd db and it worked ok. So something with ccache or distcc (I would guess distcc with different gcc's or glibs).

Hope this helps, sorry about the false post.
Comment 6 Paul de Vrieze (RETIRED) gentoo-dev 2004-12-30 06:43:47 UTC
Yes that's probably it. Distcc should probably check for gcc versions as compiling with different versions (esp. 3.3 versus 3.4) will break things. Lisa, have time to look into this for distcc?
Comment 7 Lisa Seelye (RETIRED) gentoo-dev 2004-12-30 08:32:45 UTC
What version of gcc/distcc is being used on your distcc volunteer hosts?
Comment 8 Lisa Seelye (RETIRED) gentoo-dev 2005-01-11 22:22:35 UTC
reopen when requested info is provided