<?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>111353</bug_id>
          
          <creation_ts>2005-11-03 05:17 0000</creation_ts>
          <short_desc>gentoo version check in libtool uses non-portable character classes</short_desc>
          <delta_ts>2005-11-03 18:33:26 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>Development</component>
          <version>unspecified</version>
          <rep_platform>All</rep_platform>
          <op_sys>Other</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          
          <priority>P2</priority>
          <bug_severity>enhancement</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>goodbyte100@yahoo.com</reporter>
          <assigned_to>base-system@gentoo.org</assigned_to>
          

      

      
          <long_desc isprivate="0">
            <who>goodbyte100@yahoo.com</who>
            <bug_when>2005-11-03 05:17:24 0000</bug_when>
            <thetext>I have a cross platform project that I am testing on both a
&quot;Linux ike 2.6.12-nitro5 #4 SMP Sat Sep 10 12:47:01 CEST 2005 i686 Intel(R)
&quot;Pentium(R) 4 CPU 3.00GHz GenuineIntel GNU/Linux
and a
&quot;SunOS login-9 5.8 Generic_117350-06 sun4u sparc SUNW,Ultra-5_10&quot;. I do the main
development on the linux box and every once in a while I make a package and test
it on the SunOS box. My problem is that the libtool version that is shipped with
gentoo (1.5.20) includes a &quot;sanity check&quot; to ensure ltmain.sh and libtool.m4
have same version number. The version number is extracted from ltmain.sh with:
grep &apos;^[[:space:]]*VERSION=&apos; ltmain.sh | sed -e &apos;s|^[[:space:]]*VERSION=||&apos;
but the sed version on the solaris box does not support [:space:] as a character
class and thus I get following error message:

*** [Gentoo] sanity check failed! ***
*** libtool.m4 and ltmain.sh have a version mismatch! ***
*** (libtool.m4 = 1.5.20, ltmain.sh = VERSION=1.5.20) ***

by instead using 
grep &apos;^[[:space:]]*VERSION=&apos; ltmain.sh | sed -e &apos;s|^[ ]*VERSION=||&apos;
the problem is solved.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>vapier@gentoo.org</who>
            <bug_when>2005-11-03 05:45:21 0000</bug_when>
            <thetext>i dont think we can use any character classes, be it with grep or sed

if we just rewrite it and put in the space/tab ourselves it should be
fine i think</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>vapier@gentoo.org</who>
            <bug_when>2005-11-03 18:33:26 0000</bug_when>
            <thetext>fixed in 1.5.20-r1, thanks for reporting :)</thetext>
          </long_desc>
      
    </bug>

</bugzilla>