Your message dated Mon, 19 Feb 2024 20:36:23 +0000
with message-id <[email protected]>
and subject line Bug#1061327: fixed in imath 3.1.10-1
has caused the Debian Bug report #1061327,
regarding libimath-dev: please drop dependency on python3-imath
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.)
--
1061327: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1061327
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: libimath-dev
Version: 3.1.9-3
Severity: normal
Tags: patch
User: [email protected]
Usertags: cross-satisfiability
Hi,
five months ago, bug #1050349 was reported due to a missing dependency of
libimath-dev on python3-imath. The bug was resolved by adding that dependency.
Choosing this solution resulted in the following 134 source packages gaining
one additional cross build satisfiability problem because they will attempt to
install the host architecture version of python:
actiona amberol auto-multiple-choice beads blender budgie-control-center
calligra chafa cheese cimg converseen darknet darktable digikam dmtx-utils
drawtiming dvdauthor dx embree enblend-enfuse eviacam exactimage ffcv field3d
freecad freeimage frei0r gegl gem gimp gmic gnome-authenticator
gnome-dvb-daemon gnome-metronome gnome-sound-recorder gnome-subtitles gnunet
gnustep-gui gst-plugins-bad1.0 gstreamer-editing-services1.0 gstreamer-vaapi
gst-rtsp-server1.0 gtk4 hugin imagemagick imview inkscape jmagick jpeg-xl
kimageformats kio-extras krita kxstitch kylin-scanner lebiniou libopenshot
libvigraimpex luminance-hdr megapixels mgba mia mldemos mlt monado mrgingham
mrpt mupen64plus-core nheko nip2 nitrokey-authenticator node-opencv nomacs
nvidia-texture-tools nvidia-vaapi-driver obs-advanced-scene-switcher odr-padenc
olive-editor opencfu opencolorio opencv openexr openexr-viewers openimageio
openvdb os-autoinst osm2pgsql otb otpclient performous pfstools photoqt
php-facedetect php-imagick pink-pony pitivi povray pqiv pragha pstoedit
pulseeffects pythonmagick pytorch pyzbar qimgv rails r-cran-magick
ros-image-pipeline ros-image-transport-plugins ros-opencv-apps
ros-vision-opencv rss-glx ruby-image-processing ruby-rmagick ruby-vips
rust-gstreamer-play rust-gstreamer-play-sys rust-zbar-rust sayonara sight
simple-whip-client siril slic3r-prusa swayimg synfig synfigstudio
ukui-biometric-auth ukui-biometric-manager ukui-control-center ukui-greeter
ukui-screensaver uprightdiff vdr-plugin-skinenigmang vips virtuoso-opensource
To resolve the situation I approached imath upstream in this issue:
https://github.com/AcademySoftwareFoundation/Imath/issues/360
The resulting pull request was since merged into main:
https://github.com/AcademySoftwareFoundation/Imath/pull/361
In this bug I'm asking you to cherry-pick that commit from the upstream main
branch and apply it to the package even before the next upstream release with
that commit in it happens. I attached a debdiff that is doing exactly that for
your convenience.
Doing so will greatly help with maintaining a downstream Debian Pure Blends
that I am maintaining for the MNT Reform open source laptop. For gstreamer to
do the right thing, we are backporting some patches from gstreamer upstream but
we need to cross-compile it because the MNT Reform is an arm64 laptop and our
build machine is a normal Intel box. With this patch applied, build times get
reduced from 1.5 hours to just under 4 minutes. This is a tremendous help when
developing for that platform as you can probably imagine (and helps reducing
our carbon emissions by a tiny bit).
Note also, that this bug is distinct from #1060843. That bug is about imath
itself failing to cross-build. This bug is about packages that need imath
failing to cross-build.
Thank you for considering!
cheers, josch
diff -Nru imath-3.1.9/debian/changelog imath-3.1.9/debian/changelog
--- imath-3.1.9/debian/changelog 2023-09-04 14:11:55.000000000 +0200
+++ imath-3.1.9/debian/changelog 2024-01-22 17:54:01.000000000 +0100
@@ -1,3 +1,12 @@
+imath (3.1.9-3.1) UNRELEASED; urgency=medium
+
+ * Non-maintainer upload.
+ * cherry-pick upstream commit to prevent reverse B-D of libimath-dev
+ from requiring python3-imath being installed
+ * libimath-dev: drop dependency on python3-imath (Closes: #-1)
+
+ -- Johannes Schauer Marin Rodrigues <[email protected]> Mon, 22 Jan 2024
17:54:01 +0100
+
imath (3.1.9-3) unstable; urgency=medium
* debian/control: add python3-imath as dep to -dev
diff -Nru imath-3.1.9/debian/control imath-3.1.9/debian/control
--- imath-3.1.9/debian/control 2023-09-04 14:09:31.000000000 +0200
+++ imath-3.1.9/debian/control 2024-01-22 17:54:01.000000000 +0100
@@ -47,7 +47,6 @@
Multi-Arch: same
Depends:
libimath-3-1-29 (= ${binary:Version}),
- python3-imath,
${misc:Depends},
${shlibs:Depends}
Pre-Depends:
diff -Nru
imath-3.1.9/debian/patches/0001-src-python-config-ModuleDefine.cmake-do-not-install-.patch
imath-3.1.9/debian/patches/0001-src-python-config-ModuleDefine.cmake-do-not-install-.patch
---
imath-3.1.9/debian/patches/0001-src-python-config-ModuleDefine.cmake-do-not-install-.patch
1970-01-01 01:00:00.000000000 +0100
+++
imath-3.1.9/debian/patches/0001-src-python-config-ModuleDefine.cmake-do-not-install-.patch
2024-01-22 17:48:31.000000000 +0100
@@ -0,0 +1,29 @@
+From 7d58bb722faccd21d336cd0de52f611bac00a9c5 Mon Sep 17 00:00:00 2001
+From: josch <[email protected]>
+Date: Mon, 22 Jan 2024 00:55:39 +0000
+Subject: [PATCH] src/python/config/ModuleDefine.cmake: do not install a cmake
+ file exporting targets for dependent projects (#361)
+
+Thanks: Jochen Sprickerhof
+Closes: #360
+
+Signed-off-by: Johannes Schauer Marin Rodrigues <[email protected]>
+---
+ src/python/config/ModuleDefine.cmake | 1 -
+ 1 file changed, 1 deletion(-)
+
+diff --git a/src/python/config/ModuleDefine.cmake
b/src/python/config/ModuleDefine.cmake
+index b406362..adee61c 100644
+--- a/src/python/config/ModuleDefine.cmake
++++ b/src/python/config/ModuleDefine.cmake
+@@ -55,7 +55,6 @@ function(PYIMATH_ADD_LIBRARY_PRIV libname)
+ add_library(${PROJECT_NAME}::${libname} ALIAS ${libname})
+
+ install(TARGETS ${libname}
+- EXPORT ${PROJECT_NAME}
+ RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}
+ LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}
+ ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR}
+--
+2.39.2
+
diff -Nru imath-3.1.9/debian/patches/series imath-3.1.9/debian/patches/series
--- imath-3.1.9/debian/patches/series 1970-01-01 01:00:00.000000000 +0100
+++ imath-3.1.9/debian/patches/series 2024-01-22 17:53:42.000000000 +0100
@@ -0,0 +1 @@
+0001-src-python-config-ModuleDefine.cmake-do-not-install-.patch
--- End Message ---
--- Begin Message ---
Source: imath
Source-Version: 3.1.10-1
Done: Matteo F. Vescovi <[email protected]>
We believe that the bug you reported is fixed in the latest version of
imath, 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.
Matteo F. Vescovi <[email protected]> (supplier of updated imath 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, 19 Feb 2024 21:21:24 +0100
Source: imath
Architecture: source
Version: 3.1.10-1
Distribution: experimental
Urgency: medium
Maintainer: Debian PhotoTools Maintainers
<[email protected]>
Changed-By: Matteo F. Vescovi <[email protected]>
Closes: 1060843 1061327
Changes:
imath (3.1.10-1) experimental; urgency=medium
.
* New upstream release
- debian/patches/: patchset updated
- 0001-Re-enable_documentation_installation.patch added
* debian/control:
- python3-imath b-dep dropped for libimath-dev
(Closes: #1061327)
- Python3 b-deps fixed for documentation generation
(Closes: #1060843)
- pkg-config -> pkgconf switch
* debian/rules: 'docs' -> 'website' renaming
* debian/libimath-doc.examples: 'docs' -> 'website' renaming
Checksums-Sha1:
62c321eb276783ab110197568be026369e3a1a79 2721 imath_3.1.10-1.dsc
98cd4a36dc27ebe4d68ae6f5b78e5cf0a257c820 595059 imath_3.1.10.orig.tar.gz
80df18fce2522997b352e9bf3986ac107133cf4e 287 imath_3.1.10.orig.tar.gz.asc
a3665d3aaec69aebbde96e84c51e09e13de10a94 9728 imath_3.1.10-1.debian.tar.xz
e62543d7eb2668529bbb47dd0d906974a2119826 9101 imath_3.1.10-1_source.buildinfo
Checksums-Sha256:
33894373a07ccf026fc3183e1998a778c503b056ed967d43fd5d107b41e707fa 2721
imath_3.1.10-1.dsc
f2943e86bfb694e216c60b9a169e5356f8a90f18fbd34d7b6e3450be14f60b10 595059
imath_3.1.10.orig.tar.gz
a2c4ac5151789903ca8ab3093a2798491463ccf2abfd003a20f96453e505dd5f 287
imath_3.1.10.orig.tar.gz.asc
0279daf549ac04871de7188c76a75818f2cc0569e8344261357b8767b670db45 9728
imath_3.1.10-1.debian.tar.xz
6e3af756efacc6a6085ab948d01086e172ced42c3c62fd0eda50854460b4748a 9101
imath_3.1.10-1_source.buildinfo
Files:
8ce17468a5b798f223bb5c9ace804ab3 2721 libs optional imath_3.1.10-1.dsc
5b3a8831f75a30ed76cc609a66b93aa6 595059 libs optional imath_3.1.10.orig.tar.gz
445fa39331ec8bb47d245c12565a226e 287 libs optional imath_3.1.10.orig.tar.gz.asc
8d86c4ce7fce9c178e01dce20d15932d 9728 libs optional
imath_3.1.10-1.debian.tar.xz
b0b27c2dce5c430dd817ee72a8924e84 9101 libs optional
imath_3.1.10-1_source.buildinfo
-----BEGIN PGP SIGNATURE-----
Comment: Debian powered!
iQKTBAEBCgB9FiEE890J+NqH0d9QRsmbBhL0lE7NzVoFAmXTuINfFIAAAAAALgAo
aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldEYz
REQwOUY4REE4N0QxREY1MDQ2Qzk5QjA2MTJGNDk0NEVDRENENUEACgkQBhL0lE7N
zVpDNhAAsLwBJXKGnL2NXUvfZ5h4IvmGDegp/oM2BPNgMoQ8KjZlgtTLrFE+iV7l
unEOCDEEU3VR7BdtKWdhWaWxfuBH4ujRfd/V6kzotBOgBnVA7wW4WNs+Q2YLCjQB
LJOFYlmRsM4JdrKcCU2AIWeifwpQCgp8YsO+p1Asa+mzlQazByuvqCm7DcXMMzD2
8CBMxsQbnt7a4FFtAqjom6IzZNgi3AGVEWnpTGenZQiugpAwt5jq0Dnq1cLEAZFz
cgzKRWt6jU8yeAm17jW6x0m1oY+V1Sj4QpbaqAh5/tmjOhHElNLMT8e6HIotI2yI
LffESMtFVYFJgpUGuMRxL8fHzZUWvRSph1Q9HsqnujOFpFwkX4KBK4Hg3aB1YnXU
zIfR4uD2CKfW6K6KkhywEFwjZGcV8b3u3aAm1kiFqwKXHAmqkHXJnbGddQCBQWch
GUvdBcIeJs1iF7RtxD3KPty/Nq/1ymuRo2UMhNuoppSHw/1pQP3k2KCYGMVcIJUc
IlcbV0zybrRjhcf/1MC6w54lFmOIcLgdtCuGQh0seHNVeA7YBMOkUAoIg/gvrVEI
LVTCss5H0YhqPUv9da05HwsBufXh/rvowEfkrRoejlrfHN5+wUvb27CXXduUQljt
M0X1L9EaXfjNomWZafGU7bdNIqTM97hYez296WyytK7phsFXUoQ=
=KW1W
-----END PGP SIGNATURE-----
pgpKG7m4a6cKb.pgp
Description: PGP signature
--- End Message ---