Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 186035 - emerge of php-5.2.2-r1 ignores some use flags
Summary: emerge of php-5.2.2-r1 ignores some use flags
Status: VERIFIED DUPLICATE of bug 186031
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-07-20 21:37 UTC by snoopdugiedog
Modified: 2007-07-20 21:39 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 snoopdugiedog 2007-07-20 21:37:41 UTC
After emerging php-5.2.2-r1 with the pcre use flag I still cannot use pcre functions. phpinfo() confirms that php was compiled with '--without-pcre-regex'. Also, some other use flags disagree with the eventual configuration. 

Reproducible: Always

Steps to Reproduce:
1. Set use flags for php to: apache2 berkdb cgi cli crypt ctype mysql ncurses nls pcre pic readline session ssl suhosin unicode zlib
(maybe the fact that I'm running a hardened system has something to do with it too)
2.emerge "=dev-lang/php-5.2.2-r1"
3.run a php script with "<?php phpinfo(); ?> or try to use pcre functions

Actual Results:  
The pcre fuctions return the error: 
Fatal error: Call to undefined function preg_match_all() 

The configure options end up having the incorrect options:
'--disable-ctype' '--without-pcre-regex' '--disable-session'
Although, I'm not sure which one is supposed to be there for the mysql use flag, but since everything that might be it is disabled, it is also not in there.

While all the other options are correct:
'--prefix=/usr/lib/php5' '--host=i486-pc-linux-gnu' '--mandir=/usr/lib/php5/man' '--infodir=/usr/lib/php5/info' '--sysconfdir=/etc' '--cache-file=./config.cache' '--disable-cli' '--with-apxs2=/usr/sbin/apxs2' '--with-config-file-path=/etc/php/apache2-php5' '--with-config-file-scan-dir=/etc/php/apache2-php5/ext-active' '--without-pear' '--disable-bcmath' '--without-bz2' '--disable-calendar' '--without-curl' '--without-curlwrappers' '--disable-dbase' '--disable-dom' '--disable-exif' '--without-fbsql' '--without-fdftk' '--disable-filter' '--disable-ftp' '--with-gettext' '--without-gmp' '--disable-hash' '--without-iconv' '--disable-ipv6' '--disable-json' '--without-kerberos' '--disable-libxml' '--disable-mbstring' '--with-mcrypt' '--without-mhash' '--without-msql' '--without-mssql' '--with-ncurses' '--with-openssl' '--with-openssl-dir=/usr' '--disable-pcntl' '--disable-pdo' '--without-pgsql' '--disable-posix' '--without-pspell' '--without-recode' '--disable-reflection' '--disable-simplexml' '--disable-shmop' '--without-snmp' '--disable-soap' '--disable-sockets' '--disable-spl' '--without-sybase' '--without-sybase-ct' '--disable-sysvmsg' '--disable-sysvsem' '--disable-sysvshm' '--without-tidy' '--disable-tokenizer' '--disable-wddx' '--disable-xml' '--disable-xmlreader' '--disable-xmlwriter' '--without-xmlrpc' '--without-xsl' '--disable-zip' '--with-zlib' '--disable-debug' '--enable-dba' '--without-cdb' '--with-db4' '--without-flatfile' '--without-gdbm' '--without-inifile' '--without-qdbm' '--without-freetype-dir' '--without-t1lib' '--disable-gd-jis-conv' '--without-jpeg-dir' '--without-png-dir' '--without-xpm-dir' '--without-gd' '--without-mysqli' '--with-readline' '--without-libedit' '--without-sqlite' '--with-pic'

Also: I did grep "pcre-regex" on the log for the emerge and it returned:
 *  Enabling pcre-regex
 *  Enabling pcre-regex
 *  Enabling pcre-regex


Expected Results:  
'--without-pcre-regex', and others should not be set as so in the configure options, or at least an error to pop up during the emerge process, notifying me that certain use flags could not be enabled for whatever reason
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2007-07-20 21:39:07 UTC

*** This bug has been marked as a duplicate of bug 186031 ***