Gentoo Forums
Gentoo Forums
Quick Search: in
Bogus blocker for mod_perl ?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
Greg Lindahl
n00b
n00b


Joined: 07 Mar 2005
Posts: 17

PostPosted: Tue May 22, 2007 7:03 pm    Post subject: Bogus blocker for mod_perl ? Reply with quote

How can I disabuse portage of this notion?

Code:

# emerge -p  -u mod_perl

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

Calculating dependencies... done!
[ebuild     U ] www-apache/mod_perl-2.0.3-r1 [2.0.1-r2]
[ebuild  N    ] dev-perl/Apache-Test-1.29 
[blocks B     ] dev-perl/Apache-Test (is blocking www-apache/mod_perl-2.0.1-r2)
Back to top
View user's profile Send private message
maczo
n00b
n00b


Joined: 24 Oct 2006
Posts: 45
Location: Warsaw

PostPosted: Wed May 23, 2007 7:17 pm    Post subject: Reply with quote

I just emerge --synce'ed and tried:

Code:

emerge -p mod_perl

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

Calculating dependencies... done!
[ebuild  N    ] dev-perl/Apache-Test-1.29 
[ebuild  N    ] www-apache/mod_perl-2.0.3-r1 


Do you still have that problem ? If yes, try unmerging what you have out of these packages and emerge from scratch.
Back to top
View user's profile Send private message
Greg Lindahl
n00b
n00b


Joined: 07 Mar 2005
Posts: 17

PostPosted: Wed May 23, 2007 8:25 pm    Post subject: Reply with quote

Yes, I still have the problem after a new sync.

I know that unmerging/merging mod_perl will probably solve it, but, this is a production server, and I'd like to minimize downtime.

-- greg
Back to top
View user's profile Send private message
desultory
Administrator
Administrator


Joined: 04 Nov 2005
Posts: 6901

PostPosted: Thu May 24, 2007 6:30 am    Post subject: Reply with quote

As a production server, is there a system (or chroot) available to build packages for installation on it? If so, that could provide a method of minimizing downtime.
Back to top
View user's profile Send private message
Greg Lindahl
n00b
n00b


Joined: 07 Mar 2005
Posts: 17

PostPosted: Thu May 24, 2007 5:55 pm    Post subject: Reply with quote

Indeed, I could use a sledge-hammer to squash this fly. I was hoping someone could tell me how to convince emerge to stop being confused.

-- greg
Back to top
View user's profile Send private message
jmbsvicetto
Moderator
Moderator


Joined: 27 Apr 2005
Posts: 4725
Location: Angra do Heroísmo (PT)

PostPosted: Thu May 24, 2007 6:04 pm    Post subject: Reply with quote

Hi.

If you look at /usr/portage/www-apache/mod_perl/mod_perl-2.0.3-r1.ebuild you'll see:
Code:
DEPEND=">=dev-perl/Apache-Test-1.27
        >=virtual/perl-CGI-3.08
        >=dev-perl/Compress-Zlib-1.09
        app-admin/sudo"

I've looked at the Apache-Test-1.29.ebuild and it doesn't have any block. However, /usr/portage/dev-perl/Apache-Test/Apache-Test-1.26.ebuild has the following:
Code:
DEPEND="net-www/apache
        !>=www-apache/mod_perl-2
        dev-lang/perl"

Thus, assuming you do have Apache-Test-1.26, you just need to remove Apache-Test, update mod_perl and then reinstall Apache-Test again.
_________________
Jorge.

Your twisted, but hopefully friendly daemon.
AMD64 / x86 / Sparc Gentoo
Help answer || emwrap.sh
Back to top
View user's profile Send private message
Greg Lindahl
n00b
n00b


Joined: 07 Mar 2005
Posts: 17

PostPosted: Thu May 24, 2007 6:11 pm    Post subject: Reply with quote

I do not have Apache-Test installed. You can see that in my original post.
Back to top
View user's profile Send private message
jmbsvicetto
Moderator
Moderator


Joined: 27 Apr 2005
Posts: 4725
Location: Angra do Heroísmo (PT)

PostPosted: Thu May 24, 2007 6:16 pm    Post subject: Reply with quote

Greg Lindahl wrote:
I do not have Apache-Test installed. You can see that in my original post.

Sorry, I failed to notice that. Can you please add the output of emerge -uDvpt mod_perl?
_________________
Jorge.

