Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 165834 - dev-db/oracle-instantclient-basic-10.2.0.3 omits sdk/demo/demo.mk file required to build some programs against oracle libs
Summary: dev-db/oracle-instantclient-basic-10.2.0.3 omits sdk/demo/demo.mk file requir...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Tobias Scherbaum (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-02-07 21:28 UTC by Daniel Ceregatti
Modified: 2007-03-25 16:41 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
Replacement oracle-instantclient-basic/oracle-instantclient-basic-10.2.0.3.ebuild (oracle-instantclient-basic-10.2.0.3.ebuild,3.29 KB, text/plain)
2007-02-07 21:29 UTC, Daniel Ceregatti
Details
Patch for new ebuild, patches demo_xe.mk, goes in ${FILESDIR} (oracle-instantclient-basic-10.2.0.3-makefile.patch,356 bytes, patch)
2007-02-07 21:32 UTC, Daniel Ceregatti
Details | Diff
Replacement oracle-instantclient-basic/oracle-instantclient-basic-10.2.0.3.ebuild (oic.patch,801 bytes, patch)
2007-02-07 22:11 UTC, Daniel Ceregatti
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Daniel Ceregatti 2007-02-07 21:28:46 UTC
Within the instantclient-sdk-linux{32,-x86-64}-10.2.0.3-20070103.zip files exists a directory named sdk/demo which contains the file demo.mk. Some programs, like the DBD::Oracle perl module, require this file to compile. I've changed the oracle-instantclient-basic-10.2.0.3.ebuild file to install this file, but named as demo_xe.mk, since this is what DBD::Oracle's make process looks for, with a slight alteration to ensure that needed CFLAGS are included. This allowed me to install DBD::Oracle directly from g-cpan without failure.

Reproducible: Always

Steps to Reproduce:
1. g-cpan -i DBD::Oracle
2.
3.

Actual Results:  
It fails to build.

Expected Results:  
It should build, but doesn't, because of oracle-instantclient-basic's lack of demo.mk.

Attachments follow.
Comment 1 Daniel Ceregatti 2007-02-07 21:29:58 UTC
Created attachment 109467 [details]
Replacement oracle-instantclient-basic/oracle-instantclient-basic-10.2.0.3.ebuild
Comment 2 Daniel Ceregatti 2007-02-07 21:32:02 UTC
Created attachment 109468 [details, diff]
Patch for new ebuild, patches demo_xe.mk, goes in ${FILESDIR}
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2007-02-07 21:39:23 UTC
Please, use unified diff instead of attaching the whole ebuild.
Comment 4 Daniel Ceregatti 2007-02-07 22:11:28 UTC
Created attachment 109469 [details, diff]
Replacement oracle-instantclient-basic/oracle-instantclient-basic-10.2.0.3.ebuild

As requested.
Comment 5 Tobias Scherbaum (RETIRED) gentoo-dev 2007-03-25 16:41:47 UTC
Fixed in CVS. Thanks!