Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 441742 - app-admin/mcelog-1.0_pre3 has the severe warning "implicit declaration of function ‘fstat’", fixed upstream, 1.0_pre3_p20120918 not accessible
Summary: app-admin/mcelog-1.0_pre3 has the severe warning "implicit declaration of fun...
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Low minor
Assignee: Julian Ospald
URL: https://github.com/andikleen/mcelog/c...
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2012-11-04 13:28 UTC by Vincent Brillault
Modified: 2013-11-24 20:43 UTC (History)
1 user (show)

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


Attachments
Simple ebuild change to backport warning fix (mcelog-fstat.patch,627 bytes, patch)
2012-11-04 13:28 UTC, Vincent Brillault
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Vincent Brillault 2012-11-04 13:28:53 UTC
Created attachment 328318 [details, diff]
Simple ebuild change to backport warning fix

The current mcelog stable version contains a severe compilation warning:
sysfs.c:39:2: warning: implicit declaration of function ‘fstat’
This warning generates a warning at the end of the compilation and a QA Notice. But it was fixed upstream by: https://github.com/andikleen/mcelog/commit/9761d4f9de44d80bbed101757d875f8bc3fc9c87

The unstable version, 1.0_pre3_p20120918, is not available on stable machines as it uses EAPI=5 (which is not available in the lastest stable portage).

Would it be possible either to have a non EAPI=5 newer version either to back-port the fix (and the init script ?) ?
Comment 1 Tom Wijsman (TomWij) (RETIRED) gentoo-dev 2012-11-05 05:26:51 UTC
hasufell: Just learned I shouldn't CC herd maintainers if I assign to a herd, to avoid that you receive any further comments double I have removed you from CC.
Comment 2 Julian Ospald 2012-11-05 09:43:03 UTC
does this produce actual runtime issues?

I'm not going out of my way to fix warnings (not errors).

reverting back to eapi=4 seems silly, since mixing stable and unstable is not supported anyway (although I use it heavily myself)

if you want the update, just use portage from ~arch