Bug#903176: jags: FTBFS in buster/sid (dh_installdocs: Cannot find "doc/manual/jags_installation_manual.pdf")

2018-07-09 Thread Dirk Eddelbuettel


On 9 July 2018 at 15:30, Santiago Vila wrote:
| This package (jags) has proved to be reproducible, and the
| reproducible builds autobuilders use pbuilder as well,
| so if you see a failure to build in buster here:
| 
| https://tests.reproducible-builds.org/debian/rb-pkg/buster/amd64/jags.html
| 
| and it builds fine in your system, chances are that you are doing
| something wrong. My bet would be that your chroot is not up to date,
| as this issue started happening recently, with debhelper 11.3.5.

I do of course update the chroot every couple of days when I build packages,
and I did so yesterday when working on it.
 
| > I added mercurial, and fixed one tex issue, so -2 should fare
| > better.
| 
| I've checked and it builds fine here now.

Great.
 
| Thanks a lot.

No problem.

Dirk, in Australia for the week

-- 
http://dirk.eddelbuettel.com | @eddelbuettel | e...@debian.org



Bug#903176: jags: FTBFS in buster/sid (dh_installdocs: Cannot find "doc/manual/jags_installation_manual.pdf")

2018-07-09 Thread Santiago Vila
On Mon, Jul 09, 2018 at 01:42:08AM -0500, Dirk Eddelbuettel wrote:
> 
> On 9 July 2018 at 08:02, Santiago Vila wrote:
> | On Sun, Jul 08, 2018 at 09:36:13PM -0500, Dirk Eddelbuettel wrote:
> | 
> | > Seems to work here,
> | 
> | Please try "sbuild --arch-any --no-arch-all" on a clean chroot,
> | which is what an official autobuilder would do.
> | 
> | I can't test an external package easily, and I think it is much better
> | if you can reproduce the bug before trying a fix.
> 
> By now taken care of -- and as I am pbuilder user the sbuild hint does not
> help as much.

The equivalent in pbuilder would be --binary-arch. From the manpage:
   
  Specify to build only architecture specific targets instead of all targets.

  This instructs pbuilder to respect only Build-Depends,
  Build-Depends-Arch, Build-Conflicts, Build-Conflicts-Arch source
  relationships, and calls dpkg-buildpackage with -B.

Sometimes there are differences between "dpkg-buildpackage -B" and
plain "dpkg-buildpackage".

However, this does not seem to be the case here.

This package (jags) has proved to be reproducible, and the
reproducible builds autobuilders use pbuilder as well,
so if you see a failure to build in buster here:

https://tests.reproducible-builds.org/debian/rb-pkg/buster/amd64/jags.html

and it builds fine in your system, chances are that you are doing
something wrong. My bet would be that your chroot is not up to date,
as this issue started happening recently, with debhelper 11.3.5.

> I added mercurial, and fixed one tex issue, so -2 should fare
> better.

I've checked and it builds fine here now.

Thanks a lot.



Bug#903176: jags: FTBFS in buster/sid (dh_installdocs: Cannot find "doc/manual/jags_installation_manual.pdf")

2018-07-09 Thread Dirk Eddelbuettel


On 9 July 2018 at 08:02, Santiago Vila wrote:
| On Sun, Jul 08, 2018 at 09:36:13PM -0500, Dirk Eddelbuettel wrote:
| 
| > Seems to work here,
| 
| Please try "sbuild --arch-any --no-arch-all" on a clean chroot,
| which is what an official autobuilder would do.
| 
| I can't test an external package easily, and I think it is much better
| if you can reproduce the bug before trying a fix.

By now taken care of -- and as I am pbuilder user the sbuild hint does not
help as much.  I added mercurial, and fixed one tex issue, so -2 should fare
better.

Dirk

-- 
http://dirk.eddelbuettel.com | @eddelbuettel | e...@debian.org



Bug#903176: jags: FTBFS in buster/sid (dh_installdocs: Cannot find "doc/manual/jags_installation_manual.pdf")

2018-07-09 Thread Santiago Vila
On Sun, Jul 08, 2018 at 09:36:13PM -0500, Dirk Eddelbuettel wrote:

