Bug#1061104: xtl-dev is not installed with libxsimd-dev transparently (missing Depends:)

Kentaro HAYASHI kenhys at xdump.org
Thu Jan 18 12:01:12 GMT 2024


Package: libxsimd-dev
Version: 10.0.0-3
Severity: important
X-Debbugs-Cc: kenhys at xdump.org

Dear Maintainer,


* What led up to the situation?

  libxsimd-dev requires xtl-dev with Build-Depends: but it should be
  Depends: so it does not require xtl-dev:

  $ apt depends libxsimd-dev
  libxsimd-dev
  Breaks: libxtensor-dev (<< 0.24~)
  Breaks: python3-pythran (<< 0.11~)
  Suggests: libxsimd-doc

  Thus, when installing via apt install -y libxsimd-dev, it does not
  install xtl-dev:

  $ apt install -y  libxsimd-dev
  Reading package lists... Done
  Building dependency tree... Done
  Reading state information... Done
  Suggested packages:
    libxsimd-doc
  The following NEW packages will be installed:
    libxsimd-dev
  0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
  Need to get 101 kB of archives.
  After this operation, 1161 kB of additional disk space will be used.
  Get:1 http://deb.debian.org/debian sid/main amd64 libxsimd-dev amd64
  10.0.0-3 [101 kB]
  Fetched 101 kB in 0s (2438 kB/s)
  debconf: delaying package configuration, since apt-utils is not
  installed Selecting previously unselected package libxsimd-dev:amd64.
  (Reading database ... 5230 files and directories currently installed.)
  Preparing to unpack .../libxsimd-dev_10.0.0-3_amd64.deb ...
  Unpacking libxsimd-dev:amd64 (10.0.0-3) ...
  Setting up libxsimd-dev:amd64 (10.0.0-3) ...

  NOTE: find_dependency(xtl) in
  /usr/lib/x86_64-linux-gnu/cmake/xsimd/xsimdConfig.cmake can't find
  xtl correctly if xtl-dev was not installed.

  There is a same bug with libxsimd-dev (8.1.0-7 on bookworm)

 * What exactly did you do (or not do) that was effective (or
     ineffective)?

  Specify xtl-dev in Depends: field.

  diff -ur xsimd-10.0.0.orig xsimd-10.0.0
  diff -ur xsimd-10.0.0.orig/debian/control xsimd-10.0.0/debian/control
  --- xsimd-10.0.0.orig/debian/control    2023-09-25 17:40:07.000000000
  +0900 +++ xsimd-10.0.0/debian/control 2024-01-18 20:48:05.400870085
  +0900 @@ -20,7 +20,9 @@
   Architecture: any
   Multi-Arch: same
   Section: libdevel
  -Depends: ${misc:Depends}
  +Depends: 
  + xtl-dev,
  + ${misc:Depends}
   Suggests: libxsimd-doc <!nodoc>
   Breaks: libxtensor-dev (<< 0.24~),
           python3-pythran (<< 0.11~)
   

 * What was the outcome of this action?

   xtl-dev can be installable transparently with sudo apt install -y
   libxsimd-dev.

 * What outcome did you expect instead?

   N/A

*** End of the template - remove these template lines ***

-- System Information:
Debian Release: trixie/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 6.6.11-amd64 (SMP w/16 CPU threads; PREEMPT)
Kernel taint flags: TAINT_WARN, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=ja_JP.utf8, LC_CTYPE=ja_JP.utf8 (charmap=UTF-8), LANGUAGE
not set Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled



More information about the debian-science-maintainers mailing list