Bug#891242: libquazip binary-any FTBFS: mv: cannot stat 'debian/*-doc/usr/share/doc/*-dev/html': No such file or directory

2018-03-04 Thread Sergio Durigan Junior
On Friday, February 23 2018, Adrian Bunk wrote:

> https://buildd.debian.org/status/package.php?p=libquazip=sid
>
> ...
> dh_installdocs
> find debian -name "*.md5" -delete
> # somehow the docs are installed to libquazip-dev which is not good since 
> there are two -dev packages
> mv debian/*-doc/usr/share/doc/*-dev/html debian/*-doc/usr/share/doc/*-doc
> mv: cannot stat 'debian/*-doc/usr/share/doc/*-dev/html': No such file or 
> directory
> make[1]: *** [debian/rules:65: override_dh_installdocs] Error 1

I looked into this and couldn't reproduce it locally, even after trying
building the package using different strategies.  The only thing I can
imagine could make any difference is to use $(CURDIR) in order to make
'mv' operate on fullpaths:

  mv $(CURDIR)/debian/*-doc/usr/share/doc/*-dev/html 
$(CURDIR)/debian/*-doc/usr/share/doc/*-doc
  rm -rf $(CURDIR)/debian/*-doc/usr/share/doc/*-dev

But I don't really see how this could help.  I'll see if I have more
time later to continue investigating.

-- 
Sergio
GPG key ID: 237A 54B1 0287 28BF 00EF  31F4 D0EB 7628 65FC 5E36
Please send encrypted e-mail if possible
http://sergiodj.net/


signature.asc
Description: PGP signature


Bug#891242: libquazip binary-any FTBFS: mv: cannot stat 'debian/*-doc/usr/share/doc/*-dev/html': No such file or directory

2018-02-23 Thread Adrian Bunk
Source: libquazip
Version: 0.7.3-4
Severity: serious

https://buildd.debian.org/status/package.php?p=libquazip=sid

...
dh_installdocs
find debian -name "*.md5" -delete
# somehow the docs are installed to libquazip-dev which is not good since there 
are two -dev packages
mv debian/*-doc/usr/share/doc/*-dev/html debian/*-doc/usr/share/doc/*-doc
mv: cannot stat 'debian/*-doc/usr/share/doc/*-dev/html': No such file or 
directory
make[1]: *** [debian/rules:65: override_dh_installdocs] Error 1