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

Bug 150725

Summary: ezc-* packages fail to emerge due to wrong PDO API version
Product: Gentoo Linux Reporter: Jean-Francois Ostiguy <jfostiguy>
Component: New packagesAssignee: PHP Bugs <php-bugs>
Status: RESOLVED WORKSFORME    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Jean-Francois Ostiguy 2006-10-10 03:42:02 UTC
The packages 
dev-php5/ezc-Database
dev-php5/ezc-ConsoleTools
dev-php5/ezc-Mail
dev-php5/ezc-Configuration
dev-php5/ezc-File
dev-php5/ezc-ImageConversion

All fail to emerge with the same error about wrong PDO API version.
A sample follows ....



>>> Emerging (1 of 7) dev-php5/ezc-Database-1.1.3 to /
 * Database-1.1.3.tgz MD5 ;-) ...                                                                                           [ ok ]
 * Database-1.1.3.tgz RMD160 ;-) ...                                                                                        [ ok ]
 * Database-1.1.3.tgz SHA1 ;-) ...                                                                                          [ ok ]
 * Database-1.1.3.tgz SHA256 ;-) ...                                                                                        [ ok ]
 * Database-1.1.3.tgz size ;-) ...                                                                                          [ ok ]
 * checking ebuild checksums ;-) ...                                                                                        [ ok ]
 * checking auxfile checksums ;-) ...                                                                                       [ ok ]
 * checking miscfile checksums ;-) ...                                                                                      [ ok ]
 * checking Database-1.1.3.tgz ;-) ...                                                                                      [ ok ]
 *
 * Using dev-lang/php-5.1.6-r6
 *
>>> Unpacking source...
>>> Unpacking Database-1.1.3.tgz to /var/tmp/portage/ezc-Database-1.1.3/work
tar: A lone zero block at 445
>>> Source unpacked.
>>> Compiling source in /var/tmp/portage/ezc-Database-1.1.3/work/Database-1.1.3 ...
>>> Source compiled.
>>> Test phase [not enabled]: dev-php5/ezc-Database-1.1.3

>>> Install ezc-Database-1.1.3 into /var/tmp/portage/ezc-Database-1.1.3/image/ category dev-php5
PHP Fatal error:  PDO: driver mysql requires PDO API version 20051128; this is PDO version 20060409 in Unknown on line 0
PHP Fatal error:  Unable to start pdo_mysql module in Unknown on line 0

!!! ERROR: dev-php5/ezc-Database-1.1.3 failed.
Call stack:
  ebuild.sh, line 1546:   Called dyn_install
  ebuild.sh, line 1020:   Called src_install
  ebuild.sh, line 1255:   Called php-pear-r1_src_install
  php-pear-r1.eclass, line 66:   Called die
Portage 2.1.2_pre2-r7 (default-linux/x86/2006.1, gcc-4.1.1, glibc-2.5-r0, 2.6.18-gentoo i686)
=================================================================
System uname: 2.6.18-gentoo i686 Intel(R) Pentium(R) 4 CPU 3.20GHz
Gentoo Base System version 1.12.5
Last Sync: Tue, 10 Oct 2006 01:00:08 +0000
app-admin/eselect-compiler: [Not Present]
dev-java/java-config: 1.3.7, 2.0.30
dev-lang/python:     2.3.5-r3, 2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.60
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.17
sys-devel/gcc-config: 1.3.13-r4
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r1
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium4 -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-O2 -march=pentium4 -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks fixpackages metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://gentoo.osuosl.org/ ftp://distro.ibiblio.org/pub/linux/distributions/gentoo/ http://distro.ibiblio.org/pub/linux/distributions/gentoo/ ftp://ftp.gtlib.gatech.edu/pub/gentoo http://www.gtlib.gatech.edu/pub/gentoo ftp://mirror.iawnet.sandia.gov/pub/gentoo/ ftp://ftp.ussg.iu.edu/pub/linux/gentoo http://gentoo.chem.wisc.edu/gentoo/ "
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 alsa apache2 berkdb bitmap-fonts cli cpdflib crypt cups dbus dlloader doc dri dv dvd dvdr elibc_glibc fortran gcj gd-external gdbm gnomedb gpm hal input_devices_keyboard input_devices_mouse ipv6 isdnlog java kdehiddenvisibility kernel_linux libg++ maildir mbox mmx ncurses nls nptl nptlonly nsplugin oss pam pcre perl php ppds pppd python readline reflection scanner session spl ssl tcpd truetype-fonts type1-fonts udev unicode usb userland_GNU video_cards_ati video_cards_fbdev video_cards_radeon video_cards_vesa xmlrpc xorg zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-10-18 07:11:16 UTC
Please, re-emerge dev-php5/pecl-pdo; it's been compiled against old PHP version.