Your message dated Tue, 13 Dec 2011 23:33:45 +0000
with message-id <e1rabqz-0004zn...@franck.debian.org>
and subject line Bug#651761: fixed in pal 0.4.3-8
has caused the Debian Bug report #651761,
regarding pal FTBFS in sid
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
651761: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=651761
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
package: pal
severity: serious
version: 0.4.3-7
tags: patch

Pal FTBFS in sid

make[2]: Entering directory 
`/build/buildd-pal_0.4.3-7-armhf-c4gnbL/pal-0.4.3/src'
Using CFLAGS: -Wall -g -O2
Using CPPFLAGS: -I/usr/include -I/usr/include/glib-2.0 
-I/usr/lib/arm-linux-gnueabihf/glib-2.0/include   -DPAL_VERSION="0.4.3" 
-DPREFIX="/usr" -DG_DISABLE_DEPRECATED -DDEBUG
Using LDFLAGS:  -lglib-2.0   -lreadline -lncursesw
[gcc debug] main.c
main.c:30:21: fatal error: ncurses.h: No such file or directory
compilation terminated.
make[2]: *** [tmp.debug/main.o] Error 1
make[2]: Leaving directory 
`/build/buildd-pal_0.4.3-7-armhf-c4gnbL/pal-0.4.3/src'
make[1]: *** [pal] Error 2
make: *** [build-stamp] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2

This was initially noticed on the armhf and s390x buildds but I have confirmed it also happens
on amd64.

It turns out that the package depends on and links against ncursesw but uses the headers from ncurses. This seems wrong to me but I don't know enough details about ncurses to know just how bad it is.

Previously the build succeeded because libncurses5-dev was pulled in indirectly but this is no
longer the case.

