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

Bug 312329

Summary: Python and sqlite3 support
Product: Gentoo Linux Reporter: Gerardo Gonzalez Cruz <gerardogc2378>
Component: New packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED NEEDINFO    
Severity: minor CC: pchrist
Priority: High    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Gerardo Gonzalez Cruz 2010-03-31 06:14:52 UTC
dev-lang/python-2.6.4-r1  USE="berkdb gdbm ipv6 ncurses readline ssl threads (wide-unicode) xml -build -doc -examples -sqlite* -tk -wininst"

Someone have troubles with python and sqlite3, i try to import sqlite3 from python shell but this module does not load...any suggestion to fix this issue.

I compiled python with sqlite3 support into make.conf file

To fix this I use the next command:
USE="sqlite" emerge python -pv


Into python ebuild has sqlite-3 ????

then i try emerge this package:

# emerge sqlite-3 -pv
!!! 'sqlite-3' is not a valid package atom.
!!! Please check ebuild(5) for full details.

then i try:

# emerge sqlite -pv


Reproducible: Always

Steps to Reproduce:
0. into make.conf ... added sqlite3 support
1. emerge python
2. don't load sqlite3 module (import sqlite3)

Actual Results:  
I compiled python with sqlite3 support into make.conf file

To fix this I use the next command:
USE="sqlite" emerge python -pv


Into python ebuild has sqlite-3 ????

then i try emerge this package:

# emerge sqlite-3 -pv
!!! 'sqlite-3' is not a valid package atom.
!!! Please check ebuild(5) for full details.

then i try:

# emerge sqlite -pv


Expected Results:  
Once compiled python with sqlite3 support into python shell, python will load sqlite3

None
Comment 1 Alex Legler (RETIRED) archtester gentoo-dev Security 2010-03-31 07:35:55 UTC
Please attach the output of `emerge --info python'.
Comment 2 Panagiotis Christopoulos (RETIRED) gentoo-dev 2010-04-09 09:27:53 UTC
I resolve this bug as NEEDINFO. Reopen only if you have attached the information Alex told you. Also, the sqlite3 global USE flag is obsolete. Please add "sqlite" to your make.conf's USE flags.