Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 254619 - media-libs/gegl-0.0.22 fails to emerge because of undefined LC_ALL
Summary: media-libs/gegl-0.0.22 fails to emerge because of undefined LC_ALL
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Hanno Böck
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-01-12 10:59 UTC by Christian Weiske
Modified: 2009-01-15 14:00 UTC (History)
0 users

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


Attachments
build.log (build.log,101.38 KB, text/plain)
2009-01-12 11:00 UTC, Christian Weiske
Details
environment (environment,87.40 KB, text/plain)
2009-01-12 11:01 UTC, Christian Weiske
Details
emerge gegl (emergegegl,102.17 KB, text/plain)
2009-01-14 22:04 UTC, Christian Weiske
Details
emerge --info (emerge--info,4.35 KB, text/plain)
2009-01-14 22:05 UTC, Christian Weiske
Details
Patch that adds locale.h to gegl-init.c (gegl-0.0.22-locale_h.diff,282 bytes, patch)
2009-01-14 22:09 UTC, Hanno Böck
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Christian Weiske 2009-01-12 10:59:39 UTC
Instaling media-libs/gegl-0.0.22 fails to emerge:

gegl-init.c: In function 'gegl_init_i18n':
gegl-init.c:406: warning: implicit declaration of function 'setlocale'
gegl-init.c:406: error: 'LC_ALL' undeclared (first use in this function)
gegl-init.c:406: error: (Each undeclared identifier is reported only once
gegl-init.c:406: error: for each function it appears in.)
make[3]: *** [gegl-init.lo] Error 1
Comment 1 Christian Weiske 2009-01-12 11:00:16 UTC
Created attachment 178155 [details]
build.log
Comment 2 Christian Weiske 2009-01-12 11:01:00 UTC
Created attachment 178156 [details]
environment
Comment 3 Hanno Böck gentoo-dev 2009-01-13 23:51:00 UTC
I wasn't able to reproduce that behaviour (tried unsetting LC_ALL and setting it to C), any ideas what might be special on your system triggering this?
Comment 4 Christian Weiske 2009-01-14 12:45:42 UTC
That LC_ALL is used directly on line 406 in gegl-init.c. It seems as if that constant is not defined. (I don't think that has anything to do with my bash shell)
Comment 5 Hanno Böck gentoo-dev 2009-01-14 21:25:36 UTC
Can you please post the output of

emerge --info

and

emerge -pv gegl

?
Comment 6 Christian Weiske 2009-01-14 22:04:20 UTC
Created attachment 178516 [details]
emerge gegl
Comment 7 Christian Weiske 2009-01-14 22:05:04 UTC
Created attachment 178517 [details]
emerge --info
Comment 8 Christian Weiske 2009-01-14 22:05:57 UTC
Sorry for the spam:

bogo ~ # emerge -pv gegl

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild     U ] media-libs/gegl-0.0.22 [0.0.20] USE="cairo jpeg mmx png sdl sse svg v4l -debug -doc -ffmpeg -openexr -raw" 0 kB

Total: 1 package (1 upgrade), Size of downloads: 0 kB
Comment 9 Hanno Böck gentoo-dev 2009-01-14 22:09:22 UTC
Created attachment 178518 [details, diff]
Patch that adds locale.h to gegl-init.c

Can you try out this patch?
Comment 10 Aku Jokinen 2009-01-15 10:13:43 UTC
I tried the patch and it worked for me.
Comment 11 Christian Weiske 2009-01-15 13:27:57 UTC
patch works for me
Comment 12 Hanno Böck gentoo-dev 2009-01-15 14:00:36 UTC
added patch and submitted upstream:
http://bugzilla.gnome.org/show_bug.cgi?id=567862