[MBT] new ticket for pkg autoconf "Serious bug in autoconf???"

bugs at pld.org.pl bugs at pld.org.pl
Wed Apr 23 22:00:42 CEST 2003


Date: 2003-04-23 22:00:40+02	Author: Tomasz Wasiak (tjwasiak) <tjwasiak at pex.com.pl> 
Title:         Serious bug in autoconf???
Ticket ID:     #644
Ticket URL:    http://bugs.pld.org.pl/?bug=644
Package:       autoconf-2.57-5
Distribution:  
Category:      doesn't work as it should
Current state: opened
Text:

Yesterday while trying to build gnumeric-1.0.13 I built autoconf 2.57-5 on my Ra system. Problem is that after regenerating (%{__autoconf}) configure script is broken - it does set libole2_ok to no when libole2 is found. I've checked configure.in and it should set it to yes. configure.in <lines 353-376, check line 362>: dnl Check for libole2
AC_MSG_CHECKING(for libole2 >= 0.2.4
libole2_ok=no
if gnome-config --libs libole2 > /dev/null 2>&1; then
        verstxt=`gnome-config --modversion libole2`
        vers=`echo "$verstxt" | sed -e "s/^libole2-//" | \
                awk -F. '{ printf "%d",  * 10000 +  * 100 + ; }'`
        if test "$vers" -ge 204; then
                AC_MSG_RESULT($marker_ok found $verstxt)
                libole2_ok=yes
        else
                AC_MSG_RESULT($marker_fail found only $verstxt)
        fi
else
        AC_MSG_RESULT($marker_fail not found)
fi
if test "$libole2_ok" = no; then
        AC_MSG_ERROR(This version of gnumeric requires an external
libole2 library the latest version can be obtained from
ftp://ftp.gnome.org/pub/GNOME/unstable/sources/libole2/

)
fi
unset libole2_ok

configure <lines 17268-17300, check line 17278>: echo "$as_me:$LINENO: checking for libole2 >= 0.2.4
echo $ECHO_N "checking for libole2 >= 0.2.4
libole2_ok=no
if gnome-config --libs libole2 > /dev/null 2>&1; then
        verstxt=`gnome-config --modversion libole2`
        vers=`echo "$verstxt" | sed -e "s/^libole2-//" | \
                awk -F. '{ printf "%d",  * 10000 +  * 100 + ; }'`
        if test "$vers" -ge 204; then
                echo "$as_me:$LINENO: result: $marker_ok found $verstxt" >&5
echo "${ECHO_T}$marker_ok found $verstxt" >&6
                libole2_ok=no
        else
                echo "$as_me:$LINENO: result: $marker_fail found only $verstxt"
echo "${ECHO_T}$marker_fail found only $verstxt" >&6
        fi
else
        echo "$as_me:$LINENO: result: $marker_fail not found" >&5
echo "${ECHO_T}$marker_fail not found" >&6
fi
if test "$libole2_ok" = no; then
        { { echo "$as_me:$LINENO: error: This version of gnumeric requires an exlibole2 library the latest version can be obtained from
ftp://ftp.gnome.org/pub/GNOME/unstable/sources/libole2/

" >&5
echo "$as_me: error: This version of gnumeric requires an external
libole2 library the latest version can be obtained from
ftp://ftp.gnome.org/pub/GNOME/unstable/sources/libole2/

" >&2;}
   { (exit 1); exit 1; }; }
fi
unset libole2_ok

Maybe I should report it to autoconf developers??



More information about the pld-bugs mailing list