Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 631844 - dev-db/oracle-instantclient-12.2.0.1 - wrong links
Summary: dev-db/oracle-instantclient-12.2.0.1 - wrong links
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Michael Haubenwallner (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-09-23 15:30 UTC by Roberto Castagnola
Modified: 2017-09-25 12:14 UTC (History)
2 users (show)

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 Roberto Castagnola 2017-09-23 15:30:04 UTC
Ebuild for dev-db/oracle-instantclient-12.2.0.1 created following links:

# ll /usr/lib64/oracle/12.2/client/lib64/{libclntsh.so,libocci.so}                 
lrwxrwxrwx 1 root root 17 23 set 16.50 /usr/lib64/oracle/12.2/client/lib64/libclntsh.so -> libclntsh.so.12.2
lrwxrwxrwx 1 root root 15 23 set 16.50 /usr/lib64/oracle/12.2/client/lib64/libocci.so -> libocci.so.12.2


but the archive downloaded from oracle contains a different version:

# sha256sum instantclient-basic-linux.x64-12.2.0.1.0.zip
5015e3c9fba84e009f7519893f798a1622c37d1ae2c55104ff502c52a0fe5194  instantclient-basic-linux.x64-12.2.0.1.0.zip

# unzip -l instantclient-basic-linux.x64-12.2.0.1.0.zip */libclntsh.so* */libocci.so*
Archive:  instantclient-basic-linux.x64-12.2.0.1.0.zip
  Length      Date    Time    Name
---------  ---------- -----   ----
 71638263  01-26-2017 14:14   instantclient_12_2/libclntsh.so.12.1
  2218687  01-26-2017 14:14   instantclient_12_2/libocci.so.12.1
---------                     -------
 73856950                     2 files
Comment 1 Thomas Deutschmann (RETIRED) gentoo-dev 2017-09-24 21:08:41 UTC
Confirmed, app-admin/collectd is no longer able to build against dev-db/oracle-instantclient due to this problem.
Comment 2 Larry the Git Cow gentoo-dev 2017-09-25 12:13:29 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=54513806643925f700f516238463ea36ce9d783c

commit 54513806643925f700f516238463ea36ce9d783c
Author:     Michael Haubenwallner <haubi@gentoo.org>
AuthorDate: 2017-09-25 12:12:18 +0000
Commit:     Michael Haubenwallner <haubi@gentoo.org>
CommitDate: 2017-09-25 12:12:55 +0000

    dev-db/oracle-instantclient: fix lib.so symlinks
    
    Closes: https://bugs.gentoo.org/631844
    
    Package-Manager: Portage-2.3.8, Repoman-2.3.1

 .../oracle-instantclient-12.2.0.1-r1.ebuild        | 304 +++++++++++++++++++++
 1 file changed, 304 insertions(+)