Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 349353 - dev-php5/eaccelerator-0.9.6.1 build failed with dev-lang/php-5.3.4
Summary: dev-php5/eaccelerator-0.9.6.1 build failed with dev-lang/php-5.3.4
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: All Linux
: High major (vote)
Assignee: PHP Bugs
URL:
Whiteboard:
Keywords:
: 349245 349295 349441 (view as bug list)
Depends on:
Blocks:
 
Reported: 2010-12-22 09:59 UTC by Denis Kot
Modified: 2010-12-27 09:51 UTC (History)
5 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Denis Kot 2010-12-22 09:59:23 UTC
>>> Installing (1 of 2) virtual/httpd-php-5.3
 * checking 0 files for package collisions

>>> Emerging (2 of 2) dev-php5/eaccelerator-0.9.6.1
 * eaccelerator-0.9.6.1.tar.bz2 RMD160 SHA1 SHA256 size ;-) ...                                                                                                                          [ ok ]
 * Package:    dev-php5/eaccelerator-0.9.6.1
 * Repository: gentoo
 * Maintainer: php-bugs@gentoo.org
 * USE:  amd64 elibc_glibc inode kernel_linux session userland_GNU
 * 
 * Using dev-lang/php-5.3.4
 * 
>>> Unpacking source...
>>> Unpacking eaccelerator-0.9.6.1.tar.bz2 to /var/tmp/portage/dev-php5/eaccelerator-0.9.6.1/work
 * 
 * Using dev-lang/php-5.3.4
 * 
 * Running phpize ...                                                                                                                                                                    [ ok ]
 * Running eautoreconf in '/var/tmp/portage/dev-php5/eaccelerator-0.9.6.1/work/eaccelerator-0.9.6.1' ...
 * Running aclocal ...                                                                                                                                                                   [ ok ]
 * Running libtoolize --copy --force --install ...                                                                                                                                       [ ok ]
 * Running aclocal ...                                                                                                                                                                   [ ok ]
 * Running autoconf ...                                                                                                                                                                  [ ok ]
 * Running autoheader ...                                                                                                                                                                [ ok ]
 * Running elibtoolize in: eaccelerator-0.9.6.1/
 *   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/eaccelerator-0.9.6.1/work
>>> Preparing source in /var/tmp/portage/dev-php5/eaccelerator-0.9.6.1/work/eaccelerator-0.9.6.1 ...
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/dev-php5/eaccelerator-0.9.6.1/work/eaccelerator-0.9.6.1 ...
 * econf: updating eaccelerator-0.9.6.1/config.guess with /usr/share/gnuconfig/config.guess
 * econf: updating eaccelerator-0.9.6.1/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
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.3
checking for PHP includes... -I/usr/lib64/php5.3/include/php -I/usr/lib64/php5.3/include/php/main -I/usr/lib64/php5.3/include/php/TSRM -I/usr/lib64/php5.3/include/php/Zend -I/usr/lib64/php5.3/include/php/ext -I/usr/lib64/php5.3/include/php/ext/date/lib
checking for PHP extension directory... /usr/lib64/php5.3/lib/extensions/no-debug-non-zts-20090626
checking for PHP installed headers prefix... /usr/lib64/php5.3/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 eaccelerator support... yes, shared
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 unistd.h... (cached) yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking sched.h usability... yes
checking sched.h presence... yes
checking for sched.h... yes
checking mandatory system headers... yes
checking whether union semun is defined in sys/sem.h... no
checking for sysvipc shared memory support... yes
checking for mmap shared memory support... yes
checking for mmap on /dev/zero shared memory support... yes
checking for anonymous mmap shared memory support... yes
checking for posix mmap shared memory support... no
checking for best shared memory type... sysvipc
checking for spinlock semaphores support... yes
checking for pthread semaphores support... yes
checking for posix semaphores support... no
checking for sysvipc semaphores support... yes
checking for fcntl semaphores support... yes
checking for flock semaphores support... yes
checking for best semaphores type... spinlock
checking for mprotect... yes
checking how to print strings... printf
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 for gawk... (cached) gawk
checking command to parse /usr/bin/nm -B output from x86_64-pc-linux-gnu-gcc object... ok
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
>>> Source configured.
>>> Compiling source in /var/tmp/portage/dev-php5/eaccelerator-0.9.6.1/work/eaccelerator-0.9.6.1 ...
 * 
 * Using dev-lang/php-5.3.4
 * 
 * 
 * Using dev-lang/php-5.3.4
 * 
 * 
 * Using dev-lang/php-5.3.4
 * 
 * QA Notice: econf called in src_compile instead of src_configure
 * econf: updating eaccelerator-0.9.6.1/config.guess with /usr/share/gnuconfig/config.guess
 * econf: updating eaccelerator-0.9.6.1/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 --enable-eaccelerator=shared --with-eaccelerator-userid=102
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
configure: error: Cannot find php-config. Please use --with-php-config=PATH

