[Pkg-db-devel] libdb*, mutex and threading

Andreas Barth aba@not.so.argh.org
Sun, 30 Jan 2005 16:33:33 +0100


* Andreas Barth (aba@not.so.argh.org) [050130 16:05]:
> [...]


there is an issue with this hunk:

> @@ -21001,7 +21709,7 @@
>  	echo "$as_me:$LINENO: result: $JAVA_VERSION" >&5
>  echo "${ECHO_T}$JAVA_VERSION" >&6
>  	case "$JAVA_VERSION" in
> -	1.[3456789]* | *1.[0-9].[0-9]* | [23456789]* ) ;;
> +	1.[3456789]* | 1.[1-9][0-9]* | [23456789]* ) ;;
>  	* )
>  		{ { echo "$as_me:$LINENO: error: Java version 1.3 or higher required, got $JAVA_VERSION" >&5
>  echo "$as_me: error: Java version 1.3 or higher required, got $JAVA_VERSION" >&2;}
> @@ -21057,21 +21765,28 @@

This leads to FTBFS with sablevm installed, giving:
  configure: error: Java version 1.3 or higher required, got SableVM version 1.1.9
I believe that the real Patch should be to fix this stanza in the
upstream auto*-tools:

        case "$JAVA" in
        *kaffe* )
                JAVA_VERSION=`$JAVA -version 2>&1 |
                        sed -e '/Java Version:/!d' -e 's/.*Java Version: \([^   ]*\)[   ]*/\1/'` ;;
        * )     JAVA_VERSION=`$JAVA -version 2>&1 |
                        sed -e '/ version /!d' -e 's/.*"\(.*\)".*/\1/'` ;;
        esac
        echo "$as_me:$LINENO: result: $JAVA_VERSION" >&5
echo "${ECHO_T}$JAVA_VERSION" >&6
        case "$JAVA_VERSION" in
        1.[3456789]* | *1.[0-9].[0-9]* | [23456789]* ) ;;

(and special-case also Sablevm). But well, for now, I undid this hunk.
Of course, I'll document that - and if somebody knows where to file this
bug against, please do so.



Cheers,
Andi
-- 
   http://home.arcor.de/andreas-barth/
   PGP 1024/89FB5CE5  DC F1 85 6D A6 45 9C 0F  3B BE F1 D0 C5 D1 D9 0C