Your message dated Mon, 27 Feb 2023 19:19:59 +0000
with message-id <e1pwj2v-005wbx...@fasolo.debian.org>
and subject line Bug#1022135: fixed in kcmutils 5.103.0-2
has caused the Debian Bug report #1022135,
regarding libkf5kcmutils-bin should be Multi-Arch: foreign
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 ow...@bugs.debian.org
immediately.)


-- 
1022135: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1022135
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: libkf5kcmutils-bin
Version: 5.98.0-1
Tags: patch
Control: affects -1 + src:kwin

libkf5kcmutils-bin contains essentially only kcmdesktopfilegenerator.
src:kwin fails to cross build from source by failing to run this tool. I
see that this utility already was split out to a *-bin package. This is
a great first step to support cross building, but it is not sufficient.
In order to make this split useful to cross building, libkf5kcmutils-bin
needs to be marked Multi-Arch: foreign. Unfortunately, we cannot
presently mark it such, because kcmdesktopfilegenerator lives on an
architecture-dependent path. So what needs to happen here?

1. Move kcmdesktopfilegenerator to an architecture-independent path in
   libkf5kcmutils-bin. This is going to break consumers that expect it
   in its original location. So a symbolic link from the old location to
   the new location is needed.

2. Move this symbolic link added in the previous step from
   libkf5kcmutils-bin to libkf5kcmutils-dev. Remember to add the
   required Breaks+Replaces.

3. Since libkf5kcmutils-bin no longer has an architecture-dependent
   path, it can be marked Multi-Arch: foreign.

Do you agree with this approach? I've implemented it in the attached
patch.

