Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 101329 - Apache-Gallery-0.9.1 depends on wrong libapreq library, missing postinstall-en.txt
Summary: Apache-Gallery-0.9.1 depends on wrong libapreq library, missing postinstall-e...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: Gentoo Web Application Packages Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-08-04 07:01 UTC by Forza
Modified: 2005-08-08 14:54 UTC (History)
0 users

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 Forza 2005-08-04 07:01:43 UTC
Apache-Gallery-0.9.1 works with both Apache-1 and Apache-2. The ebuild checks for the 
apache2 USE flag and then sets dependencies on that. The problem is that apache2 
requires libapreq2 is installed, not libapreq. The ebuild should be updated to depend on 
this.

Also a file is missing from the ebuild:

~~~~~~~~~~~~~~~~

 * Using ExtUtils::MakeMaker
Checking if your kit is complete...
Looks good
Writing Makefile for Apache::Gallery
cp lib/Apache/Gallery.pm blib/lib/Apache/Gallery.pm
Manifying blib/man3/Apache::Gallery.3pm
>>> Test phase [not enabled]: www-apps/Apache-Gallery-0.9.1

>>> Install Apache-Gallery-0.9.1 into /var/tmp/portage/Apache-Gallery-0.9.1/image/ 
category www-apps
Installing /var/tmp/portage/Apache-Gallery-0.9.1/image/usr/lib/perl5/vendor_perl/5.8.6/
Apache/Gallery.pm
Installing /var/tmp/portage/Apache-Gallery-0.9.1/image/usr/share/man/man3/Apache::
Gallery.3pm
Writing /var/tmp/portage/Apache-Gallery-0.9.1/image//usr/lib/perl5/vendor_perl/5.8.6/
i686-linux/auto/Apache/Gallery/.packlist
Appending installation info to /var/tmp/portage/Apache-Gallery-0.9.1/image//usr/lib/
perl5/5.8.6/i686-linux/perllocal.pod
 * ebuild fault: file '/usr/local/portage_overlay/www-apps/Apache-Gallery/files/postinstall-
en.txt' not found
 * Please report this as a bug at http://bugs.gentoo.org/

!!! ERROR: www-apps/Apache-Gallery-0.9.1 failed.
!!! Function webapp_checkfileexists, Line 57, Exitcode 0
!!! ebuild fault: file '/usr/local/portage_overlay/www-apps/Apache-Gallery/files/postinstall-
en.txt' not found
!!! If you need support, post the topmost build error, NOT this status message.



Reproducible: Always
Steps to Reproduce:
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2005-08-04 07:34:53 UTC
> /usr/local/portage_overlay/www-apps/Apache-Gallery/files/postinstall-
en.txt' not found

Your overlay, your bug. ;-)
Comment 2 Forza 2005-08-04 07:43:58 UTC
(In reply to comment #1)
> > /usr/local/portage_overlay/www-apps/Apache-Gallery/files/postinstall-
> en.txt' not found
> 
> Your overlay, your bug. ;-)

Seriously, don't you think I already tested without the overlay? I used overlay because I 
fixed the dependency problem.

The file Apache-Gallery/files/postinstall.txt is not on the mirror.
Comment 3 Forza 2005-08-04 07:45:22 UTC
Apache-Gallery-0.9.1.ebuild, Line 59:

webapp_postinst_txt en ${FILESDIR}/postinstall-en.txt

Comment 4 Jakub Moc (RETIRED) gentoo-dev 2005-08-04 07:55:59 UTC
(In reply to comment #2)
> Seriously, don't you think I already tested without the overlay? I used
overlay because I 
> fixed the dependency problem.

Seriously, be so kind and post error messages that you get when installing the
ebuild *from official portage tree* next time. The summary of this bug talks
about wrong dependency and the error shown here shows that postinstall-en.txt'
is missing, so what is this bug actually about?
Comment 5 Forza 2005-08-04 08:03:51 UTC
Here is some info about the dependency problem:

# emerge Apache-Gallery -pv

These are the packages that I would merge, in order:

Calculating dependencies |
!!! All ebuilds that could satisfy "<www-apache/mod_perl-1.99" have been masked.
!!! One of the following masked packages is required to complete your request:
- www-apache/mod_perl-1.29 (masked by: package.mask, ~x86 keyword)
- www-apache/mod_perl-1.27-r4 (masked by: package.mask)
- www-apache/mod_perl-1.27-r1 (masked by: package.mask)
- www-apache/mod_perl-1.27-r2 (masked by: package.mask)

For more information, see MASKED PACKAGES section in the emerge man page or
section 2.2 "Software Availability" in the Gentoo Handbook.
!!!    (dependency required by "www-apache/libapreq-1.2-r1" [ebuild])


The problem is www-apache/libapreq-1.2-r1. When you have Apache2 installed you need 
www-apache/libapreq2.

The problem is the DEPEND= line in the ebuild:

    >=www-apache/libapreq-1.0
    !apache2? ( >=net-www/apache-1.3.26-r2
        =www-apache/mod_perl-1* )
    apache2? ( >=net-www/apache-2.0.43-r1
        >=www-apache/mod_perl-1.99 ) "

It should be rewritten as:

    !apache2? ( >=net-www/apache-1.3.26-r2
        >=www-apache/libapreq-1.0
        =www-apache/mod_perl-1* )
    apache2? ( >=net-www/apache-2.0.43-r1
        >=www-apache/libapreq2-2.0
        >=www-apache/mod_perl-1.99 ) "


Also, The file postinstall-en.txt is still missing.
Comment 6 Jakub Moc (RETIRED) gentoo-dev 2005-08-04 08:07:20 UTC
Thanks.
Comment 7 Forza 2005-08-04 08:08:17 UTC
(In reply to comment #6)
> Thanks.
Sorry for the confusion and harsh tone. My appologies.

Comment 8 Renat Lumpau (RETIRED) gentoo-dev 2005-08-04 10:50:23 UTC
Thanks for reporting, should get to it very soon. libapreq2 was just unmasked today.
Comment 9 Renat Lumpau (RETIRED) gentoo-dev 2005-08-05 04:20:00 UTC
Added missing postinstall-en.txt, will look into the libapreq2 issue over the
weekend.
Comment 10 Renat Lumpau (RETIRED) gentoo-dev 2005-08-08 14:54:47 UTC
In CVS, thanks.