Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 145946
Alias:
Product:
Component:
Status: RESOLVED
Resolution: DUPLICATE of bug 145167
Assigned To: Gentoo Linux bug wranglers <bug-wranglers@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Alexander Skwar <askwar@digitalprojects.com>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
config.log config.log text/plain Alexander Skwar 2006-09-01 22:52 0000 13.77 KB Details
Create a New Attachment (proposed patch, testcase, etc.) View All

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

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


Not eligible to see or edit group visibility for this bug.






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


Description:   Opened: 2006-09-01 22:51 0000
I tried to compile db with the following flags:

[ebuild     U ] sys-libs/db-4.3.29-r2 [4.3.29] USE="-bootstrap -doc -java
-nocxx -tcl% -test%" 0 kB

This failed:

>>> Emerging (10 of 252) sys-libs/db-4.3.29-r2 to /
>>> checking ebuild checksums ;-)
>>> checking auxfile checksums ;-)
>>> checking miscfile checksums ;-)
>>> checking db-4.3.29.tar.gz ;-)
>>> Unpacking source...
>>> Unpacking db-4.3.29.tar.gz to /tmp/build/portage/db-4.3.29-r2/work
 * Applying db-4.3-libtool.patch ...                                           
                            [ ok ] * Applying db-4.3.27-fix-dep-link.patch ... 
                                                              [ ok ] * Applying
db-4.3-jni-check-prefix-first.patch ...                                        
                [ ok ] * Applying db-4.3-listen-to-java-options.patch ...      
                                                  [ ok ] * Using GNU config
files from /usr/share/libtool
 *   Updating config.sub                                                       
                            [ ok ] *   Updating config.guess                   
                                                              [ ok ]>>> Source
