|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #59425 doesn't build against current drizzle
Submitted: 2010-09-16 17:17 UTC Modified: 2011-02-17 03:35 UTC
From: pavel at killua dot eu Assigned:
Status: Closed Package: drizzle (PECL)
PHP Version: 5.3.2 OS: gentoo
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Bug Type:
From: pavel at killua dot eu
New email:
PHP Version: OS:


 [2010-09-16 17:17 UTC] pavel at killua dot eu
building against php 5.3.3 and current drizzle fails 
(libdrizzle has been merged into drizzle so this might be 

Actual result:
build log:

 * CPV:  dev-php5/pecl-drizzle-0.4.2
 * REPO: vrrr-local-overlay
 * Maintainer: pavel.stratil-
 * USE:  amd64 elibc_glibc kernel_linux multilib 
>>> setup: /etc/portage/package.cflags -> dev-php5/pecl-
>>> FEATURES='assume-digests collision-protect distlocks 
fixlafiles fixpackages metadata-transfer news parallel-fetch 
protect-owned sandbox sfperms strict unknown-features-warn 
unmerge-logs unmerge-orphans userfetch userpriv usersandbox 
usersync test splitdebug'
>>> CFLAGS='-O2 -pipe -march=native -Wl,--as-needed'
>>> CXXFLAGS='-O2 -pipe -march=native -Wl,--as-needed'
>>> FFLAGS='-O2 -pipe -march=native -Wl,--as-needed'
>>> LDFLAGS='-Wl,--as-needed'
>>> MAKEOPTS='-j2'
>>> Unpacking source...
>>> Unpacking drizzle-0.4.2.tgz to /var/tmp/portage/dev-
 * Using dev-lang/php-5.3.3-r1
 * Running phpize ...
 [ ok ]
 * Running eautoreconf in '/var/tmp/portage/dev-php5/pecl-
drizzle-0.4.2/work/drizzle-0.4.2' ...
 * Running aclocal ...
 [ ok ]
 * Running libtoolize --copy --force --install ...
 [ ok ]
 * Running aclocal ...
 [ ok ]
 * Running autoconf ...
 [ ok ]
 * Running autoheader ...
 [ ok ]
 * Running elibtoolize in: drizzle-0.4.2/
 *   Applying portage-2.2.patch ...
 *   Applying sed-1.5.6.patch ...
 *   Applying as-needed-2.2.6.patch ...
>>> Source unpacked in /var/tmp/portage/dev-php5/pecl-
>>> Compiling source in /var/tmp/portage/dev-php5/pecl-
drizzle-0.4.2/work/drizzle-0.4.2 ...
 * Using dev-lang/php-5.3.3-r1
 * Using dev-lang/php-5.3.3-r1
 * Using dev-lang/php-5.3.3-r1
 * econf: updating drizzle-0.4.2/config.guess with 
 * econf: updating drizzle-0.4.2/config.sub with 
./configure --prefix=/usr --build=x86_64-pc-linux-gnu --
host=x86_64-pc-linux-gnu --mandir=/usr/share/man --
infodir=/usr/share/info --datadir=/usr/share --
sysconfdir=/etc --localstatedir=/var/lib --
libdir=/usr/lib64/php5/lib64 --prefix=/usr/lib64/php5 --
checking for grep that handles long lines and -e... 
checking for egrep... /bin/grep -E
checking for a sed that does not truncate output... /bin/sed
checking for x86_64-pc-linux-gnu-cc... no
checking for x86_64-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether x86_64-pc-linux-gnu-gcc accepts -g... yes
checking for x86_64-pc-linux-gnu-gcc option to accept ISO 
C89... none needed
checking how to run the C preprocessor... x86_64-pc-linux-
gnu-gcc -E
checking for icc... no
checking for suncc... no
checking whether x86_64-pc-linux-gnu-gcc and cc understand -
c and -o together... yes
checking for system library directory... lib
checking if compiler supports -R... no
checking if compiler supports -Wl,-rpath,... yes
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking target system type... x86_64-pc-linux-gnu
checking for PHP prefix... /usr/lib64/php5
checking for PHP includes... -I/usr/lib64/php5/include/php -
I/usr/lib64/php5/include/php/main -
I/usr/lib64/php5/include/php/TSRM -
I/usr/lib64/php5/include/php/Zend -
I/usr/lib64/php5/include/php/ext -
checking for PHP extension directory... 
checking for PHP installed headers prefix... 
checking if debug is enabled... no
checking if zts is enabled... no
checking for re2c... no
configure: WARNING: You will need re2c 0.13.4 or later if 
you want to regenerate PHP parsers.
checking for gawk... gawk
checking whether to enable drizzle support... yes, shared
found in /usr
checking for drizzle_create in -ldrizzle... yes
checking for a sed that does not truncate output... (cached) 
checking for fgrep... /bin/grep -F
checking for ld used by x86_64-pc-linux-gnu-gcc... 
checking if the linker (/usr/x86_64-pc-linux-gnu/bin/ld) is 
GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... 
/usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD 
checking whether ln -s works... yes
checking the maximum length of command line arguments... 
checking whether the shell understands some XSI 
constructs... yes
checking whether the shell understands "+="... yes
checking for /usr/x86_64-pc-linux-gnu/bin/ld option to 
reload object files... -r
checking for x86_64-pc-linux-gnu-objdump... x86_64-pc-linux-
checking how to recognize dependent libraries... pass_all
checking for x86_64-pc-linux-gnu-ar... x86_64-pc-linux-gnu-
checking for x86_64-pc-linux-gnu-strip... x86_64-pc-linux-
checking for x86_64-pc-linux-gnu-ranlib... x86_64-pc-linux-
checking command to parse /usr/bin/nm -B output from x86_64-
pc-linux-gnu-gcc object... ok
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if x86_64-pc-linux-gnu-gcc supports -fno-rtti -fno-
exceptions... no
checking for x86_64-pc-linux-gnu-gcc option to produce 
checking if x86_64-pc-linux-gnu-gcc PIC flag -fPIC -DPIC 
works... yes
checking if x86_64-pc-linux-gnu-gcc static flag -static 
works... yes
checking if x86_64-pc-linux-gnu-gcc supports -c -o file.o... 
checking if x86_64-pc-linux-gnu-gcc supports -c -o file.o... 
(cached) yes
checking whether the x86_64-pc-linux-gnu-gcc linker 
(/usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64) supports 
shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux
checking how to hardcode library paths into programs... 
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
configure: creating ./config.status
config.status: creating config.h
config.status: executing libtool commands
make -j2 
/bin/sh /var/tmp/portage/dev-php5/pecl-drizzle-
0.4.2/work/drizzle-0.4.2/libtool --mode=compile x86_64-pc-
linux-gnu-gcc  -I. -I/var/tmp/portage/dev-php5/pecl-drizzle-
0.4.2/work/drizzle-0.4.2 -DPHP_ATOM_INC -
0.4.2/include -I/var/tmp/portage/dev-php5/pecl-drizzle-
0.4.2/work/drizzle-0.4.2/main -I/var/tmp/portage/dev-
php5/pecl-drizzle-0.4.2/work/drizzle-0.4.2 -
I/usr/lib64/php5/include/php -
I/usr/lib64/php5/include/php/main -
I/usr/lib64/php5/include/php/TSRM -
I/usr/lib64/php5/include/php/Zend -
I/usr/lib64/php5/include/php/ext -
I/usr/lib64/php5/include/php/ext/date/lib  -DHAVE_CONFIG_H  
-O2 -pipe -march=native -Wl,--as-needed -Wall   -c 
0.4.2/php_drizzle.c -o php_drizzle.lo 
libtool: compile:  x86_64-pc-linux-gnu-gcc -I. -
0.4.2 -DPHP_ATOM_INC -I/var/tmp/portage/dev-php5/pecl-
drizzle-0.4.2/work/drizzle-0.4.2/include -
0.4.2/main -I/var/tmp/portage/dev-php5/pecl-drizzle-
0.4.2/work/drizzle-0.4.2 -I/usr/lib64/php5/include/php -
I/usr/lib64/php5/include/php/main -
I/usr/lib64/php5/include/php/TSRM -
I/usr/lib64/php5/include/php/Zend -
I/usr/lib64/php5/include/php/ext -
I/usr/lib64/php5/include/php/ext/date/lib -DHAVE_CONFIG_H -
O2 -pipe -march=native -Wl,--as-needed -Wall -c 
0.4.2/php_drizzle.c  -fPIC -DPIC -o .libs/php_drizzle.o
0.4.2/php_drizzle.c: In function 'zm_startup_drizzle':
0.4.2/php_drizzle.c:4495: error: 
use in this function)
0.4.2/php_drizzle.c:4495: error: (Each undeclared identifier 
is reported only once
0.4.2/php_drizzle.c:4495: error: for each function it 
appears in.)
0.4.2/php_drizzle.c:4507: error: 
(first use in this function)
make: *** [php_drizzle.lo] Error 1
emake failed
 * ERROR: dev-php5/pecl-drizzle-0.4.2 failed:
 *   Unable to make code
 * Call stack:
 *, line   56:  Called src_compile
 *   environment, line 4346:  Called php-ext-pecl-
 *   environment, line 3586:  Called php-ext-source-
 *   environment, line 3623:  Called die
 * The specific snippet of code:
 *       emake || die "Unable to make code";
 * If you need support, post the output of 'emerge --info 
 * the complete build log and the output of 'emerge -pqv 
 * This ebuild is from an overlay named 'vrrr-local-
