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

Bug 669274

Summary: dev-qt/qtsql-5.11.1-r1 USE=oci8 - qsql_oci.cpp: In static member function ‘static bool QOCICols::execBatch(QOCIResultPrivate*, QVector<QVariant>&, bool)’: qsql_oci.cpp:1559:13: error: ‘OCIBindByPos2’ was not declared in this scope
Product: Gentoo Linux Reporter: George Tarasov <george.v.tarasov>
Component: Current packagesAssignee: Qt Bug Alias <qt>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge --info
build.log

Description George Tarasov 2018-10-22 03:35:21 UTC
Created attachment 552236 [details]
emerge --info

Can't build qtsql with OCI support with =dev-db/oracle-instantclient-basic-11.2.0.4 installed. Function OCIBindByPos2 not found.
As far as I understand oracle documentation the function was introduced in 12 version only. So the dependency for qtsql-5.11.1[oci8] is needed.

emerge --info and build.log are included.

Trying manual update stable =dev-db/oracle-instantclient-basic-11.2.0.4 to not yet stabilized =dev-db/oracle-instantclient-basic-12 [~amd64]
Comment 1 George Tarasov 2018-10-22 03:37:21 UTC
Created attachment 552238 [details]
build.log
Comment 2 Larry the Git Cow gentoo-dev 2019-01-08 01:31:28 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/proj/qt.git/commit/?id=176f0fbf1ff794f7770c9725aced16025579368a

commit 176f0fbf1ff794f7770c9725aced16025579368a
Author:     Davide Pesavento <pesa@gentoo.org>
AuthorDate: 2019-01-08 01:28:33 +0000
Commit:     Davide Pesavento <pesa@gentoo.org>
CommitDate: 2019-01-08 01:28:33 +0000

    dev-qt/qtsql: switch to dev-db/oracle-instantclient
    
    Bug: https://bugs.gentoo.org/669274
    Package-Manager: Portage-2.3.53, Repoman-2.3.12
    Signed-off-by: Davide Pesavento <pesa@gentoo.org>

 dev-qt/qtsql/qtsql-5.12.0.ebuild    | 2 +-
 dev-qt/qtsql/qtsql-5.12.9999.ebuild | 2 +-
 dev-qt/qtsql/qtsql-5.9999.ebuild    | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)
Comment 3 Michael Palimaka (kensington) gentoo-dev 2019-03-11 07:16:12 UTC
This is in-tree with 5.12.1.