Your twisted, but hopefully friendly daemon.
AMD64 / x86 / Sparc Gentoo
Help answer || emwrap.sh
Back to top
View user's profile Send private message
jmbsvicetto
Moderator
Moderator


Joined: 27 Apr 2005
Posts: 4725
Location: Angra do Heroísmo (PT)

PostPosted: Thu May 24, 2007 6:17 pm    Post subject: Reply with quote

jmbsvicetto wrote:

If you look at /usr/portage/www-apache/mod_perl/mod_perl-2.0.3-r1.ebuild you'll see:
Code:
DEPEND=">=dev-perl/Apache-Test-1.27
        >=virtual/perl-CGI-3.08
        >=dev-perl/Compress-Zlib-1.09
        app-admin/sudo"


I wonder if that DEPEND line should be updated to >=dev-perl/Apache-Test-1.29.
_________________
Jorge.

Your twisted, but hopefully friendly daemon.
AMD64 / x86 / Sparc Gentoo
Help answer || emwrap.sh
Back to top
View user's profile Send private message
Greg Lindahl
n00b
n00b


Joined: 07 Mar 2005
Posts: 17

PostPosted: Thu May 24, 2007 6:19 pm    Post subject: Reply with quote

root@XXX / # emerge -uDvpt mod_perl

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

