php.net |  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:
Package:
Bug Type:
Summary:
From: pavel at killua dot eu
New email:
PHP Version: OS:

 

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

Actual result:
--------------
build log:

 * CPV:  dev-php5/pecl-drizzle-0.4.2
 * REPO: vrrr-local-overlay
 * Maintainer: flameeyes@gentoo.org pavel.stratil-
jun@fenix.cz
 * USE:  amd64 elibc_glibc kernel_linux multilib 
userland_GNU
>>> setup: /etc/portage/package.cflags -> dev-php5/pecl-
drizzle
>>> 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-
php5/pecl-drizzle-0.4.2/work
 * 
 * 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-
drizzle-0.4.2/work
>>> 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 
/usr/share/gnuconfig/config.guess
 * econf: updating drizzle-0.4.2/config.sub with 
/usr/share/gnuconfig/config.sub
./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 --
with-php-config=/usr/lib64/php5/bin/php-config
checking for grep that handles long lines and -e... 
/bin/grep
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-
gcc
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 -
I/usr/lib64/php5/include/php/ext/date/lib
checking for PHP extension directory... 
/usr/lib64/php5/lib/extensions/no-debug-zts-20090626
checking for PHP installed headers prefix... 
/usr/lib64/php5/include/php
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) 
/bin/sed
checking for fgrep... /bin/grep -F
checking for ld used by x86_64-pc-linux-gnu-gcc... 
/usr/x86_64-pc-linux-gnu/bin/ld
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 
nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 
1572864
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-
gnu-objdump
checking how to recognize dependent libraries... pass_all
checking for x86_64-pc-linux-gnu-ar... x86_64-pc-linux-gnu-
ar
checking for x86_64-pc-linux-gnu-strip... x86_64-pc-linux-
gnu-strip
checking for x86_64-pc-linux-gnu-ranlib... x86_64-pc-linux-
gnu-ranlib
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 
PIC... -fPIC -DPIC
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... 
yes
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 ld.so
checking how to hardcode library paths into programs... 
immediate
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 -
I/var/tmp/portage/dev-php5/pecl-drizzle-0.4.2/work/drizzle-
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 
/var/tmp/portage/dev-php5/pecl-drizzle-0.4.2/work/drizzle-
0.4.2/php_drizzle.c -o php_drizzle.lo 
libtool: 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 -I/var/tmp/portage/dev-php5/pecl-
drizzle-0.4.2/work/drizzle-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 
/var/tmp/portage/dev-php5/pecl-drizzle-0.4.2/work/drizzle-
0.4.2/php_drizzle.c  -fPIC -DPIC -o .libs/php_drizzle.o
/var/tmp/portage/dev-php5/pecl-drizzle-0.4.2/work/drizzle-
0.4.2/php_drizzle.c: In function 'zm_startup_drizzle':
/var/tmp/portage/dev-php5/pecl-drizzle-0.4.2/work/drizzle-
0.4.2/php_drizzle.c:4495: error: 
'DRIZZLE_CAPABILITIES_REMEMBER_OPTIONS' undeclared (first 
use in this function)
/var/tmp/portage/dev-php5/pecl-drizzle-0.4.2/work/drizzle-
0.4.2/php_drizzle.c:4495: error: (Each undeclared identifier 
is reported only once
/var/tmp/portage/dev-php5/pecl-drizzle-0.4.2/work/drizzle-
0.4.2/php_drizzle.c:4495: error: for each function it 
appears in.)
/var/tmp/portage/dev-php5/pecl-drizzle-0.4.2/work/drizzle-
0.4.2/php_drizzle.c:4507: error: 
'DRIZZLE_CAPABILITIES_SSL_VERIFY_SERVER_CERT' undeclared 
(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:
 *     ebuild.sh, line   56:  Called src_compile
 *   environment, line 4346:  Called php-ext-pecl-
r1_src_compile
 *   environment, line 3586:  Called php-ext-source-
r1_src_compile
 *   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 
=dev-php5/pecl-drizzle-0.4.2',
 * the complete build log and the output of 'emerge -pqv 
=dev-php5/pecl-drizzle-0.4.2'.
 * This ebuild is from an overlay named 'vrrr-local-
overlay': '/usr/local/portage/vrrr-local-overlay/'
 * The complete build log is located at 
'/var/tmp/portage/dev-php5/pecl-drizzle-
0.4.2/temp/build.log'.
 * The ebuild environment file is located at 
'/var/tmp/portage/dev-php5/pecl-drizzle-
0.4.2/temp/environment'.
 * S: '/var/tmp/portage/dev-php5/pecl-drizzle-
0.4.2/work/drizzle-0.4.2'


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

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-
new/php_drizzle.c
--- 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 @@
   
REGISTER_LONG_CONSTANT("DRIZZLE_CAPABILITIES_PROTOCOL_41",
                          DRIZZLE_CAPABILITIES_PROTOCOL_41,
                          CONST_CS | CONST_PERSISTENT);
-  
REGISTER_LONG_CONSTANT("DRIZZLE_CAPABILITIES_REMEMBER_OPTION
S",
-                         
DRIZZLE_CAPABILITIES_REMEMBER_OPTIONS,
-                         CONST_CS | CONST_PERSISTENT);
   REGISTER_LONG_CONSTANT("DRIZZLE_CAPABILITIES_RESERVED",
                          DRIZZLE_CAPABILITIES_RESERVED,
                          CONST_CS | CONST_PERSISTENT);
@@ -4504,9 +4501,6 @@
   REGISTER_LONG_CONSTANT("DRIZZLE_CAPABILITIES_SSL",
                          DRIZZLE_CAPABILITIES_SSL,
                          CONST_CS | CONST_PERSISTENT);
-  
REGISTER_LONG_CONSTANT("DRIZZLE_CAPABILITIES_SSL_VERIFY_SERV
ER_CERT",
-                         
DRIZZLE_CAPABILITIES_SSL_VERIFY_SERVER_CERT,
-                         CONST_CS | CONST_PERSISTENT);
   
REGISTER_LONG_CONSTANT("DRIZZLE_CAPABILITIES_TRANSACTIONS",
                          DRIZZLE_CAPABILITIES_TRANSACTIONS,
                          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 pecl.php.net.

In case this was a pecl.php.net 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-2019 The PHP Group
All rights reserved.
Last updated: Fri Nov 15 12:01:34 2019 UTC