Debian Bug report logs - #1015271
python3-libfdt: package is only build for python3.10, not 3.9

version graph

Package: python3-libfdt; Maintainer for python3-libfdt is Héctor Orón Martínez <[email protected]>; Source for python3-libfdt is src:device-tree-compiler (PTS, buildd, popcon).

Reported by: Agathe Porte <[email protected]>

Date: Mon, 18 Jul 2022 17:33:01 UTC

Severity: important

Found in version device-tree-compiler/1.6.1-2

Reply or subscribe to this bug.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to [email protected], [email protected], Héctor Orón Martínez <[email protected]>:
Bug#1015271; Package python3-libfdt. (Mon, 18 Jul 2022 17:33:03 GMT) (full text, mbox, link).


Acknowledgement sent to Agathe Porte <[email protected]>:
New Bug report received and forwarded. Copy sent to [email protected], Héctor Orón Martínez <[email protected]>. (Mon, 18 Jul 2022 17:33:03 GMT) (full text, mbox, link).


Message #5 received at [email protected] (full text, mbox, reply):

From: Agathe Porte <[email protected]>
To: Debian Bug Tracking System <[email protected]>
Subject: python3-libfdt: package is only build for python3.10, not 3.9
Date: Mon, 18 Jul 2022 19:29:48 +0200
[Message part 1 (text/plain, inline)]
Package: python3-libfdt
Version: 1.6.1-2+b1
Severity: important
X-Debbugs-Cc: [email protected]

Control: -1 blocks 1012369

Dear Maintainer,

The python3-libfdt package is currently only built against the
python3-dev Build-Dependency:

```
$ ls /usr/lib/python3/dist-packages/_libfdt*
/usr/lib/python3/dist-packages/_libfdt.cpython-310-x86_64-linux-gnu.so
```

This means that python3-libfdt is currently:

- Available for python3.10
- Not available for python3.9

Most of the time we have two concurrent Python versions in Debian to
allow for smooth upgrades. This is why this package is no exception and
needs to be built for every supported Python version in Debian.

I have tried to provide a patch using `py3versions -s` and replacing
`python3-dev` with `python3-all-dev` without success. It seems that I am
not able to pass multiple Python versions to the Makefile.

The patch is attached as a starting point, but I will not mark the bug
with the patch attribute since this patch is not working and needs
refinement.

I think folks on #debian-python on OFTC will be happy to help if you
encounter the same struggle as I did and need to reach out.

Thanks in advance.

Agathe


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

Kernel: Linux 5.18.0-2-amd64 (SMP w/4 CPU threads; PREEMPT)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages python3-libfdt depends on:
ii  libc6    2.33-8
ii  python3  3.10.4-1+b1

python3-libfdt recommends no packages.

python3-libfdt suggests no packages.

-- no debconf information
[py3versions-attempt.patch (text/plain, attachment)]

Send a report that this bug log contains spam.


Debian bug tracking system administrator <[email protected]>. Last modified: Sun Sep 22 09:17:39 2024; Machine Name: bembo

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.