Summary: | media-video/guvcview fails to build due to a locale error | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Ivan <Ivan.Miljenovic> |
Component: | Current packages | Assignee: | Samuli Suominen (RETIRED) <ssuominen> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | High | ||
Version: | 2008.0 | ||
Hardware: | x86 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | #include <locale.h> |
Description
Ivan
2008-12-10 09:38:42 UTC
emerge --info, the implicit declaration refers to a missing #include <locale.h> in guvcview.c but why in the *eck I didn't get this when building? that's why I want to see your emerge --info. I see, I don't have LC_ALL set which might have prevented me from hitting this bug. Created attachment 174837 [details, diff]
#include <locale.h>
Try this and report back.
Add "inherit eutils" to the ebuild, and src_unpack() { unpack ${A} cd "${S}" epatch "${FILESDIR}"/${P}-implicit_declaration_setlocale.patch } To apply the patch. After removing the "-src" from the patch filename, it worked! Thanks Samuli (In reply to comment #5) > After removing the "-src" from the patch filename, it worked! > > Thanks Samuli > yeah that was a typing error from my part, sorry about it.... + 10 Dec 2008; <ssuominen@gentoo.org> + +files/guvcview-0.9.6-implicit_declaration_setlocale.patch, + guvcview-0.9.6.ebuild: + Add include for locale.h to get setlocale wrt #250495, thanks to Ivan + Miljenovic. added in portage now, thanks for testing |