Bug#827173: gcc-6: missing "Debian" in "gcc-6 --version" output

2016-06-13 Thread Vincent Lefevre
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 
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=amd64=6.1.1-6=1465527737

-- 
Vincent Lefèvre  - Web: 
100% accessible validated (X)HTML - Blog: 
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)



Bug#827173: gcc-6: missing "Debian" in "gcc-6 --version" output

2016-06-13 Thread Sven Joachim
On 2016-06-13 15:55 +0200, Sven Joachim wrote:

> On 2016-06-13 14:43 +0200, Matthias Klose wrote:
>
>> On 13.06.2016 12:46, Vincent Lefevre wrote:
>>> Package: gcc-6
>>> Version: 6.1.1-6
>>> Severity: minor
>>> 
>>> $ gcc-6 --version
>>> gcc-6 ( 6.1.1-6) 6.1.1 20160609
>>> Copyright (C) 2016 Free Software Foundation, Inc.
>>> This is free software; see the source for copying conditions.  There is NO
>>> warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
>>> 
>>> The first line of the output should have been:
>>> 
>>> gcc-6 (Debian 6.1.1-6) 6.1.1 20160609
>>> 
>>> There was no such problem with gcc-6 6.1.1-5.
>>
>> 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.
>
> It's because of #826962, but I cannot reproduce that bug.

Ah, it's because of a bug in python 3.5 3.5.1-14, and you already fixed
it in -15.  Will reassign #826962 accordingly.

Cheers,
   Sven



Bug#827173: gcc-6: missing "Debian" in "gcc-6 --version" output

2016-06-13 Thread Sven Joachim
On 2016-06-13 14:43 +0200, Matthias Klose wrote:

> On 13.06.2016 12:46, Vincent Lefevre wrote:
>> Package: gcc-6
>> Version: 6.1.1-6
>> Severity: minor
>> 
>> $ gcc-6 --version
>> gcc-6 ( 6.1.1-6) 6.1.1 20160609
>> Copyright (C) 2016 Free Software Foundation, Inc.
>> This is free software; see the source for copying conditions.  There is NO
>> warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
>> 
>> The first line of the output should have been:
>> 
>> gcc-6 (Debian 6.1.1-6) 6.1.1 20160609
>> 
>> There was no such problem with gcc-6 6.1.1-5.
>
> 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.

It's because of #826962, but I cannot reproduce that bug.

Cheers,
   Sven



Bug#827173: gcc-6: missing "Debian" in "gcc-6 --version" output

2016-06-13 Thread Matthias Klose
On 13.06.2016 12:46, Vincent Lefevre wrote:
> Package: gcc-6
> Version: 6.1.1-6
> Severity: minor
> 
> $ gcc-6 --version
> gcc-6 ( 6.1.1-6) 6.1.1 20160609
> Copyright (C) 2016 Free Software Foundation, Inc.
> This is free software; see the source for copying conditions.  There is NO
> warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
> 
> The first line of the output should have been:
> 
> gcc-6 (Debian 6.1.1-6) 6.1.1 20160609
> 
> There was no such problem with gcc-6 6.1.1-5.

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.



Bug#827173: gcc-6: missing "Debian" in "gcc-6 --version" output

2016-06-13 Thread Vincent Lefevre
Package: gcc-6
Version: 6.1.1-6
Severity: minor

$ gcc-6 --version
gcc-6 ( 6.1.1-6) 6.1.1 20160609
Copyright (C) 2016 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

The first line of the output should have been:

gcc-6 (Debian 6.1.1-6) 6.1.1 20160609

There was no such problem with gcc-6 6.1.1-5.

-- System Information:
Debian Release: stretch/sid
  APT prefers unstable-debug
  APT policy: (500, 'unstable-debug'), (500, 'stable-updates'), (500, 
'unstable'), (500, 'testing'), (500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.6.0-1-amd64 (SMP w/12 CPU cores)
Locale: LANG=POSIX, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages gcc-6 depends on:
ii  binutils  2.26-11
ii  cpp-6 6.1.1-6
ii  gcc-6-base6.1.1-6
ii  libc6 2.22-11
ii  libcc1-0  6.1.1-6
ii  libgcc-6-dev  6.1.1-6
ii  libgcc1   1:6.1.1-6
ii  libgmp10  2:6.1.0+dfsg-2
ii  libisl15  0.17.1-1
ii  libmpc3   1.0.3-1
ii  libmpfr4  3.1.4-2
ii  libstdc++66.1.1-6
ii  zlib1g1:1.2.8.dfsg-2+b1

Versions of packages gcc-6 recommends:
ii  libc6-dev  2.22-11

Versions of packages gcc-6 suggests:
ii  gcc-6-doc 6.1.0-1
ii  gcc-6-locales 6.1.1-6
ii  gcc-6-multilib6.1.1-6
pn  libasan3-dbg  
pn  libatomic1-dbg
pn  libcilkrts5-dbg   
pn  libgcc1-dbg   
pn  libgomp1-dbg  
pn  libitm1-dbg   
pn  liblsan0-dbg  
pn  libmpx2-dbg   
pn  libquadmath0-dbg  
pn  libtsan0-dbg  
pn  libubsan0-dbg 

-- no debconf information