Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 144328 - dev-php5/eaccelerator-0.9.5_rc1 - pkg_postinst fails
Summary: dev-php5/eaccelerator-0.9.5_rc1 - pkg_postinst fails
Status: VERIFIED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: PHP Bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-08-18 09:07 UTC by Douglas R. Hoffman
Modified: 2006-08-23 14:06 UTC (History)
1 user (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 Douglas R. Hoffman 2006-08-18 09:07:10 UTC
This line in the postinst function is throwing an error: "if built_with_use =${PHP_PKG} apache || built_with_use =${PHP_PKG} apache2 ; then"


=== the acutal error ===

!!! ERROR: dev-php5/eaccelerator-0.9.5_rc1 failed.
Call stack:
  ebuild.sh, line 1520:   Called pkg_postinst
  eaccelerator-0.9.5_rc1.ebuild, line 91:   Called built_with_use '=' 'apache'
  eutils.eclass, line 1586:   Called die


=== php version ==
PHP 5.1.4-pl6-gentoo (cli) (built: Aug 18 2006 15:31:39) (DEBUG)
Copyright (c) 1997-2006 The PHP Group
Zend Engine v2.1.0, Copyright (c) 1998-2006 Zend Technologies


=== output from emerge --info ===

Portage 2.1-r2 (default-linux/x86/2006.0, gcc-3.4.6, glibc-2.3.6-r4, 2.6.17-gentoo-r4 i686)
=================================================================
System uname: 2.6.17-gentoo-r4 i686 Intel(R) Pentium(R) D CPU 2.80GHz
Gentoo Base System version 1.12.4
app-admin/eselect-compiler: [Not Present]
dev-lang/python:     2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
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.16.1-r3
sys-devel/gcc-config: 1.3.13-r3
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium4 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-O2 -march=pentium4 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig buildpkg distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://mirrors.acm.cs.rpi.edu/gentoo/"
MAKEOPTS="-j4"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="x86 acpi cracklib nptl pam perl symlink elibc_glibc input_devices_keyboard input_devices_mouse input_devices_evdev kernel_linux userland_GNU"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 1 Julian Paredes 2006-08-21 07:08:09 UTC
Same happens here, problem started when upgrading to php-4.4.3-r1. 

All eaccelerator versions ebuilds fail (starting with eaccelerator-0.9.3)

error desc below:
---------------------------------------------------------------------------

!!! ERROR: dev-php4/eaccelerator-0.9.3 failed.
Call stack:
  ebuild.sh, line 1520:   Called pkg_postinst
  eaccelerator-0.9.3.ebuild, line 96:   Called built_with_use '=' 'apache'
  eutils.eclass, line 1594:   Called die

!!! Unable to resolve = to an installed package
!!! If you need support, post the topmost build error, and the call stack if relevant.

!!! FAILED postinst: 1
---------------------------------------------------------------------------


!!! ERROR: dev-php4/eaccelerator-0.9.4 failed.
Call stack:
  ebuild.sh, line 1520:   Called pkg_postinst
  eaccelerator-0.9.4.ebuild, line 93:   Called built_with_use '=' 'apache'
  eutils.eclass, line 1594:   Called die

!!! Unable to resolve = to an installed package
!!! If you need support, post the topmost build error, and the call stack if relevant.

!!! FAILED postinst: 1

---------------------------------------------------------------------------

!!! ERROR: dev-php4/eaccelerator-0.9.5_rc1 failed.
Call stack:
  ebuild.sh, line 1520:   Called pkg_postinst
  eaccelerator-0.9.5_rc1.ebuild, line 91:   Called built_with_use '=' 'apache'
  eutils.eclass, line 1594:   Called die

!!! Unable to resolve = to an installed package
!!! If you need support, post the topmost build error, and the call stack if relevant.

!!! FAILED postinst: 1


My emerge --info:


Portage 2.1-r2 (default-linux/x86/2006.0, gcc-3.4.6, glibc-2.3.6-r4, 2.6.17-gentoo-r4 i686)
=================================================================
System uname: 2.6.17-gentoo-r4 i686 Intel(R) Pentium(R) 4 CPU 2.80GHz
Gentoo Base System version 1.12.4
app-admin/eselect-compiler: [Not Present]
dev-lang/python:     2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
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.16.1-r3
sys-devel/gcc-config: 1.3.13-r3
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium4 -fomit-frame-pointer"
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"
CXXFLAGS="-O2 -march=pentium4 -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig buildpkg distlocks metadata-transfer parallel-fetch sandbox sfperms strict"
GENTOO_MIRRORS="http://mirror.datapipe.net/gentoo ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.samerica.gentoo.org/gentoo-portage"
USE="x86 X alsa apache2 apm arts avi berkdb bitmap-fonts cli crypt cups dlloader dri eds emboss encode esd foomaticdb fortran gdbm gif gpm gstreamer gtk gtk2 imlib ipv6 isdnlog jpeg libg++ libwww mad mikmod motif mp3 mpeg ncurses nls nptl ogg opengl oss pam pcre pdflib perl png pppd python qt3 qt4 quicktime readline reflection sdl session spell spl ssl tcpd truetype truetype-fonts type1-fonts udev vorbis xml xmms xorg xv zlib elibc_glibc input_devices_keyboard input_devices_mouse input_devices_evdev kernel_linux userland_GNU video_cards_apm video_cards_ark video_cards_ati video_cards_chips video_cards_cirrus video_cards_cyrix video_cards_dummy video_cards_fbdev video_cards_glint video_cards_i128 video_cards_i740 video_cards_i810 video_cards_imstt video_cards_mga video_cards_neomagic video_cards_nsc video_cards_nv video_cards_rendition video_cards_s3 video_cards_s3virge video_cards_savage video_cards_siliconmotion video_cards_sis video_cards_sisusb video_cards_tdfx video_cards_tga video_cards_trident video_cards_tseng video_cards_v4l video_cards_vesa video_cards_vga video_cards_via video_cards_vmware video_cards_voodoo"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY

Comment 2 Julian Paredes 2006-08-21 07:18:44 UTC
Correction, just downgraded to dev-lang/php-4.4.2-r6 and compiled eaccelerator-0.9.5_rc1 agains it and keeps failing. There must be some other conflict.

Comment 3 Luca Longinotti (RETIRED) gentoo-dev 2006-08-21 10:53:28 UTC
Should be fixed now in CVS, please emerge --sync in a couple of hours to get the fixed ebuild. And please report back if it now works or not for you, thanks!
Best regards, CHTEKK.
Comment 4 Douglas R. Hoffman 2006-08-23 12:49:28 UTC
works for me...  why wasn't the ebuild version bumped?
Comment 5 Luca Longinotti (RETIRED) gentoo-dev 2006-08-23 13:52:38 UTC
(In reply to comment #4)
> works for me...  why wasn't the ebuild version bumped?
> 

Why should it have? pkg_postinst only contains a warning, so for whom already managed to install the package, who cares that they didn't see that info. And for the ones that didn't manage to install... Well, as you have nothing installed, the package still shows up as NEW, so why revbumping it? Wouldn't help anyone, and it's our policy to not do revbump without reasons.
Best regards, CHTEKK.
Comment 6 Julian Paredes 2006-08-23 14:00:40 UTC
It wasnt just a warning for me. Upgrading the package broke apache when i restarted it. I had to prevent php from loading the module. Now i recompiled and it worked, but since it wasn't version bumped i didnt notice till i saw the "solved" from Douglas, if not i would still be waiting.
Comment 7 Jakub Moc (RETIRED) gentoo-dev 2006-08-23 14:06:04 UTC
Enough noise here... Failed einfo in no way breaks apache. This bug is closed, thanks.