Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 560314 - dev-perl/DBD-mysql-4.31.0 Compile Failure with embedded USE Flag Set
Summary: dev-perl/DBD-mysql-4.31.0 Compile Failure with embedded USE Flag Set
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Perl team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-09-13 03:51 UTC by John R. Graham
Modified: 2015-09-27 15:44 UTC (History)
0 users

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


Attachments
Build log. (dev-perl:DBD-mysql-4.31.0:20150913-035123.log,12.12 KB, text/plain)
2015-09-13 03:57 UTC, John R. Graham
Details
Patch to add the missing parameter support. (DBD-mysql-4.31.0-print_embedded_options.patch,616 bytes, patch)
2015-09-13 03:59 UTC, John R. Graham
Details | Diff
Modified ebuild applies the patch. (DBD-mysql-4.31.0.ebuild,1.36 KB, text/plain)
2015-09-13 04:00 UTC, John R. Graham
Details
emerge --info '=dev-perl/DBD-mysql-4.31.0::gentoo' (emerge-info.txt,16.57 KB, text/plain)
2015-09-13 04:02 UTC, John R. Graham
Details

Note You need to log in before you can comment on or make changes to this bug.
Description John R. Graham gentoo-dev 2015-09-13 03:51:05 UTC
Build log attached. This appears to be a straightforward coding typo. In source file dbdimp.c, a local utility function print_embedded_options() is called with three parameters but the function prototype has only two. Most straightforward solution is to add the missing parameter. Patch and modified ebuild attached.

This compile error only manifests of the embedded USE flag is set.

Also, as the latest upstream (4.32) still appears to have this issue, I will also be submitting to upstream.
Comment 1 John R. Graham gentoo-dev 2015-09-13 03:57:40 UTC
Created attachment 411764 [details]
Build log.

Build log attached.
Comment 2 John R. Graham gentoo-dev 2015-09-13 03:59:28 UTC
Created attachment 411766 [details, diff]
Patch to add the missing parameter support.
Comment 3 John R. Graham gentoo-dev 2015-09-13 04:00:18 UTC
Created attachment 411768 [details]
Modified ebuild applies the patch.
Comment 4 John R. Graham gentoo-dev 2015-09-13 04:02:22 UTC
Created attachment 411770 [details]
emerge --info '=dev-perl/DBD-mysql-4.31.0::gentoo'