Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 53151 - emerge mail-mta/postfix-2.1.1 fails
Summary: emerge mail-mta/postfix-2.1.1 fails
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High major (vote)
Assignee: AMD64 Project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-06-06 12:07 UTC by Charles Noneman
Modified: 2004-07-01 13:12 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 Charles Noneman 2004-06-06 12:08:00 UTC
ACCEPT_KEYWORDS="~amd64" emerge postfix fails:

ar rv libmaster.a single_server.o multi_server.o trigger_server.o master_proto.o mail_flow.o
ar: creating libmaster.a
a - single_server.o
a - multi_server.o
a - trigger_server.o
a - master_proto.o
a - mail_flow.o
ranlib libmaster.a
cp libmaster.a ../../lib/libmaster.a
ranlib ../../lib/libmaster.a
gcc -DHAS_PCRE -DHAS_MYSQL -I/usr/include/mysql -DUSE_SSL -DDEF_CONFIG_DIR=\"/etc/postfix\" -DDEF_DAEMON_DIR=\"/usr/lib/postfix\" -DDEF_PROGRAM_DIR=\"/usr/lib/postfix\" -DDEF_MANPAGE_DIR=\"/usr/share/man\" -DDEF_README_DIR=\"/usr/share/doc/postfix-2.1.1/readme\" -DINET6 -D__ss_family=ss_family -g -O2 -pipe -I. -I../../include -DLINUX2 -o master master.o master_conf.o master_ent.o master_sig.o master_avail.o master_spawn.o master_service.o master_status.o master_listen.o master_vars.o master_wakeup.o master_flow.o ../../lib/libglobal.a ../../lib/libutil.a -L/usr/lib -lpcre -ldl -lcrypt -lpthread -lpam -lmysqlclient -lm -lz -lssl -lcrypto -ldb -lnsl -lresolv
../../lib/libutil.a(dict_db.o)(.text+0x5e9): In function `dict_db_open':
/var/tmp/portage/postfix-2.1.1/work/postfix-2.1.0/src/util/dict_db.c:468: undefined reference to `db_version'
../../lib/libutil.a(dict_db.o)(.text+0x67a):/var/tmp/portage/postfix-2.1.1/work/postfix-2.1.0/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: mail-mta/postfix-2.1.1 failed.
!!! Function src_compile, Line 122, Exitcode 2
!!! compile problem

Reproducible: Always
Steps to Reproduce:




This is my emerge info:
Portage 2.0.50-r7 (default-amd64-2004.0, gcc-3.3.3, glibc-2.3.4.20040605-r0,
2.6.5-gentoo-r1)
=================================================================
System uname: 2.6.5-gentoo-r1 x86_64 4
Gentoo Base System version 1.4.15
Autoconf: sys-devel/autoconf-2.59-r4
Automake: sys-devel/automake-1.8.5
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CFLAGS="-O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3.2/share/config /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref
/usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/init.d/ /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="http://gentoo.noved.org/ http://mirrors.tds.net/gentoo
http://mirror.tucdemonic.org/gentoo/ http://adelie.polymtl.ca/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X aalib alsa amd64 apache2 apm avi berkdb cdr crypt cups directfb
divx4linux dvd dvdr encode esd foomaticdb gdbm gif gimpprint gnome gpm gstreamer
gtk gtk2 gtkhtml imlib ipv6 java jpeg libg++ libwww mikmod motif mozilla mpeg
multilib mysql ncurses nls nogcj oggvorbis opengl oss pam pdflib perl png ppds
python quicktime readline samba sdl slang spell ssl tcpd tiff truetype unicode
usb video_cards_radeon videos x xml xml2 xmms xv xvid zlib"
Comment 1 Tuan Van (RETIRED) gentoo-dev 2004-06-06 13:24:27 UTC
could you try `emerge db` then try again?
Comment 2 Charles Noneman 2004-06-06 13:43:01 UTC
re-emerging db fixed the problem.
Comment 3 Tobias McNulty 2004-07-01 13:12:56 UTC
I had the same problem with postfix-2.0.11 on ppc, re-emerging sys-libs/db also solved it.