| Summary: | dev-lang/php-5.5.22 - configure: error: This c-client library is built with Kerberos support. | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Dennis Schridde <dschridde+gentoobugs> |
| Component: | Current packages | Assignee: | PHP Bugs <php-bugs> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | net-mail+disabled |
| Priority: | Normal | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
| Attachments: |
build.log
config.log |
||
|
Description
Dennis Schridde
2015-02-22 14:00:20 UTC
Created attachment 397220 [details]
config.log
dev-lang/php-5.5.21 was built with the following: USE="bcmath berkdb bzip2 cgi cli crypt ctype curl exif fileinfo filter fpm ftp gd gdbm hash iconv imap intl ipv6 json ldap mysql mysqli nls opcache pdo phar posix readline session simplexml snmp sockets sqlite ssl threads tokenizer unicode xml xmlrpc xmlwriter zip zlib -apache2 -calendar -cdb -cjk -debug -embed -enchant (-firebird) -flatfile (-frontbase) -gmp -inifile -iodbc -kerberos -ldap-sasl -libedit -libmysqlclient -mhash -mssql -oci8-instant-client -odbc -pcntl -postgres -qdbm -recode (-selinux) -sharedmem -soap -spell (-sybase-ct) -systemd -sysvipc -tidy -truetype -vpx -wddx -xmlreader -xpm -xslt" ABI_X86="64" Persists in 5.5.22.
Fix:
--- /var/cache/portage/gentoo/dev-lang/php/php-5.5.22.ebuild 2015-03-04 07:01:06.000000000 +0100
+++ /var/cache/portage/gentoo/dev-lang/php/php-5.5.22-r1.ebuild 2015-03-04 14:43:42.557394806 +0100
@@ -101,7 +101,7 @@
gdbm? ( >=sys-libs/gdbm-1.8.0 )
gmp? ( >=dev-libs/gmp-4.1.2 )
iconv? ( virtual/libiconv )
- imap? ( virtual/imap-c-client[ssl=] )
+ imap? ( >=virtual/imap-c-client-2[kerberos=,ssl=] )
intl? ( dev-libs/icu:= )
iodbc? ( dev-db/libiodbc )
kerberos? ( virtual/krb5 )
--- /var/cache/portage/gentoo/virtual/imap-c-client/imap-c-client-1.ebuild 2012-05-29 19:10:28.000000000 +0200
+++ /var/cache/portage/gentoo/virtual/imap-c-client/imap-c-client-2.ebuild 2015-03-04 14:45:12.607934407 +0100
@@ -11,8 +11,8 @@
LICENSE=""
SLOT="0"
KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 s390 sh sparc x86 ~amd64-fbsd ~x86-fbsd"
-IUSE="ssl"
+IUSE="kerberos ssl"
DEPEND=""
-RDEPEND=" || ( net-libs/c-client[ssl=]
- net-mail/uw-imap[ssl=] )"
+RDEPEND=" || ( net-libs/c-client[kerberos=,ssl=]
+ net-mail/uw-imap[kerberos=,ssl=] )"
@net-mail: the first step to fixing this is to add a new "kerberos" USE flag to virtual/imap-c-client, and to propagate it to uw-imap or c-client. After that, I can make sure that php and imap-c-client flag values agree. Sound good? For my own reference: it looks like you can successfully build PHP with kerberos support against an IMAP library that doesn't have it. However, the --with-kerberos flag for PHP gets stored as the $PHP_KERBEROS variable, and the only place it is used is in the imap extension. So, it doesn't make any sense to build PHP with kerberos unless the IMAP library has it, too. Thus Dennis's new dependency is the correct one: imap? ( >=virtual/imap-c-client-2[kerberos=,ssl=] ) Thanks for your patience. I added a new version of the virtual, and the latest three PHP ebuilds all have the new USE dependency. The virtual will probably go stable quickly, as soon as there's a new security release of php:5.6 (which will have to have its dependencies stabilized before itself can be). |