Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 340059 - dev-lang/php: build sqlite3 pdo support without sqlite use
Summary: dev-lang/php: build sqlite3 pdo support without sqlite use
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: PHP Bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-10-07 11:32 UTC by onip
Modified: 2010-10-24 11:56 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 onip 2010-10-07 11:32:51 UTC
I'd like to get rid of sqlite:0 in my system. The only package requesting it is dev-lang/php, because I have to enable sqlite USE (which pulls in dev-db/sqlite:0) to have sqlite (version 3) pdo driver built.

Is this an issue with php build system or is it just a php ebuild failure?

thanks

Reproducible: Always

Steps to Reproduce:
Comment 1 Matti Bickel (RETIRED) gentoo-dev 2010-10-24 11:56:29 UTC
I thought I already checked this in. Anyway, committed now.
It works as follows:
USE="-sqlite sqlite3" emerge php => sqlite3 and pdo-sqlite driver built
USE="sqlite" emerge php => sqlite driver built

So basically, the pdo driver is now controlled by the sqlite3 flag and a simple remerge with USE="-sqlite sqlite3" will erase the sqlite-2* dep for you.

Makes more sense to have pdo controlled by sqlite3 anyway, as pdo IS about sqlite3.