tags 634606 patch
user ubuntu-de...@lists.ubuntu.com
usertags 634606 ubuntu-patch oneiric
thanks

On Tue, Jul 19, 2011 at 08:38:06AM +0200, Lucas Nussbaum wrote:
> During a rebuild of all packages in sid, your package failed to build on
> amd64.
> 
> Relevant part:
[...]
> > grep: character class syntax is [[:space:]], not [:space:]
> > checking for correct ltmain.sh version... no
> > 
> > *** Gentoo sanity check failed! ***
> > *** libtool.m4 and ltmain.sh have a version mismatch! ***
> > *** (libtool.m4 = 1.5.18, ltmain.sh = ) ***

Here's a patch.

  * aclocal.m4: Add an extra layer of quoting to ltmain.sh sanity check
    (closes: #634606, LP: #831236).

--- gcolor2-0.4.orig/aclocal.m4
+++ gcolor2-0.4/aclocal.m4
@@ -1106,7 +1106,7 @@
   exit 1
 fi
 gentoo_lt_version="1.5.18"
-gentoo_ltmain_version=`grep '^[[:space:]]*VERSION=' $ltmain | sed -e 
's|^[[:space:]]*VERSION=||'`
+gentoo_ltmain_version=`[grep '^[[:space:]]*VERSION=' $ltmain | sed -e 
's|^[[:space:]]*VERSION=||']`
 if test "$gentoo_lt_version" != "$gentoo_ltmain_version"; then
   AC_MSG_RESULT(no)
   echo
--- gcolor2-0.4.orig/configure
+++ gcolor2-0.4/configure
@@ -6155,7 +6155,7 @@
   exit 1
 fi
 gentoo_lt_version="1.5.18"
-gentoo_ltmain_version=`grep '^[:space:]*VERSION=' $ltmain | sed -e 
's|^[:space:]*VERSION=||'`
+gentoo_ltmain_version=`grep '^[[:space:]]*VERSION=' $ltmain | sed -e 
's|^[[:space:]]*VERSION=||'`
 if test "$gentoo_lt_version" != "$gentoo_ltmain_version"; then
   echo "$as_me:$LINENO: result: no" >&5
 echo "${ECHO_T}no" >&6

Thanks,

-- 
Colin Watson                                       [cjwat...@ubuntu.com]



-- 
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to