overlay': '/usr/local/portage/vrrr-local-overlay/'
 * The complete build log is located at 
 * The ebuild environment file is located at 
 * S: '/var/tmp/portage/dev-php5/pecl-drizzle-


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2011-02-17 03:16 UTC] andrew at linuxjedi dot co dot uk
Patch to fix this:

diff -u drizzle-0.4.2/php_drizzle.c drizzle-0.4.2-
--- drizzle-0.4.2/php_drizzle.c	1970-01-01 
10:13:08.000000000 +0100
+++ drizzle-0.4.2-new/php_drizzle.c	2011-01-17 
14:33:07.638448730 +0000
@@ -4492,9 +4492,6 @@
                          CONST_CS | CONST_PERSISTENT);
-                         CONST_CS | CONST_PERSISTENT);
                          CONST_CS | CONST_PERSISTENT);
@@ -4504,9 +4501,6 @@
                          CONST_CS | CONST_PERSISTENT);
-                         CONST_CS | CONST_PERSISTENT);
                          CONST_CS | CONST_PERSISTENT);
 [2011-02-17 03:35 UTC] pierre dot php at gmail dot com
This bug has been fixed in SVN.

In case this was a documentation problem, the fix will show up at the
end of next Sunday (CET) on

In case this was a website problem, the change will show
up on the website in short time.
Thank you for the report, and for helping us make PECL better.

Thanks for your work!
PHP Copyright © 2001-2022 The PHP Group
All rights reserved.
Last updated: Tue Aug 16 19:03:35 2022 UTC