First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 101329
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Gentoo Web Application Packages Maintainers <web-apps@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: spam <spam@tnonline.net>
Add CC:
CC:
URL:
Summary:
Status Whiteboard:
Keywords:

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

Bug 101329 depends on: Show dependency tree
Bug 101329 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: 2005-08-04 07:01 0000
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 From Jakub Moc (RETIRED) 2005-08-04 07:34:53 0000 -------
> /usr/local/portage_overlay/www-apps/Apache-Gallery/files/postinstall-
en.txt' not found

Your overlay, your bug. ;-)

------- Comment #2 From spam 2005-08-04 07:43:58 0000 -------
(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 From spam 2005-08-04 07:45:22 0000 -------
Apache-Gallery-0.9.1.ebuild, Line 59:

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


------- Comment #4 From Jakub Moc (RETIRED) 2005-08-04 07:55:59 0000 -------
(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 From spam 2005-08-04 08:03:51 0000 -------
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 From Jakub Moc (RETIRED) 2005-08-04 08:07:20 0000 -------
Thanks.

------- Comment #7 From spam 2005-08-04 08:08:17 0000 -------
(In reply to comment #6)
> Thanks.
Sorry for the confusion and harsh tone. My appologies.


------- Comment #8 From Renat Lumpau 2005-08-04 10:50:23 0000 -------
Thanks for reporting, should get to it very soon. libapreq2 was just unmasked
today.

------- Comment #9 From Renat Lumpau 2005-08-05 04:20:00 0000 -------
Added missing postinstall-en.txt, will look into the libapreq2 issue over the
weekend.

------- Comment #10 From Renat Lumpau 2005-08-08 14:54:47 0000 -------
In CVS, thanks.

First Last Prev Next    No search results available      Search page      Enter new bug