Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 538226 - dev-lang/php USE="pdo firebird" fails to install firebird PDO
Summary: dev-lang/php USE="pdo firebird" fails to install firebird PDO
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: PHP Bugs
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2015-01-30 06:42 UTC by Dmitry A. Bakshaev
Modified: 2016-01-25 05:08 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 Dmitry A. Bakshaev 2015-01-30 06:42:02 UTC
"could not find driver" when using PDO to access Firebird database

Reproducible: Always

Steps to Reproduce:
1. USE="pdo firebird" emerge php
2. php -m |grep PDO
Actual Results:  
only PDO module found

Expected Results:  
PDO and PDO_Firebird modules

@@ -499,6 +499,7 @@
 		$(use_with mysql pdo-mysql ${mysqllib})
 		$(use_with postgres pdo-pgsql )
 		$(use_with sqlite pdo-sqlite ${EPREFIX}/usr)
+		$(use_with firebird pdo-firebird)
 		$(use_with odbc pdo-odbc unixODBC,${EPREFIX}/usr)"
 		if use oci8-instant-client ; then
 			my_conf+="
Comment 1 Dmitry A. Bakshaev 2015-04-08 11:01:16 UTC
no one? no mantainers?
Comment 2 Michael Orlitzky gentoo-dev 2016-01-25 05:08:25 UTC
This was tricky to test since USE=firebird is (incorrectly?) masked on amd64. But I was able to override the mask and get it working:
 
https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0d97903e14721b3bb2844db998fd1ce3d17b1cda

Thanks for pointing out the oversight and for the fix!