Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 270042 - audacious-plugins-2.x fails to compile in Turkish locale
Summary: audacious-plugins-2.x fails to compile in Turkish locale
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Tony Vroon (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-05-16 10:40 UTC by Serkan Kaba (RETIRED)
Modified: 2009-09-15 23:25 UTC (History)
2 users (show)

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


Attachments
build.log (build.log,75.53 KB, text/plain)
2009-05-16 10:40 UTC, Serkan Kaba (RETIRED)
Details
Patch to fix the issue (2.1-locale.patch,521 bytes, patch)
2009-07-28 19:42 UTC, Serkan Kaba (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Serkan Kaba (RETIRED) gentoo-dev 2009-05-16 10:40:08 UTC
it fails to find the constant FILEWRITER_CFGID, I guess this is something autogenerated and failing due to i->İ case-conversion in Turkish. See my blog post[1] for more information about the issue.

1: http://blogs.gentoo.org/serkan/2008/11/16/applications_failing_with_turkish_locale
Comment 1 Serkan Kaba (RETIRED) gentoo-dev 2009-05-16 10:40:36 UTC
Created attachment 191458 [details]
build.log
Comment 2 Serkan Kaba (RETIRED) gentoo-dev 2009-06-27 04:34:29 UTC
2.1_beta1 suffers from the same issue.
Comment 3 Harald van Dijk (RETIRED) gentoo-dev 2009-07-08 18:18:10 UTC
I just ran into this with 2.1. This is indeed a locale issue, and it can be made to work as simply as

--- audacious-plugins-2.1/extra.mk.in
+++ audacious-plugins-2.1/extra.mk.in
@@ -386 +386 @@
-PLUGIN_DEFNAME := `echo ${subst ${PLUGIN_SUFFIX},,${PLUGIN}} | tr '[:lower:]' '[:upper:]' | tr '-' '_'`
+PLUGIN_DEFNAME := `echo ${subst ${PLUGIN_SUFFIX},,${PLUGIN}} | LC_ALL=C tr '[:lower:]' '[:upper:]' | tr '-' '_'`
Comment 4 Serkan Kaba (RETIRED) gentoo-dev 2009-07-28 19:42:03 UTC
Created attachment 199468 [details, diff]
Patch to fix the issue

I recrated the patch as the given doesnt apply
Comment 5 Tony Vroon (RETIRED) gentoo-dev 2009-09-09 18:24:19 UTC
http://hg.atheme.org/audacious-plugins/rev/cb883cfa9dc7
Please note my initial mask message, urging anyone to file bugs upstream. This will be in 2.2
Comment 6 Tony Vroon (RETIRED) gentoo-dev 2009-09-15 23:25:16 UTC
To confirm, this is in 2.2_alpha1 which is now in the tree.