!!! Please attach the following file when seeking support:
!!! /var/tmp/portage/dev-php5/eaccelerator-0.9.6.1/work/eaccelerator-0.9.6.1/config.log
 * ERROR: dev-php5/eaccelerator-0.9.6.1 failed:
 *   econf failed
 * 
 * Call stack:
 *     ebuild.sh, line   56:  Called src_compile
 *   environment, line 4063:  Called php-ext-source-r1_src_compile
 *   environment, line 3289:  Called econf '--prefix=/usr/lib64/php5' '--with-php-config=/usr/lib64/php5/bin/php-config' '--enable-eaccelerator=shared' '--with-eaccelerator-userid=102'
 *     ebuild.sh, line  552:  Called die
 * The specific snippet of code:
 *                      die "econf failed"
 * 
 * If you need support, post the output of 'emerge --info =dev-php5/eaccelerator-0.9.6.1',
 * the complete build log and the output of 'emerge -pqv =dev-php5/eaccelerator-0.9.6.1'.
 * The complete build log is located at '/var/tmp/portage/dev-php5/eaccelerator-0.9.6.1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-php5/eaccelerator-0.9.6.1/temp/environment'.
 * S: '/var/tmp/portage/dev-php5/eaccelerator-0.9.6.1/work/eaccelerator-0.9.6.1'

>>> Failed to emerge dev-php5/eaccelerator-0.9.6.1, Log file:

>>>  '/var/tmp/portage/dev-php5/eaccelerator-0.9.6.1/temp/build.log'

 * Messages for package dev-php5/eaccelerator-0.9.6.1:

 * ERROR: dev-php5/eaccelerator-0.9.6.1 failed:
 *   econf failed
 * 
 * Call stack:
 *     ebuild.sh, line   56:  Called src_compile
 *   environment, line 4063:  Called php-ext-source-r1_src_compile
 *   environment, line 3289:  Called econf '--prefix=/usr/lib64/php5' '--with-php-config=/usr/lib64/php5/bin/php-config' '--enable-eaccelerator=shared' '--with-eaccelerator-userid=102'
 *     ebuild.sh, line  552:  Called die
 * The specific snippet of code:
 *                      die "econf failed"
 * 
 * If you need support, post the output of 'emerge --info =dev-php5/eaccelerator-0.9.6.1',
 * the complete build log and the output of 'emerge -pqv =dev-php5/eaccelerator-0.9.6.1'.
 * The complete build log is located at '/var/tmp/portage/dev-php5/eaccelerator-0.9.6.1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-php5/eaccelerator-0.9.6.1/temp/environment'.
 * S: '/var/tmp/portage/dev-php5/eaccelerator-0.9.6.1/work/eaccelerator-0.9.6.1'


Reproducible: Always
Comment 1 Denis Kot 2010-12-22 10:04:02 UTC
php-config is in /usr/lib64/php5.3/bin/php-config and not it /usr/lib64/php5/bin/php-config

BTW. same error with dev-php5/pecl-memcache-2.2.5
Comment 2 Denis Kot 2010-12-22 10:06:59 UTC
Looks like it was fixed in dev-php5/eaccelerator-0.9.6.1-r1 by adding PHP_TARGETS, but dev-php5/eaccelerator-0.9.6.1-r1 is masked. Had to unmask it to complile.
Comment 3 Andrey Niahajchyk 2010-12-22 17:11:02 UTC
You can use
ln -s /usr/lib64/php5.3/bin/php-config /usr/lib64/php5/bin/
as temporary workaround
Comment 4 Andreas K. Hüttel archtester gentoo-dev 2010-12-23 21:59:22 UTC
Please attach the output of emerge --info
Comment 5 Ole Markus With (RETIRED) gentoo-dev 2010-12-23 22:23:37 UTC
(In reply to comment #1)
> php-config is in /usr/lib64/php5.3/bin/php-config and not it
> /usr/lib64/php5/bin/php-config
> 
> BTW. same error with dev-php5/pecl-memcache-2.2.5
> 

Thanks. This made me find the root cause of this problem. The php-ext-base-r1 eclass was missing a block for dev-lang/php-5.3.4 and dev-lang/php-5.2.16, causing incompatible packages to be installed on the same system.

I added the blockers now so that portage can sort this problem out by itself.
I hope that the pecl packages will be stabilised rapidly so that you don't have to ~arch those of them that you need.
Comment 6 Ole Markus With (RETIRED) gentoo-dev 2010-12-24 10:10:32 UTC
*** Bug 349245 has been marked as a duplicate of this bug. ***
Comment 7 Ole Markus With (RETIRED) gentoo-dev 2010-12-24 23:04:04 UTC
*** Bug 349295 has been marked as a duplicate of this bug. ***
Comment 8 Ole Markus With (RETIRED) gentoo-dev 2010-12-24 23:04:44 UTC
*** Bug 349441 has been marked as a duplicate of this bug. ***
Comment 9 Ole Markus With (RETIRED) gentoo-dev 2010-12-25 22:19:14 UTC
This one should be fixed now. Hopefully, the arch teams will stabilise updated pecl builds soon, giving you useful php installs again.
Comment 10 Denis Kot 2010-12-27 09:51:21 UTC
Thank you!