Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 231258
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: PHP Bugs <php-bugs@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: scwang <scwang@ios.ac.cn>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 231258 depends on: Show dependency tree
Bug 231258 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2008-07-09 03:14 0000
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 From Carsten Lohrke 2008-07-09 17:21:33 0000 -------
PHP foks, this relates to bug 231156, I missed to cc you.

------- Comment #2 From scwang 2008-07-10 03:38:04 0000 -------
(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 From Christian Hoffmann 2008-07-10 18:47:15 0000 -------
*** Bug 231402 has been marked as a duplicate of this bug. ***

------- Comment #4 From Christian Hoffmann 2008-07-10 18:50:37 0000 -------
+  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 From Marek Królikowski 2008-07-10 20:26:35 0000 -------
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 From scwang 2008-07-11 13:40:12 0000 -------
> [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 From Christian Hoffmann 2008-07-11 13:46:00 0000 -------
(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 From Robert J. Brown 2008-07-13 19:52:27 0000 -------
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 From Marek Królikowski 2008-07-13 20:12:57 0000 -------
(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 From Robert J. Brown 2008-07-13 20:25:06 0000 -------
Only I need to support IMAP as my mail access for more clients than just
squirrelmail.  :-(

------- Comment #11 From Christian Hoffmann 2008-07-13 21:37:43 0000 -------
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 From scwang 2008-07-14 02:33:15 0000 -------
(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 From Christian Hoffmann 2008-07-24 20:48:21 0000 -------
(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 From Tobias Scherbaum 2008-07-25 20:35:19 0000 -------
(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 From Tobias Scherbaum 2008-08-17 15:52:10 0000 -------
*** Bug 234285 has been marked as a duplicate of this bug. ***

------- Comment #16 From Tobias Scherbaum 2008-08-17 15:58:16 0000 -------
(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 From Simon Matthews 2008-08-19 04:29:54 0000 -------
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 From scwang 2008-08-19 05:04:43 0000 -------
(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 From Christian Hoffmann 2008-08-19 14:56:49 0000 -------
I just moved the dependency/blocker to RDEPEND in both packages, which
hopefully fixes this issue.

------- Comment #20 From Markus Meier 2008-08-20 19:30:07 0000 -------
amd64/x86 stable

------- Comment #21 From Friedrich Oslage 2008-08-21 17:08:05 0000 -------
sparc stable

------- Comment #22 From Jeroen Roovers 2008-08-22 19:26:04 0000 -------
Stable for HPPA.

------- Comment #23 From Jeroen Roovers 2008-08-22 19:27:04 0000 -------
*** Bug 235471 has been marked as a duplicate of this bug. ***

------- Comment #24 From Ian Pickworth 2008-08-22 19:34:50 0000 -------
(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 From Markus Rothe 2008-08-24 11:09:24 0000 -------
ppc64 stable

------- Comment #26 From Simon Matthews 2008-08-24 21:13:44 0000 -------
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 From Marek Królikowski 2008-08-24 21:24:22 0000 -------
emerge -C net-mail/uw-imap net-mail/uw-mailutils
emerge net-mail/uw-imap

------- Comment #28 From Christian Hoffmann 2008-08-25 10:49:39 0000 -------
(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 From Raúl Porcel 2008-08-25 19:23:02 0000 -------
alpha/ia64 stable

------- Comment #30 From Tobias Scherbaum 2008-09-20 10:04:28 0000 -------
ppc stable and closing.

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug