[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[wdiff-bugs] Bug#583000: bashism in configure script makes build to fail

From: Santiago Vila
Subject: [wdiff-bugs] Bug#583000: bashism in configure script makes build to fail
Date: Tue, 25 May 2010 13:15:49 +0200 (CEST)
User-agent: Alpine 1.10 (DEB 962 2008-03-14)


I received this report from the Debian bug system.

It seems the root of the problem is a bashism in the configure script.
Patch follows.

BTW: Adding the letter "x" reminds me of MS-DOS .BAT programming,
where such trick was necessary. Should "$with_termcap" = "auto" not
work well enough, even if $with_termcap is empty?

--- a/configure
+++ b/configure
@@ -16130,7 +16130,7 @@
- if test "x$with_termcap" == xauto; then :
+ if test "x$with_termcap" = xauto; then :
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing 
tputs" >&5
 $as_echo_n "checking for library containing tputs... " >&6; }
--- a/configure.ac
+++ b/configure.ac
@@ -81,7 +81,7 @@
  [], [with_termcap=auto])
 AS_IF([test "x$with_termcap" != xno], [
  AC_CHECK_HEADERS([termcap.h termlib.h curses.h ncurses.h term.h])
- AS_IF([test "x$with_termcap" == xauto], [
+ AS_IF([test "x$with_termcap" = xauto], [
   AC_SEARCH_LIBS(tputs, [termcap termlib ncursesw ncurses],
    [], [with_termcap=no])
  ], [

---------- Forwarded message ----------
From: Lucas Nussbaum <address@hidden>
To: address@hidden
Date: Tue, 25 May 2010 08:46:19 +0200
Subject: Bug#583000: wdiff: FTBFS: ld: cannot find -lauto

Source: wdiff
Version: 0.6.1-1
Severity: serious
Tags: squeeze sid
User: address@hidden
Usertags: qa-ftbfs-20100524 qa-ftbfs
Justification: FTBFS on amd64


During a rebuild of all packages in sid, your package failed to build on

Relevant part:
> gcc  -g -Wall -O2   -o wdiff wdiff.o readpipe.o writepipe.o ../lib/libgnu.a  
> -lauto 
> /usr/bin/ld: cannot find -lauto
> collect2: ld returned 1 exit status

The full build log is available from:

A list of current common problems and possible solutions is available at 
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

About the archive rebuild: The rebuild was done on about 50 AMD64 nodes
of the Grid'5000 platform, using a clean chroot.  Internet was not
accessible from the build systems.

| Lucas Nussbaum
| address@hidden   http://www.lucas-nussbaum.net/ |
| jabber: address@hidden             GPG: 1024D/023B3F4F |

reply via email to

[Prev in Thread] Current Thread [Next in Thread]