Re: Trouble with apbuild dependencies

Jan Niklas Hasse <[email protected]> Wed, 11 Mar 2009 19:04:41 +0100
Newsgroups gmane.comp.autopackage.devel
Message-ID <[email protected]>
On Wed, Mar 11, 2009 at 6:52 PM, Scott Pakin <[email protected]> wrote:
> Until GLIBC_2.10 is released the following should do the trick:
>
> --- makepackage.2552    2009-03-11 11:28:56.543272000 -0600
> +++ makepackage 2009-03-11 11:40:08.562942000 -0600
> @@ -1292,10 +1292,7 @@
>        stub=$(echo "$stub" | sed "s/%LibCSymbols%/$symbols/")
>        found_too_new=false
>        for s in $symbols; do
> -               if echo "$s" | grep "GLIBC_2\.4" >/dev/null; then
> -                       found_too_new=true
> -               fi
> -               if echo "$s" | grep "GLIBC_2\.5" >/dev/null; then
> +               if echo "$s" | grep -E -q "GLIBC_2\.[4-9]"; then
>                        found_too_new=true
>                fi
>        done
>
>
> Note that I also replaced the redirection to /dev/null with the use of
> the -q (quiet) flag.
>
> -- Scott

Thanks again! Applied in r2553: http://trac.autopackage.org/changeset/2553

---------------------------------------------------------------------
To unsubscribe, e-mail: autopackage-dev-unsubscribe-OfajU3CKLf1/[email protected]
For additional commands, e-mail: autopackage-dev-help-OfajU3CKLf1/[email protected]