Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 101862 - emerge FlowScan fail with no rrdtool
Summary: emerge FlowScan fail with no rrdtool
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High minor (vote)
Assignee: Gentoo Netmon project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-08-09 07:16 UTC by Xavier "xavtoo" Guerin
Modified: 2005-08-12 17:39 UTC (History)
0 users

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


Attachments
FlowScan-1.006-r1.ebuild.diff (FlowScan-1.006-r1.ebuild.diff,810 bytes, patch)
2005-08-09 07:45 UTC, Marcelo Goes (RETIRED)
Details | Diff
patch for FlowScan ebuid (FlowScan-1.006-r1.ebuild.diff,550 bytes, patch)
2005-08-10 01:47 UTC, Xavier "xavtoo" Guerin
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Xavier "xavtoo" Guerin 2005-08-09 07:16:03 UTC
While merging FlowScan emerge check if rrdtool version is not 1.2. But if
rrdtool is not installed, emerge fail at configure because it doesn't find rrdtool.

Reproducible: Always
Steps to Reproduce:
1.emerge -C rrdtool (optional, to make sure rrdtool isn't installed)
2.emerge FlowScan
3.

Actual Results:  
emerge fail while configure.



Expected Results:  
Merging FlowScan without asking for rrdtool.

I think problem is due to the DEPEND clause:
"        !=net-analyzer/rrdtool-1.2*"
If no rrdtool emerge would not merge rrdtool and then it fails. 

So I try this workaround:
emerge "<rrdtool-1.2*" FlowScan
and it works well.

I think we just need to replace "!=" by "<" to close this bug.
Comment 1 Marcelo Goes (RETIRED) gentoo-dev 2005-08-09 07:45:19 UTC
Created attachment 65533 [details, diff]
FlowScan-1.006-r1.ebuild.diff
Comment 2 Xavier "xavtoo" Guerin 2005-08-10 01:47:29 UTC
Created attachment 65582 [details, diff]
patch for FlowScan ebuid

IMHO We can't leave the line "!=rrdtool-1.2*" in RDEPEND and DEPEND to solve
our problem. First, it's useless since its implied by "<rrdtool-1.2*". Second
it doesn't force portage to merge rrdtool. 
Removing this line shouldn't cause any trouble and it's far more easy to read
and maintain.
Comment 3 Benjamin Smee (strerror) (RETIRED) gentoo-dev 2005-08-11 06:48:05 UTC
Thanks for reporting. I had fixed in my local version but never moved it onto
CVS :( Let me know if any more problems.
Comment 4 Marcelo Goes (RETIRED) gentoo-dev 2005-08-12 17:39:06 UTC
(In reply to comment #2)
> First, it's useless since its implied by "<rrdtool-1.2*".

It is not useless. If you add the block, it won't merge unless you manually
unmerge rrdtool-1.2.x.
The way things were left, rrdtool will receive a forced downgrade if the user
has a 1.2.x version.

Also, we should probably work on SLOTting rrdtool since some programs work with
1.0.x and some with 1.2.x.