Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 435532 - php-5.4.7 configure: error: DBA: Could not find necessary header file(s).
Summary: php-5.4.7 configure: error: DBA: Could not find necessary header file(s).
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: PHP Bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-09-19 17:52 UTC by Gary E. Miller
Modified: 2012-10-11 18:58 UTC (History)
1 user (show)

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


Attachments
build.log (build.log,21.53 KB, text/plain)
2012-09-19 17:54 UTC, Gary E. Miller
Details
build environment (environment,139.41 KB, text/plain)
2012-09-19 17:55 UTC, Gary E. Miller
Details
config.log (config.log,216.48 KB, text/plain)
2012-09-19 19:37 UTC, Gary E. Miller
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Gary E. Miller 2012-09-19 17:52:23 UTC
Can not emerge dev-lang/php-5.4.7: configure: error: DBA: Could not find necessary header file(s).


Reproducible: Always

Steps to Reproduce:
1. emerge dev-lang/php-5.4.7
2.
3.
Actual Results:  
configure: error: DBA: Could not find necessary header file(s).



Expected Results:  
successful emerge

dagwood ~ # emerge --info '=dev-lang/php-5.4.7'
Portage 2.1.11.18 (default/linux/amd64/10.0/desktop, gcc-4.6.3, glibc-2.15-r2, 3.5.3-gentoo x86_64)
=================================================================
                        System Settings
