Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 163757 - sys-libs/pam -- db fails to configure with FEATURES=ccache
Summary: sys-libs/pam -- db fails to configure with FEATURES=ccache
Status: RESOLVED DUPLICATE of bug 145167
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-01-25 14:10 UTC by Bo Ørsted Andresen (RETIRED)
Modified: 2007-01-25 15:56 UTC (History)
0 users

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


Attachments
This fixes it as suggested on irc. (pam-0.78-r5.patch,546 bytes, patch)
2007-01-25 14:12 UTC, Bo Ørsted Andresen (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Bo Ørsted Andresen (RETIRED) gentoo-dev 2007-01-25 14:10:57 UTC
# ebuild /usr/portage/sys-libs/pam/pam-0.78-r5.ebuild compile
 * db-4.3.27.tar.gz MD5 ;-) ...                                        [ ok ]
 * db-4.3.27.tar.gz RMD160 ;-) ...                                     [ ok ]
 * db-4.3.27.tar.gz SHA1 ;-) ...                                       [ ok ]
 * db-4.3.27.tar.gz SHA256 ;-) ...                                     [ ok ]
 * db-4.3.27.tar.gz size ;-) ...                                       [ ok ]
 * Linux-PAM-0.78.tar.gz MD5 ;-) ...                                   [ ok ]
 * Linux-PAM-0.78.tar.gz RMD160 ;-) ...                                [ ok ]
 * Linux-PAM-0.78.tar.gz SHA1 ;-) ...                                  [ ok ]
 * Linux-PAM-0.78.tar.gz SHA256 ;-) ...                                [ ok ]
 * Linux-PAM-0.78.tar.gz size ;-) ...                                  [ ok ]
 * pam-0.78-patches-1.5.tar.bz2 MD5 ;-) ...                            [ ok ]
 * pam-0.78-patches-1.5.tar.bz2 RMD160 ;-) ...                         [ ok ]
 * pam-0.78-patches-1.5.tar.bz2 SHA1 ;-) ...                           [ ok ]
 * pam-0.78-patches-1.5.tar.bz2 SHA256 ;-) ...                         [ ok ]
 * pam-0.78-patches-1.5.tar.bz2 size ;-) ...                           [ ok ]
 * checking ebuild checksums ;-) ...                                   [ ok ]
 * checking auxfile checksums ;-) ...                                  [ ok ]
 * checking miscfile checksums ;-) ...                                 [ ok ]
 * checking Linux-PAM-0.78.tar.gz ;-) ...                              [ ok ]
 * checking pam-0.78-patches-1.5.tar.bz2 ;-) ...                       [ ok ]
 * checking db-4.3.27.tar.gz ;-) ...                                   [ ok ]
