Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 268960 - dev-lang/php-5.2.9-r2 doesn't automatically rebuild while updating www-servers/apache from 2.2.10 to 2.2.11
Summary: dev-lang/php-5.2.9-r2 doesn't automatically rebuild while updating www-serve...
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Apache Team - Bugzilla Reports
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-05-07 18:40 UTC by NiTr0
Modified: 2009-05-15 19:24 UTC (History)
0 users

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


Attachments
part of emerge.log (emerge.log,13.39 KB, text/plain)
2009-05-15 19:24 UTC, NiTr0
Details

Note You need to log in before you can comment on or make changes to this bug.
Description NiTr0 2009-05-07 18:40:02 UTC
On emerge -uDN I get upgrade of apache2 to 2.2.11 version, but php module, that is version-dependent from apache, wasn't rebuilded. So I get non-working php plugin and code listing instead of results of script execution (I'm happy that it was a home server - on big web server it'll be a serious security problem).

Reproducible: Always

Steps to Reproduce:
Install apache-2.2.10 and php, and run `emerge -uDN`.

Actual Results:  
Non-working php module and php code while browsing .php pages

Expected Results:  
Rebuilded php module

# emerge --info
Portage 2.1.6.11 (default/linux/x86/2008.0, gcc-4.3.2, glibc-2.8_p20080602-r1, 2.6.27-gentoo-r10 i686)
=================================================================
System uname: Linux-2.6.27-gentoo-r10-i686-AMD_Athlon-tm-_XP_2500+-with-glibc2.0
Timestamp of tree: Sun, 03 May 2009 00:45:01 +0000
distcc 3.0 i686-pc-linux-gnu [enabled]
app-shells/bash:     3.2_p39
dev-lang/python:     2.5.4-r2
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.13, 2.63
sys-devel/automake:  1.9.6-r2, 1.10.2
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=athlon-xp -O2 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /var/bind"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-march=athlon-xp -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache distcc distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="ftp://files.seti.kr.ua/mirrors/gentoo http://distfiles.gentoo.org http://www.ibiblio.org/pub/Linux/distributions/gentoo"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://files.seti.kr.ua/gentoo-portage"
USE="X acl acpi alsa apache2 berkdb bzip2 cgi cli cracklib crypt cups dga dri firefox fortran gd gdbm gpm hal iconv ipv6 isdnlog midi mmx mudflap mysql ncurses nls nptl nptlonly openmp pam pcre perl php pppd python readline reflection session spl sqlite squid sse ssl symlink sysfs tcpd unicode usb x86 xorg zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="vesa nv"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Benedikt Böhm (RETIRED) gentoo-dev 2009-05-15 12:38:50 UTC
php does not depend on a specific apache version, please paste error logs or something similar
Comment 2 NiTr0 2009-05-15 19:24:40 UTC
Created attachment 191410 [details]
part of emerge.log

There were no errors in logs. Just php code instead of web pages - so I spent many time to find problem. Before I tried to re-emerge php, I tried to copy apache config files from working PC, to restart apache, to reboot PC - without any results. 
Yes, you're right, there was no version problem - php was rebuilded during that update, but starts to work just after manual recompilation (I added USE flag +cgi and then ran update world). But what it was - I don't know.
Before system was updated on April 22.