Bug#906774: Bug#906790: libtasn1-6 FTBFS during arch-only: missing makeinfo

2018-08-25 Thread Adrian Bunk
Control: reassign 906790 automake
Control: reassign 906778 automake
Control: reassign 906775 automake
Control: reassign 906557 automake
Control: reassign 906426 automake
Control: forcemerge -1 906790 906778 906775 906557 906426
Control: affects -1 src:guile-gnome-platform src:hamlib src:ratpoison 
src:gnuchess

On Sat, Aug 25, 2018 at 01:28:34PM +0200, Andreas Metzler wrote:
> On 2018-08-23 Andreas Metzler  wrote:
> [...]
> > Almost, it is caused by upgrading automake. Building with automake
> > 1:1.16.1-1 fails, downgrading to 1:1.15.1-3.1 lets the build succeed.
> > Which seems to have hit other packages, too. With one report (#906774)
> > reassigned to automake.
> 
> > FWIW at first glance I have not found not-too-involved a workaround yet.
> > I might be forced to move stuff from Build-Depends-Indep to
> > Build-Depends.
> 
> Hello,
> 
> this is caused mdate-sh.
> 
> The rule that checks whether version.texi is up to date runs mdate-sh on
> the source texi file and compares whether the result differs from the
> current timestamp in version.texi state.[1] If the timestamp differs
> version.texi is regenerated and a rebuild of the info documentation is
> triggered.
> 
> mdate-sh in automake 1:1.16.1-1 has grown "support" for
> SOURCE_DATE_EPOCH. If SOURCE_DATE_EPOCH is set in the environment then
> its value is used and the modification time of the file is ignored.
> Which causes the build-failure by tricking make into thinking the info
> file is out of date.
> 
> This seems to be a Debian specific change. The patch was already present
> in 1:1.15.1-3 (and -3.1) *source* but did not end up changing
> usr/share/automake-1.15/mdate-sh. It is however present in 1:1.16.1-1's
> /usr/share/automake-1.16/mdate-sh.

Thanks for your analysis.

I am merging the other bugs with this one in automake:

It might be desirable to rebuild .info files when building Debian 
packages, but the problem is that this currently also forces users of
a tarball of upstream software generated on Debian to install texinfo.

> cu Andreas
>...

cu
Adrian

-- 

   "Is there not promise of rain?" Ling Tan asked suddenly out
of the darkness. There had been need of rain for many days.
   "Only a promise," Lao Er said.
   Pearl S. Buck - Dragon Seed



Processed: Re: Bug#906774: Bug#906790: libtasn1-6 FTBFS during arch-only: missing makeinfo

2018-08-25 Thread Debian Bug Tracking System
Processing control commands:

> reassign 906790 automake
Bug #906790 [src:libtasn1-6] libtasn1-6 FTBFS during arch-only: missing makeinfo
Bug reassigned from package 'src:libtasn1-6' to 'automake'.
No longer marked as found in versions libtasn1-6/4.13-3.
Ignoring request to alter fixed versions of bug #906790 to the same values 
previously set
> reassign 906778 automake
Bug #906778 [src:guile-gnome-platform] guile-gnome-platform: FTBFS in 
buster/sid (makeinfo: command not found)
Bug reassigned from package 'src:guile-gnome-platform' to 'automake'.
No longer marked as found in versions guile-gnome-platform/2.16.4-5.
Ignoring request to alter fixed versions of bug #906778 to the same values 
previously set
> reassign 906775 automake
Bug #906775 [src:hamlib] hamlib: FTBFS in buster/sid (makeinfo: command not 
found)
Bug reassigned from package 'src:hamlib' to 'automake'.
No longer marked as found in versions hamlib/3.1-8.
Ignoring request to alter fixed versions of bug #906775 to the same values 
previously set
> reassign 906557 automake
Bug #906557 [src:ratpoison] ratpoison: FTBFS in buster/sid (makeinfo: command 
not found)
Bug reassigned from package 'src:ratpoison' to 'automake'.
No longer marked as found in versions ratpoison/1.4.8-2.
Ignoring request to alter fixed versions of bug #906557 to the same values 
previously set
> reassign 906426 automake
Bug #906426 [gnuchess] gnuchess: FTBFS: makeinfo: command not found (missing 
build-dependency on texinfo)
Bug reassigned from package 'gnuchess' to 'automake'.
No longer marked as found in versions gnuchess/6.2.5-1.
Ignoring request to alter fixed versions of bug #906426 to the same values 
previously set
> forcemerge -1 906790 906778 906775 906557 906426
Bug #906774 [automake] dico: FTBFS in buster/sid (makeinfo: command not found)
Bug #906774 [automake] dico: FTBFS in buster/sid (makeinfo: command not found)
Added tag(s) sid, fixed, buster, patch, confirmed, and pending.
Bug #906790 [automake] libtasn1-6 FTBFS during arch-only: missing makeinfo
Added indication that 906790 affects src:libtasn1-6,src:dico
Marked as found in versions automake-1.16/1:1.16.1-1.
Added tag(s) pending, confirmed, patch, sid, buster, and fixed.
Bug #906426 [automake] gnuchess: FTBFS: makeinfo: command not found (missing 
build-dependency on texinfo)
Added indication that 906426 affects src:libtasn1-6,src:dico
Marked as found in versions automake-1.16/1:1.16.1-1.
Added tag(s) fixed, sid, buster, confirmed, and pending.
Bug #906775 [automake] hamlib: FTBFS in buster/sid (makeinfo: command not found)
Added indication that 906775 affects src:libtasn1-6,src:dico
Marked as found in versions automake-1.16/1:1.16.1-1.
Added tag(s) patch, sid, and buster.
Bug #906778 [automake] guile-gnome-platform: FTBFS in buster/sid (makeinfo: 
command not found)
Added indication that 906778 affects src:libtasn1-6,src:dico
Marked as found in versions automake-1.16/1:1.16.1-1.
Added tag(s) fixed, sid, buster, patch, confirmed, and pending.
Bug #906557 [automake] ratpoison: FTBFS in buster/sid (makeinfo: command not 
found)
Added indication that 906557 affects src:libtasn1-6,src:dico
Marked as found in versions automake-1.16/1:1.16.1-1.
Added tag(s) patch, fixed, confirmed, and pending.
Merged 906426 906557 906774 906775 906778 906790
> affects -1 src:guile-gnome-platform src:hamlib src:ratpoison src:gnuchess
Bug #906774 [automake] dico: FTBFS in buster/sid (makeinfo: command not found)
Bug #906426 [automake] gnuchess: FTBFS: makeinfo: command not found (missing 
build-dependency on texinfo)
Bug #906557 [automake] ratpoison: FTBFS in buster/sid (makeinfo: command not 
found)
Bug #906775 [automake] hamlib: FTBFS in buster/sid (makeinfo: command not found)
Bug #906778 [automake] guile-gnome-platform: FTBFS in buster/sid (makeinfo: 
command not found)
Bug #906790 [automake] libtasn1-6 FTBFS during arch-only: missing makeinfo
Added indication that 906774 affects src:guile-gnome-platform, src:hamlib, 
src:ratpoison, and src:gnuchess
Added indication that 906426 affects src:guile-gnome-platform, src:hamlib, 
src:ratpoison, and src:gnuchess
Added indication that 906557 affects src:guile-gnome-platform, src:hamlib, 
src:ratpoison, and src:gnuchess
Added indication that 906775 affects src:guile-gnome-platform, src:hamlib, 
src:ratpoison, and src:gnuchess
Added indication that 906778 affects src:guile-gnome-platform, src:hamlib, 
src:ratpoison, and src:gnuchess
Added indication that 906790 affects src:guile-gnome-platform, src:hamlib, 
src:ratpoison, and src:gnuchess

