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)' \
So, I suppose that the cause was that $(distribution) was unset.
If I understand correctly, this comes from debian/rules.defs,
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>
ImportError: No module named 'lsb_release'
Shouldn't the build tools check for errors?
Vincent Lefèvre <email@example.com> - 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)