>>> Checking Linux-PAM-0.78.tar.gz's mtime...
>>> Checking pam-0.78-patches-1.5.tar.bz2's mtime...
>>> Checking db-4.3.27.tar.gz's mtime...
>>> Checking glib-2.6.5.tar.bz2's mtime...
>>> WORKDIR is up-to-date, keeping...
>>> Compiling source in /var/tmp/portage/sys-libs/pam-0.78-r5/work/Linux-PAM-0.78 ...
 ^[[32;01m*^[[0m Building Berkley DB 4.3.27...
configure: WARNING: If you wanted to set the --build type, don't use --host.
    If a cross compiler is detected then cross compile mode will be used.
configure: loading cache config.cache
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-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... no
checking if --enable-cxx option specified... no
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... no
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... UNIX/fcntl
checking if --with-mutexalign=ALIGNMENT option specified... no
checking if --with-tcl=DIR option specified... no
checking if --with-uniquename=NAME option specified... _pam
checking for x86_64-pc-linux-gnu-ar... x86_64-pc-linux-gnu-ar
checking for x86_64-pc-linux-gnu-chmod... no
checking for chmod... chmod
checking for x86_64-pc-linux-gnu-cp... no
checking for cp... cp
checking for x86_64-pc-linux-gnu-ln... no
checking for ln... ln
checking for x86_64-pc-linux-gnu-mkdir... no
checking for mkdir... mkdir
checking for x86_64-pc-linux-gnu-ranlib... x86_64-pc-linux-gnu-ranlib
checking for x86_64-pc-linux-gnu-ranlib... /usr/bin/x86_64-pc-linux-gnu-ranlib
checking for x86_64-pc-linux-gnu-rm... no
checking for rm... rm
checking for x86_64-pc-linux-gnu-sh... no
checking for sh... sh
checking for sh... /bin/sh
checking for x86_64-pc-linux-gnu-strip... x86_64-pc-linux-gnu-strip
checking for x86_64-pc-linux-gnu-strip... /usr/bin/x86_64-pc-linux-gnu-strip
checking for a BSD-compatible install... /bin/install -c
checking for x86_64-pc-linux-gnu-cc... x86_64-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/pam-0.78-r5 failed.
Call stack:
  ebuild.sh, line 1611:   Called dyn_compile
  ebuild.sh, line 968:   Called qa_call 'src_compile'
  environment, line 3498:   Called src_compile
  pam-0.78-r5.ebuild, line 190:   Called die

!!! Bad BDB ./configure
!!! If you need support, post the topmost build error, and the call stack if relevant.
!!! A complete build log is located at '/var/log/portage/sys-libs:pam-0.78-r5:20070125-132440.log'.
Comment 1 Bo Ørsted Andresen (RETIRED) gentoo-dev 2007-01-25 14:11:12 UTC
Portage 2.1.2-r4 (default-linux/amd64/2006.1/server, gcc-4.1.1, glibc-2.4-r4, 2.6.17-gentoo-r7 x86_64)
=================================================================
System uname: 2.6.17-gentoo-r7 x86_64 AMD Sempron(tm) Processor 2800+
Gentoo Base System version 1.12.6
Timestamp of tree: Thu, 25 Jan 2007 01:00:01 +0000
distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.3 [enabled]
dev-lang/python:     2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.3
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.61
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.14
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=k8 -pipe -O2 -ggdb"
CHOST="x86_64-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/gconf /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-march=k8 -pipe -O2 -ggdb"
DISTDIR="/opt/distfiles"
FEATURES="autoconfig buildpkg ccache collision-protect distlocks fixpackages metadata-transfer parallel-fetch sandbox sfperms splitdebug strict test userfetch"
GENTOO_MIRRORS="ftp://10.0.0.3 http://mirror.uni-c.dk/pub/gentoo http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo"
LC_ALL="en_GB.UTF-8"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_EXTRA_OPTS="--timeout=60"
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="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="acpi alsa amd64 apache2 authdaemond bash-completion berkdb bitmap-fonts bzip2 cli cracklib crypt cups directfb dlloader dri dvb fam fbcon fortran gnutls gpm iconv imap isdnlog jpeg libg++ libwww lirc lm_sensors maildir mailwrapper mysql mythtv ncurses nls nptl nptlonly ntfs pam pcre pdf perl pic png ppds pppd python readline reflection reiser4 reiserfs samba sasl session snmp spl ssl sysfs syslog tcpd test truetype truetype-fonts type1-fonts udev unichrome unicode usb vhosts vorbis xml xorg zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="evdev keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIRC_DEVICES="hauppauge" USERLAND="GNU" VIDEO_CARDS="dummy fbdev v4l vesa vga via"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LDFLAGS, LINGUAS
Comment 2 Bo Ørsted Andresen (RETIRED) gentoo-dev 2007-01-25 14:12:02 UTC
Created attachment 108123 [details, diff]
This fixes it as suggested on irc.
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2007-01-25 15:56:17 UTC
Not needed; upgrade to latest ccache to get rid of the broken wrappers.


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