[Build-common-hackers] Bug#824740: [Pkg-telepathy-maintainers] Bug#824740: telepathy-ring: FTBFS: cp: cannot stat './AUTHORS--no-act': No such file or directory

Jonas Smedegaard dr at jones.dk
Fri May 20 08:55:58 UTC 2016


Control: reassign -1 telepathy-ring

[re-sending to bugreport]

Quoting Emilio Pozuelo Monfort (2016-05-19 13:44:51)
> Control: reassign -1 cdbs 0.4.136
> 
> On 19/05/16 12:57, Chris Lamb wrote:
> > telepathy-ring fails to build from source in unstable/amd64:
> > 
> >   [..]
> 
> >   dh_installdocs -ptelepathy-ring-dbg ./README ./AUTHORS--no-act
> >   cp: cannot stat './AUTHORS--no-act': No such file or directory
> >   dh_installdocs: cp --reflink=auto -a ./AUTHORS--no-act debian/telepathy-ring-dbg/usr/share/doc/telepathy-ring-dbg returned exit code 1
> >   /usr/share/cdbs/1/rules/debhelper.mk:240: recipe for target 'binary-install/telepathy-ring-dbg' failed
> >   make: *** [binary-install/telepathy-ring-dbg] Error 2
> 
> telepathy-ring does:
> 
> # this has a tight dependency, so we can symlink the doc directories together
> DEB_INSTALL_DOCS_telepathy-ring-dbg := --no-act
> DEB_INSTALL_CHANGELOGS_telepathy-ring-dbg := --no-act
> 
> Looks like a regression in CDBS. Reassigning.
> 
> Please reassign back and let us know if this actually is a bug in telepathy-ring
> and it is misusing CDBS.

Oh.  That's a misuse of a CDBS variable intended only to declare files 
to install, not pass arguments to the debhelper tool.

The correct way to have CDBS not auto-include any docs/changelog files 
is to set the variables to the empty value:

DEB_INSTALL_DOCS_telepathy-ring-dbg =
DEB_INSTALL_CHANGELOGS_telepathy-ring-dbg =

(what you effectively did in the past was not pass as argument, but 
instead tell CDBS to only install the file "--no-act" which was 
skipped because it didn't exist).

 - Jonas

-- 
 * Jonas Smedegaard - idealist & Internet-arkitekt
 * Tlf.: +45 40843136  Website: http://dr.jones.dk/

 [x] quote me freely  [ ] ask before reusing  [ ] keep private
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: signature
URL: <http://lists.alioth.debian.org/pipermail/build-common-hackers/attachments/20160520/d51e6125/attachment.sig>


More information about the Build-common-hackers mailing list