-- 
906426: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=906426
906557: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=906557
906774: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=906774
906775: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=906775
906778: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=906778
906790: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=906790
Debian Bug Tracking System
Contact ow...@bugs.debian.org 

Bug#906790: libtasn1-6 FTBFS during arch-only: missing makeinfo

2018-08-25 Thread Andreas Metzler
On 2018-08-23 Andreas Metzler  wrote:
[...]
> Almost, it is caused by upgrading automake. Building with automake
> 1:1.16.1-1 fails, downgrading to 1:1.15.1-3.1 lets the build succeed.
> Which seems to have hit other packages, too. With one report (#906774)
> reassigned to automake.

> FWIW at first glance I have not found not-too-involved a workaround yet.
> I might be forced to move stuff from Build-Depends-Indep to
> Build-Depends.

Hello,

this is caused mdate-sh.

The rule that checks whether version.texi is up to date runs mdate-sh on
the source texi file and compares whether the result differs from the
current timestamp in version.texi state.[1] If the timestamp differs
version.texi is regenerated and a rebuild of the info documentation is
triggered.

mdate-sh in automake 1:1.16.1-1 has grown "support" for
SOURCE_DATE_EPOCH. If SOURCE_DATE_EPOCH is set in the environment then
its value is used and the modification time of the file is ignored.
Which causes the build-failure by tricking make into thinking the info
file is out of date.

This seems to be a Debian specific change. The patch was already present
in 1:1.15.1-3 (and -3.1) *source* but did not end up changing
usr/share/automake-1.15/mdate-sh. It is however present in 1:1.16.1-1's
/usr/share/automake-1.16/mdate-sh.

cu Andreas

[1]
$(srcdir)/stamp-vti: libtasn1.texi $(top_srcdir)/configure
@(dir=.; test -f ./libtasn1.texi || dir=$(srcdir); \
set `$(SHELL) $(top_srcdir)/build-aux/mdate-sh $$dir/libtasn1.texi`; \
echo "@set UPDATED $$1 $$2 $$3"; \
echo "@set UPDATED-MONTH $$2 $$3"; \
echo "@set EDITION $(VERSION)"; \
echo "@set VERSION $(VERSION)") > vti.tmp && \
(cmp -s vti.tmp $(srcdir)/version.texi \
  || (echo "Updating $(srcdir)/version.texi" && \
  cp vti.tmp $(srcdir)/version.texi.tmp && \
  mv $(srcdir)/version.texi.tmp $(srcdir)/version.texi)) && \
rm -f vti.tmp $(srcdir)/version.texi.
@cp $(srcdir)/version.texi $@
-- 
`What a good friend you are to him, Dr. Maturin. His other friends are
so grateful to you.'
`I sew his ears on from time to time, sure'



Processed: Re: Bug#906790: libtasn1-6 FTBFS during arch-only: missing makeinfo

2018-08-23 Thread Debian Bug Tracking System
Processing control commands:

> affects 906774 src:libtasn1-6
Bug #906774 [automake] dico: FTBFS in buster/sid (makeinfo: command not found)
Added indication that 906774 affects src:libtasn1-6

-- 
906774: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=906774
906790: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=906790
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems



Bug#906790: libtasn1-6 FTBFS during arch-only: missing makeinfo

2018-08-23 Thread Andreas Metzler
Control: affects 906774 src:libtasn1-6

On 2018-08-21 Helmut Grohne  wrote:
> Source: libtasn1-6
> Version: 4.13-3
> Severity: serious
> Tags: ftbfs
> User: helm...@debian.org
> Usertags: rebootstrap

> Doing an arch-only build of libtasn1-6 on amd64 fails
[...]
> builds on the buildds did not attempt to run makeinfo. Possibly this is
> related to updating the version of autoconf?

Hello,

Almost, it is caused by upgrading automake. Building with automake
1:1.16.1-1 fails, downgrading to 1:1.15.1-3.1 lets the build succeed.
Which seems to have hit other packages, too. With one report (#906774)
reassigned to automake.

FWIW at first glance I have not found not-too-involved a workaround yet.
I might be forced to move stuff from Build-Depends-Indep to
Build-Depends.

cu Andreas
-- 
`What a good friend you are to him, Dr. Maturin. His other friends are
so grateful to you.'
`I sew his ears on from time to time, sure'



Bug#906790: libtasn1-6 FTBFS during arch-only: missing makeinfo

2018-08-20 Thread Helmut Grohne
Source: libtasn1-6
Version: 4.13-3
Severity: serious
Tags: ftbfs
User: helm...@debian.org
Usertags: rebootstrap

Doing an arch-only build of libtasn1-6 on amd64 fails. A build log ends
with:

| make[3]: Entering directory '/<>/doc'
| restore=: && backupdir=".am$$" && \
| am__cwd=`pwd` && CDPATH="${ZSH_VERSION+.}:" && cd . && \
| rm -rf $backupdir && mkdir $backupdir && \
| if (/bin/bash /<>/build-aux/missing makeinfo --version) 
>/dev/null 2>&1; then \
|   for f in libtasn1.info libtasn1.info-[0-9] libtasn1.info-[0-9][0-9] 
libtasn1.i[0-9] libtasn1.i[0-9][0-9]; do \
| if test -f $f; then mv $f $backupdir; restore=mv; else :; fi; \
|   done; \
| else :; fi && \
| cd "$am__cwd"; \
| if /bin/bash /<>/build-aux/missing makeinfo -I ../doc  -I . \
|  -o libtasn1.info libtasn1.texi; \
| then \
|   rc=0; \
|   CDPATH="${ZSH_VERSION+.}:" && cd .; \
| else \
|   rc=$?; \
|   CDPATH="${ZSH_VERSION+.}:" && cd . && \
|   $restore $backupdir/* `echo "./libtasn1.info" | sed 's|[^/]*$||'`; \
| fi; \
| rm -rf $backupdir; exit $rc
| /<>/build-aux/missing: line 81: makeinfo: command not found
| WARNING: 'makeinfo' is missing on your system.
|  You should only need it if you modified a '.texi' file, or
|  any other file indirectly affecting the aspect of the manual.
|  You might want to install the Texinfo package:
|  
|  The spurious makeinfo call might also be the consequence of
|  using a buggy 'make' (AIX, DU, IRIX), in which case you might
|  want to install GNU make:
|  
| make[3]: *** [Makefile:1097: libtasn1.info] Error 127
| make[3]: Leaving directory '/<>/doc'
| make[2]: *** [Makefile:1350: check-recursive] Error 1
| make[2]: Leaving directory '/<>/doc'
| make[1]: *** [Makefile:1027: check-recursive] Error 1
| make[1]: Leaving directory '/<>'
| dh_auto_test: make -j8 check VERBOSE=1 returned exit code 2
| make: *** [debian/rules:51: binary-arch] Error 2
| dpkg-buildpackage: error: debian/rules binary-arch subprocess returned exit 
status 2

A full build work, which is why reproducible doesn't see this issue. The
installation set does not include the texinfo package, which contains
makeinfo, and texinfo is not requested by Build-Depends. The earlier
builds on the buildds did not attempt to run makeinfo. Possibly this is
related to updating the version of autoconf?

Helmut