Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 100636 - PHP5 eclass runs configuration directives twice during emerge
Summary: PHP5 eclass runs configuration directives twice during emerge
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: All Linux
: High trivial
Assignee: PHP Bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-07-28 14:09 UTC by Láďa Durchánek
Modified: 2005-08-22 05:18 UTC (History)
0 users

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 Láďa Durchánek 2005-07-28 14:09:19 UTC
php5-sapi-r2.eclass runs php5-sapi-r2_check_awkward_uses twice, giving strange
looking <? php_info() ?> output. It's run in php5-sapi-r2_pkg_setup() for the
first time and again in php5-sapi-r2_src_compile(). Second run is useless i
think and i could comment it out without any problem.

Reproducible: Always
Steps to Reproduce:
1.
2.
3.




Portage 2.0.51.22-r2 (default-linux/x86/2005.0, gcc-3.3.5-20050130,
glibc-2.3.5-r0, 2.6.12-gentoo-r6 i686)
=================================================================
System uname: 2.6.12-gentoo-r6 i686 Intel(R) Pentium(R) 4 CPU 2.66GHz
Gentoo Base System version 1.6.13
dev-lang/python:     2.3.5
sys-apps/sandbox:    1.2.10
sys-devel/autoconf:  2.59-r6
sys-devel/automake:  1.9.5
sys-devel/binutils:  2.15.92.0.2-r10
sys-devel/libtool:   1.5.18-r1
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O3 -march=pentium4 -fomit-frame-pointer -pipe -mfpmath=sse -msse2"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config
/usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O3 -march=pentium4 -fomit-frame-pointer -pipe -mfpmath=sse -msse2"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="ftp://pandemonium.tiscali.de/pub/gentoo/ http://gentoo.ynet.sk/pub"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="x86 apache2 hardened imap libwww maildir mmx mysql ncurses nptl nptlonly
pam php sasl sse ssl tcpd xml2 userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS
Comment 1 Láďa Durchánek 2005-07-28 16:00:04 UTC
Yep, commenting php5-sapi-r2_check_awkward_uses wasn't good idea, as long as
it's needed by dev-php/php.
Comment 2 Stuart Herbert (RETIRED) gentoo-dev 2005-08-22 05:18:44 UTC
Hi,

This is fixed in the PHP packages in the Gentoo PHP Overlay [1].  We hope to get
these packages into Portage in the next few weeks, but in the meantime, please
feel free to switch to the overlay.

[1] http://svn.gnqs.org/projects/gentoo-php-overlay/

Best regards,
Stu