unpacked.
>>> Compiling source in /tmp/build/portage/db-4.3.29-r2/work/db-4.3.29/build_unix ...
QA Notice: USE Flag 'userland_GNU' not in IUSE for sys-libs/db-4.3.29-r2
configure: WARNING: you should use --build, --host, --target
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking if building in the top-level or dist directories... no
checking if --disable-cryptography option specified... no
checking if --disable-hash option specified... no
checking if --disable-queue option specified... no
checking if --disable-replication option specified... no
checking if --disable-statistics option specified... no
checking if --disable-verify option specified... no
checking if --enable-compat185 option specified... yes
checking if --enable-cxx option specified... yes
checking if --enable-debug option specified... no
checking if --enable-debug_rop option specified... no
checking if --enable-debug_wop option specified... no
checking if --enable-diagnostic option specified... no
checking if --enable-dump185 option specified... no
checking if --enable-java option specified... no
checking if --enable-mingw option specified... no
checking if --enable-o_direct option specified... no
checking if --enable-posixmutexes option specified... no
checking if --enable-rpc option specified... yes
checking if --enable-smallbuild option specified... no
checking if --enable-tcl option specified... no
checking if --enable-test option specified... no
checking if --enable-uimutexes option specified... no
checking if --enable-umrw option specified... no
checking if --with-mutex=MUTEX option specified... no
checking if --with-mutexalign=ALIGNMENT option specified... no
checking if --with-tcl=DIR option specified... no
checking if --with-uniquename=NAME option specified... no
checking for i686-pc-linux-gnu-ar... i686-pc-linux-gnu-ar
checking for i686-pc-linux-gnu-chmod... no
checking for chmod... chmod
checking for i686-pc-linux-gnu-cp... no
checking for cp... cp
checking for i686-pc-linux-gnu-ln... no
checking for ln... ln
checking for i686-pc-linux-gnu-mkdir... no
checking for mkdir... mkdir
checking for i686-pc-linux-gnu-ranlib... i686-pc-linux-gnu-ranlib
checking for i686-pc-linux-gnu-ranlib... /usr/bin/i686-pc-linux-gnu-ranlib
checking for i686-pc-linux-gnu-rm... no
checking for rm... rm
checking for i686-pc-linux-gnu-rpcgen... no
checking for rpcgen... rpcgen
checking for i686-pc-linux-gnu-sh... no
checking for sh... sh
checking for sh... /bin/sh
checking for i686-pc-linux-gnu-strip... i686-pc-linux-gnu-strip
checking for i686-pc-linux-gnu-strip... /usr/bin/i686-pc-linux-gnu-strip
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 file name... configure: error: C
compiler cannot create executables
See `config.log' for more details.

!!! ERROR: sys-libs/db-4.3.29-r2 failed.
Call stack:
  ebuild.sh, line 1545:   Called dyn_compile
  ebuild.sh, line 940:   Called src_compile
  db-4.3.29-r2.ebuild, line 109:   Called die

!!! configure failed
!!! If you need support, post the topmost build error, and the call stack if
relevant.

!!! When you file a bug report, please include the following information:
GENTOO_VM=  CLASSPATH="." JAVA_HOME="/opt/sun-jdk-1.4.2.12"
JAVACFLAGS="" COMPILER=""
and of course, the output of emerge --info




In config.log (I'll attach the complete file), I find:

configure:3551: i686-pc-linux-gnu-cc -dumpversion </dev/null >&5
i686-pc-linux-gnu-cc: No such file or directory
configure:3554: $? = 1
configure:3556: i686-pc-linux-gnu-cc -v </dev/null >&5
i686-pc-linux-gnu-cc: No such file or directory
configure:3559: $? = 1
configure:3561: i686-pc-linux-gnu-cc -V </dev/null >&5
i686-pc-linux-gnu-cc: No such file or directory
configure:3564: $? = 1
configure:3587: checking for C compiler default output file name
configure:3590: i686-pc-linux-gnu-cc -O2 -mtune=pentium-m -pipe
-fomit-frame-pointer  -D_GNU_SOURCE -D_REENTRANT -Wl,-O1 -Wl,--default-symver
conftest.c  >&5
i686-pc-linux-gnu-cc: No such file or directory
configure:3593: $? = 1
configure: failed program was:

alexander@blatt /all/home $ locate i686-pc-linux-gnu-cc
/all/usr/lib/ccache/bin/i686-pc-linux-gnu-cc

/usr is a symlink to /all/usr/lib

Other programs compile just fine.

------- Comment #1 From Alexander Skwar 2006-09-01 22:52:04 0000 -------
alexander@blatt ~ $ emerge --info
Portage 2.1.1_pre2-r4 (default-linux/x86/2006.0, gcc-4.1.1, glibc-2.4-r3,
2.6.16-suspend2-r8.044.no-kernel-alsa i686)
=================================================================
System uname: 2.6.16-suspend2-r8.044.no-kernel-alsa i686 Intel(R) Celeron(R) M
processor         1.50GHz
Gentoo Base System version 1.12.1
ccache version 2.4 [enabled]
app-admin/eselect-compiler: [Not Present]
dev-lang/python:     2.3.4-r1, 2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r2
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.60
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.17
sys-devel/gcc-config: 1.3.13-r3
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -mtune=pentium-m -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config
/usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/eselect/compiler
/etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo
/etc/texmf/web2c"
CXXFLAGS="-O2 -mtune=pentium-m -pipe -fomit-frame-pointer"
DISTDIR="/Gentoo/Portage/distfiles"
EMERGE_DEFAULT_OPTS="--alphabetical"
FEATURES="autoconfig buildpkg ccache collision-protect distlocks
metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="        http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/  
http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/     
ftp://ftp.tu-clausthal.de/pub/linux/gentoo/    
http://distro.ibiblio.org/pub/linux/distributions/gentoo/        
ftp://distro.ibiblio.org/pub/linux/distributions/gentoo        
http://distfiles.gentoo.org/ "
LANG="de_DE.UTF-8"
LDFLAGS="-Wl,-O1"
LINGUAS="de"
PKGDIR="/Gentoo/Portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress
--force --whole-file --delete --delete-after --stats --timeout=180
--exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/Gentoo/Portage/build"
PORTDIR="/Gentoo/Portage/tree"
PORTDIR_OVERLAY="/Gentoo/Portage/local-tree/misc"
SYNC="rsync://rsync.de.gentoo.org/gentoo-portage"
USE="x86 GAPING_SECURITY_HOLE X acpi alsa amd apache2 apm arts artswrappersuid
async avi bash-completion bdf berkdb bitmap-fonts bluetooth bootsplash cairo
caps cardbus ccache cdda cddb cdio cdparanoia cdr cdrom cle266 cli crypt css
curlwrappers dbus devmap dillo divx4linux dlloader dri dvd dvdread emoticon esd
exif fam fbcon fbdev firefox fping freetype gdbm gif gnokii gnome gstreamer gtk
gtk2 hal hpn icc id3 idn imap imlib imlib2 insecure-drivers insecure-savers
isdnlog javascript jikes jpeg kde kdeenablefinal kdehiddenvisibility libedit
libnotify libwww linuxthreads-tls logrotate lynxkeymap mad madwifi maildir
matroska mbox mmx mmxext mozilla moznoirc mozsvg mp3 mpeg mpeg2 mpeg4 mplayer
multicall musicbrainz ncurses netboot network new-login nfs nis nls
no-old-linux no-suexec noantlr nobcel nobeanutils nobsf nobsh nocd
nocommonslogging nocommonsnet nodrm nogg nogulm nojsch nojython nolog4j nomac
nooro nopri norhino noxalan noxerces nozaptel nptl nsplugin offensive ogg
opengl openssh pam_console pam_timestamp passfile password patented pccts
pcmcia pcre perl perlsuid pic player png pnp pppd qt3 qt4 quicktime rar
readline real recode reflection reiserfs sdl sendfile sensord session sftp sms
spell spf spl sse sse2 ssl startup-notification stream subp subtitles suid
symlink sysfs syslog tiff transcode truetype truetype-fonts trusted type1-fonts
udev underscores unichrome unicode unsafe usb utf8 uudeview vim vim-pager vlm
vorbis wifi win32codecs wma123 x11vnc xinetd xml xmms xorg xpm xscreensaver xv
xvid xvmc zlib elibc_glibc input_devices_evdev input_devices_keyboard
input_devices_mouse input_devices_-synaptics kernel_linux linguas_de
userland_GNU video_cards_fbdev video_cards_vesa video_cards_vga
video_cards_via"
Unset:  CTARGET, INSTALL_MASK, LC_ALL, MAKEOPTS, PORTAGE_RSYNC_EXTRA_OPTS

------- Comment #2 From Alexander Skwar 2006-09-01 22:52:48 0000 -------
Created an attachment (id=95706) [details]
config.log

------- Comment #3 From Alexander Skwar 2006-09-01 23:02:29 0000 -------
When I disable CCACHE, configure works find and so would the compile (I
suppose). Ie., when I do

FEATURES=-ccache emerge db

configure goest through just fine - with FEATURES=ccache, configure fails.

------- Comment #4 From Alexander Skwar 2006-09-01 23:25:08 0000 -------
I now did

mount -o bind /all/usr /usr

so that there is a real /usr directory (and not just a symlink) and so that
there's /usr/lib/ccache/bin/i686-pc-linux-gnu-cc

This didn't change anything, though.

------- Comment #5 From Gergan Penkov 2006-09-01 23:55:18 0000 -------
this is a bug in gcc-config/ccache, the cc-links were handled by eselect
compiler, but not by gcc-config (or at least not if they are interchaged, after
gcc install). I've just ended removing them from /usr/lib/ccache/

------- Comment #6 From SpanKY 2006-09-02 00:00:47 0000 -------
*** This bug has been marked as a duplicate of 143205 ***

*** This bug has been marked as a duplicate of 143205 ***

------- Comment #7 From Alexander Skwar 2006-09-02 01:10:41 0000 -------
(In reply to comment #5)
> this is a bug in gcc-config/ccache, the cc-links were handled by eselect
> compiler, but not by gcc-config (or at least not if they are interchaged, after
> gcc install). I've just ended removing them from /usr/lib/ccache/
> 

Could you please post the output of 

     ls -la /usr/lib/ccache

? Thanks a lot!

------- Comment #8 From Jakub Moc (RETIRED) 2006-09-02 01:26:29 0000 -------
Reopen to dupe properly.

------- Comment #9 From Jakub Moc (RETIRED) 2006-09-02 01:26:42 0000 -------

*** This bug has been marked as a duplicate of 145167 ***

------- Comment #10 From Gergan Penkov 2006-09-02 11:03:52 0000 -------
(In reply to comment #7)
> (In reply to comment #5)
> > this is a bug in gcc-config/ccache, the cc-links were handled by eselect
> > compiler, but not by gcc-config (or at least not if they are interchaged, after
> > gcc install). I've just ended removing them from /usr/lib/ccache/
> > 
> 
> Could you please post the output of 
> 
>      ls -la /usr/lib/ccache
> 
> ? Thanks a lot!
> 

ls -la /usr/lib/ccache/bin/
total 8
drwxr-xr-x 2 root root 4096 2006-08-15 22:51 .
drwxr-xr-x 3 root root 4096 2004-11-04 00:47 ..
lrwxrwxrwx 1 root root   15 2006-08-15 22:47 c++ -> /usr/bin/ccache
lrwxrwxrwx 1 root root   15 2006-08-15 22:47 g++ -> /usr/bin/ccache
lrwxrwxrwx 1 root root   15 2006-08-15 22:47 gcc -> /usr/bin/ccache
lrwxrwxrwx 1 root root   15 2006-08-15 22:47 i686-pc-linux-gnu-c++ ->
/usr/bin/ccache
lrwxrwxrwx 1 root root   15 2006-08-15 22:47 i686-pc-linux-gnu-g++ ->
/usr/bin/ccache
lrwxrwxrwx 1 root root   15 2006-08-15 22:47 i686-pc-linux-gnu-gcc ->
/usr/bin/ccache
-rw-r--r-- 1 root root    0 2006-08-15 22:47 .keep_dev-util_ccache-0

it is a ccache bug, from what I gather in the first wrong dup. eselect used to
cover it providing the missing cc-links, but gcc-config won't. Not to speak
that the script which makes them is totally broken as one could see from the
new and the old dup.

------- Comment #11 From Albert Zeyer 2006-09-13 10:01:56 0000 -------
*** Bug 147474 has been marked as a duplicate of this bug. ***

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug