Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 378975 - net-firewall/ipsec-tools-0.7.3-r1 ebuild give a wrong warning
Summary: net-firewall/ipsec-tools-0.7.3-r1 ebuild give a wrong warning
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal minor (vote)
Assignee: Anthony Basile
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: linux-3.0
  Show dependency tree
 
Reported: 2011-08-12 20:36 UTC by Łukasz Dubiel
Modified: 2012-03-02 01:17 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Łukasz Dubiel 2011-08-12 20:36:50 UTC
When i was emerging ipsec-tool i saw warning about kernel version.

 * Found sources for kernel version:
 *     3.0.1-gentoo
 * You must have a kernel >=2.6.19 to run ipsec-tools.
 * Building now, assuming that you will run on a different kernel

Nothing big, but looks bad.

Reproducible: Always

Steps to Reproduce:
1. emerge ipsec-tools
Actual Results:  
 * Found sources for kernel version:
 *     3.0.1-gentoo
 * You must have a kernel >=2.6.19 to run ipsec-tools.
 * Building now, assuming that you will run on a different kernel


Expected Results:  
Pass without warnings.
Comment 1 Alexander Zubkov 2011-10-28 07:49:08 UTC
I have this issue too.
Comment 2 Anthony Basile gentoo-dev 2012-03-02 00:01:24 UTC
Yeah, this is a false positive warning.  I can remove it.
Comment 3 Anthony Basile gentoo-dev 2012-03-02 01:17:29 UTC
(In reply to comment #2)
> Yeah, this is a false positive warning.  I can remove it.

Okay, looks like this was fixed as of Dec 12 22:01:37 2011 UTC.  The following commit pulls in kernel_is() from the kernel-2.eclass which correctly handles 3.x and above.  I tested and it seems to work

http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/eclass/linux-info.eclass?r1=1.90&r2=1.91

I'm closing this as resolved.  Please reopen if I'm wrong.