Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 46229 - incorrect use of inherit in unixODBC-2.2.8.ebuild
Summary: incorrect use of inherit in unixODBC-2.2.8.ebuild
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High trivial
Assignee: Ryan Phillips (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-03-30 04:30 UTC by Andrew Ross (RETIRED)
Modified: 2004-06-23 12:52 UTC (History)
0 users

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


Attachments
Patch to fix incorrect location of call to inherit (inherit-fix.patch,660 bytes, patch)
2004-03-30 04:37 UTC, Andrew Ross (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Andrew Ross (RETIRED) gentoo-dev 2004-03-30 04:30:46 UTC
The unixODBC-2.2.8.ebuild sets variables (including DESCRIPTION) before calling inherit. The inherited eclasses then overwrite DESCRIPTION, causing the results of "emerge search unixODBC" to be incorrect.

Reproducible: Always
Steps to Reproduce:
1. ACCEPT_KEYWORDS='~x86' emerge search unixODBC

Actual Results:  
Output of emerge search contains "Description: Based on the gnuconfig eclass"


Expected Results:  
Output of emerge search should contain "Description: ODBC Interface for Linux"

Apologies if this has been submitted under the wrong component - wasn't sure if
I should use "Applications" or "Ebuilds". Is "Ebuilds" only intended for
submitting ebuilds, or also for reporting bugs in ebuilds (such as this)?
Comment 1 Andrew Ross (RETIRED) gentoo-dev 2004-03-30 04:37:43 UTC
Created attachment 28362 [details, diff]
Patch to fix incorrect location of call to inherit

Do you prefer patches created using "diff" or "diff -u" (or something else)?
Comment 2 Mr. Bones. (RETIRED) gentoo-dev 2004-06-23 12:52:13 UTC
This has been fixed.