Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 102827 - net-analyzer/cacti depends on dev-php/{mod_}php instead of virtual/{httpd-}php
Summary: net-analyzer/cacti depends on dev-php/{mod_}php instead of virtual/{httpd-}php
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Netmon project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 60440
  Show dependency tree
 
Reported: 2005-08-17 06:02 UTC by Jakub Moc (RETIRED)
Modified: 2005-09-09 14:33 UTC (History)
1 user (show)

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


Attachments
cacti-0.8.6f-r1.ebuild.diff (cacti-0.8.6f-r1.ebuild.diff,962 bytes, patch)
2005-09-08 15:45 UTC, Jakub Moc (RETIRED)
Details | Diff
backwards-compatible cacti-0.8.6f-r1.ebuild.diff (cacti-0.8.6f-r1.ebuild.diff,782 bytes, patch)
2005-09-09 00:12 UTC, Jakub Moc (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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!