Bug 49139 - Migrate base/univention-python-heimdal to dh_python2
Migrate base/univention-python-heimdal to dh_python2
Status: CLOSED FIXED
Product: UCS
Classification: Unclassified
Component: General
UCS 4.4
All Linux
: P5 normal (vote)
: UCS 4.4-0-errata
Assigned To: Philipp Hahn
Florian Best
:
Depends on:
Blocks: 28497
  Show dependency treegraph
 
Reported: 2019-03-28 10:25 CET by Florian Best
Modified: 2019-05-02 13:22 CEST (History)
1 user (show)

See Also:
What kind of report is it?: Development Internal
What type of bug is this?: ---
Who will be affected by this bug?: ---
How will those affected feel about the bug?: ---
User Pain:
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number:
Bug group (optional):
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Florian Best univentionstaff 2019-03-28 10:25:58 CET
The package base/univention-python-heimdal should be migrated to use dh_python instead of python-support.

Migration-Guide: https://hutten.knut.univention.de/mediawiki/index.php/Python_DebHelper_Migration
Comment 1 Philipp Hahn univentionstaff 2019-04-29 14:06:35 CEST
[4.4-0] 836a26ed0b Bug #49139 Heimdal: Remove shared library dependencies
 base/univention-python-heimdal/setup.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

[4.4-0] 49a7a035f4 Bug #49139 Heimdal: Add unit test
 base/univention-python-heimdal/setup.py |   2 +
 base/univention-python-heimdal/test.py  | 246 ++++++++++++++++++++++++++++++++
 2 files changed, 248 insertions(+)

[4.4-0] e6f53f6672 Bug #49139 Heimdal: Migrate to dh_python2
 base/univention-python-heimdal/.gitignore          |  9 +++++++
 base/univention-python-heimdal/debian/changelog    |  6 +++++
 base/univention-python-heimdal/debian/control      | 26 +++++++++++-------
 base/univention-python-heimdal/debian/rules        | 17 +++---------
 .../debian/ucslint.overrides                       |  2 ++
 base/univention-python-heimdal/setup.py            | 31 ++++++++++++----------
 6 files changed, 54 insertions(+), 37 deletions(-)

Package: univention-python-heimdal
Version: 9.0.0-2A~4.4.0.201904291351
Branch: ucs_4.4-0
Scope: errata4.4-0

[4.4-0] 76dbf390db Bug #49139: univention-python-heimdal 9.0.0-2A~4.4.0.201904291351
 doc/errata/staging/univention-python-heimdal.yaml | 11 +++++++++++
 1 file changed, 11 insertions(+)

QA: The package is in a very bad shape; see Bug #49139. I only did the minimal to change the build system; all other issues will be handled by Bug #49139
Comment 2 Philipp Hahn univentionstaff 2019-04-29 14:07:40 CEST
(In reply to Philipp Hahn from comment #1)
> QA: The package is in a very bad shape; see Bug #49139. I only did the
> minimal to change the build system; all other issues will be handled by Bug
> #49139

Bug #49383 is the correct one.
Comment 3 Florian Best univentionstaff 2019-04-29 15:07:52 CEST
Is it intentional that the debugging symbols have been removed from the package? e.g:
/usr/lib/debug/.build-id/85/72fed8911d8246c77144d99fd52fe80370d229.debug

There is no way to get them now.
Comment 4 Philipp Hahn univentionstaff 2019-04-29 15:12:50 CEST
(In reply to Florian Best from comment #3)
> Is it intentional that the debugging symbols have been removed from the
> package? e.g:
> /usr/lib/debug/.build-id/85/72fed8911d8246c77144d99fd52fe80370d229.debug

Yes

> There is no way to get them now.

Wrong.

Hint: Ever heard of Debian's dbgsym package mechanism?
Comment 5 Florian Best univentionstaff 2019-04-29 15:50:29 CEST
Ahh okay, apt install python-univention-heimdal-dbgsym.

OK: YAML
OK: test.py
OK: python -c "import heimdal; c = heimdal.context(); heimdal.creds(c, heimdal.principal(c, 'Administrator@DEV.LOCAL'), 'univention', '')"
Comment 6 Arvid Requate univentionstaff 2019-05-02 13:22:17 CEST
<http://errata.software-univention.de/ucs/4.4/72.html>