Your message dated Fri, 12 May 2023 11:58:35 +0200
with message-id <ZF4Ny9+f1p/NxAxQ@meyneth>
and subject line Closing #842450 (protocol elements not (always) built from 
source)
has caused the Debian Bug report #842450,
regarding protocol elements not (always) built from source
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
842450: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=842450
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
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 <[email protected]>   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.

--- End Message ---
--- Begin Message ---
Package: libvirt
Version: 9.0.0-1

The generated files haven't been included in the upstream tarballs,
and are always generated at build time, at least since the switch to
meson from a few years back.

I don't feel like digging up the exact version, so let's just say
that bookworm is unaffected and call it a day :)

-- 
Andrea Bolognani <[email protected]>
Resistance is futile, you will be garbage collected.

Attachment: signature.asc
Description: PGP signature


--- End Message ---

Reply via email to