tags 650599 + wheezy
thanks

On 2011-12-01 00:52 +0100, Steve McIntyre wrote:

> Package: snooper
> Version: 19991202-7
> Severity: serious
> Tags: sid
>
> Hi,
>
> snooper FTBFS in a current sid system. Build logs for armhf [1] and
> s390x [2] show this easily, but it's not limited to these new
> architectures. Building on amd64 shows the same problem, failure to
> link due to missing functions:
>
> cc -o snooper main.o scrn.o log.o binlog.o uucplock.o -ltermcap  -llockdev
> main.o: In function `showstatus':
> /home/steve/build/snooper-19991202/build/../src/main.c:257: undefined 
> reference to `wmove'
> /home/steve/build/snooper-19991202/build/../src/main.c:258: undefined 
> reference to `wclrtoeol'
> /home/steve/build/snooper-19991202/build/../src/main.c:259: undefined 
> reference to `waddnstr'
> /home/steve/build/snooper-19991202/build/../src/main.c:259: undefined 
> reference to `waddch'
> /home/steve/build/snooper-19991202/build/../src/main.c:260: undefined 
> reference to `waddnstr'
> ...
>
> Looks like libncurses doesn't provide libtermcap any more.

It still does, but libtermcap is now an alias for libtinfo rather than
libncurses.  See #644426.

> Whether that's a bug in snooper or over there, I've no idea.

It's a bug in the snooper configure script.  Applying the following
patch: 

--8<---------------cut here---------------start------------->8---
--- a/build/configure.in        1998-02-23 15:18:30.000000000 +0100
+++ b/build/configure.in        2011-12-01 17:47:44.690566152 +0100
@@ -29,7 +29,7 @@
 
 dnl Checks for libraries.
 AC_CHECK_LIB(termcap, tgetstr)
-AC_CHECK_LIB(curses, initscr,,, -termcap)
+AC_CHECK_LIB(curses, initscr)
 
 dnl Check to see if it's going to work.
 AM_SANITY_CHECK_CC
--8<---------------cut here---------------end--------------->8---

and running autoconf in the build/ directory fixes it.

Cheers,
       Sven



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

Reply via email to