Bug#795261: add a warning for stripped python-*-dbg packages

2018-01-08 Thread Chris Lamb
Hi Matthias,

> I currently don't have an example. But that would be a package that has a -dbg
> *and* a -dbgsym package.

To clarify, would that be:

  a) "foo-dbg" and "foo-dbg-dbgsym"

or:

  b) "foo-dbg" and "foo-dbgsym"

?

(Note to self/implementor; cannot be checked in checks/control-file.pm
as that will not contain real autogenerated -dbgsym packages whilst
showing the instrumented/manual ones from the testsuite.)


Regards,

-- 
  ,''`.
 : :'  : Chris Lamb
 `. `'`  la...@debian.org / chris-lamb.co.uk
   `-



Bug#795261: add a warning for stripped python-*-dbg packages

2018-01-06 Thread Piotr Ożarowski
> I currently don't have an example. But that would be a package that has a -dbg
> *and* a -dbgsym package. Maybe Piotr could elaborate if pybuild now handles 
> the
> case correctly, and then maybe just close the issue?

pybuild just invokes -dbg interpreter to build extension, It doesn't
know anything about binary packages unless --name option (AKA
PYBUILD_NAME) is set but then it uses it only to set the right DESTDIR
(f.e. debian/python3-foo-dbg/). It doesn't interact with dh_strip or
anything like that. 

If there's a way to instruct debhelper (via buildsystem) to never ever
create -dbgsym packages for given package (100% binary packages that
start wit python- or python3- AFAICT) then please let me know and I will
implement it.
-- 
GPG: 1D2F A898 58DA AF62 1786 2DF7 AEF6 F1A2 A745 7645



Bug#795261: add a warning for stripped python-*-dbg packages

2018-01-06 Thread Matthias Klose
[CCing Piotr]

On 06.01.2018 11:43, Chris Lamb wrote:
> tags 795261 + moreinfo
> thanks
> 
> 
 add a warning for stripped python-*-dbg packages
> 
> Thanks Mattia for your comments and for filing the other bug.
> 
> Matthias, can you send over the name of an example package so I can be
> sure I am 100% that I understand the issue correctly? :)

I currently don't have an example. But that would be a package that has a -dbg
*and* a -dbgsym package. Maybe Piotr could elaborate if pybuild now handles the
case correctly, and then maybe just close the issue?

Matthias



Bug#795261: add a warning for stripped python-*-dbg packages

2018-01-06 Thread Chris Lamb
tags 795261 + moreinfo
thanks


> > > add a warning for stripped python-*-dbg packages

Thanks Mattia for your comments and for filing the other bug.

Matthias, can you send over the name of an example package so I can be
sure I am 100% that I understand the issue correctly? :)


Regards,

-- 
  ,''`.
 : :'  : Chris Lamb
 `. `'`  la...@debian.org / chris-lamb.co.uk
   `-



Bug#795261: add a warning for stripped python-*-dbg packages

2018-01-03 Thread Mattia Rizzolo
Control: tag -1 - moreinfo

On Wed, Jan 03, 2018 at 05:48:15PM +0100, Mattia Rizzolo wrote:
> On Sat, Dec 30, 2017 at 10:19:47PM +, Chris Lamb wrote:
> > Hi Matthias,
> > 
> > > add a warning for stripped python-*-dbg packages
> > 
> > Do you think we should still implement this now that we have automatic
> > debug packages? I would lean towards "no"...
> 
> Actually, this seems to be already covered by
> library-in-debug-or-profile-should-not-be-stripped, for example here, in
> my local WIP package I get:
> E: python-libxml2-dbg: library-in-debug-or-profile-should-not-be-stripped 
> usr/lib/debug/.build-id/41/7b465dcda87b7241eef0f824b12985e8807139.debug
> E: python3-libxml2-dbg: library-in-debug-or-profile-should-not-be-stripped 
> usr/lib/debug/.build-id/81/856a797c537c2f1ad0cff65a70d03e7ddb2956.debug

NVM, scratch this, it's just wrong.
Matthias is obviously not referring to the debug symbols of the regular
python library, but the one for the debug build.

So, yes, it is still needed.
See also my just filed #886271 for a related change.

-- 
regards,
Mattia Rizzolo

GPG Key: 66AE 2B4A FCCF 3F52 DA18  4D18 4B04 3FCD B944 4540  .''`.
more about me:  https://mapreri.org : :'  :
Launchpad user: https://launchpad.net/~mapreri  `. `'`
Debian QA page: https://qa.debian.org/developer.php?login=mattia  `-


signature.asc
Description: PGP signature


Bug#795261: add a warning for stripped python-*-dbg packages

2018-01-03 Thread Mattia Rizzolo
On Sat, Dec 30, 2017 at 10:19:47PM +, Chris Lamb wrote:
> Hi Matthias,
> 
> > add a warning for stripped python-*-dbg packages
> 
> Do you think we should still implement this now that we have automatic
> debug packages? I would lean towards "no"...

Actually, this seems to be already covered by
library-in-debug-or-profile-should-not-be-stripped, for example here, in
my local WIP package I get:
E: python-libxml2-dbg: library-in-debug-or-profile-should-not-be-stripped 
usr/lib/debug/.build-id/41/7b465dcda87b7241eef0f824b12985e8807139.debug
E: python3-libxml2-dbg: library-in-debug-or-profile-should-not-be-stripped 
usr/lib/debug/.build-id/81/856a797c537c2f1ad0cff65a70d03e7ddb2956.debug


-- 
regards,
Mattia Rizzolo

GPG Key: 66AE 2B4A FCCF 3F52 DA18  4D18 4B04 3FCD B944 4540  .''`.
more about me:  https://mapreri.org : :'  :
Launchpad user: https://launchpad.net/~mapreri  `. `'`
Debian QA page: https://qa.debian.org/developer.php?login=mattia  `-


signature.asc
Description: PGP signature


Bug#795261: add a warning for stripped python-*-dbg packages

2017-12-30 Thread Chris Lamb
tags 795261 + moreinfo
severity 795261 wishlist
thanks

Hi Matthias,

> add a warning for stripped python-*-dbg packages

Do you think we should still implement this now that we have automatic
debug packages? I would lean towards "no"...


Regards,

-- 
  ,''`.
 : :'  : Chris Lamb
 `. `'`  la...@debian.org / chris-lamb.co.uk
   `-



Bug#795261: add a warning for stripped python-*-dbg packages

2015-08-12 Thread Matthias Klose
Package: lintian

sent to
https://lists.debian.org/debian-python/2015/06/msg00022.html

The packages built for the Python debug interpreters should not be stripped.
Usually this has to be done on a per package basis, however when converting to
the pybuild system, this is easily missed. It is now documented in [1], but I
assume a lot of packages just strip the -dbg packages. Maybe lintian should warn
about python -dbg package,

 - when the extension for the debug interpreter is stripped.
 - when the -dbg package doesn't contain the debug information
   for the normal extension build.

[1] 
https://wiki.debian.org/Python/LibraryStyleGuide#Building_python_-dbg_packages


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org