[Pkg-libvirt-maintainers] Bug#753306: libvirt0: libvirt builds should include packager information
Daniel P. Berrange
dan-debian at berrange.com
Mon Jun 30 10:57:45 UTC 2014
Package: libvirt0
Version: 0.9.12.3-1
Severity: normal
Dear Maintainer,
The libvirt configure script has a special feature especially for distro
vendors to use when building binary packages which lets them encode a bit of
information about the builds, which then ends up in log files. This does not
appear to be used in Ubuntu builds which makes it impossible to determine
exactly which particular build of libvirt was used by the bug reporter
For example, on Debian currently if you turn on libvirt logging you'll see a
message like this:
2014-06-27 15:12:33.274+0000: 20830: info : libvirt version: 0.9.12.3
By comparison on Fedora / RHEL systems you'd see something like this:
2014-06-27 16:30:33.837+0000: 2454: info : libvirt version: 1.2.2,
package: 1.fc20 (Unknown, 2014-06-27-15:41:14, mustard.redhat.com)
In particular notice that it includes the precise RPM release number, so
that you can figure out exactly which binary package the bug reporter used.
eg on Debian this would any part of the version which Debian appends after
the main upstream version number
Debian packages could set this doing something like this
when=`date +"%%F-%%T"`
where=`hostname`
who="Unknown" (or name of the person or entity doing the build)
what="1" (or whatever current build is)
./configure --with-packager="$who $when $where" \
--with-packager-version="$what" \
...other args to configure...
And then check that this has then propagated to the log messages
Also reported to Ubuntu maintainer as
https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/1335221
-- System Information:
Debian Release: 7.5
APT prefers stable
APT policy: (990, 'stable')
Architecture: i386 (i686)
Kernel: Linux 2.6.32.33-kvm-i386-20111128-dirty (SMP w/1 CPU core)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages libvirt0 depends on:
ii libavahi-client3 0.6.31-2
ii libavahi-common3 0.6.31-2
ii libc6 2.13-38+deb7u1
ii libcap-ng0 0.6.6-2
ii libdbus-1-3 1.6.8-1+deb7u1
ii libdevmapper1.02.1 2:1.02.74-8
ii libgcrypt11 1.5.0-5+deb7u1
ii libgnutls26 2.12.20-8+deb7u2
ii libnetcf1 0.1.9-2
ii libnl1 1.1-7
ii libnuma1 2.0.8~rc4-1
ii libpcap0.8 1.3.0-1
ii libsasl2-2 2.1.25.dfsg1-6+deb7u1
ii libxenstore3.0 4.1.4-3+deb7u1
ii libxml2 2.8.0+dfsg1-7+nmu3
ii libyajl2 2.0.4-2
Versions of packages libvirt0 recommends:
ii lvm2 2.02.95-8
libvirt0 suggests no packages.
-- no debconf information
More information about the Pkg-libvirt-maintainers
mailing list