[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#996627: kodi-data: Kodi cannot be installed on a foreign architecture



Package: kodi-data
Version: 2:19.1+dfsg2-2
Severity: normal

Dear Maintainer,

Kodi cannot be installed on a foreign architecture.  I asked in
#multiarch for help, and this was our discussion:

13:36 <teythoon> I'm trying to install kodi:armhf on arm64
13:37 <teythoon> but, kodi-data (which is ma: foreign) depends on
      python3-pycryptodome which contains architecture-dependent code
      aiui
13:39 <teythoon> afaics kodi:armhf depends on kodi-data:armhf, which is
      provided by kodi-data:arm64 b/c it is ma:foreign, then that depends
      on python3-pycryptodome:arm64, which cannot be co-installed with
      python3-pycryptodome:armhf, which is also a dependency of
      kodi:armhf
13:39 <teythoon> help?
14:44 <mapreri> (no clue myself, but let me know if kodi needs to change
      anything (since I'm somewhat involved in its maintenance))
14:46 <teythoon> % apt-file list kodi-data | grep '\.py$' | wc --lines
14:46 <teythoon> 56
14:46 <teythoon> kodi-data contains python code, which I *think* is not
      okay
14:47 <mapreri> afaik that depends, it's not so obvious as "python code →
      no multiarch".
14:48 <teythoon> i worked around the problem by re-packaging kodi-data as
      Architecture: armhf
18:43 <helmut> teythoon: I confirm that something is broken here. I'm not
      sure what exactly yet. Can we maybe take it to email?
18:45 <helmut> teythoon: please file a debian bug report against kodi
      stating that it cannot be installed for a foreign architecture.
      that much seems obvious to me. such bugs should be severity
      wishlist at present. Please include "X-Debbugs-Cc:
      debian-cross@lists.debian.org" in your submission headers and ask
      multiarch cross people for help
18:46 <helmut> teythoon: changing a arch:all package to arch:any for the
      purpose of satisfying dependencies is known as the "multiarch
      interpreter workaround" (and python is the interpreter here)
18:47 <helmut> teythoon: so your approach certainly is one of the
      standard solutions. I'm not sure it is the best though.

(I'm reporting this from my desktop.  Because of my workaround making
kodi-data:armhf, I now cannot install reportbug on my arm64 system
because the whole python3 stack is now armhf.)

Thanks,
Justus
-- System Information:
Debian Release: 11.1
  APT prefers stable
  APT policy: (900, 'stable'), (800, 'testing'), (700, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 5.10.0-8-amd64 (SMP w/20 CPU threads)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages kodi-data depends on:
pn  libjs-iscroll         <none>
ii  libjs-jquery          3.5.1+dfsg+~3.5.5-7
pn  mesa-utils            <none>
ii  python3-pil           8.1.2+dfsg-0.3
pn  python3-pycryptodome  <none>
ii  x11-utils             7.7+5

Versions of packages kodi-data recommends:
pn  fonts-noto-hinted      <none>
ii  fonts-noto-mono        20201225-1
pn  fonts-roboto-hinted    <none>
pn  fonts-roboto-unhinted  <none>

kodi-data suggests no packages.

Reply to: