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:
> /usr/local/portage_overlay/www-apps/Apache-Gallery/files/postinstall- en.txt' not found Your overlay, your bug. ;-)
(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.
Apache-Gallery-0.9.1.ebuild, Line 59: webapp_postinst_txt en ${FILESDIR}/postinstall-en.txt
(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?
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.
Thanks.
(In reply to comment #6) > Thanks. Sorry for the confusion and harsh tone. My appologies.
Thanks for reporting, should get to it very soon. libapreq2 was just unmasked today.
Added missing postinstall-en.txt, will look into the libapreq2 issue over the weekend.
In CVS, thanks.