(I'm not the maintainer.)
* Jonathan Wiltshire <j...@debian.org>, 2012-05-12, 11:36:
+spl (1.0~pre6-3.1) unstable; urgency=low
+
+ * Non-maintainer upload.
+ * Add dependency on libncurses-dev to fix FTBFS (Closes: #669483)
+
+ -- Jonathan Wiltshire <j...@debian.org> Sat, 12 May 2012 11:01:33 +0100
I don't see any _code_ that would use ncurses:
$ grep -i -r -n -C2 curses .
./GNUmakefile-140-ifeq ($(BUILDING_FOR_BSD),0)
./GNUmakefile-141- LDLIBS_DL = -ldl
./GNUmakefile:142: LDLIBS_CURSES = -lncurses
./GNUmakefile-143-else
./GNUmakefile-144- LDLIBS_DL =
./GNUmakefile:145: LDLIBS_CURSES = -lcurses
./GNUmakefile-146- CFLAGS += -DUSEBSDAPI=1
./GNUmakefile-147-endif
--
./GNUmakefile-185-ifeq ($(ENABLE_READLINE_SUPPORT),1)
./GNUmakefile-186- CFLAGS += -DENABLE_READLINE_SUPPORT
./GNUmakefile:187: LDLIBS += -lreadline $(LDLIBS_CURSES)
./GNUmakefile:188: DLL_LIBS += -lreadline $(LDLIBS_CURSES)
./GNUmakefile-189-endif
./GNUmakefile-190-
Also, I see this in the build log:
dpkg-shlibdeps: warning: package could avoid a useless dependency if
/build/spl-zVoNlL/spl-1.0~pre6/debian/spl-core/usr/bin/splrun was not linked
against libncurses.so.5 (it uses none of the library's symbols).
dpkg-shlibdeps: warning: package could avoid a useless dependency if
/build/spl-zVoNlL/spl-1.0~pre6/debian/spl-webspl/usr/bin/webspld
/build/spl-zVoNlL/spl-1.0~pre6/debian/spl-webspl/usr/lib/cgi-bin/webspl.cgi
were not linked against libncurses.so.5 (they use none of the library's
symbols).
So likely a better way to fix this bug is to stop linking against
ncurses.
--
Jakub Wilk
--
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org