Package: autogen
Version: 1:5.18.12-1
Severity: important
Tags: patch
Usertags: hurd


autogen currently FTBFS on hurd-i386, because error.test fails:

>error-> failure expected->actual
*** error.base1 Sat Sep 17 17:36:27 2016
--- error.err   Sat Sep 17 17:36:27 2016
*** 1,2 ****
--- 1,3 ----
  #error directive -- in error.def on line 3
        The definitions file has a '#error' directive
+ Aborted

What happens is that error.test triggers an abortion several times,
producing a core file each time. It happens that on hurd-i386, a core
file is not overwritten when it already exists, i.e. when running the
abortion test several times, the first time one gets:

Aborted (core dumped)

and the subsequent times, one gets:


because the core file was not overwritten. One could strip the
/^Aborte.*core dumped/q sed rule to also catch "Aborted" alone, but
perhaps it's better to remove the core file as the attached tested patch
does, so as to trigger the

Aborted (core dumped)

message each time.


-- System Information:
Debian Release: stretch/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable-debug'), (500, 
'buildd-unstable'), (500, 'unstable'), (500, 'stable'), (500, 'oldstable'), (1, 
'experimental-debug'), (1, 'buildd-experimental'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.7.0 (SMP w/4 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages autogen depends on:
ii  guile-2.0-libs  2.0.11+1-12
ii  libc6           2.23-5
ii  libopts25       1:5.18.10-4
ii  libopts25-dev   1:5.18.10-4
ii  libxml2         2.9.4+dfsg1-1+b1

Versions of packages autogen recommends:
ii  autogen-doc  1:5.18.10-4

autogen suggests no packages.

-- no debconf information

"...very few phenomena can pull someone out of Deep Hack Mode, with two
noted exceptions: being struck by lightning, or worse, your *computer*
being struck by lightning."
(By Matt Welsh)
--- error.test.original 2016-09-17 18:13:22.000000000 +0000
+++ error.test  2016-09-17 18:13:25.000000000 +0000
@@ -48,6 +48,7 @@
        /^Aborte.*core dumped/q
+  rm -f core
   ${SED} -n "${sedcmd}" $1

Reply via email to