Code:
Calculating dependencies... done!
[nomerge      ] www-apache/mod_perl-2.0.3-r1 [2.0.1-r2] USE="(-minimal%)"
[ebuild  N    ]  dev-perl/Apache-Test-1.29  148 kB
[ebuild     U ] www-apache/mod_perl-2.0.3-r1 [2.0.1-r2] USE="(-minimal%)" 3,628 kB
[nomerge      ]  app-admin/sudo-1.6.8_p12-r1  USE="ldap pam -offensive -selinux -skey"
[nomerge      ]   mail-mta/postfix-2.3.6  USE="hardened ipv6 ldap mbox pam sasl ssl -cdb -dovecot-sasl -mailwrapper -mysql -nis -postgres -selinux -vda"
[ebuild     U ]    dev-libs/cyrus-sasl-2.1.22-r2 [2.1.21-r2] USE="berkdb crypt gdbm kerberos* ldap* pam ssl -authdaemond -java -mysql* -ntlm_unsupported_patch -postgres -sample -srp -urandom" 1,572 kB
[nomerge      ] www-apache/mod_perl-2.0.3-r1 [2.0.1-r2] USE="(-minimal%)"
[nomerge      ]  app-admin/sudo-1.6.8_p12-r1  USE="ldap pam -offensive -selinux -skey"
[nomerge      ]   mail-mta/postfix-2.3.6  USE="hardened ipv6 ldap mbox pam sasl ssl -cdb -dovecot-sasl -mailwrapper -mysql -nis -postgres -selinux -vda"
[nomerge      ]    dev-libs/cyrus-sasl-2.1.22-r2 [2.1.21-r2] USE="berkdb crypt gdbm kerberos* ldap* pam ssl -authdaemond -java -mysql* -ntlm_unsupported_patch -postgres -sample -srp -urandom"
[nomerge      ]     dev-libs/openssl-0.9.8d  USE="zlib -bindist -emacs -sse2 -test"
[nomerge      ]      app-misc/ca-certificates-20070303-r1 [20050804]
[nomerge      ]       sys-apps/portage-2.1.2.7  USE="-build -doc -epydoc -selinux" LINGUAS="-pl"
[nomerge      ]        dev-lang/python-2.4.4-r4 [2.4.3-r4] USE="berkdb gdbm ipv6 ncurses readline ssl -bootstrap -build -doc -examples% -nocxx -nothreads% -tk -ucs2"
[ebuild  N    ]         app-admin/python-updater-0.2  3 kB
[nomerge      ]    net-mail/mailbase-1  USE="pam"
[nomerge      ]     sys-libs/pam-0.78-r5  USE="berkdb -nis -pam_chroot -pam_console -pam_timestamp -pwdb -selinux"
[nomerge      ]      sys-libs/cracklib-2.8.9-r1  USE="nls python"
[ebuild     U ]       dev-lang/python-2.4.4-r4 [2.4.3-r4] USE="berkdb gdbm ipv6 ncurses readline ssl -bootstrap -build -doc -examples% -nocxx -nothreads% -tk -ucs2" 7,976 kB
[nomerge      ] www-apache/mod_perl-2.0.3-r1 [2.0.1-r2] USE="(-minimal%)"
[nomerge      ]  app-admin/sudo-1.6.8_p12-r1  USE="ldap pam -offensive -selinux -skey"
[nomerge      ]   mail-mta/postfix-2.3.6  USE="hardened ipv6 ldap mbox pam sasl ssl -cdb -dovecot-sasl -mailwrapper -mysql -nis -postgres -selinux -vda"
[nomerge      ]    net-mail/mailbase-1  USE="pam"
[nomerge      ]     sys-libs/pam-0.78-r5  USE="berkdb -nis -pam_chroot -pam_console -pam_timestamp -pwdb -selinux"
[nomerge      ]      sys-libs/cracklib-2.8.9-r1  USE="nls python"
[nomerge      ]       dev-lang/python-2.4.4-r4 [2.4.3-r4] USE="berkdb gdbm ipv6 ncurses readline ssl -bootstrap -build -doc -examples% -nocxx -nothreads% -tk -ucs2"
[nomerge      ]        app-admin/python-updater-0.2 
[nomerge      ]         sys-apps/portage-2.1.2.7  USE="-build -doc -epydoc -selinux" LINGUAS="-pl"
[ebuild     U ]          sys-apps/coreutils-6.7-r1 [6.4] USE="acl* nls (-selinux) -static -xattr%" 5,223 kB
[ebuild     U ]          net-misc/rsync-2.6.9-r2 [2.6.8-r2] USE="acl ipv6 -static -xinetd (-build%)" 793 kB
[nomerge      ] www-apache/mod_perl-2.0.3-r1 [2.0.1-r2] USE="(-minimal%)"
[nomerge      ]  app-admin/sudo-1.6.8_p12-r1  USE="ldap pam -offensive -selinux -skey"
[nomerge      ]   mail-mta/postfix-2.3.6  USE="hardened ipv6 ldap mbox pam sasl ssl -cdb -dovecot-sasl -mailwrapper -mysql -nis -postgres -selinux -vda"
[nomerge      ]    net-mail/mailbase-1  USE="pam"
[nomerge      ]     sys-libs/pam-0.78-r5  USE="berkdb -nis -pam_chroot -pam_console -pam_timestamp -pwdb -selinux"
[nomerge      ]      sys-libs/cracklib-2.8.9-r1  USE="nls python"
[nomerge      ]       dev-lang/python-2.4.4-r4 [2.4.3-r4] USE="berkdb gdbm ipv6 ncurses readline ssl -bootstrap -build -doc -examples% -nocxx -nothreads% -tk -ucs2"
[nomerge      ]        app-admin/python-updater-0.2 
[nomerge      ]         sys-apps/portage-2.1.2.7  USE="-build -doc -epydoc -selinux" LINGUAS="-pl"
[nomerge      ]          net-misc/rsync-2.6.9-r2 [2.6.8-r2] USE="acl ipv6 -static -xinetd (-build%)"
[ebuild     U ]           dev-libs/popt-1.10.7 [1.7-r1] USE="nls" 712 kB
[ebuild     U ]           sys-apps/acl-2.2.39-r1 [2.2.32] USE="nls -nfs% (-debug%)" 120 kB
[ebuild     U ]            sys-apps/attr-2.4.32 [2.4.24] USE="nls (-debug%)" 79 kB
[nomerge      ]             sys-devel/libtool-1.5.22 
[nomerge      ]              sys-devel/automake-1.10 
[nomerge      ]               sys-devel/autoconf-2.61  USE="-emacs"
[ebuild     U ]                sys-devel/m4-1.4.9 [1.4.7] USE="nls -examples%" 596 kB
[nomerge      ] www-apache/mod_perl-2.0.3-r1 [2.0.1-r2] USE="(-minimal%)"
[nomerge      ]  app-admin/sudo-1.6.8_p12-r1  USE="ldap pam -offensive -selinux -skey"
[nomerge      ]   mail-mta/postfix-2.3.6  USE="hardened ipv6 ldap mbox pam sasl ssl -cdb -dovecot-sasl -mailwrapper -mysql -nis -postgres -selinux -vda"
[nomerge      ]    net-mail/mailbase-1  USE="pam"
[nomerge      ]     sys-libs/pam-0.78-r5  USE="berkdb -nis -pam_chroot -pam_console -pam_timestamp -pwdb -selinux"
[nomerge      ]      sys-libs/cracklib-2.8.9-r1  USE="nls python"
[nomerge      ]       dev-lang/python-2.4.4-r4 [2.4.3-r4] USE="berkdb gdbm ipv6 ncurses readline ssl -bootstrap -build -doc -examples% -nocxx -nothreads% -tk -ucs2"
[nomerge      ]        app-admin/python-updater-0.2 
[nomerge      ]         sys-apps/portage-2.1.2.7  USE="-build -doc -epydoc -selinux" LINGUAS="-pl"
[nomerge      ]          sys-apps/coreutils-6.7-r1 [6.4] USE="acl* nls (-selinux) -static -xattr%"
[nomerge      ]           sys-apps/acl-2.2.39-r1 [2.2.32] USE="nls -nfs% (-debug%)"
[nomerge      ]            sys-apps/attr-2.4.32 [2.4.24] USE="nls (-debug%)"
[nomerge      ]             sys-devel/autoconf-2.61  USE="-emacs"
[nomerge      ]              dev-lang/perl-5.8.8-r2  USE="berkdb gdbm -build -debug -doc -ithreads -perlsuid"
[ebuild     U ]               app-admin/perl-cleaner-1.04.3 [1.04] 6 kB
[nomerge      ] www-apache/mod_perl-2.0.3-r1 [2.0.1-r2] USE="(-minimal%)"
[nomerge      ]  app-admin/sudo-1.6.8_p12-r1  USE="ldap pam -offensive -selinux -skey"
[nomerge      ]   mail-mta/postfix-2.3.6  USE="hardened ipv6 ldap mbox pam sasl ssl -cdb -dovecot-sasl -mailwrapper -mysql -nis -postgres -selinux -vda"
[nomerge      ]    dev-libs/cyrus-sasl-2.1.22-r2 [2.1.21-r2] USE="berkdb crypt gdbm kerberos* ldap* pam ssl -authdaemond -java -mysql* -ntlm_unsupported_patch -postgres -sample -srp -urandom"
[nomerge      ]     dev-libs/openssl-0.9.8d  USE="zlib -bindist -emacs -sse2 -test"
[ebuild     U ]      app-misc/ca-certificates-20070303-r1 [20050804] 95 kB
[nomerge      ] www-apache/mod_perl-2.0.3-r1 [2.0.1-r2] USE="(-minimal%)"
[nomerge      ]  app-admin/sudo-1.6.8_p12-r1  USE="ldap pam -offensive -selinux -skey"
[nomerge      ]   mail-mta/postfix-2.3.6  USE="hardened ipv6 ldap mbox pam sasl ssl -cdb -dovecot-sasl -mailwrapper -mysql -nis -postgres -selinux -vda"
[nomerge      ]    net-mail/mailbase-1  USE="pam"
[nomerge      ]     sys-libs/pam-0.78-r5  USE="berkdb -nis -pam_chroot -pam_console -pam_timestamp -pwdb -selinux"
[nomerge      ]      sys-libs/cracklib-2.8.9-r1  USE="nls python"
[nomerge      ]       dev-lang/python-2.4.4-r4 [2.4.3-r4] USE="berkdb gdbm ipv6 ncurses readline ssl -bootstrap -build -doc -examples% -nocxx -nothreads% -tk -ucs2"
[nomerge      ]        app-admin/python-updater-0.2 
[nomerge      ]         sys-apps/portage-2.1.2.7  USE="-build -doc -epydoc -selinux" LINGUAS="-pl"
[ebuild     U ]          app-shells/bash-3.2_p15-r1 [3.1_p17] USE="nls -afs -bashlogger -vanilla" 2,518 kB
[nomerge      ] www-apache/mod_perl-2.0.3-r1 [2.0.1-r2] USE="(-minimal%)"
[nomerge      ]  net-www/apache-2.0.58-r2  USE="apache2 ssl -debug -doc -ldap -mpm-itk -mpm-leader -mpm-peruser -mpm-prefork -mpm-threadpool -mpm-worker -no-suexec -selinux -static-modules -threads"
[ebuild     U ]   app-misc/mime-types-7 [5] 7 kB
[blocks B     ] dev-perl/Apache-Test (is blocking www-apache/mod_perl-2.0.1-r2)