> Seems to work here,

Please try "sbuild --arch-any --no-arch-all" on a clean chroot,
which is what an official autobuilder would do.

I can't test an external package easily, and I think it is much better
if you can reproduce the bug before trying a fix.

Thanks.



Bug#903176: jags: FTBFS in buster/sid (dh_installdocs: Cannot find "doc/manual/jags_installation_manual.pdf")

2018-07-08 Thread Dirk Eddelbuettel


On 7 July 2018 at 11:40, Santiago Vila wrote:
| Package: src:jags
| Version: 4.3.0-1
| Severity: serious
| Tags: ftbfs
| 
| Dear maintainer:
| 
| I tried to build this package in buster but it failed:
| 
| 

| [...]
|  debian/rules build-arch
| dh build-arch --with autoreconf
|dh_update_autotools_config -a
|dh_autoreconf -a
| sh: 1: hg: not found
| sh: 1: hg: not found
| sh: 1: hg: not found
| sh: 1: hg: not found
| sh: 1: hg: not found
| sh: 1: hg: not found
| sh: 1: hg: not found
| sh: 1: hg: not found
| sh: 1: hg: not found
| libtoolize: putting auxiliary files in '.'.
| 
| [... snipped ...]
| 
| make[5]: Leaving directory '/<>/win/runtime64'
| make[4]: Leaving directory '/<>/win/runtime64'
| make[4]: Entering directory '/<>/win'
| make[5]: Entering directory '/<>/win'
| make[5]: Nothing to be done for 'install-exec-am'.
| make[5]: Nothing to be done for 'install-data-am'.
| make[5]: Leaving directory '/<>/win'
| make[4]: Leaving directory '/<>/win'
| make[3]: Leaving directory '/<>/win'
| Making install in doc
| make[3]: Entering directory '/<>/doc'
| Making install in manual
| make[4]: Entering directory '/<>/doc/manual'
| make[5]: Entering directory '/<>/doc/manual'
| make[5]: Nothing to be done for 'install-exec-am'.
| make[5]: Nothing to be done for 'install-data-am'.
| make[5]: Leaving directory '/<>/doc/manual'
| make[4]: Leaving directory '/<>/doc/manual'
| make[4]: Entering directory '/<>/doc'
| make[5]: Entering directory '/<>/doc'
| make[5]: Nothing to be done for 'install-exec-am'.
|  /bin/mkdir -p '/<>/debian/jags/usr/share/man/man1'
|  /usr/bin/install -c -m 644 jags.1 
'/<>/debian/jags/usr/share/man/man1'
| make[5]: Leaving directory '/<>/doc'
| make[4]: Leaving directory '/<>/doc'
| make[3]: Leaving directory '/<>/doc'
| Making install in test
| make[3]: Entering directory '/<>/test'
| make[4]: Entering directory '/<>/test'
| make[4]: Nothing to be done for 'install-exec-am'.
| make[4]: Nothing to be done for 'install-data-am'.
| make[4]: Leaving directory '/<>/test'
| make[3]: Leaving directory '/<>/test'
| make[3]: Entering directory '/<>'
| make[4]: Entering directory '/<>'
| make[4]: Nothing to be done for 'install-exec-am'.
| make[4]: Nothing to be done for 'install-data-am'.
| make[4]: Leaving directory '/<>'
| make[3]: Leaving directory '/<>'
| make[2]: Leaving directory '/<>'
| find debian/ -name \*.la | \
|   xargs perl -p -i -e "s/dependency_libs='.*'/dependency_libs=''/" 
| make[1]: Leaving directory '/<>'
|dh_installdocs -a
| dh_installdocs: Cannot find (any matches for) 
"doc/manual/jags_installation_manual.pdf" (tried in .)
| 
| debian/rules:27: recipe for target 'binary-arch' failed
| make: *** [binary-arch] Error 2
| dpkg-buildpackage: error: fakeroot debian/rules binary-arch subprocess 
returned exit status 2
| 

