Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 80186

Summary: dev-php/php-4.3.10 emerge failed. db4 error: Header contains different version
Product: Gentoo Linux Reporter: Steve Carr <steve>
Component: New packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED WORKSFORME    
Severity: blocker    
Priority: High    
Version: 2004.3   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: config.log from php build output

Description Steve Carr 2005-01-31 03:07:04 UTC
i added a new use flag to make.conf (curl) and then proceeded to do a "emerge --newuse --deep world" the 2 packages to re-emerge were PHP and MOD_PHP - during emerge it checks the version of DB4 and comes back with 

checking for db4 major version... configure: error: Header contains different version

emerge fails:
!!! ERROR: dev-php/php-4.3.10 failed.
!!! Function econf, Line 485, Exitcode 0


Reproducible: Always
Steps to Reproduce:
1. emerge --newuse --deep world
Actual Results:  
emerge fails:
!!! ERROR: dev-php/php-4.3.10 failed.
!!! Function econf, Line 485, Exitcode 0


Expected Results:  
emerged php and mod_php

Portage 2.0.51-r15 (default-linux/x86/2004.3, gcc-3.3.5, glibc-2.3.4.20040808-
r1, 2.6.10-gentoo-r6 i686)
=================================================================
System uname: 2.6.10-gentoo-r6 i686 Intel(R) Pentium(R) 4 CPU 2.80GHz
Gentoo Base System version 1.4.16
Python:              dev-lang/python-2.3.4 [2.3.4 (#1, Jan 25 2005, 21:10:05)]
dev-lang/python:     2.3.4
sys-devel/autoconf:  2.59-r6, 2.13
sys-devel/automake:  1.8.5-r2, 1.5, 1.4_p6, 1.6.3, 1.7.9, 1.9.4
sys-devel/binutils:  2.15.92.0.2-r1
sys-devel/libtool:   1.5.10-r4
virtual/os-headers:  2.4.21-r1
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -march=pentium4 -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share
/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/
mozilla/defaults/pref /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=pentium4 -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms"
GENTOO_MIRRORS="http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X alsa apache2 apm arts avi berkdb bitmap-fonts crypt cups curl encode esd 
f77 fam font-server foomaticdb fortran freetds gdbm gif gnome gpm gstreamer gtk 
gtk2 guile imap imlib ipv6 java jpeg ldap libg++ libwww mad mikmod motif 
mozilla mpeg mysql ncurses nls oci8 odbc oggvorbis opengl oss pam pdflib perl 
php png python quicktime readline samba sdl spell ssl svga tcpd tiff truetype 
truetype-fonts type1-fonts usb x86 xml xml2 xmms xv zlib"
Unset:  ASFLAGS, CBUILD, CTARGET, LDFLAGS, PORTDIR_OVERLAY
Comment 1 Steve Carr 2005-01-31 03:08:56 UTC
Created attachment 50041 [details]
config.log from php build output
Comment 2 Steve Carr 2005-01-31 03:42:22 UTC
i pruned out version 4 of DB "emerge --prune db" and then rand "emerege --newuse --deep world" again - this reinstalled version 4 of DB but also re-emerged php and mod_php successfully :)