Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 231258 - >=dev-lang/php-5.2.6-r2 requires >=virtual/imap-c-client-2006k
Summary: >=dev-lang/php-5.2.6-r2 requires >=virtual/imap-c-client-2006k
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: PHP Bugs
URL:
Whiteboard:
Keywords: STABLEREQ
: 231402 234285 235471 (view as bug list)
Depends on:
Blocks:
 
Reported: 2008-07-09 03:14 UTC by scwang
Modified: 2008-09-20 10:04 UTC (History)
6 users (show)

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 scwang 2008-07-09 03:14:44 UTC
There is no datatype definition for RFC822BUFFER in the net-libs/c-client-2004g. The datatype RFC822BUFFER is used in the dev-lang/php-5.2.6-r1. So it will fail when compiling php with net-libs/c-client-2004g.

Update to net-libs/c-client-2006k is necessary for the successful compiling of dev-lang/php-5.2.6-r1. Maybe we should add a dependency of c-client-2006k in php-5.2.6-r1 ebuild.

Reproducible: Always
Comment 1 Carsten Lohrke (RETIRED) gentoo-dev 2008-07-09 17:21:33 UTC
PHP foks, this relates to bug 231156, I missed to cc you.
Comment 2 scwang 2008-07-10 03:38:04 UTC
(In reply to comment #1)
> PHP foks, this relates to bug 231156, I missed to cc you.
> 

Although both of them are related with c-client-2006k, there is no direct relation  between them. In one word, this bug can be solved by adding a new ebuild dependency.
Comment 3 Christian Hoffmann (RETIRED) gentoo-dev 2008-07-10 18:47:15 UTC
*** Bug 231402 has been marked as a duplicate of this bug. ***
Comment 4 Christian Hoffmann (RETIRED) gentoo-dev 2008-07-10 18:50:37 UTC
+  10 Jul 2008; Christian Hoffmann <hoffie@gentoo.org> php-5.2.6-r2.ebuild:
+  the ext/imap security patch introduced in php-5.2.6-r2 raises the
+  dependency on c-client to version 2006k, fixing DEPEND accordingly, bug
+  231258

Thanks for the reports, should be fixed now.
Comment 5 Marek Królikowski 2008-07-10 20:26:35 UTC
i don`t use net-libs/c-client i use at server: net-mail/uw-imap

If i try now update php i got error:
Calculating world dependencies... done!
[ebuild     U ] dev-lang/php-5.2.6-r2 [5.2.6_rc4] USE="apache2 berkdb cli crypt ctype doc gd gdbm iconv imap mysql ncurses nls pcre readline reflection session spl ssl unicode xml zlib -adabas -bcmath -birdstep -bzip2 -calendar -cdb -cgi -cjk -concurrentmodphp -curl -curlwrappers -db2 -dbase -dbmaker -debug -discard-path -empress -empress-bcs -esoob -exif -fastbuild -fdftk -filter -firebird -flatfile -force-cgi-redirect -frontbase -ftp -gd-external -gmp -hash -inifile -interbase -iodbc -ipv6 (-java-external) -json -kerberos -kolab% -ldap -ldap-sasl -libedit -mcve -mhash -msql -mssql -mysqli -oci8 -oci8-instant-client -odbc -pcntl -pdo -pic -posix -postgres -qdbm -recode -sapdb -sharedext -sharedmem -simplexml -snmp -soap -sockets -solid -spell -sqlite -suhosin -sybase -sybase-ct -sysvipc -threads -tidy -tokenizer -truetype -wddx -xmlreader -xmlrpc -xmlwriter -xpm -xsl -yaz -zip -zip-external" 0 kB
[ebuild  N    ]  net-libs/c-client-2006k  USE="pam ssl -kolab" 2,660 kB
[blocks B     ] net-libs/c-client (is blocking net-mail/uw-imap-2004g-r2)
[blocks B     ] net-mail/uw-imap (is blocking net-libs/c-client-2006k)

Comment 6 scwang 2008-07-11 13:40:12 UTC
> [ebuild  N    ]  net-libs/c-client-2006k  USE="pam ssl -kolab" 2,660 kB
> [blocks B     ] net-libs/c-client (is blocking net-mail/uw-imap-2004g-r2)
> [blocks B     ] net-mail/uw-imap (is blocking net-libs/c-client-2006k)
> 

I don't use uw-imap, so I don't know exactly how to deal with your problem. But IMHO, I think you can unmerge uw-imap and try it again.

And after checking the new php-5.2.6-r2 ebuild, I think you must use c-client for imap in php.
Comment 7 Christian Hoffmann (RETIRED) gentoo-dev 2008-07-11 13:46:00 UTC
(In reply to comment #5)
> i don`t use net-libs/c-client i use at server: net-mail/uw-imap
If you want to use php w/ USE=imap, you need net-libs/c-client. It has always been like that. However, the dependency on the version of c-client was raised yesterday. Maybe this is the cause (didn't check), but it's unlikely and we cannot do anything about it.

If you still think this is a problem, which can be fixed, please file a seperate bug report. Your problem is different from the one which has been discussed (and fixed) in this ticket.
Comment 8 Robert J. Brown 2008-07-13 19:52:27 UTC
c-client is an IMAP client.  uw-imap is an IMAP server.  I run uw-imap as my IMAP server, and apache/php/squirrelmail for web mail access; therefore, I need uw-imap for my IMAP server, and c-client is now imposed by the php that runs squirrelmail, which creates a conflict.  Why should the c-client imap client and the uw-imap imap server have anything in common to conflict with each other?  Something's goofy here!
Comment 9 Marek Królikowski 2008-07-13 20:12:57 UTC
(In reply to comment #8)
> c-client is an IMAP client.  uw-imap is an IMAP server.  I run uw-imap as my
> IMAP server, and apache/php/squirrelmail for web mail access; therefore, I need
> uw-imap for my IMAP server, and c-client is now imposed by the php that runs
> squirrelmail, which creates a conflict.  Why should the c-client imap client
> and the uw-imap imap server have anything in common to conflict with each
> other?  Something's goofy here!
> 

Got this same problem. uw-imap is an IMAP server and  apache/php/squirrelmail for web mail access - and can`t compile a new php.
For now i use -imap in php flags.
Comment 10 Robert J. Brown 2008-07-13 20:25:06 UTC
Only I need to support IMAP as my mail access for more clients than just squirrelmail.  :-(
Comment 11 Christian Hoffmann (RETIRED) gentoo-dev 2008-07-13 21:37:43 UTC
Well, I haven't considered uw-imap as it has no recent version in the tree. Apparently the versions are identical to c-client, so it should be fine once we've got it bumped.
I'll hopefully open another bug report about this issue tomorrow, as this it not really related to this big report.
Comment 12 scwang 2008-07-14 02:33:15 UTC
(In reply to comment #11)
> Well, I haven't considered uw-imap as it has no recent version in the tree.
> Apparently the versions are identical to c-client, so it should be fine once
> we've got it bumped.
> I'll hopefully open another bug report about this issue tomorrow, as this it
> not really related to this big report.
> 

It seems the Gentoo is seriously outdated. I think we need to update uw-imap, c-client to the latest version, which is 2007b currently. After the update, it's proper to change the dependency of php-5.2.6-r2 from "imap ? (>=net-libs/c-client-2006k )" to "imap ? (virtual/imap-c-client)".
Comment 13 Christian Hoffmann (RETIRED) gentoo-dev 2008-07-24 20:48:21 UTC
(In reply to comment #12)
> (In reply to comment #11)
> It seems the Gentoo is seriously outdated. I think we need to update uw-imap,
> c-client to the latest version, which is 2007b currently. After the update,
> it's proper to change the dependency of php-5.2.6-r2 from "imap ?
> (>=net-libs/c-client-2006k )" to "imap ? (virtual/imap-c-client)".
With approval from dertobi123 I bumped uw-imap (see bug 153281) and changed php's dependency accordingly.

Now we need this version stable (as php is as well). CC'ing net-mail team for that matter and hoping that we can do that in some days. At least users now have the opportunity to easily "fix" that themselves (simply appending net-mail/uw-imap + deps to package.keywords should work).

Target keywords for net-mail/uw-imap and net-mail/uw-mailutils are:
alpha amd64 hppa ia64 ppc ppc64 sparc x86 (~s390 ~arm ~sh ~x86-fbsd)

net-mail, feel free to request stabilization whenever you want.
Comment 14 Tobias Scherbaum (RETIRED) gentoo-dev 2008-07-25 20:35:19 UTC
(In reply to comment #13)
> net-mail, feel free to request stabilization whenever you want.

Given the fact it took almost two years to get newer uw-imap and uw-mailutils into the tree it should be no problem to wait the usual 30 days.
Comment 15 Tobias Scherbaum (RETIRED) gentoo-dev 2008-08-17 15:52:10 UTC
*** Bug 234285 has been marked as a duplicate of this bug. ***
Comment 16 Tobias Scherbaum (RETIRED) gentoo-dev 2008-08-17 15:58:16 UTC
(In reply to comment #13)
> Target keywords for net-mail/uw-imap and net-mail/uw-mailutils are:
> alpha amd64 hppa ia64 ppc ppc64 sparc x86 (~s390 ~arm ~sh ~x86-fbsd)
> 
> net-mail, feel free to request stabilization whenever you want.

Let's get this done.

Please mark as stable:
=net-mail/uw-imap-2007b
=net-mail/uw-mailutils-2007b 

Comment 17 Simon Matthews 2008-08-19 04:29:54 UTC
I marked both uw-imap and uw-mailutils as ~x86 in /etc/portage/packages.keywords and get the following when I try to update uw-imap:

[ebuild     U ] net-mail/uw-imap-2007b [2004g-r2] 
[ebuild     U ] net-mail/uw-mailutils-2007b [2004g] 
[blocks B     ] <net-mail/uw-imap-2007b (is blocking net-mail/uw-mailutils-2007b

If I read the ebuilds correctly, uw-imap-2007b requires uw-mailutils-2007b. but uw-mailutils-2007b has a DEPEND that excludes uw-imap:
DEPEND="virtual/libc
    !<net-mail/uw-imap-${PV}
    !<mail-client/pine-4.64-r1"
Comment 18 scwang 2008-08-19 05:04:43 UTC
(In reply to comment #17)
> uw-mailutils-2007b has a DEPEND that excludes uw-imap:
> DEPEND="virtual/libc
>     !<net-mail/uw-imap-${PV}
>     !<mail-client/pine-4.64-r1"
> 

The dependency !<net-mail/uw-imap-${PV} just exclude uw-imap which version is less than ${PV} (2007b), not uw-imap-2007b.
Comment 19 Christian Hoffmann (RETIRED) gentoo-dev 2008-08-19 14:56:49 UTC
I just moved the dependency/blocker to RDEPEND in both packages, which hopefully fixes this issue.
Comment 20 Markus Meier gentoo-dev 2008-08-20 19:30:07 UTC
amd64/x86 stable
Comment 21 Friedrich Oslage (RETIRED) gentoo-dev 2008-08-21 17:08:05 UTC
sparc stable
Comment 22 Jeroen Roovers (RETIRED) gentoo-dev 2008-08-22 19:26:04 UTC
Stable for HPPA.
Comment 23 Jeroen Roovers (RETIRED) gentoo-dev 2008-08-22 19:27:04 UTC
*** Bug 235471 has been marked as a duplicate of this bug. ***
Comment 24 Ian Pickworth 2008-08-22 19:34:50 UTC
(In reply to comment #19)
> I just moved the dependency/blocker to RDEPEND in both packages, which
> hopefully fixes this issue.
> 
I don't think it does, since the block is still present when emerge attempted.
As reported in bug just marked as a duplicate of this one:  Bug 235471
Your update dated 19 August, emerge -uNDpv world fails 22nd August.

Comment 25 Markus Rothe (RETIRED) gentoo-dev 2008-08-24 11:09:24 UTC
ppc64 stable
Comment 26 Simon Matthews 2008-08-24 21:13:44 UTC
Is this bug going to be fixed? It appears that people think it is, yet the results on my latest attempt to update my system result in:

[blocks B     ] <net-mail/uw-imap-2007b (is blocking net-mail/uw-mailutils-2007b)

Comment 27 Marek Królikowski 2008-08-24 21:24:22 UTC
emerge -C net-mail/uw-imap net-mail/uw-mailutils
emerge net-mail/uw-imap
Comment 28 Christian Hoffmann (RETIRED) gentoo-dev 2008-08-25 10:49:39 UTC
(In reply to comment #26)
> Is this bug going to be fixed? It appears that people think it is, yet the
> results on my latest attempt to update my system result in:
Well, I see the blocker as well, but portage-2.2 automatically solves it without user interaction. I'm pretty sure this is not a regression (i.e. it probably happened when upgrading to 2004g as well) and there is probably really no way to solve this without removing the blocker completely, and I won't do that unless I know why it has been there in the first place. Any comments, net-mail?

As a workaround, either do it as Marek Królikowski suggested in comment 27, or like that:
  emerge --nodeps -1 uw-mailutils
  emerge --noreplace -1 uw-imap uw-mailutils
Comment 29 Raúl Porcel (RETIRED) gentoo-dev 2008-08-25 19:23:02 UTC
alpha/ia64 stable
Comment 30 Tobias Scherbaum (RETIRED) gentoo-dev 2008-09-20 10:04:28 UTC
ppc stable and closing.