Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 37131 - Strange dependencies trying to emerge Apache-Gallery
Summary: Strange dependencies trying to emerge Apache-Gallery
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Perl team
URL:
Whiteboard:
Keywords:
Depends on: 35406
Blocks:
  Show dependency tree
 
Reported: 2004-01-03 11:42 UTC by Klaus S. Madsen
Modified: 2004-06-12 05:09 UTC (History)
0 users

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


Attachments
emerge info output (output,1.65 KB, text/plain)
2004-01-03 11:45 UTC, Klaus S. Madsen
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Klaus S. Madsen 2004-01-03 11:42:36 UTC
When trying to emerge Apache-Gallery, emerge tries will install both apache1 and apache2

Reproducible: Always
Steps to Reproduce:
1. Run emerge -pv Apache-Gallery

Actual Results:  
hjernemadsen Apache-Gallery # emerge -pv Apache-Gallery 
 
These are the packages that I would merge, in order: 
 
Calculating dependencies ...done! 
[ebuild  N    ] dev-perl/CGI-3.00   
[ebuild  N    ] dev-perl/CGI-FastTemplate-1.09   
[ebuild  N    ] dev-libs/mm-1.3.0   
[ebuild  N    ] net-www/apache-1.3.29-r1  +pam  
[ebuild  N    ] dev-perl/mod_perl-1.29  -ipv6  
[ebuild  N    ] net-www/apache-2.0.48-r1  +berkdb +gdbm -ldap  
[ebuild  N    ] dev-perl/Apache-Test-1.07   
[ebuild  N    ] dev-perl/libapreq-1.3   
[ebuild  N    ] dev-perl/ImageSize-2.99-r1   
[ebuild  N    ] dev-perl/IO-String-1.03   
[ebuild  N    ] dev-perl/ImageInfo-1.15   
[ebuild  N    ] dev-perl/mod_perl-1.99.11   
[ebuild  N    ] dev-perl/Apache-Gallery-0.6   
 
The result is the same no matter if apache1 or apache2 is specified in the USE 
flags. 

Expected Results:  
It should not try to install apache-2. The reason it tries to, seems to be 
because the mod_perl dependency will install the newest mod_perl, which is for 
apache2.
Comment 1 Klaus S. Madsen 2004-01-03 11:45:09 UTC
Created attachment 23082 [details]
emerge info output

Output from emerge info
Comment 2 Adam Bartlett 2004-01-03 12:23:43 UTC
did you try setting USE="-apache2 apache1"?

anoncow@roh213-stu05198 anoncow $ ACCEPT_KEYWORDS="~x86" USE="-apache2 apache1" emerge -pv dev-perl/Apache-Gallery
 
These are the packages that I would merge, in order:
 
Calculating dependencies ...done!
[ebuild  N    ] dev-perl/IO-String-1.03
[ebuild  N    ] dev-perl/ImageInfo-1.15
[ebuild  N    ] dev-perl/CGI-3.00
[ebuild  N    ] dev-perl/CGI-FastTemplate-1.09
[ebuild  N    ] dev-perl/mod_perl-1.99.11
[ebuild  N    ] net-www/apache-1.3.29-r1  +pam
[ebuild  N    ] dev-perl/mod_perl-1.29  +ipv6
[ebuild  N    ] dev-perl/Apache-Test-1.07
[ebuild  N    ] dev-perl/libapreq-1.3
[ebuild  N    ] dev-perl/ImageSize-2.99-r1
[ebuild  N    ] dev-perl/Apache-Gallery-0.6

note: i set ACCEPT_KEYWORDS="~x86" as it appears you have that set. the same result occured without the ACCEPT_KEYWORDS set, however different package versions were used. but apache 1.3 was in the pretend merge there also.
Comment 3 Klaus S. Madsen 2004-01-03 12:58:48 UTC
I have just tried this, and the result is excatcly the same:

ksm@hjernemadsen ksm $ USE="-apache2 apache1" emerge -pv dev-perl/Apache-Gallery
These are the packages that I would merge, in order:

Calculating dependencies ...done!
[ebuild  N    ] dev-perl/CGI-3.00  
[ebuild  N    ] dev-perl/CGI-FastTemplate-1.09  
[ebuild  N    ] dev-libs/mm-1.3.0  
[ebuild  N    ] net-www/apache-1.3.29-r1  +pam 
[ebuild  N    ] dev-perl/mod_perl-1.29  -ipv6 
[ebuild  N    ] net-www/apache-2.0.48-r1  +berkdb +gdbm -ldap 
[ebuild  N    ] dev-perl/Apache-Test-1.07  
[ebuild  N    ] dev-perl/libapreq-1.3  
[ebuild  N    ] dev-perl/ImageSize-2.99-r1  
[ebuild  N    ] dev-perl/IO-String-1.03  
[ebuild  N    ] dev-perl/ImageInfo-1.15  
[ebuild  N    ] dev-perl/mod_perl-1.99.11  
[ebuild  N    ] dev-perl/Apache-Gallery-0.6  

But from a little investigation, it seems that libapreq is the reason that apache1 gets installed. A request to upgrade the version of libapreq is already filed under bug 35406.

Also I noticed the following in Apache-Gallery-0.6.ebuild, when looking into the dependencies:

        insinto /home/httpd/icons

Shouldn't this be /var/www or something like it now?

Another thing. In your output emerge will install both mod_perl-1.99 and mod_perl-1.29. mod_perl-1.99 depends on "=net-www/apache-2*", so I guess that compile will fail?

Comment 4 Adam Bartlett 2004-01-04 20:58:06 UTC
hrm

looks like the resolution of the libapreq update issue might resolve this.

if i was in your shoes id mark this dependent on the update bug, as this leads to a broken tree. they might step it up a notch on trying to get that ebuild/patch working since users are waiting.
Comment 5 Klaus S. Madsen 2004-01-05 03:24:46 UTC
Marked as depending on the libapreq library upgrade, as per above comment.
Comment 6 Stuart Herbert (RETIRED) gentoo-dev 2004-04-23 03:18:33 UTC
One for the perl team, me thinks.

Best regards,
Stu
Comment 7 Jens Hilligsøe 2004-05-03 02:58:26 UTC
The current version of Apache-Gallery (0.6) only runs on Apache1. By using the ACCEPT_KEYWORDS="~x86" you will get the 1.99.x version of mod_perl witch only runs on Apache2. So either drop ~x86 or switch to Apache2. 

This would of curse break Apache-Gallery, but I have made an upgrade to it, witch runs happily on Apache2. See bug 49660 to get the ebild.

Regards
/Hilli
Comment 8 Michael Cummings (RETIRED) gentoo-dev 2004-06-12 05:09:03 UTC
No posts after last comment, closing