I have attatched an updated version of 51_debian_link_against_ncursesw.patch which changes the
header includes too.
pal (0.4.3-3)  * Link pal against libncursesw5 instead of libncurses5.
                 (Closes: #499403)

Index: pal-0.4.3.new/src/Makefile
===================================================================
--- pal-0.4.3.new.orig/src/Makefile	2008-07-28 16:16:23.000000000 +0000
+++ pal-0.4.3.new/src/Makefile	2011-12-11 22:55:32.000000000 +0000
@@ -4,7 +4,7 @@
 
 INCLDIR = -I${prefix}/include `pkg-config --cflags glib-2.0`
 LIBDIR  =
-LIBS    = `pkg-config --libs glib-2.0` -lreadline -lncurses
+LIBS    = `pkg-config --libs glib-2.0` -lreadline -lncursesw
 
 SRC     = main.c colorize.c output.c input.c event.c rl.c html.c latex.c \
           add.c edit.c del.c remind.c search.c manage.c
Index: pal-0.4.3.new/src/add.c
===================================================================
--- pal-0.4.3.new.orig/src/add.c	2008-07-28 16:16:23.000000000 +0000
+++ pal-0.4.3.new/src/add.c	2011-12-11 23:16:50.000000000 +0000
@@ -18,7 +18,7 @@
  *
  */
 
-#include <curses.h>
+#include <ncursesw/curses.h>
 
 #include "main.h"
 #include "output.h"
Index: pal-0.4.3.new/src/colorize.c
===================================================================
--- pal-0.4.3.new.orig/src/colorize.c	2011-12-11 23:13:43.000000000 +0000
+++ pal-0.4.3.new/src/colorize.c	2011-12-11 23:11:47.000000000 +0000
@@ -20,7 +20,7 @@
 
 #include <stdio.h>
 #include <stdlib.h> /* for getenv() */
-#include <curses.h>
+#include <ncursesw/curses.h>
 
 #include "main.h"
 #include "colorize.h"
Index: pal-0.4.3.new/src/del.c
===================================================================
--- pal-0.4.3.new.orig/src/del.c	2008-07-28 16:16:23.000000000 +0000
+++ pal-0.4.3.new/src/del.c	2011-12-11 23:17:44.000000000 +0000
@@ -19,7 +19,7 @@
  */
 
 #include <stdio.h>
-#include <ncurses.h>
+#include <ncursesw/ncurses.h>
 
 #include "main.h"
 #include "output.h"
Index: pal-0.4.3.new/src/edit.c
===================================================================
--- pal-0.4.3.new.orig/src/edit.c	2008-07-28 16:16:23.000000000 +0000
+++ pal-0.4.3.new/src/edit.c	2011-12-11 23:17:19.000000000 +0000
@@ -18,7 +18,7 @@
  *
  */
 
-#include <ncurses.h>
+#include <ncursesw/ncurses.h>
 
 #include "main.h"
 #include "output.h"
Index: pal-0.4.3.new/src/main.c
===================================================================
--- pal-0.4.3.new.orig/src/main.c	2011-12-11 22:55:32.000000000 +0000
+++ pal-0.4.3.new/src/main.c	2011-12-11 23:11:13.000000000 +0000
@@ -27,7 +27,7 @@
 #include <regex.h>     /* regular expressions */
 #include <glib.h>
 
-#include <ncurses.h>
+#include <ncursesw/ncurses.h>
 
 #include "output.h"
 #include "main.h"
Index: pal-0.4.3.new/src/manage.c
===================================================================
--- pal-0.4.3.new.orig/src/manage.c	2011-12-11 22:55:32.000000000 +0000
+++ pal-0.4.3.new/src/manage.c	2011-12-11 23:19:01.000000000 +0000
@@ -21,8 +21,8 @@
 #include "main.h"
 
 #include <readline/readline.h>
-#include <ncurses.h>
-#include <term.h>
+#include <ncursesw/ncurses.h>
+#include <ncursesw/term.h>
 #include <signal.h>
 #include <sys/ioctl.h> /* get # columns for terminal */
 
Index: pal-0.4.3.new/src/output.c
===================================================================
--- pal-0.4.3.new.orig/src/output.c	2008-07-28 16:16:23.000000000 +0000
+++ pal-0.4.3.new/src/output.c	2011-12-11 23:14:48.000000000 +0000
@@ -21,7 +21,7 @@
 #include <stdarg.h>
 #include <time.h>
 #include <string.h>
-#include <curses.h>
+#include <ncursesw/curses.h>
 
 /* for vsnprintf */
 #include <stdarg.h>
Index: pal-0.4.3.new/src/rl.c
===================================================================
--- pal-0.4.3.new.orig/src/rl.c	2011-12-11 22:55:32.000000000 +0000
+++ pal-0.4.3.new/src/rl.c	2011-12-11 23:16:23.000000000 +0000
@@ -21,10 +21,10 @@
 #include "main.h"
 
 #include <readline/readline.h>
-#include <ncurses.h>
+#include <ncursesw/ncurses.h>
 #include <time.h>
 
-#include <term.h>
+#include <ncursesw/term.h>
 
 
 #include "output.h"

--- End Message ---
--- Begin Message ---
Source: pal
Source-Version: 0.4.3-8

We believe that the bug you reported is fixed in the latest version of
pal, which is due to be installed in the Debian FTP archive:

pal_0.4.3-8.diff.gz
  to main/p/pal/pal_0.4.3-8.diff.gz
pal_0.4.3-8.dsc
  to main/p/pal/pal_0.4.3-8.dsc
pal_0.4.3-8_i386.deb
  to main/p/pal/pal_0.4.3-8_i386.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 651...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Carsten Hey <cars...@debian.org> (supplier of updated pal package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmas...@debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Tue, 13 Dec 2011 23:21:09 +0100
Source: pal
Binary: pal
Architecture: source i386
Version: 0.4.3-8
Distribution: unstable
Urgency: low
Maintainer: Carsten Hey <cars...@debian.org>
Changed-By: Carsten Hey <cars...@debian.org>
Description: 
 pal        - command-line calendar program that can keep track of events
Closes: 651761
Changes: 
 pal (0.4.3-8) unstable; urgency=low
 .
   * Include the headers from ncursesw instead of ncurses.  Since both
     header variants are compatible, including ncurses' headers worked
     as long as there was an indirect dependency on libncurses5-dev.
     Thanks to Peter Green for the bug report and the patch.
     (Closes: #651761)
Checksums-Sha1: 
 65943b1bfd2138163d33747cc6beb26182cb6a2b 1699 pal_0.4.3-8.dsc
 45d1aebac2f1806c31055f7a4e6fc22e2117e69d 11211 pal_0.4.3-8.diff.gz
 7e17cc7dc7a202cc2394126222d9688c23a39629 122262 pal_0.4.3-8_i386.deb
Checksums-Sha256: 
 730f366e15ca4de2775721f575901c7e46731136163e960a404b0a68801570e9 1699 
pal_0.4.3-8.dsc
 a7e798887a4b1aab887ce8b802548d700245ab35c2cac6eb9eab6dca95b43cb4 11211 
pal_0.4.3-8.diff.gz
 9a159d23b95a65e2035c384a2e6820bb1eb8cdda202e7609f88475ea0fc4eaa2 122262 
pal_0.4.3-8_i386.deb
Files: 
 64b798c76a967e4d10c36122243c1a6e 1699 utils optional pal_0.4.3-8.dsc
 886c975781a946687fd6b243238b3c4b 11211 utils optional pal_0.4.3-8.diff.gz
 d05b5fdf3e842a8b05207ee56ef3515c 122262 utils optional pal_0.4.3-8_i386.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)

iQIcBAEBCAAGBQJO597QAAoJEBAMG33cZUhjH0sP/27HltWaIf+WFTrnbU2YE7ef
UeOgRxN0ThyiycSlIF1tiEhYI3GiJgwWJTWJ8NxvHCLp/A2H5riwfs24Ppu4T31Z
BD0GACIyFvPeXR1TBudLrkHwaoM0mzbZk/jV8wro7khrI1COPmrt82U2GCT1JtoZ
RZYp0ixBtCtvWX/swWUBNHvstzCbMNyHI/wsz4rJ/PfyGX3WJ24kbuUjU2UADOti
xwyZ+9ygf2dIb2xh2xAQSn2hNEB20z6S3S47ezKbtkaHgZTFgPXFkyFe8bxmmc8R
mw9/cEVbY+STPvoFsxxnfTyyq3yicOcCH1/cWeRMVuj8cruSIUxg65fmo3jLVaL+
B/Q/e0jROX20ZsoNviiYdHunPYQ/UJQx3nCg6tutYIrchYuTrJvQhXFuLQgg4U//
Tz4nHwN1f8gtwea9ZbeZ0zG4on5fnE4UqFvdzar8JXUpRNskG9H2GKH3FOnsGJ2+
iM+o9N7krBRxlD/UnnFq8Y0iFlN4VZRjmrUw9depZMpoHIJFvMmA1nJepgvebYBw
N5DJ3EacG9EdlcHZ10A2hvCq1BI41/VLzNq0taf4OFa+CvV0VZrHLY3uGXyJ2u7U
Wg1AgbNwxSV1SyxPWtIgK1YicBg/CNvRbxxxOgRscEtbKvp79HNRVJV6PRIDa0vA
PuBwkYepf9ywWp37/V99
=wzTX
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to