Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 47445 - postfix-2.0.19 fails to compile due to undefined references to "db_create" and "db_version"
Summary: postfix-2.0.19 fails to compile due to undefined references to "db_create" an...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: Sparc Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-04-10 11:21 UTC by Jonathan P. Voss
Modified: 2004-04-10 11:51 UTC (History)
0 users

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 Jonathan P. Voss 2004-04-10 11:21:59 UTC
While executing 'emerge postfix-2.0.19' the process fails with:

../../lib/libutil.a(dict_db.o)(.text+0x6b0): In function `dict_db_open':
/var/tmp/portage/postfix-2.0.19/work/postfix-2.0.19/src/util/dict_db.c:468: undefined reference to `db_version'
../../lib/libutil.a(dict_db.o)(.text+0x744):/var/tmp/portage/postfix-2.0.19/work/postfix-2.0.19/src/util/dict_db.c:543: undefined reference to `db_create'
collect2: ld returned 1 exit status
make: *** [master] Error 1
make: *** [update] Error 1

!!! ERROR: net-mail/postfix-2.0.19 failed.
!!! Function src_compile, Line 138, Exitcode 2
!!! compile problem


Reproducible: Always
Steps to Reproduce:
1. emerge postfix-2.0.19

Actual Results:  
../../lib/libutil.a(dict_db.o)(.text+0x6b0): In function `dict_db_open':
/var/tmp/portage/postfix-2.0.19/work/postfix-2.0.19/src/util/dict_db.c:468:
undefined reference to `db_version'
../../lib/libutil.a(dict_db.o)(.text+0x744):/var/tmp/portage/postfix-2.0.19/work/postfix-2.0.19/src/util/dict_db.c:543:
undefined reference to `db_create'
collect2: ld returned 1 exit status
make: *** [master] Error 1
make: *** [update] Error 1

!!! ERROR: net-mail/postfix-2.0.19 failed.
!!! Function src_compile, Line 138, Exitcode 2
!!! compile problem


Expected Results:  
The package to finish compiling/installing correctly.


Portage 2.0.50-r3 (default-sparc64-2004.0, gcc-3.3.3, glibc-2.3.2-r9, 2.4.25-sparc)
=================================================================
System uname: 2.4.25-sparc sparc64 sun4u
Gentoo Base System version 1.4.3.13
Autoconf: sys-devel/autoconf-2.58-r1
Automake: sys-devel/automake-1.8.3
ACCEPT_KEYWORDS="sparc"
AUTOCLEAN="yes"
CFLAGS="-O2 -mcpu=ultrasparc"
CHOST="sparc-unknown-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3/share/config /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -mcpu=ultrasparc"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache sandbox"
GENTOO_MIRRORS="http://gentoo.llarian.net"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X arts avi berkdb crypt cups encode esd fbcon foomaticdb gdbm gif gnome gtk
imlib jpeg kde libwww mad mikmod motif mpeg mysql ncurses nls oggvorbis opengl
oss pam pdflib perl png python qt readline sdl slang sparc spell ssl tcltk tcpd
truetype xml2 xmms xv zlib"
Comment 1 Jonathan P. Voss 2004-04-10 11:51:51 UTC
Repeated attempts with rebuilding BerkeleyDB ('emerge db') solves this issue.