Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 328231 - mail-client/roundcube-0.3.1 shouldn't require USE="pcre spl" with dev-lang/php-5.3.*
Summary: mail-client/roundcube-0.3.1 shouldn't require USE="pcre spl" with dev-lang/ph...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: AMD64 Linux
: High normal with 1 vote (vote)
Assignee: Gentoo Web Application Packages Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-07-14 08:05 UTC by Charlie Gehlin
Modified: 2010-09-28 05:39 UTC (History)
2 users (show)

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


Attachments
Ebuild with that works with php-5.3 (roundcube-0.3.1.ebuild,1.91 KB, text/plain)
2010-07-17 21:02 UTC, Nathan Levin-Greenhaw
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Charlie Gehlin 2010-07-14 08:05:19 UTC
mail-client/roundcube-0.3.1 shouldn't require USE="pcre spl" with dev-lang/php-5.3.* as according to:

$ grep php /usr/portage/profiles/use.local.desc | grep pcre
dev-lang/php:pcre - Adds support for Perl Compatible Regular Expressions (deprecated: always "on" in php 5.3)

and

$ grep php /usr/portage/profiles/use.local.desc | grep spl
dev-lang/php:spl - Adds support for the Standard PHP Library (deprecated: always "on" in php 5.3)

Reproducible: Always

Steps to Reproduce:
1.emerge -uDNpv world
2.
3.

Actual Results:  
# emerge -uDNpv world

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild     UD] dev-lang/php-5.2.13 [5.3.2] USE="apache2 bcmath berkdb bzip2 cli crypt ctype curl exif filter ftp gd gdbm gmp iconv imap ipv6 kerberos ldap mcve%* mysql mysqli ncurses%* nls odbc pcntl pcre%* readline reflection%* session sharedext snmp spl%* ssl threads truetype unicode xml xpm zip zlib (-adabas) (-birdstep) -calendar -cdb -cgi -cjk -concurrentmodphp -curlwrappers -db2 -dbase% (-dbmaker) -debug -discard-path% -doc (-empress) (-empress-bcs) (-esoob) -fastbuild% (-fdftk) (-firebird) -flatfile -force-cgi-redirect% (-frontbase) -gd-external -hash* -inifile -interbase -iodbc (-java-external) -json* -kolab -ldap-sasl -libedit -mhash% -msql% -mssql -oci8 -oci8-instant-client -pdo -pic -posix* -postgres -qdbm -recode -sapdb -sharedmem -simplexml* -soap -sockets (-solid) -spell -sqlite -suhosin (-sybase) (-sybase-ct) -sysvipc -tidy -tokenizer* -wddx -xmlreader -xmlrpc -xmlwriter -xsl -yaz% (-embed%) (-enchant%) (-fileinfo%*) (-intl%) (-mysqlnd%) (-phar%*) (-sqlite3%)" 0 kB
[ebuild     U ] dev-php5/pecl-mcve-7.0.3 [5.2.2-r1] 20 kB
[ebuild  NS   ] virtual/httpd-php-5.2 [5.3] 0 kB

Total: 3 packages (1 upgrade, 1 downgrade, 1 in new slot), Size of downloads: 20 kB

!!! One or more updates have been skipped due to a dependency conflict:

dev-lang/php:5

  ('ebuild', '/', 'dev-lang/php-5.3.2', 'merge') conflicts with
    dev-lang/php[pcre,iconv,crypt,session,spl,unicode,ssl,ldap] required by ('installed', '/', 'mail-client/roundcube-0.3.1', 'nomerge')


Expected Results:  
mail-client/roundcube-0.3.1 not to complain about php-5.3 use flags :)

I can't say for sure that roundcube actually works with php-5.3,
but fixing ebuild would be a good point to start testing :)
Comment 1 Rebecca Menessec 2010-07-16 07:35:58 UTC
Same problem, dev-db/phpadmin.  (And it could use a version bump to latest stable.)
Comment 2 Nathan Levin-Greenhaw 2010-07-17 21:02:37 UTC
Created attachment 239185 [details]
Ebuild with that works with php-5.3

Changed RDEPEND to
RDEPEND="|| ( <dev-lang/php-5.3[crypt,iconv,ldap?,pcre,postgres?,session,spl,ssl?,unicode]
	>=dev-lang/php-5.3[crypt,iconv,ldap?,postgres?,ssl?,unicode] )
	!postgres? ( !mysql? ( dev-lang/php[sqlite] ) )
	spell? ( dev-lang/php[curl,spell] )
	dev-php/PEAR-PEAR
"
Comment 3 Charlie Gehlin 2010-07-18 12:55:04 UTC
Ebuild works good, thank you!
Please add to tree and mark bug a resolved =)

/Charlie
Comment 4 Jens Maus 2010-08-15 08:46:15 UTC
I have the same problem here with my installation and temporarly fixed it with the updated .ebuild file from Natahn. Now my system doesn't want to downgrade anymore due to the incorrect dependencies in the 0.3.1 ebuild.

So please finally release the updated ebuild.
Comment 5 Tim Harder gentoo-dev 2010-09-28 05:39:31 UTC
Fixed in the latest revision bump.