Your message dated Sun, 14 Jul 2024 14:40:02 +0000
with message-id <[email protected]>
and subject line Bug#1069745: fixed in magics-python 2:1.5.8-3
has caused the Debian Bug report #1069745,
regarding magics-python: wrong arch: any packaging builds potentially 
uninstallable packages
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.)


-- 
1069745: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1069745
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: magics-python
Version: 2:1.5.8-1
Severity: important
Tags: patch
User: [email protected]
Usertags: origin-ubuntu noble ubuntu-patch

Hi Alastair,

Working to resolve per-arch uninstallability of python3-magics++ in Ubuntu
for the upcoming release, I found significant issues in the packaging that
should be resolved.

 - The package build-depends on libeccodes-dev, but does not use it
 - It depends on libmagplus3v5, but nothing ensures that this package is
   only built for architectures on which libmagplus3v5 is available (both
   libmagplus3v5 and libeccodes have *similar* portability issues, but not
   identical; in Ubuntu we're now in the situation that we have architectures
   where libeccodes-dev is available but libmagplus is not)
 - It doesn't actually *use* libmagplus3v5, so this dependency is wrong;
   what it does use is libMagPlus.so, from libmagics++-dev, which is resolved
   via python3-ecmwflibs
 - But the package is missing an actual dependency on python3-ecmwflibs, so
   installing python3-magics++ by itself results in a python module that
   fails to import
 - But also, this package is a pure-python module containing no
   architecture-dependent code, so it should be Architecture: all anyway
   instead of Architecture: any (which also makes the per-arch
   installability issues go away)
 - And because it's architecture-independent it should build-depend on
   python3 - not python3-dev, which is for binary modules.

Please find attached a patch addressing these issues, which has been
uploaded to Ubuntu.

Thanks,
-- 
Steve Langasek                   Give me a lever long enough and a Free OS
Debian Developer                   to set it on, and I can move the world.
Ubuntu Developer                                   https://www.debian.org/
[email protected]                                     [email protected]
diff -Nru magics-python-1.5.8/debian/control magics-python-1.5.8/debian/control
--- magics-python-1.5.8/debian/control  2022-04-17 00:12:44.000000000 -0700
+++ magics-python-1.5.8/debian/control  2024-04-23 17:10:54.000000000 -0700
@@ -4,8 +4,7 @@
 Maintainer: Alastair McKinstry <[email protected]>
 Build-Depends: debhelper-compat (= 13), 
   dh-sequence-python3,
-  libeccodes-dev,
-  python3-dev, 
+  python3, 
   python3-setuptools,
   python3-pytest-runner
 Standards-Version: 4.6.0
@@ -14,8 +13,8 @@
 Vcs-Git: https://salsa.debian.org:/science-team/magics-python.git -b 
debian/latest
 
 Package: python3-magics++
-Architecture: any
-Depends:  libmagplus3v5 , ${misc:Depends}, 
+Architecture: all
+Depends: python3-ecmwflibs, ${misc:Depends}, 
  ${python3:Depends}, 
  python3-simplejson, 
  python3-jinja2

--- End Message ---
--- Begin Message ---
Source: magics-python
Source-Version: 2:1.5.8-3
Done: Andreas Tille <[email protected]>

We believe that the bug you reported is fixed in the latest version of
magics-python, 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.
Andreas Tille <[email protected]> (supplier of updated magics-python 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: SHA256

Format: 1.8
Date: Wed, 24 Apr 2024 08:14:57 +0200
Source: magics-python
Architecture: source
Version: 2:1.5.8-3
Distribution: unstable
Urgency: medium
Maintainer: Debian Science Maintainers 
<[email protected]>
Changed-By: Andreas Tille <[email protected]>
Closes: 1069745
Changes:
 magics-python (2:1.5.8-3) unstable; urgency=medium
 .
   * Team upload.
   * Debian Science Maintainers as Maintainer
   * Apply patch from Steve Langasek to fix dependencies and architecture
     (Thanks for the patch Steve)
     Closes: #1069745
   * Standards-Version: 4.7.0 (routine-update)
   * Reorder sequence of d/control fields by cme (routine-update)
   * Testsuite: autopkgtest-pkg-python (routine-update)
   * Remove trailing whitespace in debian/changelog (routine-update)
   * Remove trailing whitespace in debian/rules (routine-update)
   * Rules-Requires-Root: no (routine-update)
   * Use versioned copyright format URI.
   * watch file standard 4 (routine-update)
   * Add upstream metadata
   * Add missing continuation chars in d/copyright
Checksums-Sha1:
 e4ffbda711932e2f7d06a49437463a98a82df598 2108 magics-python_1.5.8-3.dsc
 a02e4d980c063ecb3e57c7d1e7568a3ffe9e2813 2780 
magics-python_1.5.8-3.debian.tar.xz
Checksums-Sha256:
 e3d9b6bac3062270e232a915836a9831d32a55ead4c9516024e66ab4f8aae111 2108 
magics-python_1.5.8-3.dsc
 9ddac43d610cf8b8de7be56ddf96b6a8227516282d4599d7c763d8a5d3860fd8 2780 
magics-python_1.5.8-3.debian.tar.xz
Files:
 89ece67784fde51e19db5b3770badfef 2108 python optional magics-python_1.5.8-3.dsc
 ef6f890c4b8e3c289a1bb2ab51353917 2780 python optional 
magics-python_1.5.8-3.debian.tar.xz

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

iQIzBAEBCAAdFiEEgjg86RZbNHx4cIGiy+a7Tl2a06UFAmaT3OMACgkQy+a7Tl2a
06UMMw/+IkUtxTSZ/nJTcd5JnQVRBAVyjMC7+/5crWOMnSJpQ5xSmKUWUmCuwn4Z
HPCL+7FaEiGfJjdMXFA9z87K+O3EiSiZVARBQvupzSYNscf6BxlFJ4yBriCTrFsZ
82fee4xXxumHzkTY9RT9ox4isQ8KY0qREaj5/D88aUNHiaIg9cTsSrOnH+ppUhxr
Es7CXvyn6TOA9palmjE/A5gmbf6Xy3GJQKsnQf/dTzcLxXWP/aHtcC44EoK/VzWm
mQlx74z//VUv1kS94Gtq4sprw+mnM5G0nNfJqF5X7O9XjYpw93KJN5Xrtsf2nXO5
vu5qF5+oYvMBAmfxqTBnxu+2udfANXWT6qblHQMlf8KgQkMJ5/ywVn5Xp6C0+XKB
nIWFrluWiBiHa6tiBbdunUXaSDM+wfonysyTDJofrjVZIxtR94xT2PvmJ2HvOeag
vrP2MV+7G3bU92rkGBCH9amSf9PqQTdmX8HnxOSRQfRn0kBB+PzLfqjF6yHuKAwj
F0G9MxNxPVWALGDXIqbwQQL5oxhFIBZoxVOpg1oRS5n4yWPQx8YFhdUhj4JiMokz
qiFmSfTekqE9mjxyj2ITaFVr1buJse84AouiCAQH1/4Ujt+lkatBl8NLPOmneWIe
WLnwuXL1Zhdf3UPc2gNOMS3bUX2M/CuwVAQDiskRpP16yWqnvgc=
=gfGq
-----END PGP SIGNATURE-----

Attachment: pgpJ9K08K73dq.pgp
Description: PGP signature


--- End Message ---

Reply via email to