Bug#824831: gtkspell3: FTBFS: cp: cannot stat './AUTHORSREADME': No such file or directory

Michael Biebl biebl at debian.org
Fri May 20 18:15:04 UTC 2016


Am 20.05.2016 um 13:17 schrieb Jonas Smedegaard:
> Quoting Jonas Smedegaard (2016-05-20 12:59:21)
>> Quoting Emilio Pozuelo Monfort (2016-05-20 12:38:11)
>>> Looks like in the past this called:
>>>
>>> dh_installdocs -plibgtkspell3-3-0 ./README ./AUTHORS
>>> dh_installdocs -plibgtkspell3-3-dev ./README ./AUTHORS README
>>>
>>> See
>>> https://buildd.debian.org/status/fetch.php?pkg=gtkspell3&arch=i386&ver=3.0.8-1&stamp=1461112198
>>>
>>> Which is rather confusing. No idea if that is expected and what is 
>>> the proper way to disable installation of docs.
>>
>> Hmm, that looks buggy too - a different bug.  Thanks for spotting that!
> 
> No, that other issue is not a bug: DEB_INSTALL_DOCS_libgtkspell3-3-0 
> overrides only DEB_INSTALL_DOCS_DEFAULT, not DEB_INSTALL_DOCS_ALL.
> 
> (It would've been more intuitive if auto-detected files were included 
> only by default, but that's not how it was introduced many years ago, 
> and will need an epoch to change now.)
> 
> Here's how to only include README only in -dev:
> 
> DEB_INSTALL_DOCS_ALL =
> DEB_INSTALL_DOCS_libgtkspell3-3-dev = README
> 
> Here's how to include README in -dev, and auto-detect only for -doc:
> 
> DEB_INSTALL_DOCS_libgtkspell3-3-doc := $(DEB_INSTALL_DOCS_ALL)
> DEB_INSTALL_DOCS_ALL =
> DEB_INSTALL_DOCS_libgtkspell3-3-dev = README
> 
> The latter example must be declared _after_ snippet inclusion - for the 
> former example order does not matter.

Another fallout
Just tried to build gtk+3.0 which now also FTBFS due to the new cdbs.

https://anonscm.debian.org/viewvc/pkg-gnome/desktop/unstable/gtk%2B3.0/debian/rules?view=markup
dh_installdocs -plibgtk-3-common AUTHORSREADME NEWS
cp: cannot stat 'AUTHORSREADME': No such file or directory
dh_installdocs: cp --reflink=auto -a AUTHORSREADME
debian/libgtk-3-common/usr/share/doc/libgtk-3-common returned exit code 1
/usr/share/cdbs/1/rules/debhelper.mk:240: recipe for target
'binary-install/libgtk-3-common' failed
make: *** [binary-install/libgtk-3-common] Error 2




-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-gnome-maintainers/attachments/20160520/47877355/attachment-0001.sig>


More information about the pkg-gnome-maintainers mailing list