Bug#827173: gcc-6: missing "Debian" in "gcc-6 --version" output
On 2016-06-13 14:43:06 +0200, Matthias Klose wrote:
> from the logs:
>
> > Configured with: -v
> > --with-pkgversion=' 6.1.1-6'
>
> Don't know what happened. A new build has the distro name again.
I can see in the debian/rules2 file of 6.1.1-6:
CONFARGS = -v \
--with-pkgversion='$(distribution)$(if $(with_linaro_branch),/Linaro)$(if $(with_ibm_branch),/IBM)___$(DEB_VERSION)' \
--with-bugurl='file:///usr/share/doc/$(subst gcj,gcc,$(PKGSOURCE))/README.Bugs'
So, I suppose that the cause was that $(distribution) was unset.
If I understand correctly, this comes from debian/rules.defs,
which has:
distribution := $(shell lsb_release -is)
In the logs[*], I can see multiple errors:
Traceback (most recent call last):
File "/usr/bin/lsb_release", line 25, in <module>
import lsb_release
ImportError: No module named 'lsb_release'
Shouldn't the build tools check for errors?
[*] https://buildd.debian.org/status/fetch.php?pkg=gcc-6&arch=amd64&ver=6.1.1-6&stamp=1465527737
--
Vincent Lefèvre <vincent@vinc17.net> - Web: <https://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)
Reply to: