Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 232975 - nmap-4.68 requires pysqlite
Summary: nmap-4.68 requires pysqlite
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-07-26 01:10 UTC by Piotr
Modified: 2008-07-26 12:55 UTC (History)
0 users

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 Piotr 2008-07-26 01:10:36 UTC
nmap-4.68 to compile requires pysqlite but ebuild does not depend on it. User must compile pysqlite on his own.

Reproducible: Always

Steps to Reproduce:
1. USE="gtk ssl" emerge -v nmap
Actual Results:  
Error about missing pysqlite.
Comment 1 Wormo (RETIRED) gentoo-dev 2008-07-26 01:23:23 UTC
Please post 'emerge -pv python' to show what version and USE flags you've got, because you're not supposed to need pysqlite if you have python >= 2.5 compiled with sqlite USE flag enabled
Comment 2 Piotr 2008-07-26 01:38:30 UTC
Then this is the answer. I have python-2.5.2-r5 but no sqlite use flag. Im recompiling it right now.
But shouldn't then nmap check with what flags python has been built? Or at least some note about this?
Thanks for fast reply. :)
Comment 3 Wormo (RETIRED) gentoo-dev 2008-07-26 06:35:49 UTC
Actually, the nmap ebuild is supposed to stop until you install pysqlite or rebuild python with sqlite USE...

pkg_setup() {
    if use gtk && has_version ">=dev-lang/python-2.5" &&
       ! has_version ">=dev-python/pysqlite-2" &&
       ! built_with_use dev-lang/python sqlite ; then
        eerror "In order to use the nmap GUI you have to either emerge dev-lang/python"
        eerror "with the 'sqlite' USE flag, or install dev-python/pysqlite-2*."
        die "sqlite support missing"
    fi
}

How about attaching your nmap build log? Maybe the maintainer should look at this after all.
Comment 4 Piotr 2008-07-26 12:26:47 UTC
Must have overlooked it.
Sorry and thanks for your attention.
Comment 5 Carsten Lohrke (RETIRED) gentoo-dev 2008-07-26 12:55:39 UTC
Not a bug...
Comment 6 Carsten Lohrke (RETIRED) gentoo-dev 2008-07-26 12:55:58 UTC
...local issue.