Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 154584 - stabilize =dev-db/oracle-instantclient-basic-10.1.0.5
Summary: stabilize =dev-db/oracle-instantclient-basic-10.1.0.5
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Tobias Scherbaum (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-11-09 11:08 UTC by Eric E. Coe
Modified: 2006-12-26 10:48 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 Eric E. Coe 2006-11-09 11:08:39 UTC
First brought up here:

http://forums.gentoo.org/viewtopic-t-514215.html

This is in reference to 

dev-db/oracle-instantclient-basic
dev-db/oracle-instantclient-jdbc
dev-db/oracle-instantclient-sqlplus

The currently available versions (10.1.0.5) are blocked for x86, the older versions demanded by the ebuilds (10.1.0.4) are no longer available on the Oracle site.
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-11-09 11:16:53 UTC
(In reply to comment #0)
> The currently available versions (10.1.0.5) are blocked for x86

I fail to see how are they blocked, they are keyworded ~x86, why don't just stick it into /etc/portage/package.keywords?
Comment 2 Eric E. Coe 2006-11-09 13:19:19 UTC
(In reply to comment #1)
> (In reply to comment #0)
> > The currently available versions (10.1.0.5) are blocked for x86
> 
> I fail to see how are they blocked, they are keyworded ~x86, why don't just
> stick it into /etc/portage/package.keywords?
> 

I admit I am a newb to Gentoo.  The 10.1.0.5 emerge does not work out of the box, and Oracle, in their infinite wisdom, decided to take down the version that the working 10.1.0.4 emerge refrences.

Besides, the Gentoo manual states (1.d., Masked Packages):

"-arch keyword or -* keyword means that the application does not work on your architecture. If you believe the package does work file a bug at our bugzilla website." 

So I did, as I noticed that the person who committed the 10.1.0.5 version (dertobi123) specalizes in non-x86 architectures, and probably could/did not test x86 - vs. the committer (nelchael) for the 10.1.0.4 version.

As far as the file /etc/portage/package.keywords is concerned, first I have heard of it.  It's not mentioned in the Gentoo manual, as far as I can tell.

So if there is a way to override that flag for this set of packages only, I would love to know... But it should probably be fixed going forward anyway.
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2006-11-10 05:35:44 UTC
(In reply to comment #2)

http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?part=3&chap=3
Comment 4 Tobias Scherbaum (RETIRED) gentoo-dev 2006-11-10 07:44:46 UTC
(In reply to comment #2)
> So I did, as I noticed that the person who committed the 10.1.0.5 version
> (dertobi123) specalizes in non-x86 architectures, and probably could/did not
> test x86 - vs. the committer (nelchael) for the 10.1.0.4 version.

Sure I can and did test on x86 ... that I'm also working on other architectures teams doesn't mean that I'm not testing the packages I maintain on x86. Besides that I'm not checking the download links at Oracle regularly.
 
> As far as the file /etc/portage/package.keywords is concerned, first I have
> heard of it.  It's not mentioned in the Gentoo manual, as far as I can tell.
> 
> So if there is a way to override that flag for this set of packages only, I
> would love to know... But it should probably be fixed going forward anyway.

Take a look at the link Jakub posted ;)

x86: Please stabilize =dev-db/oracle-instantclient-basic-10.1.0.5
Comment 5 Eric E. Coe 2006-11-10 11:49:54 UTC
Yes. Found that info in the man page for portage... (duh! /smacks forehead/ )

Sorry about the arch misunderstanding... I read too much into the entry on the maintainer's page.

Anyway, after adding those packages to the file, and forcing 10.1.0.5, got all three packages to install.   However, subsequently, I needed to install DBD::Oracle (for perl) on top, no such emerge exists, so I added one in /usr/local/portage (and you can have it if you want, it's a pretty generic perl ebuild - the only kind I can do right now).  The DBD::Oracle build was failing to find the proper makefile demo makefile (they have some problems with what they are looking for, I intend to drop them a line about it).  Anyway, to get that to work, I needed to hack the install area '/usr/lib/oracle/10.1.0.5/client' to add
'rdbms' and 'rdbms/demo' directories, unzip the files placed in '/usr/share/doc/oracle-instantclient-basic-10.1.0.5' and rename the 'demo.mk' to 'demo_rdbms.mk' - then the perl install was able to function properly.

Basically, the demo files should remain a live part of the install, as they are considered templates for builds of 3rd-party packages that work with oracle; and not be (only) shuffled off to the /usr/share/doc tree.

The specific perl build problems can probably be fixed with symlinks (easy), or possibly gentoo patch for the Makefile.PL file (more work, but cleaner).  What is the preferred method for this?
Comment 6 Eric E. Coe 2006-11-14 14:37:05 UTC
Never mind the above query and change request... the problem for the DBD-Oracle ebuild is fixed, and will work fine with the current instantclient ebuilds.
Comment 7 Christian Faulhammer (RETIRED) gentoo-dev 2006-11-17 00:49:06 UTC
How can I get a login to Oracle? I can't test it to stabilise..
Comment 8 Christian Faulhammer (RETIRED) gentoo-dev 2006-11-17 05:27:30 UTC
dertobi123 can stabilise himself.
Comment 9 Tobias Scherbaum (RETIRED) gentoo-dev 2006-12-26 10:48:59 UTC
x86 stable, sorry for the delay.