Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 102827

Summary: net-analyzer/cacti depends on dev-php/{mod_}php instead of virtual/{httpd-}php
Product: Gentoo Linux Reporter: Jakub Moc (RETIRED) <jakub>
Component: New packagesAssignee: Gentoo Netmon project <netmon>
Status: RESOLVED FIXED    
Severity: normal CC: chtekk
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 60440    
Attachments: cacti-0.8.6f-r1.ebuild.diff
backwards-compatible cacti-0.8.6f-r1.ebuild.diff

Description Jakub Moc (RETIRED) gentoo-dev 2005-08-17 06:02:46 UTC
Please, change the dependencies. Also the internal checks in pkg_setup() need to
be corrected. Thanks.

Reproducible: Always
Steps to Reproduce:
Comment 1 Lance Albertson (RETIRED) gentoo-dev 2005-08-17 07:10:22 UTC
I'll look into fixing this sometime this week I hope.
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2005-09-06 10:27:08 UTC
OK, the new PHP ebuilds are in portage and will be removed from package.mask in
two days (Thursday, Sept. 8). This needs an urgent fix so that we don't break
the dependency tree for ~arch users.

Mass ping. ;)
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2005-09-08 15:45:03 UTC
Created attachment 67969 [details, diff]
cacti-0.8.6f-r1.ebuild.diff

Attached a patch for the latest version.
Comment 4 Lance Albertson (RETIRED) gentoo-dev 2005-09-08 21:28:12 UTC
What am I missing here to cause this error? Do I need to unmask some package?

!!! ERROR: net-analyzer/cacti-0.8.6f-r2 failed.
!!! Function has_php, Line 210, Exitcode 1
!!! Unable to find an installed dev-lang/php package
!!! If you need support, post the topmost build error, NOT this status message.

The pretend run using emerge doesn't complain about anything. I have php 4
installed on the machine already, just FYI.
Comment 5 Jakub Moc (RETIRED) gentoo-dev 2005-09-09 00:12:21 UTC
Created attachment 67991 [details, diff]
backwards-compatible cacti-0.8.6f-r1.ebuild.diff

(In reply to comment #4)
> What am I missing here to cause this error? Do I need to unmask some package?


No, you are not missing anything. I'll poke CHTEKK later b/c he missed this. ;p
The depend.php.eclass check for php use flags is not backwards compatible with
the old php ebuilds. Sigh. :/
Comment 6 Lance Albertson (RETIRED) gentoo-dev 2005-09-09 14:33:24 UTC
Ok, new patch works fine. Committed as 0.8.6f-r2. Thanks!