Debian Bug report logs -
#868599
ocaml-curses FTBFS with recent ncurses
Reported by: Adrian Bunk <bunk@debian.org>
Date: Sun, 16 Jul 2017 23:21:02 UTC
Severity: serious
Tags: buster, patch, sid
Found in version ocaml-curses/1.0.3-2
Fixed in version ocaml-curses/1.0.3-3
Done: Stéphane Glondu <glondu@debian.org>
Bug is archived. No further changes may be made.
Toggle useless messages
Report forwarded
to debian-bugs-dist@lists.debian.org, svenjoac@gmx.de, Debian OCaml Maintainers <debian-ocaml-maint@lists.debian.org>:
Bug#868599; Package src:ocaml-curses.
(Sun, 16 Jul 2017 23:21:04 GMT) (full text, mbox, link).
Acknowledgement sent
to Adrian Bunk <bunk@debian.org>:
New Bug report received and forwarded. Copy sent to svenjoac@gmx.de, Debian OCaml Maintainers <debian-ocaml-maint@lists.debian.org>.
(Sun, 16 Jul 2017 23:21:04 GMT) (full text, mbox, link).
Message #5 received at submit@bugs.debian.org (full text, mbox, reply):
Source: ocaml-curses
Version: 1.0.3-2
Severity: serious
Tags: buster sid
https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/ocaml-curses.html
...
checking for sys/ioctl.h... yes
checking windows.h usability... no
checking windows.h presence... no
checking for windows.h... no
checking for working ncurses library... found in -lncursesw
checking for term.h... configure: error: not found
debian/rules:21: recipe for target 'build-stamp' failed
make: *** [build-stamp] Error 1
config.log says:
...
configure:3644: checking for term.h
configure:3657: gcc -c -g -O2 conftest.c >&5
conftest.c: In function 'main':
conftest.c:26:10: error: storage size of '__dummy' isn't known
TERMINAL __dummy
^~~~~~~
configure:3657: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_TERMIOS_H 1
| #define HAVE_SYS_IOCTL_H 1
| #define CURSES_HEADER <ncursesw/curses.h>
| /* end confdefs.h. */
| #include <term.h>
| int
| main ()
| {
| TERMINAL __dummy
| ;
| return 0;
| }
...
Information forwarded
to debian-bugs-dist@lists.debian.org, Debian OCaml Maintainers <debian-ocaml-maint@lists.debian.org>:
Bug#868599; Package src:ocaml-curses.
(Mon, 17 Jul 2017 08:48:04 GMT) (full text, mbox, link).
Acknowledgement sent
to Sven Joachim <svenjoac@gmx.de>:
Extra info received and forwarded to list. Copy sent to Debian OCaml Maintainers <debian-ocaml-maint@lists.debian.org>.
(Mon, 17 Jul 2017 08:48:04 GMT) (full text, mbox, link).
Message #10 received at 868599@bugs.debian.org (full text, mbox, reply):
[Message part 1 (text/plain, inline)]
Control: tags -1 + patch
On 2017-07-17 02:17 +0300, Adrian Bunk wrote:
> Source: ocaml-curses
> Version: 1.0.3-2
> Severity: serious
> Tags: buster sid
>
> https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/ocaml-curses.html
>
> ...
> checking for sys/ioctl.h... yes
> checking windows.h usability... no
> checking windows.h presence... no
> checking for windows.h... no
> checking for working ncurses library... found in -lncursesw
> checking for term.h... configure: error: not found
> debian/rules:21: recipe for target 'build-stamp' failed
> make: *** [build-stamp] Error 1
>
>
>
> config.log says:
>
> ...
> configure:3644: checking for term.h
> configure:3657: gcc -c -g -O2 conftest.c >&5
> conftest.c: In function 'main':
> conftest.c:26:10: error: storage size of '__dummy' isn't known
> TERMINAL __dummy
> ^~~~~~~
This has been caused by the following change in ncurses:
,----
| 20170318
| + change TERMINAL structure in term.h to make it opaque. Some
| applications misuse its members, e.g., directly modifying it
| rather than using def_prog_mode().
`----
Changing the test in configure.ac to use TERMTYPE rather than TERMINAL
fixes the problem, see the attached debdiff. It is very noisy because
the patch run_autoconf.diff had to be refreshed by rerunning autoreconf.
It would be better to regenerate `configure' at build time, e.g. with
dh_autoreconf.
Cheers,
Sven
[ocaml-curses.diff (text/x-diff, attachment)]
Added tag(s) patch.
Request was from Sven Joachim <svenjoac@gmx.de>
to 868599-submit@bugs.debian.org.
(Mon, 17 Jul 2017 08:48:04 GMT) (full text, mbox, link).
Reply sent
to Stéphane Glondu <glondu@debian.org>:
You have taken responsibility.
(Tue, 18 Jul 2017 18:51:03 GMT) (full text, mbox, link).
Notification sent
to Adrian Bunk <bunk@debian.org>:
Bug acknowledged by developer.
(Tue, 18 Jul 2017 18:51:03 GMT) (full text, mbox, link).
Message #17 received at 868599-close@bugs.debian.org (full text, mbox, reply):
Source: ocaml-curses
Source-Version: 1.0.3-3
We believe that the bug you reported is fixed in the latest version of
ocaml-curses, which is due to be installed in the Debian FTP archive.
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 868599@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Stéphane Glondu <glondu@debian.org> (supplier of updated ocaml-curses 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 ftpmaster@ftp-master.debian.org)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Tue, 18 Jul 2017 20:29:29 +0200
Source: ocaml-curses
Binary: libcurses-ocaml libcurses-ocaml-dev
Architecture: source amd64
Version: 1.0.3-3
Distribution: unstable
Urgency: low
Maintainer: Debian OCaml Maintainers <debian-ocaml-maint@lists.debian.org>
Changed-By: Stéphane Glondu <glondu@debian.org>
Description:
libcurses-ocaml - OCaml bindings for the ncurses library (runtime)
libcurses-ocaml-dev - OCaml bindings for the ncurses library
Closes: 868599
Changes:
ocaml-curses (1.0.3-3) unstable; urgency=low
.
[ Stéphane Glondu ]
* Team upload
* Bump debhelper compat to 10
* Update Vcs-*
.
[ Sylvain Le Gall ]
* Remove Sylvain Le Gall from uploaders
.
[ Sven Joachim ]
* Use TERMTYPE rather than TERMINAL in configure check, the latter is
opaque in recent ncurses versions (Closes: #868599).
Checksums-Sha1:
2b399b00336fa3907bcc6e615900e4a9f9f28888 2170 ocaml-curses_1.0.3-3.dsc
b67880a3b58b4d46bcbe6f1883c82cae1c10060d 33560 ocaml-curses_1.0.3-3.debian.tar.xz
522b62b5959d277fdd11eac7c9a08672769b78a4 49498 libcurses-ocaml-dbgsym_1.0.3-3_amd64.deb
74e13129a6d4d9507bae865526f386ebf69b8d09 66178 libcurses-ocaml-dev_1.0.3-3_amd64.deb
1cc8474dd32ff56d8fcff57e9b28d11e7ea69e83 21790 libcurses-ocaml_1.0.3-3_amd64.deb
83cd8af14b566bb002b55d71f2d6dec493331a65 6483 ocaml-curses_1.0.3-3_amd64.buildinfo
Checksums-Sha256:
70d698bb9955addc14b14f93b866d6d769c9a1adf5c5895cada55f3d195d598e 2170 ocaml-curses_1.0.3-3.dsc
d6d20a464ed2747b9bde4cc929325be877729067ac15bce9ee4b8c939948ae5d 33560 ocaml-curses_1.0.3-3.debian.tar.xz
2865f4257cb45cc917e51be7bf82c2b51121e6935d130f5d8fde5407ae4ebe33 49498 libcurses-ocaml-dbgsym_1.0.3-3_amd64.deb
5565f9f5253ec8c4e8f15128ccf73ea2a55572c3fb347d93a268f98adee87bfb 66178 libcurses-ocaml-dev_1.0.3-3_amd64.deb
8b79e2b4961e633939c9b3d287eda75cd94eda890be618c811f5e754462127b0 21790 libcurses-ocaml_1.0.3-3_amd64.deb
6901c354688016a74a0f19d898868ae88b25b8753df87ceaae187630cc5c88e3 6483 ocaml-curses_1.0.3-3_amd64.buildinfo
Files:
1627b7ce7f8952a049a3d98eaf0e13ae 2170 ocaml optional ocaml-curses_1.0.3-3.dsc
4f5c8209a5d55da653f768d902f8cb2d 33560 ocaml optional ocaml-curses_1.0.3-3.debian.tar.xz
dda0a10868c84dc984a2604f92148d99 49498 debug extra libcurses-ocaml-dbgsym_1.0.3-3_amd64.deb
516d339ef2e2748789995f72f92e0b0d 66178 ocaml optional libcurses-ocaml-dev_1.0.3-3_amd64.deb
f680ca30d8bf75aff690a29448834423 21790 ocaml optional libcurses-ocaml_1.0.3-3_amd64.deb
9a156ed71179d579f81361c17f12f6e5 6483 ocaml optional ocaml-curses_1.0.3-3_amd64.buildinfo
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCgAdFiEEWOsJmcZOiX7olLgDeFPaTUmIGtMFAlluVHgACgkQeFPaTUmI
GtPMrQ//Q3EnvmQn9iP5DgsFpUsIAEOjiO/cUVIn3+Xr8/tG9/FSFpH0Y8ReRTm/
sH9m+mZXVCTd8p4Ia3V92DsSxZ96L1htV8YOoJ4o+210vMepBMyRHohh/OoN9kwO
855/uUUFfywv/QIm/YU0bz4GjomqfMaxk0TIVF3Dy+/nsCqR5Y3LFiSDm3FqJx3f
j9vNg8vpESrihtOD5D85O2DoxPG5+mWv1HBsfDEUzTHsBuOEfQawy2PLXghLs80i
xfl0QW82DetUDl+gWpzc7QgNIGC/9Lmf4cOou91KxLZBcqPDAllVAWnEMGJQbmH1
vEjSIHLcygUj6HvXgNUibdF/hqeGx/oOr/3I3hlJcMVXLiNU69OY34SjHObAoqQX
wbU0zwpRn7gGB3R1WEeFo8p5YrSVTILBXLLftYaJtbgYsXr5bqjXzNGlDQ+w+m0v
4oXvvWqmdBaGS6jPxKE6bUvFjVdCoTnl55Zsisi1WL7JmOqKrJ+nmCQPof3KJgsA
uwUcCCfbOOPg7qGnGemvv1z/7DF2DSYoDhDWQb7SqI6ovgoLnpXEQEXtj/j9BXyJ
meSWvGNuWH33wTAGyDwvUC/tA8QS7c4pPpGnaj2XiJ4348HWKOgxlJNz7rDt/Tmk
WB9N05pjLiY4DkidxZBqbW3syw0opvVttSBHwibNCr9nVpAvq20=
=EiJb
-----END PGP SIGNATURE-----
Bug archived.
Request was from Debbugs Internal Request <owner@bugs.debian.org>
to internal_control@bugs.debian.org.
(Sat, 26 Aug 2017 07:28:58 GMT) (full text, mbox, link).
Send a report that this bug log contains spam.
Debian bug tracking system administrator <owner@bugs.debian.org>.
Last modified:
Wed May 17 13:44:03 2023;
Machine Name:
buxtehude
Debian Bug tracking system
Debbugs is free software and licensed under the terms of the GNU
Public License version 2. The current version can be obtained
from https://bugs.debian.org/debbugs-source/.
Copyright © 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson,
2005-2017 Don Armstrong, and many other contributors.