| 
| The build was made with "dpkg-buildpackage -B" in my autobuilder
| but it also fails in reproducible builds:
| 
| https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/jags.html
| 
| [ Note: There has been a recent change in debhelper behaviour, the current
|   behaviour is the intended one. See Bug #903133 for details ].
| 
| Thanks.

Trying to replicate now in my pbuilder. Seems to work here, even though I see
the 'hg missing' line it is building just fine.

If I add hg to Build-Depends and commit, could you test the package via the
salsa repo (which I just created) ?  It would be nice to have it tested
before I upload it.

Dirk

-- 
http://dirk.eddelbuettel.com | @eddelbuettel | e...@debian.org



Bug#903176: jags: FTBFS in buster/sid (dh_installdocs: Cannot find "doc/manual/jags_installation_manual.pdf")

2018-07-07 Thread Santiago Vila
Package: src:jags
Version: 4.3.0-1
Severity: serious
Tags: ftbfs

Dear maintainer:

I tried to build this package in buster but it failed:


[...]
 debian/rules build-arch
dh build-arch --with autoreconf
   dh_update_autotools_config -a
   dh_autoreconf -a
sh: 1: hg: not found
sh: 1: hg: not found
sh: 1: hg: not found
sh: 1: hg: not found
sh: 1: hg: not found
sh: 1: hg: not found
sh: 1: hg: not found
sh: 1: hg: not found
sh: 1: hg: not found
libtoolize: putting auxiliary files in '.'.

[... snipped ...]

make[5]: Leaving directory '/<>/win/runtime64'
make[4]: Leaving directory '/<>/win/runtime64'
make[4]: Entering directory '/<>/win'
make[5]: Entering directory '/<>/win'
make[5]: Nothing to be done for 'install-exec-am'.
make[5]: Nothing to be done for 'install-data-am'.
make[5]: Leaving directory '/<>/win'
make[4]: Leaving directory '/<>/win'
make[3]: Leaving directory '/<>/win'
Making install in doc
make[3]: Entering directory '/<>/doc'
Making install in manual
make[4]: Entering directory '/<>/doc/manual'
make[5]: Entering directory '/<>/doc/manual'
make[5]: Nothing to be done for 'install-exec-am'.
make[5]: Nothing to be done for 'install-data-am'.
make[5]: Leaving directory '/<>/doc/manual'
make[4]: Leaving directory '/<>/doc/manual'
make[4]: Entering directory '/<>/doc'
make[5]: Entering directory '/<>/doc'
make[5]: Nothing to be done for 'install-exec-am'.
 /bin/mkdir -p '/<>/debian/jags/usr/share/man/man1'
 /usr/bin/install -c -m 644 jags.1 
'/<>/debian/jags/usr/share/man/man1'
make[5]: Leaving directory '/<>/doc'
make[4]: Leaving directory '/<>/doc'
make[3]: Leaving directory '/<>/doc'
Making install in test
make[3]: Entering directory '/<>/test'
make[4]: Entering directory '/<>/test'
make[4]: Nothing to be done for 'install-exec-am'.
make[4]: Nothing to be done for 'install-data-am'.
make[4]: Leaving directory '/<>/test'
make[3]: Leaving directory '/<>/test'
make[3]: Entering directory '/<>'
make[4]: Entering directory '/<>'
make[4]: Nothing to be done for 'install-exec-am'.
make[4]: Nothing to be done for 'install-data-am'.
make[4]: Leaving directory '/<>'
make[3]: Leaving directory '/<>'
make[2]: Leaving directory '/<>'
find debian/ -name \*.la | \
xargs perl -p -i -e "s/dependency_libs='.*'/dependency_libs=''/" 
make[1]: Leaving directory '/<>'
   dh_installdocs -a
dh_installdocs: Cannot find (any matches for) 
"doc/manual/jags_installation_manual.pdf" (tried in .)

debian/rules:27: recipe for target 'binary-arch' failed
make: *** [binary-arch] Error 2
dpkg-buildpackage: error: fakeroot debian/rules binary-arch subprocess returned 
exit status 2


The build was made with "dpkg-buildpackage -B" in my autobuilder
but it also fails in reproducible builds:

https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/jags.html

[ Note: There has been a recent change in debhelper behaviour, the current
  behaviour is the intended one. See Bug #903133 for details ].

Thanks.