Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 532048 - mail-mta/postfix-2.11.3: DB_KEYEMPTY undeclared
Summary: mail-mta/postfix-2.11.3: DB_KEYEMPTY undeclared
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Net-Mail Packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-12-09 11:17 UTC by Tony Vroon (RETIRED)
Modified: 2015-04-14 11:24 UTC (History)
0 users

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


Attachments
build.log (build.log,20.48 KB, text/plain)
2014-12-09 11:17 UTC, Tony Vroon (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Tony Vroon (RETIRED) gentoo-dev 2014-12-09 11:17:19 UTC
Created attachment 391272 [details]
build.log

Experiencing a build failure for:
[ebuild     U  ] mail-mta/postfix-2.11.3 [2.10.3] USE="berkdb hardened pam sasl ssl -cdb -doc -dovecot-sasl -ldap -ldap-bind -lmdb% -mbox -memcached -mysql -nis -postgres (-selinux) -sqlite -vda" 0 KiB

On this machine:
Portage 2.2.14 (python 2.7.7-final-0, hardened/linux/amd64/no-multilib, gcc-4.8.3, glibc-2.19-r1, 3.15.10-hardened-r1 x86_64)
=================================================================
System uname: Linux-3.15.10-hardened-r1-x86_64-AMD_Opteron-TM-_Processor_6238-with-gentoo-2.2
KiB Mem:   131923532 total, 126162088 free
KiB Swap:          0 total,         0 free
Timestamp of tree: Tue, 09 Dec 2014 00:30:01 +0000
ld GNU ld (Gentoo 2.24 p1.4) 2.24
app-shells/bash:          4.2_p53
dev-lang/perl:            5.18.2-r2
dev-lang/python:          2.7.7
dev-util/cmake:           2.8.12.2-r1
dev-util/pkgconfig:       0.28-r1
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.12.4
sys-apps/sandbox:         2.6-r1
sys-devel/autoconf:       2.69
sys-devel/automake:       1.10.3-r1, 1.11.6-r1, 1.12.6, 1.13.4
sys-devel/binutils:       2.24-r3
sys-devel/gcc:            4.7.3-r1, 4.8.3
sys-devel/gcc-config:     1.7.3
sys-devel/libtool:        2.4.2-r1
sys-devel/make:           4.0-r1
sys-kernel/linux-headers: 3.16 (virtual/os-headers)
sys-libs/glibc:           2.19-r1
Repositories: gentoo x-portage
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt /var/bind"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.5/ext-active/ /etc/php/cgi-php5.5/ext-active/ /etc/php/cli-php5.5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=native -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs buildpkg config-protect-if-modified distlocks ebuild-locks fixlafiles lmirror merge-sync mirror news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_GB.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j24"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
USE="64bit amd64 apache2 bash-completion berkdb blksha1 bzip2 calendar cgi clamdtop cli cracklib crypt ctype curl cxx dahdi diskio dri elf exif expat filter gd gdbm geoip hardened hash hipe hwdb iconv idn ilbc imap innodb intl introspection ipv6 ithreads jabber jpeg json justify keymap kmod kpoll lzma lzo mhash minizip mmx modules mongodb mpm-prefork mudflap mysql mysqli ncurses network-cron no-old-linux nptl nptlonly openmp pam pax_kernel pcre pdo perl pic pie png posix ptpax python rar readline rle sasl session sieve simplexml snmp sockets spl sse sse2 ssl syslog threadsafe tokenizer truetype tty-helpers unicode urandom vhosts vim-syntax vpx xml xml2 xmlreader xmlrpc xtpax zlib" ABI_X86="64" 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" APACHE2_MODULES="actions alias auth_basic auth_digest authn_anon authn_dbd authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias cgi cgid" APACHE2_MPMS="prefork" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog cpu disk ethstat lvm network nginx statsd vmem" CURL_SSL="gnutls" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7" RUBY_TARGETS="ruby19 ruby20" USERLAND="GNU" VIDEO_CARDS="fbdev glint intel mach64 mga nouveau nv r128 radeon savage sis tdfx trident vesa via vmware dummy v4l" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, SYNC, USE_PYTHON

Full build log is attached.
Comment 1 Eray Aslan gentoo-dev 2014-12-09 13:58:15 UTC
What version of sys-libs/db is installed on your system?  Please post the output of the following.  Thanks.
   egrep 'DB_VERSION|KEYEMPTY' /usr/include/db.h
Comment 2 Tony Vroon (RETIRED) gentoo-dev 2014-12-19 10:49:52 UTC
(In reply to Eray Aslan from comment #1)
> What version of sys-libs/db is installed on your system?  Please post the
> output of the following.  Thanks.
>    egrep 'DB_VERSION|KEYEMPTY' /usr/include/db.h

bob ~ # egrep 'DB_VERSION|KEYEMPTY' /usr/include/db.h
#define DB_VERSION_MAJOR 4
#define DB_VERSION_MINOR 6
#define DB_VERSION_PATCH 119
#define DB_VERSION_STRING "Tokutek: TokuDB 4.6.119"

All selected packages: =sys-libs/db-4.8.30-r2

It seems like a file conflict on /usr/include/db.h between dev-db/tokumx and sys-libs/db then.
Comment 3 Tony Vroon (RETIRED) gentoo-dev 2015-04-14 11:24:57 UTC
+*tokumx-2.0.1 (14 Apr 2015)
+
+  14 Apr 2015; Tony Vroon <chainsaw@gentoo.org> +tokumx-2.0.1.ebuild,
+  +files/tokumx-2.0.1-no-werror.patch:
+  Version bump, as requested by Tomas Mozes in bug #530778. Automatically
+  PaX-mark the mongo binary, as requested by Colin Silcock in the LINX
+  Technology team.

Conflict addressed by no longer installing a plain "db.h".