Your message dated Mon, 14 Aug 2023 19:18:59 +0000
with message-id <[email protected]>
and subject line Bug#1043136: fixed in debhelper 13.11.5
has caused the Debian Bug report #1043136,
regarding debhelper: should set DEB_PYTHON_INSTALL_LAYOUT=deb when building
.deb with CMake or Meson
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
1043136: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1043136
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: debhelper
Version: 13.11.4
Tags: trixie sid
Severity: normal
X-Debbugs-Cc: Timo Röhling <[email protected]>
As a result of upstream changes in meson and changes to the Debian
packaging/patches of Python, rebuilding gi-docgen with meson >= 1.2.0
results in the installed tree in debian/tmp putting Python code in
/usr/local, not /usr.
CMake has a similar issue, which was discussed on -devel recently:
<https://lists.debian.org/debian-devel/2023/07/msg00307.html>
pybuild avoids this by setting DEB_PYTHON_INSTALL_LAYOUT=deb, which tells
Debian's patched Python that we're building a .deb, but this is not done
for packages that use CMake or Meson directly. As well as this being a
regression for existing non-pybuild packages, pybuild is not always
desirable for packages that contain some Python as an implementation
detail, but are not primarily a Python library:
<https://lists.debian.org/debian-python/2023/08/msg00013.html>.
I think either debhelper's cmake and meson build systems should be doing
this for us, or debhelper should be doing this globally, to avoid every
affected package having to be changed for this.
There was some confusion over whether deb or deb_system is the preferred
value. The python3.11 changelog suggests that deb_system is preferred for
package builds, but pybuild uses deb, and
<https://lists.debian.org/debian-devel/2023/07/msg00311.html> clarifies
that actually, deb is preferred.
I'm trying to prepare a patch for this, which will follow when I have a
bug number to refer to.
smcv
--- End Message ---
--- Begin Message ---
Source: debhelper
Source-Version: 13.11.5
Done: Aurelien Jarno <[email protected]>
We believe that the bug you reported is fixed in the latest version of
debhelper, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Aurelien Jarno <[email protected]> (supplier of updated debhelper package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Mon, 14 Aug 2023 21:07:54 +0200
Source: debhelper
Architecture: source
Version: 13.11.5
Distribution: unstable
Urgency: medium
Maintainer: Debhelper Maintainers <[email protected]>
Changed-By: Aurelien Jarno <[email protected]>
Closes: 1028159 1028564 1042398 1043136
Changes:
debhelper (13.11.5) unstable; urgency=medium
.
* Team upload.
.
[ Translations ]
* Update Portuguese translation (Américo Monteiro)
(Closes: #1028159)
* Update on German translation of pages (Closes: #1028564)
.
[ Tianon Gravi ]
* Fix minor typo in DEB_BUILD_OPTIONS warning ("and but not" -> "but not")
.
[ Niels Thykier ]
* AddonAPI.pm: Correct method name in error message.
Thanks to wferi@Github
.
[ Diederik de Haas ]
* dh_missing: Update link to PROGRAMMING.md.gz
.
[ Helmut Grohne ]
* cmake.pm: set -DBUILD_TESTING=OFF for nocheck builds
.
[ Johannes Schauer Marin Rodrigues ]
* autoscripts/postinst-init-tmpfiles: do not output to /dev/null to not hide
error messages
.
[ Simon McVittie ]
* cmake.pm, meson.pm: Set DEB_PYTHON_INSTALL_LAYOUT=deb if not already set
(Closes: #1043136)
* buildsystems: Give XDG_RUNTIME_DIR spec-compliant u=rwx,og-rwx permissions
* meson.pm: Disable Python byte-compilation if the Meson version is new
enough
(Closes: #1042398)
Checksums-Sha1:
625b9b57f72841eee24fa8b78b422c3bb72d6544 1768 debhelper_13.11.5.dsc
e56ce5a45fd9effa5e315ed564a41979af90a44e 584628 debhelper_13.11.5.tar.xz
4f73174adf3ecfd53c42a50f36b28632f456d07b 5065
debhelper_13.11.5_source.buildinfo
Checksums-Sha256:
f5fe8fb207c3fe20c79011f7a40817e56b0f5256f27aa61a3e24189af14b39e0 1768
debhelper_13.11.5.dsc
776128b17108ef958cf1421b6bce56c139942c7a60b6492f93246d0d27cb8407 584628
debhelper_13.11.5.tar.xz
e17abd14b0b8bb0c1421604588e0504a889c74044464c8621f7cb811bb3667b9 5065
debhelper_13.11.5_source.buildinfo
Files:
3b834fadb6760220ee52bb4b11a4a06b 1768 devel optional debhelper_13.11.5.dsc
e3008a0ebeb81a34701332ec114a7850 584628 devel optional debhelper_13.11.5.tar.xz
e525a0c4435929f7ae232f6a3dca6aa0 5065 devel optional
debhelper_13.11.5_source.buildinfo
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCgAdFiEEUryGlb40+QrX1Ay4E4jA+JnoM2sFAmTafB8ACgkQE4jA+Jno
M2tspA//V/N4E3yhaMei6OuzbzS2+4UfR2G6cp9O3c4j2AsFKkjttqNJHuPM2xW1
NAwo6+tCyGIYpjo50S1rRpn/H9WtJ0ZNHV2L96VwlxZEAu6ntyZK1ghBAOtke0uM
G2IBT31nPSUBZrnmejDoiYNf5aSohqudNEY04C4zZqPhpxPTKMHXCI57qrwd2YSS
RtKWPB3iKxSHFdM3Jy8fMnw2+GxNClXJ4ngmgZODzdbSUpRb5NP798TU+tUz1Rdw
MGRAIfEMrrU+JJzDmv05BOo4u98BurK8rDWGA6LCdZ19RikwlmO2S40hN+kNl5Ai
hIrLDVOGLs84EzpXCBnNoRCc1kWAdp3+nhSoKy9OH0qvDJIiDwPV3h8WpOEvEPl4
gw0ZRRi2nOw+Tn6G9vy7C4XBAqFhJznih6550WgIstn2I7rNpZORGqhCnyaSSQOQ
nAo8T9jjHHMDbzKbzJodGTqLE+1vK4D8oH2R2UtNLlIC8JH852aTZn7TScxEP54j
hIVWES3Ldwdzu3EfkBIfac5i3LQp/bcyhHTlXsreB41MV5VRyCU/rKsKtm2fAdbl
O74sl5yiw8ZUs9TJ7gHMoSQOg+H/uyAfVzNxIrqZ35LEDNTBLhTBgchJbs+vsd1P
KJH9AzEH937Ndce+8uSBY9mZ5UunXr1s60FvcobJLexYJ6lP8pc=
=IdJP
-----END PGP SIGNATURE-----
--- End Message ---