[Pkg-libvirt-maintainers] Bug#842450: protocol elements not (always) built from source
Ian Jackson
ijackson at chiark.greenend.org.uk
Sat Oct 29 11:13:07 UTC 2016
Package: libvirt
Version: 2.3.0-3
While debugging a build problem which turned out to be unrelated,
I discovered that:
* the source package contains protocol input files *protocol.x
* the source package contains also generated files *.[ch] etc.
* whether the protocol outputs are rebuilt depends on the
timestamps in the usual way (via the Makefile)
With the source package in sid, a simple "apt-get source", followed by
dpkg-buildpackage -uc -b, results in *not* rebuilding these protocols.
In my tests, it appears at least that the build succeeds if the
protocols _are_ regenerated so this isn't a crisis.
But IMO it would be considerably better if these were rebuilt.
I suggest that debian/rules should do something like
find src -name '*.x' | xargs touch
or perhaps run a suitable bit of the clean target, or something.
I haven't checked whether the package rules clean target always
arranges for these protocols to be regenrated. If it doesn't, I think
it should.
Thanks,
Ian.
--
Ian Jackson <ijackson at chiark.greenend.org.uk> These opinions are my own.
If I emailed you from an address @fyvzl.net or @evade.org.uk, that is
a private address which bypasses my fierce spamfilter.
More information about the Pkg-libvirt-maintainers
mailing list