Total: 15 packages (13 upgrades, 2 new, 1 block), Size of downloads: 23,468 kB


[mod]I've edited the post to add the code block in an attempt to better read the above text - Jorge (jmbsvicetto).[/mod]
Back to top
View user's profile Send private message
jmbsvicetto
Moderator
Moderator


Joined: 27 Apr 2005
Posts: 4725
Location: Angra do Heroísmo (PT)

PostPosted: Thu May 24, 2007 6:40 pm    Post subject: Reply with quote

Given the above tree, I would suggest you start with emerge -uDav system and then try to update mod_perl.
_________________
Jorge.

Your twisted, but hopefully friendly daemon.
AMD64 / x86 / Sparc Gentoo
Help answer || emwrap.sh
Back to top
View user's profile Send private message
Greg Lindahl
n00b
n00b


Joined: 07 Mar 2005
Posts: 17

PostPosted: Thu May 24, 2007 8:29 pm    Post subject: Reply with quote

Well, that gets it down to this, still not happy:

Code:

root@XXX ~ # emerge -uDvpt mod_perl

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

Calculating dependencies... done!
[nomerge      ] www-apache/mod_perl-2.0.3-r1 [2.0.1-r2] USE="(-minimal%)"
[ebuild  N    ]  dev-perl/Apache-Test-1.29  148 kB
[ebuild     U ] www-apache/mod_perl-2.0.3-r1 [2.0.1-r2] USE="(-minimal%)" 3,628 kB
[blocks B     ] dev-perl/Apache-Test (is blocking www-apache/mod_perl-2.0.1-r2)

