Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 183865 - mail-mta/exim-4.67-r1 compile fails at eximon configure, because dbstuff.h expects non existing db.h file
Summary: mail-mta/exim-4.67-r1 compile fails at eximon configure, because dbstuff.h ex...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Colin Morey (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-07-01 18:30 UTC by Sascha Wuestemann
Modified: 2007-07-01 23:21 UTC (History)
1 user (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 Sascha Wuestemann 2007-07-01 18:30:33 UTC
I tried several times to upgrade exim, which is currently not working due to system and world updates done recently, I suppose, at least mailq throws this error: mailq: error while loading shared libraries: libpq.so.4: cannot open shared object file: No such file or directory.

After the configure start of compiling exim, compile fails after entering build-exim-gentoo-pcre when executing ../scripts/Configure-eximon, spool_in.c expects db.h which is not there. See this snippet:

---snip-on---
gcc pcretest.c
gcc -o ../pcretest pcretest.o libpcre.a
make[2]: Leaving directory `/mnt/hdc3/tmp2/portage/mail-mta/exim-4.67-r1/work/exim-4.67/build-exim-gentoo/pcre'
 
/bin/sh ../scripts/Configure-eximon
>>> eximon script built

gcc -DCOMPILE_UTILITY spool_in.c
In file included from exim.h:433,
                 from spool_in.c:14:
dbstuff.h:103:16: error: db.h: No such file or directory
In file included from exim.h:433,
                 from spool_in.c:14:
dbstuff.h:529: error: expected specifier-qualifier-list before 'DB'
make[1]: *** [util-spool_in.o] Error 1
make[1]: Leaving directory `/mnt/hdc3/tmp2/portage/mail-mta/exim-4.67-r1/work/exim-4.67/build-exim-gentoo'
make: *** [go] Error 2
 * 
---snip-off---


Reproducible: Always




emerge info:
Portage 2.1.3_rc6 (default-linux/x86/2006.1, gcc-4.1.2, glibc-2.5-r3, 2.6.15-vs2.0.1-gentoo-r5-killerghost i686)
=================================================================
System uname: 2.6.15-vs2.0.1-gentoo-r5-killerghost i686 AMD Duron(tm)
Gentoo Base System release 1.12.10
Timestamp of tree: Sat, 30 Jun 2007 10:20:01 +0000
ccache version 2.4 [enabled]
dev-java/java-config: 1.3.7, 2.0.33-r1
dev-lang/python:     2.2.3-r1, 2.3.6-r2, 2.4.4-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r7
sys-apps/sandbox:    1.2.18.1
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.17
sys-devel/gcc-config: 1.3.16
sys-devel/libtool:   1.5.24
virtual/os-headers:  2.6.21
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i586-pc-linux-gnu"
CFLAGS="-march=i586 -O3 -pipe -fomit-frame-pointer"
CHOST="i586-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.1/share/config /usr/kde/3.3/share/config /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/lib/mozilla/defaults/pref /usr/share/X11/xkb /usr/share/config /var/bind"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-march=i586 -O3 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks metadata-transfer sandbox sfperms strict unmerge-orphans userpriv"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="de_DE"
LC_ALL="C"
LINGUAS="de en"
PKGDIR="/usr/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 --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/usr/tmp2"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="3dnow X X509 Xaw3d aalib acpi alsa apache2 audiofile avi berkdb bindist bitmap-fonts chroot cli cracklib crypt cscope cups curl curlwrappers dedicated dri dvd dvdr encode esd ethereal fastcgi fbcon flac flash foomaticdb fortran freetds gcj gd gdbm ggi gif gmp gphoto2 gpm gstreamer gtk gtk2 hardened icc iconv imagemagick imap imlib innodb ipv6 isdnlog java jikes jpeg kde lcms ldap lesstif libg++ mad maildir mbox mcal memlimit midi mikmod mmx motif mozilla mpeg mpi mudflap mysql nas ncurses nhc98 nls nocd nptl nptlonly odbc offensive oggvorbis openmp oss pam pcre pda pdf perl png postgres ppds pppd prelude python qt quicktime readline reflection samba sasl sdl serial session skey slang slp snmp socks5 speex spell spl ssl svg tcltk tcpd theora threads tiff truetype truetype-fonts type1-fonts unicode usb videos wmf wxwindows x86 xml xml2 xorg xosd xv zlib" ALSA_CARDS="intel8x0 sb8 sb16 sbawe ens1370 ens1371" 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="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de en" USERLAND="GNU" VIDEO_CARDS="vesa fbdev nv nvida radeon"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 1 Colin Morey (RETIRED) gentoo-dev 2007-07-01 22:24:57 UTC
Can you verify you have the berkley db stuff built? specifically sys-libs/db a re-build of it may help...

you may need to rebuild postgres as well.

revdep-rebuild is probably your friend here.
Comment 2 Sascha Wuestemann 2007-07-01 23:21:14 UTC
sys-libs/db was at its current version v4.5.20_p2, rebuild was succesful.
Especially the information " Creating db.h symlinks to db4.5 " was interesting in my case.
This time exim compile went over the problematic point.

Thanks for help and instant success.

Greetings from Braunschweig, Germany.