=================================================================
System uname: Linux-3.5.3-gentoo-x86_64-Intel-R-_Core-TM-2_Duo_CPU_P8400_@_2.26GHz-with-gentoo-2.2
Timestamp of tree: Wed, 19 Sep 2012 16:15:01 +0000
distcc 3.1 x86_64-pc-linux-gnu [disabled]
app-shells/bash:          4.2_p37
dev-java/java-config:     2.1.12
dev-lang/python:          2.7.3-r2, 3.2.3-r1
dev-util/cmake:           2.8.9
dev-util/pkgconfig:       0.27.1
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.10.5
sys-apps/sandbox:         2.6
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.5-r1, 1.9.6-r3, 1.10.3, 1.11.6, 1.12.4
sys-devel/binutils:       2.22.90
sys-devel/gcc:            4.6.3
sys-devel/gcc-config:     1.7.3
sys-devel/libtool:        2.4.2
sys-devel/make:           3.82-r3
sys-kernel/linux-headers: 3.5 (virtual/os-headers)
sys-libs/glibc:           2.15-r2
Repositories: gentoo java-overlay
Installed sets: @system
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=core2 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/openvpn/easy-rsa /var/bind /var/lib/hsqldb"
CONFIG_PROTECT_MASK="${EPREFIX}/etc/gconf /etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.4/ext-active/ /etc/php/cgi-php5.4/ext-active/ /etc/php/cli-php5.4/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=core2 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles news parallel-fetch protect-owned sandbox sfperms unknown-features-warn unmerge-logs unmerge-orphans userfetch xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://gentoo.osuosl.org/ http://mirror.usu.edu/mirrors/gentoo/ http://gentoo.cites.uiuc.edu/pub/gentoo/ "
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-z,now,--as-needed,-O1,--hash-style=gnu,--sort-common"
LINGUAS="en"
MAKEOPTS="-j1"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --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/portage/local/layman/java-overlay"
SYNC="rsync://spidey.rellim.com/gentoo-portage"
USE="X a52 aac acl acpi adns aesicm aio alsa amazon amd64 amr apng ares asyncdns asyncns audiofile avahi bash-completion bcmath berkdb binary-drivers bluetooth bonjour bookmarks branding btrfs bzip2 cairo calendar capi caps cdaudio cdb cdda cdio cdr celt cgroup chroot cli consolekit cracklib crypt cscope ctype cups curl custom-optimization cxx daap dbus dc1394 declarative dirac directfb diskio divx dlz dri dtmf dts dv dvb dvbplayer dvd dvdr dvi ecwj2k egl emboss encode exif expat extrafilters extras faac faad fam fame fat festival ffmpeg ffmpeg-mt fftw fileinfo filter firefox fits flac fontconfig foomaticdb fortran ftp g3dvl gallium gcdmaster gcrypt gd gdbm geoip geoloc geonames geos geotiff gif gimp gkrellm gles1 gles2 glib gmath gml gmp gnuplot gnutls gost gpac gpg gpgme gphoto2 gpm grass gs gsl gsm gstreamer gtk gucharmap gutenprint h323 hardened hash hfs hostip hpijs http iax iconv icu id3tag imagemagick inkjar inotify ipp iproute2 ipv6 irc ivr jabber jack java javascript jbig jpeg jpeg2k json krb4 ladspa lame largefile latex lcms ldap less libass libburn libedit libextractor libgcrypt liblockfile libnotify libsamplerate libsysfs libv4l2 libvisual live lm_sensors logrotate lv2 lzo mad manual matroska mbrola mdadm mdnsresponder-compat mhash midi mkl mmx mng modules mp2 mp3 mp3rtp mp4 mp4live mpeg mpeg2 mplayer mtp mudflap multilib music musicbrainz mysql ncurses netcdf netlink network nls nodrm nominatim nptl nsplugin ntfs offensive ogdi ogg ogm openexr opengl openmp openvg osmesa oss pam pango passwdqc pcap pch pcntl pcre pdf pdfimport perl phar pixmaps plazes plotutil plotutils png pnm policykit posix postproc ppds pppd proj pth pulseaudio pvr python qos qt-static qt3support qt4 rar raw rdesktop readline realmedia realtime rle rpz rrdtool rtc rtsp run-as-root scanner schroedinger screen sdl secure-delete semantic-desktop server session shm shout simplexml sip sipim skins smi smime smp sndfile snmp sound spamassassin speex spell sqlite srt srtp sse sse2 sse3 ssh ssl ssse3 startup-notification stream svg swat syntax-check syslog taglib tcpd tcpwrapper theora threads thumbnail tidy tiff timidity tokenizer tools transcode truetype tunepimp twolame udev udisks unicode upower urandom usb v4l2 vamp vcd vcdinfo vcdx vdpau vdr video vim-syntax visualization vlc vlm vnc vorbis vorbis-psy vpx vxml wav wavpack webkit wifi wikipedia wireshark wma wmf wmp wps wxwidgets x264 xanim xattr xcap xcb xcf xcomposite xface xfce xforms xft xine xinerama xml xmlrpc xmp xorg xosd xpm xrandr xrender xscreensaver xsl xslt xulrunner xv xvfb xvid xvmc yahoo yahoo-geo youtube zephyr zeroconf zip zlib zrtp zvbi" 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" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump" CAMERAS="canon fuji ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" 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 ubx" INPUT_DEVICES="keyboard mouse synaptics evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en" PHP_TARGETS="php5-3" PYTHON_TARGETS="python3_2 python2_7" RUBY_TARGETS="ruby18 ruby19" USERLAND="GNU" VIDEO_CARDS="nouveau vesa" 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, USE_PYTHON
Comment 1 Gary E. Miller 2012-09-19 17:53:29 UTC
dagwood ~ # emerge -pqv '=dev-lang/php-5.4.7'
[ebuild     U ] dev-lang/php-5.4.7 [5.4.6-r2] USE="bcmath bzip2 calendar cdb cli crypt ctype curl exif fileinfo filter ftp gd gdbm gmp hash iconv ipv6 json ldap libedit mhash mysql nls pcntl phar posix session simplexml snmp spell ssl threads tidy tokenizer truetype unicode xml xmlrpc xpm xsl zip zlib -apache2 -berkdb* -cgi -cjk -curlwrappers -debug -doc -embed -enchant -firebird -flatfile -fpm (-frontbase) -imap -inifile -intl -iodbc -kerberos (-kolab) -ldap-sasl -mssql -mysqli -mysqlnd -oci8-instant-client -odbc -pdo -pic -postgres -qdbm -readline -recode (-selinux) -sharedmem -soap -sockets -sqlite3 (-sybase-ct) -sysvipc -wddx -xmlreader -xmlwriter"
Comment 2 Gary E. Miller 2012-09-19 17:54:14 UTC
Created attachment 324314 [details]
build.log
Comment 3 Gary E. Miller 2012-09-19 17:55:03 UTC
Created attachment 324316 [details]
build environment
Comment 4 Rafał Mużyło 2012-09-19 18:57:45 UTC
Attach the relevant config.log too.
Comment 5 Gary E. Miller 2012-09-19 19:37:44 UTC
Created attachment 324320 [details]
config.log
Comment 6 Rafał Mużyło 2012-09-20 02:23:38 UTC
...well, just a guess, but if your gdbm is [-berkdb], this just might be something akin to bug 383757.
Comment 7 Ole Markus With (RETIRED) gentoo-dev 2012-09-20 12:39:09 UTC
(In reply to comment #6)
> ...well, just a guess, but if your gdbm is [-berkdb], this just might be
> something akin to bug 383757.

I have gdbm[berkdb] and it still breaks.
The culprit is the cdb USE flag. With it disabled, it works.
Comment 8 Ole Markus With (RETIRED) gentoo-dev 2012-09-20 17:32:20 UTC
Try syncing in a while and then emerge.
Comment 9 Gary E. Miller 2012-09-20 18:14:48 UTC
(In reply to comment #8)
> Try syncing in a while and then emerge.

I jsut tried, same thing.  Will try again friday.
Comment 10 Ole Markus With (RETIRED) gentoo-dev 2012-09-20 18:25:02 UTC
There may be several issues here, but when I disabled cdb, it works. Now it works (for me) with cdg on too.
Comment 11 Gary E. Miller 2012-09-21 17:29:51 UTC
(In reply to comment #9)
> (In reply to comment #8)
> > Try syncing in a while and then emerge.
> 
> I just tried, same thing.  Will try again friday.

I can emerge, with my original settings, just fine today.  So unless someone finds some other DB setting to make this fail soon I would say it is fixed.