Total: 2 packages (1 upgrade, 1 new, 1 block), Size of downloads: 3,776 kB
Back to top
View user's profile Send private message
jmbsvicetto
Moderator
Moderator


Joined: 27 Apr 2005
Posts: 4725
Location: Angra do Heroísmo (PT)

PostPosted: Thu May 24, 2007 9:13 pm    Post subject: Reply with quote

Hi.

zmedico confirmed this is a portage bug. Please update the portage version and try again.
_________________
Jorge.

Your twisted, but hopefully friendly daemon.
AMD64 / x86 / Sparc Gentoo
Help answer || emwrap.sh
Back to top
View user's profile Send private message
Greg Lindahl
n00b
n00b


Joined: 07 Mar 2005
Posts: 17

PostPosted: Thu May 24, 2007 9:23 pm    Post subject: Reply with quote

That bug says it was fixed in 2.1.2.6, I have 2.1.2.7.

But yes, it does look like it's a related bug.

-- greg
Back to top
View user's profile Send private message
zmedico
Developer
Developer


Joined: 02 Jan 2004
Posts: 242
Location: California USA

PostPosted: Thu May 24, 2007 9:39 pm    Post subject: Reply with quote

mod_perl-2.0.3-r1 has a build time dependency on Apache-Test-1.29, so you have to unmerge the older version of mod_perl before Apache-Test can be installed to satisfy the dependency.
_________________
Zac
Back to top
View user's profile Send private message
Greg Lindahl
n00b
n00b


Joined: 07 Mar 2005
Posts: 17

PostPosted: Thu May 24, 2007 9:53 pm    Post subject: Reply with quote

That doesn't make any sense. Does the old mod_perl have a bogus blocker for Apache-Test?

-- greg
Back to top
View user's profile Send private message
zmedico
Developer
Developer


Joined: 02 Jan 2004
Posts: 242
Location: California USA

PostPosted: Thu May 24, 2007 10:02 pm    Post subject: Reply with quote

The old mod_perl does block Apache-Test:

http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-apache/mod_perl/mod_perl-2.0.1-r2.ebuild?hideattic=0&rev=1.13&view=markup

Assuming that the blocker can safely be ignored, here is a workaround:
Code:
emerge --oneshot --nodeps Apache-Test && emerge mod_perl

_________________
Zac
Back to top
View user's profile Send private message
Greg Lindahl
n00b
n00b


Joined: 07 Mar 2005
Posts: 17

PostPosted: Thu May 24, 2007 10:20 pm    Post subject: Reply with quote

That didn't have all the nodeps, the mod_perl emerge also needed nodeps. Anyway, I guess other people didn't see this problem
because there was some release of mod_perl between 2.0.1 and 2.0.3 which didn't have Apache-Test as either needed or a blocker.

-- greg
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum