<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "http://bugs.gentoo.org/bugzilla.dtd">

<bugzilla version="2.22.7"
          urlbase="http://bugs.gentoo.org/"
          maintainer="bugzilla@gentoo.org"
>

    <bug>
          <bug_id>242430</bug_id>
          
          <creation_ts>2008-10-17 05:19 0000</creation_ts>
          <short_desc>app-text/texlive-core-2008-r1 fails to build under et_EE locale</short_desc>
          <delta_ts>2008-10-18 08:10:04 0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Gentoo Linux</product>
          <component>Applications</component>
          <version>unspecified</version>
          <rep_platform>All</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>plaes@plaes.org</reporter>
          <assigned_to>bug-wranglers@gentoo.org</assigned_to>
          <cc>tex@gentoo.org</cc>

      

      
          <long_desc isprivate="0">
            <who>plaes@plaes.org</who>
            <bug_when>2008-10-17 05:19:59 0000</bug_when>
            <thetext>During the build following sed script is being used:
[snip]
cp /dev/null sedscript
for f in ../kpathsea/paths.h; do \
	  sed -n -e &apos;/^#define/s/#define[ 	][ 	]*\([A-Z_a-z][A-Z_a-z]*\)[ 	][ 	]*\(.*\)/s%@\1@%\2%/p&apos; \
		$f \
	  | sed -e &apos;s/&quot;//g&apos; -e &apos;s/[ 	]*\/\*[^*]*\*\///g&apos; &gt;&gt;sedscript;\
	done
[/snip]

Unfortunately [A-Z_a-z] under et_EE locale this range is not the same range as it is wanted (Estonian alphabet: ..p,q,r,s,š,z,ž,t,u,v,...) and this causes build error:

[snip]
tex-file.c:438: error: &apos;DEFAULT_GFFONTS&apos; undeclared (first use in this function)
tex-file.c:438: error: (Each undeclared identifier is reported only once
tex-file.c:438: error: for each function it appears in.)
tex-file.c:445: error: &apos;DEFAULT_PKFONTS&apos; undeclared (first use in this function)
tex-file.c:452: error: &apos;DEFAULT_GLYPHFONTS&apos; undeclared (first use in this function
...
[/snip]</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>wormo@gentoo.org</who>
            <bug_when>2008-10-18 02:01:56 0000</bug_when>
            <thetext>Typical shell-scripting bug... looks like this is an upstream problem, but gentoo tex maintainers should be able to patch it for now and help upstream to fix it. Could you help them find the problem more quickly by specifying which file has the broken code you posted?</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>aballier@gentoo.org</who>
            <bug_when>2008-10-18 08:10:04 0000</bug_when>
            <thetext>thanks for the report, i&apos;ve set LC_ALL to C at the top of the src_compile. After grepping the source, there are waaaaayyy too many A-Z a-z regexps... even if we fix the build problem, there may very well remain some hidden problems, so i&apos;ve prefered the simple way of setting C locale instead.</thetext>
          </long_desc>
      
    </bug>

</bugzilla>