Helmut
diff --minimal -Nru kcmutils-5.98.0/debian/changelog 
kcmutils-5.98.0/debian/changelog
--- kcmutils-5.98.0/debian/changelog    2022-09-18 23:13:26.000000000 +0200
+++ kcmutils-5.98.0/debian/changelog    2022-10-20 21:03:11.000000000 +0200
@@ -1,3 +1,10 @@
+kcmutils (5.98.0-1.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Make libkf5kcmutils-bin Multi-Arch: foreign. (Closes: #-1)
+
+ -- Helmut Grohne <hel...@subdivi.de>  Thu, 20 Oct 2022 21:03:11 +0200
+
 kcmutils (5.98.0-1) unstable; urgency=medium
 
   [ Aurélien COUDERC ]
diff --minimal -Nru kcmutils-5.98.0/debian/control 
kcmutils-5.98.0/debian/control
--- kcmutils-5.98.0/debian/control      2022-09-18 23:13:26.000000000 +0200
+++ kcmutils-5.98.0/debian/control      2022-10-20 21:03:08.000000000 +0200
@@ -32,6 +32,7 @@
 
 Package: libkf5kcmutils-bin
 Architecture: any
+Multi-Arch: foreign
 Depends: ${misc:Depends}, ${shlibs:Depends}
 Description: runtime files for kcmutils
  KCMUtils provides various classes to work with KCModules. KCModules can be
@@ -60,6 +61,8 @@
          libkf5service-dev (>= 5.98.0~),
          libkf5xmlgui-dev (>= 5.98.0~),
          ${misc:Depends},
+Breaks: libkf5kcmutils-bin (<< 5.98.0-1.1~)
+Replaces: libkf5kcmutils-bin (<< 5.98.0-1.1~)
 Recommends: libkf5kcmutils-doc (= ${source:Version})
 Description: Extra APIs to write KConfig modules
  Some utility classes for KSettings, KCModule and KPlugin.
diff --minimal -Nru kcmutils-5.98.0/debian/libkf5kcmutils-bin.install 
kcmutils-5.98.0/debian/libkf5kcmutils-bin.install
--- kcmutils-5.98.0/debian/libkf5kcmutils-bin.install   2022-08-15 
23:04:53.000000000 +0200
+++ kcmutils-5.98.0/debian/libkf5kcmutils-bin.install   2022-10-20 
21:00:16.000000000 +0200
@@ -1 +1 @@
-usr/lib/*/libexec/kf5/kcmdesktopfilegenerator
+usr/lib/*/libexec/kf5/kcmdesktopfilegenerator 
usr/libexec/kf5/kcmdesktopfilegenerator
diff --minimal -Nru kcmutils-5.98.0/debian/libkf5kcmutils-dev.links 
kcmutils-5.98.0/debian/libkf5kcmutils-dev.links
--- kcmutils-5.98.0/debian/libkf5kcmutils-dev.links     1970-01-01 
01:00:00.000000000 +0100
+++ kcmutils-5.98.0/debian/libkf5kcmutils-dev.links     2022-10-20 
21:01:53.000000000 +0200
@@ -0,0 +1 @@
+usr/libexec/kf5/kcmdesktopfilegenerator 
usr/lib/${DEB_HOST_MULTIARCH}/libexec/kf5/kcmdesktopfilegenerator

--- End Message ---
--- Begin Message ---
Source: kcmutils
Source-Version: 5.103.0-2
Done: Patrick Franz <delta...@debian.org>

We believe that the bug you reported is fixed in the latest version of
kcmutils, 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 1022...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Patrick Franz <delta...@debian.org> (supplier of updated kcmutils 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 ftpmas...@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Mon, 27 Feb 2023 19:10:11 +0100
Source: kcmutils
Architecture: source
Version: 5.103.0-2
Distribution: unstable
Urgency: medium
Maintainer: Debian Qt/KDE Maintainers <debian-qt-kde@lists.debian.org>
Changed-By: Patrick Franz <delta...@debian.org>
Closes: 1022135
Changes:
 kcmutils (5.103.0-2) unstable; urgency=medium
 .
   [ Patrick Franz ]
   * Team upload.
   * Make libkf5kcmutils-bin Multi-Arch: foreign, thx to Helmut Grohne
     (Closes: #1022135).
Checksums-Sha1:
 0ca36b3cfae49dc23927d3108247e667ea1a5508 3256 kcmutils_5.103.0-2.dsc
 043ea6602d795ec934ff8177d35339d823facb6d 16024 kcmutils_5.103.0-2.debian.tar.xz
 b6bca3ec9ed4661bb59ca43fabf4ca148f0e99d3 14521 
kcmutils_5.103.0-2_source.buildinfo
Checksums-Sha256:
 19e5f302e52ab4e0a8a6dbc9aa69913a1acea511d46fe9be18a4bc0e8648b1bb 3256 
kcmutils_5.103.0-2.dsc
 73b012a1df92740163c4f3a57120bbba7ba8011091279fa6659a52e26ee4f158 16024 
kcmutils_5.103.0-2.debian.tar.xz
 9c7cf014cf6f0b54af206acc86ebe8f266f19d11bfb069df82785a34bc844afb 14521 
kcmutils_5.103.0-2_source.buildinfo
Files:
 53d4f570000b7d982d565de9989443ab 3256 libs optional kcmutils_5.103.0-2.dsc
 63553873db0f90b91f62ab9c00a2ca8a 16024 libs optional 
kcmutils_5.103.0-2.debian.tar.xz
 ca9a0cfa40efbdc7fbdf3b16ff4e3966 14521 libs optional 
kcmutils_5.103.0-2_source.buildinfo

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEYodBXDR68cxZHu3Knp96YDB3/lYFAmP8+HAACgkQnp96YDB3
/lbwKQ/+OTDDaHGIetApyynnn8bdTJRKs0Ep6PrVQjgfScsm7Nt5GEH8RuwkwnBo
/x6kzmiHaH11BCgtIXK42xJ8KROkyyOTfcab2sT9PDaZAXsEf3ya8wePXEE6Fc6K
lcsr0N3GIp6EWu6A9iSYboAYWW1umaZySdEUM/I1v0xU/LGCC88nLkmcwWpDVeUS
OdUMMrGo8OkbjkGVSthasHP9uOI7ZSmqvDy5S0QpjhnMZroANMnpKQ2bO6NAbKXc
I+IwhWg6yiwNcQ+SFB1LgxTwKhbFtP9JuXB+SHAQ5PNRcxfoxvFUKdU9QBtpb17X
aNItfCT43WaoxXfA5Vk1IKSZAEDyWGpegIj3pLNMuGucNT849yIMIjA+W5DJ5gDq
JMe6jhdR1fMmIWeQ0hG05i3ucMoGN4KU0P+14zKEtC7uDbfnW2GpgUF/U/9XPa+Q
QDV18Ci5QNBYlLYvaFn/x32dkdpx7JlIsnIHPZFVaNpUFzy5jP6cSlyiGxxcfv9f
xQCcEGDEAuZfyd4dmjvXIJbZ5ARSQb5r0C6TLHwMCTKZLVBWXxve89tAXamc7WEA
nNdILz23IYjPoW3jcveco/Fo9IY7qhkd/pjlpd97uaU1nBvjYd/DBxG04uHJZ5Vu
ctkvpLSXcIuKvUWMPZLsdjWmTMPXVQh1YtU33aT1AX8Gohxgydg=
=/IgM
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to