Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 117611 - sys-libs/db sys-libs/db-4.2.52_p4 fails to compile with 'C compiler cannot create executables' because of eselect-compiler
Summary: sys-libs/db sys-libs/db-4.2.52_p4 fails to compile with 'C compiler cannot cr...
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Jeremy Huddleston (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-01-03 08:03 UTC by Guy
Modified: 2007-04-13 08:42 UTC (History)
2 users (show)

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


Attachments
config.log as requested (config.log,14.17 KB, text/plain)
2006-01-03 10:39 UTC, Guy
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Guy 2006-01-03 08:03:14 UTC
Relevant info:

.oOo.

checking for a BSD-compatible install... /bin/install -c
checking for i686-pc-linux-gnu-cc... i686-pc-linux-gnu-cc
checking for C compiler default output... configure: error: C compiler cannot create executables
See `config.log' for more details.

!!! ERROR: sys-libs/db-4.2.52_p4 failed.
!!! Function src_compile, Line 96, Exitcode 77
!!! configure failed

.oOo.

emerge info
Portage 2.1_pre3-r1 (default-linux/x86/2005.0, gcc-3.4.5, glibc-2.3.5-r3, 2.6.14.5 i686)
=================================================================
System uname: 2.6.14.5 i686 AMD Athlon(tm) XP 3000+
Gentoo Base System version 1.6.14
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
dev-lang/python:     2.3.5, 2.4.2
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1-r1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r3
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-mtune=athlon-xp -O2 -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /opt/openjms/config /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/texmf/web2c /etc/env.d"
CXXFLAGS="-mtune=athlon-xp -O2 -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://mirror.datapipe.net/gentoo http://mirror.datapipe.net/gentoo ftp://206.75.217.181/ ftp://gentoo.ccccom.com"
MAKEOPTS="-j4"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://129.89.70.108/gentoo-portage"
USE="x86 3dnow X a52 aac aalib acc accessibility acl alsa apache2 apm arts audiofile avi avifile berkdb bitmap-fonts bonobo bzip2 cdr crypt cups curl dga directfb divx4linux doc dts dv dvd dvdr dvdread eds emboss encode esd ethereal exif expat fam fbcon ffmpeg flac flash font-server foomaticdb fortran freetds gd gdbm gif glut gmp gnome gpm gstreamer gtk gtk2 gtkhtml guile hal icq idn imagemagic imagemagick imlib innodb ipv6 jabber java jikes jpeg junit kde lcms ldap lesstiff libcaca libg++ libwww lzo mad maildir mhash mikmod ming mjpeg mmx mng motif mozilla mozsvg mp3 mpeg musepack mysql nas ncurses nls nsplugin odbc offensive ogg oggvorbis opengl oss pam pcre pda pdflib perl png postgres ppds python qt quicktime readline real samba scanner sdl slang speex spell ssl svga tcltk tcpd tetex theora tiff truetype truetype-fonts type1-fonts udev unicode usb vorbis win32codecs winf wxwindows xanim xeo xine xinerama xml xml2 xmms xprint xv xvid yahoo zlib elibc_glibc kernel_linux userland_GNU"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS

.oOo.

dragonfyre ~ # gcc-config -l
 [1] i686-pc-linux-gnu-3.3.6
 [2] i686-pc-linux-gnu-3.3.6-hardened
 [3] i686-pc-linux-gnu-3.3.6-hardenednopie
 [4] i686-pc-linux-gnu-3.3.6-hardenednopiessp
 [5] i686-pc-linux-gnu-3.3.6-hardenednossp
 [6] i686-pc-linux-gnu-3.4.4
 [7] i686-pc-linux-gnu-3.4.4-hardened
 [8] i686-pc-linux-gnu-3.4.4-hardenednopie
 [9] i686-pc-linux-gnu-3.4.4-hardenednopiessp
 [10] i686-pc-linux-gnu-3.4.4-hardenednossp
 [11] i686-pc-linux-gnu-3.4.5 *
 [12] i686-pc-linux-gnu-3.4.5-hardened
 [13] i686-pc-linux-gnu-3.4.5-hardenednopie
 [14] i686-pc-linux-gnu-3.4.5-hardenednopiessp
 [15] i686-pc-linux-gnu-3.4.5-hardenednossp
dragonfyre ~ # gcc-config -L
/usr/lib/gcc/i686-pc-linux-gnu/3.4.5
dragonfyre ~ # gcc-config -c
i686-pc-linux-gnu-3.4.5
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-01-03 08:04:16 UTC
(In reply to comment #0)
> See `config.log' for more details.

Attach the log here and reopen then.
Comment 2 Guy 2006-01-03 10:39:28 UTC
Created attachment 76095 [details]
config.log as requested
Comment 3 Guy 2006-01-03 10:40:07 UTC
Added config.log as attachment
Comment 4 SpanKY gentoo-dev 2006-01-03 13:16:57 UTC
what version of gcc-config are you using ?
Comment 5 Guy 2006-01-03 18:26:54 UTC
(In reply to comment #4)
> what version of gcc-config are you using ?
> 

1.3.13 - latest available. But I've had this problem since before the last upgrade of gcc-config.

I've also done revdep-rebuild several times as well as run 'emerge -puNDv' to verify USE flag integrity across packages.

It's really weird to me because I have no problem with compiling anything else.
Comment 6 Guy 2006-01-03 18:35:26 UTC
Also, I had no problem compiling db on my AMD64 PC

fyremaster ~ # emerge -pv gcc-config db

These are the packages that I would merge, in order:

Calculating dependencies ...done!
[ebuild   R   ] sys-devel/gcc-config-1.3.13  0 kB
[ebuild   R   ] sys-libs/db-4.2.52_p4  USE="java tcltk -bootstrap -doc -nocxx" 0 kB

Total size of downloads: 0 kB
fyremaster ~ #

fyremaster ~ # emerge --info
Portage 2.1_pre3-r1 (default-linux/amd64/2005.0, gcc-3.4.5, glibc-2.3.5-r3, 2.6.14.5 x86_64)
=================================================================
System uname: 2.6.14.5 x86_64 AMD Opteron(tm) Processor 242
Gentoo Base System version 1.12.0_pre12
distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
dev-lang/python:     2.3.5-r2, 2.4.2
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1-r1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r3
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=k8 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/fax /usr/lib64/mozilla/defaults/pref /usr/share/config /var/qmail/control /var/spool/fax/etc"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/texmf/web2c /etc/env.d"
CXXFLAGS="-march=k8 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="amd64 X a52 aac aalib accessibility acl acpi aim alsa apache2 arts audiofile avi bash-completion berkdb bitmap-fonts bmp bonobo browserplugin bzip2 cdparanoia cdr chroot crypt cups curl curlwrappers directfb divx4linux dv dvd dvdr dvdread eds emboss encode esd ethereal examples exif expat fam fbcon ffmpeg flac flash foomaticdb fortran gcj gd gd-external gdbm gif gimp gimpprint glut gmp gnome gnutils gpm gstreamer gtk gtk2 gtkhtml guile hal hardenedphp icq idn imagemagick imlib ipv6 irc jabber java javascript jikes jpeg junit kde kerberos lcms ldap libcaca libedit libwww lm_sensors lzw lzw-tiff mad mhash mikmod mime ming mmap mng motif mozcalendar mozilla mozsvg mp3 mpeg mysql nas ncurses nls nptl nsplugin odbc offensive ogg oggvorbis openal opengl pam pcre pda pdflib perl php png portaudio posix postgres ppds python qt quicktime readline recode ruby samba scanner sdl shorten simplexml slang slp sndfile snmp sockets sox speex spell spl sqlite ssl svg tckltk tcltk tcpd tetex theora threads tidy tiff tokenizer truetype truetype-fonts type1-fonts udev unicode usb userlocales v4l vcd vchroot verbose vhosts videos vorbis wmf wxgtk1 xface xine xinerama xml xml2 xmlrpc xmms xpm xprint xscreensaver xsl xv xvid yahoo zeo zlib elibc_glibc kernel_linux userland_GNU"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS
Comment 7 SpanKY gentoo-dev 2006-01-03 19:01:39 UTC
it's a specific issue with your one box, and your machine isnt using gcc-config 1.3.x properly:

gcc-config error: i686-pc-linux-gnu-cc wrapper: Could not determine which compiler to use.  Invalid CTARGET or CTARGET has no selected profile.

this error message is not in gcc-config-1.3.x, it's in eselect-compiler

i suggest you unmerge that package
Comment 8 Guy 2006-01-03 19:11:15 UTC
(In reply to comment #7)
> it's a specific issue with your one box, and your machine isnt using gcc-config
> 1.3.x properly:
> 
> gcc-config error: i686-pc-linux-gnu-cc wrapper: Could not determine which
> compiler to use.  Invalid CTARGET or CTARGET has no selected profile.
> 
> this error message is not in gcc-config-1.3.x, it's in eselect-compiler
> 
> i suggest you unmerge that package
> 

I believe you. However, I already unmerged eselect-compiler when emaint told me it was fully masked several weeks ago if I remember correctly. Um ... I guess I need to manually clean up. Suggestions on what to look for?
Comment 9 Guy 2006-01-06 21:35:50 UTC
I've been trying to muddle along and figure out what I need to clean up. These results tell me that the problem is not with my machine. Of course, not being a programmer, I have no idea what they really mean. Maybe I'm just kookoo.

I don't have eselect-compiler on my PC and I still get the same results with db.

.oOo.

dragonfyre ~ # emerge -s eselect
Searching...
[ Results for search key : eselect ]
[ Applications found : 5 ]

*  app-admin/eselect
      Latest version available: 1.0_rc2
      Latest version installed: 1.0_rc2
      Size of downloaded files: 139 kB
      Homepage:    http://www.gentoo.org/proj/en/eselect/
      Description: Modular -config replacement utility
      License:     GPL-2

*  app-admin/eselect-compiler
      Latest version available: 2.0.0_rc1-r1
      Latest version installed: [ Not Installed ]
      Size of downloaded files: 114 kB
      Homepage:    http://www.gentoo.org/
      Description: Utility to configure the active toolchain compiler
      License:     GPL-2

*  app-admin/eselect-opengl
      Latest version available: 1.0.3
      Latest version installed: 1.0.3
      Size of downloaded files: 41 kB
      Homepage:    http://www.gentoo.org/
      Description: Utility to change the OpenGL interface being used
      License:     GPL-2

*  app-admin/eselect-php
      Latest version available: 0.96
      Latest version installed: [ Not Installed ]
      Size of downloaded files: 0 kB
      Homepage:    http://svn.gnqs.org/projects/gentoo-php-overlay/wiki/InstallPhpEselectModules
      Description: PHP modules for eselect.
      License:     GPL-2

*  net-wireless/waveselect
      Latest version available: 0.1.2
      Latest version installed: [ Not Installed ]
      Size of downloaded files: 14 kB
      Homepage:    http://www.kde-apps.org/content/show.php?content=19152
      Description: Waveselect is wireless lan connection tool for Linux using QT and wireless-tools.
      License:     GPL-2


dragonfyre ~ # equery depends eselect
[ Searching for packages depending on eselect... ]
app-editors/vim-6.4
app-editors/vim-core-6.4
app-admin/eselect-opengl-1.0.3
dragonfyre ~ # equery depends eselect-opengl
[ Searching for packages depending on eselect-opengl... ]
x11-base/opengl-update-3.0.0
dragonfyre ~ # equery depends eselect-compiler
[ Searching for packages depending on eselect-compiler... ]
sys-devel/gcc-3.4.5
dragonfyre ~ #
Comment 10 Rapha 2006-01-11 13:18:39 UTC
I don't think its specific to him as I observe absolutely the same error while being able to compile a lot of other packages.

My emerger-output: 
...
checking for C compiler default output... configure: error: C compiler cannot create executables
See `config.log' for more details.

!!! ERROR: sys-libs/db-4.2.52_p4 failed.
!!! Function src_compile, Line 96, Exitcode 77
!!! configure failed
!!! If you need support, post the topmost build error, NOT this status message

My config.log:

This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by Berkeley DB configure 4.2.52, which was
generated by GNU Autoconf 2.57.  Invocation command line was

  $ ../dist/configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --libdir=/usr/lib --enable-compat185 --with-uniquename --enable-rpc --host=i686-pc-linux-gnu --enable-cxx --disable-tcl --enable-java --build=i686-pc-linux-gnu --disable-test

## --------- ##
## Platform. ##
## --------- ##

hostname = swordfish
uname -m = i686
uname -r = 2.6.15-gentoo
uname -s = Linux
uname -v = #6 PREEMPT Wed Jan 11 21:27:35 CET 2006

/usr/bin/uname -p = Intel(R) Pentium(R) M processor 1500MHz
/bin/uname -X     = unknown

/bin/arch              = i686
/usr/bin/arch -k       = unknown
/usr/convex/getsysinfo = unknown
hostinfo               = unknown
/bin/machine           = unknown
/usr/bin/oslevel       = unknown
/bin/universe          = unknown

PATH: /opt/sun-jdk-1.4.2.10/bin
PATH: /usr/lib/ccache/bin
PATH: /sbin
PATH: /usr/sbin
PATH: /usr/lib/portage/bin
PATH: /bin
PATH: /usr/bin
PATH: /opt/bin
PATH: /usr/i686-pc-linux-gnu/gcc-bin/3.4.5
PATH: /opt/sun-jdk-1.4.2.10/bin
PATH: /opt/sun-jdk-1.4.2.10/jre/bin
PATH: /opt/sun-jdk-1.4.2.10/jre/javaws


## ----------- ##
## Core tests. ##
## ----------- ##

configure:1543: checking build system type
configure:1561: result: i686-pc-linux-gnu
configure:1569: checking host system type
configure:1583: result: i686-pc-linux-gnu
configure:1606: checking if building in the top-level or dist directories
configure:1615: result: no
configure:1700: checking if --disable-cryptography option specified
configure:1713: result: no
configure:1717: checking if --disable-hash option specified
configure:1730: result: no
configure:1734: checking if --disable-queue option specified
configure:1747: result: no
configure:1751: checking if --disable-replication option specified
configure:1764: result: no
configure:1768: checking if --disable-verify option specified
configure:1781: result: no
configure:1785: checking if --enable-compat185 option specified
configure:1794: result: yes
configure:1797: checking if --enable-cxx option specified
configure:1806: result: yes
configure:1809: checking if --enable-debug option specified
configure:1818: result: no
configure:1821: checking if --enable-debug_rop option specified
configure:1830: result: no
configure:1833: checking if --enable-debug_wop option specified
configure:1842: result: no
configure:1845: checking if --enable-diagnostic option specified
configure:1869: result: no
configure:1873: checking if --enable-dump185 option specified
configure:1882: result: no
configure:1885: checking if --enable-java option specified
configure:1894: result: yes
configure:1897: checking if --enable-mingw option specified
configure:1906: result: no
configure:1909: checking if --enable-posixmutexes option specified
configure:1918: result: no
configure:1921: checking if --enable-rpc option specified
configure:1930: result: yes
configure:1933: checking if --enable-smallbuild option specified
configure:1949: result: no
configure:1952: checking if --enable-tcl option specified
configure:1961: result: no
configure:1964: checking if --enable-test option specified
configure:1973: result: no
configure:1976: checking if --enable-uimutexes option specified
configure:1985: result: no
configure:1988: checking if --enable-umrw option specified
configure:1997: result: no
configure:2000: checking if --with-mutex=MUTEX option specified
configure:2018: result: no
configure:2023: checking if --with-mutexalign=ALIGNMENT option specified
configure:2044: result: no
configure:2047: checking if --with-rpm=ARCHIVE option specified
configure:2069: result: no
configure:2072: checking if --with-tcl=DIR option specified
configure:2082: result: no
configure:2088: checking if --with-uniquename=NAME option specified
configure:2110: result: _4002
configure:2172: checking for i686-pc-linux-gnu-ar
configure:2188: found /usr/bin/i686-pc-linux-gnu-ar
configure:2198: result: i686-pc-linux-gnu-ar
configure:2258: checking for i686-pc-linux-gnu-chmod
configure:2287: result: no
configure:2296: checking for chmod
configure:2312: found /bin/chmod
configure:2323: result: chmod
configure:2344: checking for i686-pc-linux-gnu-cp
configure:2373: result: no
configure:2382: checking for cp
configure:2398: found /bin/cp
configure:2409: result: cp
configure:2557: checking for i686-pc-linux-gnu-ln
configure:2586: result: no
configure:2595: checking for ln
configure:2611: found /bin/ln
configure:2622: result: ln
configure:2643: checking for i686-pc-linux-gnu-mkdir
configure:2672: result: no
configure:2681: checking for mkdir
configure:2697: found /bin/mkdir
configure:2708: result: mkdir
configure:2731: checking for i686-pc-linux-gnu-ranlib
configure:2747: found /usr/bin/i686-pc-linux-gnu-ranlib
configure:2757: result: i686-pc-linux-gnu-ranlib
configure:2810: checking for i686-pc-linux-gnu-ranlib
configure:2828: found /usr/bin/i686-pc-linux-gnu-ranlib
configure:2841: result: /usr/bin/i686-pc-linux-gnu-ranlib
configure:2852: checking for i686-pc-linux-gnu-rm
configure:2881: result: no
configure:2890: checking for rm
configure:2906: found /bin/rm
configure:2917: result: rm
configure:3028: checking for i686-pc-linux-gnu-sh
configure:3057: result: no
configure:3066: checking for sh
configure:3082: found /bin/sh
configure:3093: result: sh
configure:3107: checking for sh
configure:3125: found /bin/sh
configure:3138: result: /bin/sh
configure:3158: checking for i686-pc-linux-gnu-strip
configure:3174: found /usr/bin/i686-pc-linux-gnu-strip
configure:3184: result: i686-pc-linux-gnu-strip
configure:3237: checking for i686-pc-linux-gnu-strip
configure:3255: found /usr/bin/i686-pc-linux-gnu-strip
configure:3268: result: /usr/bin/i686-pc-linux-gnu-strip
configure:3378: checking for a BSD-compatible install
configure:3432: result: /bin/install -c
configure:3558: checking for i686-pc-linux-gnu-cc
configure:3574: found /usr/bin/i686-pc-linux-gnu-cc
configure:3584: result: i686-pc-linux-gnu-cc
configure:3647: checking for C compiler version
configure:3650: i686-pc-linux-gnu-cc -dumpversion </dev/null >&5
gcc-config error: i686-pc-linux-gnu-cc wrapper: Unable to determine executable.
	CTARGET=i686-pc-linux-gnu
	exec=gcc

configure:3653: $? = 1
configure:3655: i686-pc-linux-gnu-cc -v </dev/null >&5
gcc-config error: i686-pc-linux-gnu-cc wrapper: Unable to determine executable.
	CTARGET=i686-pc-linux-gnu
	exec=gcc

configure:3658: $? = 1
configure:3660: i686-pc-linux-gnu-cc -V </dev/null >&5
gcc-config error: i686-pc-linux-gnu-cc wrapper: Unable to determine executable.
	CTARGET=i686-pc-linux-gnu
	exec=gcc

configure:3663: $? = 1
configure:3687: checking for C compiler default output
configure:3690: i686-pc-linux-gnu-cc -O2 -march=pentium-m -mtune=pentium-m -fomit-frame-pointer -pipe -mmmx -msse -msse2  -D_GNU_SOURCE -D_REENTRANT  conftest.c  >&5
gcc-config error: i686-pc-linux-gnu-cc wrapper: Unable to determine executable.
	CTARGET=i686-pc-linux-gnu
	exec=gcc

configure:3693: $? = 1
configure: failed program was:
| #line 3666 "configure"
| /* confdefs.h.  */
| 
| #define PACKAGE_NAME "Berkeley DB"
| #define PACKAGE_TARNAME "db-4.2.52"
| #define PACKAGE_VERSION "4.2.52"
| #define PACKAGE_STRING "Berkeley DB 4.2.52"
| #define PACKAGE_BUGREPORT "support@sleepycat.com"
| /* end confdefs.h.  */
| 
| int
| main ()
| {
| 
|   ;
|   return 0;
| }
configure:3732: error: C compiler cannot create executables
See `config.log' for more details.

## ---------------- ##
## Cache variables. ##
## ---------------- ##

ac_ct_db_cv_path_chmod=chmod
ac_ct_db_cv_path_cp=cp
ac_ct_db_cv_path_ln=ln
ac_ct_db_cv_path_mkdir=mkdir
ac_ct_db_cv_path_rm=rm
ac_cv_build=i686-pc-linux-gnu
ac_cv_build_alias=i686-pc-linux-gnu
ac_cv_env_CC_set=
ac_cv_env_CC_value=
ac_cv_env_CFLAGS_set=set
ac_cv_env_CFLAGS_value='-O2 -march=pentium-m -mtune=pentium-m -fomit-frame-pointer -pipe -mmmx -msse -msse2'
ac_cv_env_CPPFLAGS_set=
ac_cv_env_CPPFLAGS_value=
ac_cv_env_CPP_set=
ac_cv_env_CPP_value=
ac_cv_env_CXXCPP_set=
ac_cv_env_CXXCPP_value=
ac_cv_env_CXXFLAGS_set=set
ac_cv_env_CXXFLAGS_value='-O2 -march=pentium-m -mtune=pentium-m -fomit-frame-pointer -pipe -mmmx -msse -msse2 -fvisibility-inlines-hidden'
ac_cv_env_CXX_set=
ac_cv_env_CXX_value=
ac_cv_env_F77_set=
ac_cv_env_F77_value=
ac_cv_env_FFLAGS_set=
ac_cv_env_FFLAGS_value=
ac_cv_env_LDFLAGS_set=
ac_cv_env_LDFLAGS_value=
ac_cv_env_build_alias_set=set
ac_cv_env_build_alias_value=i686-pc-linux-gnu
ac_cv_env_host_alias_set=set
ac_cv_env_host_alias_value=i686-pc-linux-gnu
ac_cv_env_target_alias_set=
ac_cv_env_target_alias_value=
ac_cv_host=i686-pc-linux-gnu
ac_cv_host_alias=i686-pc-linux-gnu
ac_cv_path_db_cv_path_ranlib=/usr/bin/i686-pc-linux-gnu-ranlib
ac_cv_path_db_cv_path_sh=/bin/sh
ac_cv_path_db_cv_path_strip=/usr/bin/i686-pc-linux-gnu-strip
ac_cv_path_install='/bin/install -c'
ac_cv_prog_CC=i686-pc-linux-gnu-cc
ac_cv_prog_ac_ct_db_cv_path_chmod=chmod
ac_cv_prog_ac_ct_db_cv_path_cp=cp
ac_cv_prog_ac_ct_db_cv_path_ln=ln
ac_cv_prog_ac_ct_db_cv_path_mkdir=mkdir
ac_cv_prog_ac_ct_db_cv_path_rm=rm
ac_cv_prog_ac_ct_path_sh=sh
ac_cv_prog_db_cv_path_ar=i686-pc-linux-gnu-ar
ac_cv_prog_path_ranlib=i686-pc-linux-gnu-ranlib
ac_cv_prog_path_strip=i686-pc-linux-gnu-strip
db_cv_build_cryptography=yes
db_cv_build_hash=yes
db_cv_build_queue=yes
db_cv_build_replication=yes
db_cv_build_type=release
db_cv_build_verify=yes
db_cv_compat185=yes
db_cv_cxx=yes
db_cv_debug=no
db_cv_debug_rop=no
db_cv_debug_wop=no
db_cv_diagnostic=no
db_cv_dump185=no
db_cv_java=yes
db_cv_mingw=no
db_cv_path_ar=i686-pc-linux-gnu-ar
db_cv_path_chmod=chmod
db_cv_path_cp=cp
db_cv_path_ln=ln
db_cv_path_mkdir=mkdir
db_cv_path_ranlib=/usr/bin/i686-pc-linux-gnu-ranlib
db_cv_path_rm=rm
db_cv_path_rpm_archive=Not-configured-with-rpm=ARCHIVE
db_cv_path_sh=/bin/sh
db_cv_path_strip=/usr/bin/i686-pc-linux-gnu-strip
db_cv_posixmutexes=no
db_cv_rpc=yes
db_cv_rpm=no
db_cv_smallbuild=no
db_cv_tcl=no
db_cv_test=no
db_cv_uimutexes=no
db_cv_umrw=no
db_cv_uniquename=yes

## ----------------- ##
## Output variables. ##
## ----------------- ##

ADDITIONAL_INCS=''
ADDITIONAL_LANG=''
ADDITIONAL_OBJS=''
ADDITIONAL_PROGS=''
AR=''
BUILD_TARGET='library_build'
CC='i686-pc-linux-gnu-cc'
CCC=''
CFLAGS='-O2 -march=pentium-m -mtune=pentium-m -fomit-frame-pointer -pipe -mmmx -msse -msse2'
CONFIGURATION_ARGS='--prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --libdir=/usr/lib --enable-compat185 --with-uniquename --enable-rpc --host=i686-pc-linux-gnu --enable-cxx --disable-tcl --enable-java --build=i686-pc-linux-gnu --disable-test'
CONFIGURATION_PATH='/var/tmp/portage/db-4.2.52_p4/work/db-4.2.52/build_unix'
CPP=''
CPPFLAGS=' -D_GNU_SOURCE -D_REENTRANT'
CRYPTO_OBJS=''
CXX=''
CXXCPP=''
CXXFLAGS='-O2 -march=pentium-m -mtune=pentium-m -fomit-frame-pointer -pipe -mmmx -msse -msse2 -fvisibility-inlines-hidden'
DB_CONST=''
DB_PROTO1=''
DB_PROTO2=''
DB_VERSION_MAJOR='4'
DB_VERSION_MINOR='2'
DB_VERSION_PATCH='52'
DB_VERSION_STRING='"Sleepycat Software: Berkeley DB 4.2.52: (December  3, 2003)"'
DB_VERSION_UNIQUE_NAME='_4002'
DEFAULT_LIB=''
DEFAULT_LIB_CXX=''
DEFS=''
ECHO='echo'
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP=''
EXEEXT=''
F77=''
FFLAGS=''
INSTALLER=''
INSTALL_DATA='${INSTALL} -m 644'
INSTALL_LIBS=''
INSTALL_PROGRAM='${INSTALL}'
INSTALL_SCRIPT='${INSTALL}'
INSTALL_TARGET='library_install'
JAR=''
JAVA=''
JAVAC='javac'
JAVACFLAGS=''
JMODSUFFIX=''
LDFLAGS=''
LIBJSO_LIBS=''
LIBOBJS=''
LIBS=''
LIBSO_LIBS=''
LIBTOOL=''
LIBTSO_LIBS=''
LIBTSO_MODSUFFIX=''
LIBTSO_MODULE=''
LIBXSO_LIBS=''
LN_S=''
LOAD_LIBS=''
LTLIBOBJS=''
MAKEFILE_CC=''
MAKEFILE_CCLINK=''
MAKEFILE_CXX=''
MAKEFILE_CXXLINK=''
MAKEFILE_SOLINK=''
MAKEFILE_XSOLINK=''
MODSUFFIX=''
OBJEXT=''
OSDIR=''
PACKAGE_BUGREPORT='support@sleepycat.com'
PACKAGE_NAME='Berkeley DB'
PACKAGE_STRING='Berkeley DB 4.2.52'
PACKAGE_TARNAME='db-4.2.52'
PACKAGE_VERSION='4.2.52'
PATH_SEPARATOR=':'
POSTLINK=''
RANLIB=''
REPLACEMENT_OBJS=''
RPC_CLIENT_OBJS=''
RPM_BUILD=''
RPM_POST_INSTALL=''
RPM_POST_UNINSTALL=''
SHELL='/bin/sh'
SOFLAGS=''
SOSUFFIX=''
STRIP=''
TCFLAGS=''
TCL_BIN_DIR=''
TCL_LIB_FILE=''
TCL_SRC_DIR=''
TCL_TCLSH=''
_ACJNI_JAVAC=''
ac_ct_AR=''
ac_ct_CC=''
ac_ct_CCC=''
ac_ct_CXX=''
ac_ct_F77=''
ac_ct_RANLIB=''
ac_ct_STRIP=''
ac_ct_db_cv_path_ar=''
ac_ct_db_cv_path_chmod='chmod'
ac_ct_db_cv_path_cp='cp'
ac_ct_db_cv_path_kill=''
ac_ct_db_cv_path_ln='ln'
ac_ct_db_cv_path_mkdir='mkdir'
ac_ct_db_cv_path_rm='rm'
ac_ct_db_cv_path_rpm=''
ac_ct_path_ldconfig=''
ac_ct_path_ranlib=''
ac_ct_path_sh='sh'
ac_ct_path_strip=''
bindir='${exec_prefix}/bin'
build='i686-pc-linux-gnu'
build_alias='i686-pc-linux-gnu'
build_cpu='i686'
build_os='linux-gnu'
build_vendor='pc'
cxx_have_stdheaders=''
datadir='/usr/share'
db_align_t_decl=''
db_alignp_t_decl=''
db_cv_build_type='release'
db_cv_path_ar='i686-pc-linux-gnu-ar'
db_cv_path_chmod='chmod'
db_cv_path_cp='cp'
db_cv_path_kill=''
db_cv_path_ldconfig=''
db_cv_path_ln='ln'
db_cv_path_mkdir='mkdir'
db_cv_path_ranlib='/usr/bin/i686-pc-linux-gnu-ranlib'
db_cv_path_rm='rm'
db_cv_path_rpm=''
db_cv_path_rpm_archive='Not-configured-with-rpm=ARCHIVE'
db_cv_path_sh='/bin/sh'
db_cv_path_strip='/usr/bin/i686-pc-linux-gnu-strip'
db_int_def=''
exec_prefix='NONE'
host='i686-pc-linux-gnu'
host_alias='i686-pc-linux-gnu'
host_cpu='i686'
host_os='linux-gnu'
host_vendor='pc'
includedir='${prefix}/include'
infodir='/usr/share/info'
int16_decl=''
int32_decl=''
inttypes_decl=''
libdir='/usr/lib'
libexecdir='${exec_prefix}/libexec'
localstatedir='/var/lib'
mandir='/usr/share/man'
o=''
oldincludedir='/usr/include'
path_ldconfig=''
path_ranlib='i686-pc-linux-gnu-ranlib'
path_sh='sh'
path_strip='i686-pc-linux-gnu-strip'
prefix='/usr'
program_transform_name='s,x,x,'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
ssize_t_decl=''
sysconfdir='/etc'
target_alias=''
u_char_decl=''
u_int16_decl=''
u_int32_decl=''
u_int8_decl=''
u_int_decl=''
u_long_decl=''
u_short_decl=''
uudecode=''

## ----------- ##
## confdefs.h. ##
## ----------- ##

#define PACKAGE_BUGREPORT "support@sleepycat.com"
#define PACKAGE_NAME "Berkeley DB"
#define PACKAGE_STRING "Berkeley DB 4.2.52"
#define PACKAGE_TARNAME "db-4.2.52"
#define PACKAGE_VERSION "4.2.52"

configure: exit 77

thanks for looking over - Rapha



(In reply to comment #8)
> (In reply to comment #7)
> > it's a specific issue with your one box, and your machine isnt using gcc-config
> > 1.3.x properly:
> > 
> > gcc-config error: i686-pc-linux-gnu-cc wrapper: Could not determine which
> > compiler to use.  Invalid CTARGET or CTARGET has no selected profile.
> > 
> > this error message is not in gcc-config-1.3.x, it's in eselect-compiler
> > 
> > i suggest you unmerge that package
> > 
> 
> I believe you. However, I already unmerged eselect-compiler when emaint told me
> it was fully masked several weeks ago if I remember correctly. Um ... I guess I
> need to manually clean up. Suggestions on what to look for?
> 
Comment 11 Rapha 2006-01-12 12:30:59 UTC
In addition to my last reply I must confess that it was/is just a compiler-problem: whereas gcc-config was showing the right compiler, eselect compiler show did list a false link to an old gcc. Try this out with you so that the bug could probably be eliminated. Saludo - Rapha
Comment 12 Martin Mokrejš 2006-02-04 11:39:50 UTC
Same problem here:

vrapenec gnome-extra # eselect compiler list
Available compilers for CTARGET i686-pc-linux-gnu
  [1]   i686-pc-linux-gnu-3.3.5/default
  [2]   i686-pc-linux-gnu-3.3.5/hardened
  [3]   i686-pc-linux-gnu-3.3.5/hardenednopie
  [4]   i686-pc-linux-gnu-3.3.5/hardenednossp
  [5]   i686-pc-linux-gnu-3.4.4/default
  [6]   i686-pc-linux-gnu-3.4.4/hardened
  [7]   i686-pc-linux-gnu-3.4.4/hardenednopie
  [8]   i686-pc-linux-gnu-3.4.4/hardenednopiessp
  [9]   i686-pc-linux-gnu-3.4.4/hardenednossp
  [10]  i686-pc-linux-gnu-3.4.5/hardened
  [11]  i686-pc-linux-gnu-3.4.5/hardenednopie
  [12]  i686-pc-linux-gnu-3.4.5/hardenednopiessp
  [13]  i686-pc-linux-gnu-3.4.5/hardenednossp
  [14]  i686-pc-linux-gnu-3.4.5/vanilla

Activated profiles:
  i686-pc-linux-gnu *       i686-pc-linux-gnu-3.4.4/default
vrapenec gnome-extra #
vrapenec gnome-extra # ls -la /usr/bin/gcc*
-rwxr-xr-x 1 root root  8788 Jan  2 21:16 /usr/bin/gcc
lrwxrwxrwx 1 root root    58 Jan  2 21:16 /usr/bin/gcc-3.4.5 -> /usr/i686-pc-linux-gnu/gcc-bin/3.4.5/i686-pc-linux-gnu-gcc
-rwxr-xr-x 1 root root 17925 Jan  9 19:20 /usr/bin/gcc-config
-rwxr-xr-x 1 root root  8788 Jan  9 19:20 /usr/bin/gcc32
-rwxr-xr-x 1 root root 15040 Aug 31 10:46 /usr/bin/gccbug
-rwxr-xr-x 1 root root  2048 Oct  4 21:38 /usr/bin/gccmakedep
vrapenec gnome-extra # ls -la /usr/i686-pc-linux-gnu/gcc-bin/
total 8
drwxr-xr-x 4 root root   30 Jan  2 13:16 .
drwxr-xr-x 6 root root   59 Dec  5 19:23 ..
drwxr-xr-x 2 root root 4096 Jan 18  2005 3.3.5
drwxr-xr-x 2 root root 4096 Jan  2 21:16 3.4.5
vrapenec gnome-extra # 
vrapenec gnome-extra # gcc-config -l
 [1] i686-pc-linux-gnu-3.3.5
 [2] i686-pc-linux-gnu-3.3.5-hardened
 [3] i686-pc-linux-gnu-3.3.5-hardenednopie
 [4] i686-pc-linux-gnu-3.3.5-hardenednossp
 [5] i686-pc-linux-gnu-3.4.5 *
 [6] i686-pc-linux-gnu-3.4.5-hardened
 [7] i686-pc-linux-gnu-3.4.5-hardenednopie
 [8] i686-pc-linux-gnu-3.4.5-hardenednopiessp
 [9] i686-pc-linux-gnu-3.4.5-hardenednossp
vrapenec gnome-extra # 
vrapenec gnome-extra # eselect compiler set i686-pc-linux-gnu-3.4.5/vanilla
vrapenec gnome-extra #

The last command did the trick for me. ;)
Comment 13 Guy 2006-02-06 17:54:48 UTC
After reading comment #12, I re-emerged eselect-compiler.

I then did the command

# eselect compiler set i686-pc-linux-gnu-3.4.5/vanilla

That indeed took care of the problem.

The discrepancy between:

# eselect compiler list

and

# gcc-config -l

was enlightening.

Thank you everyone. Now I can update db-4.1*, db-4.2* and pam.
Comment 14 Jeremy Huddleston (RETIRED) gentoo-dev 2006-03-31 21:18:55 UTC
uhm... you've got gcc-config-1 and eselect-compiler installed at the same time.  That's the root of your problem.  If you want to use eselect-compiler, either unmerge gcc-config or unmask gcc-config-2.0 which is the frontend to eselect-compiler.