Source: rust-clang-sys
Version: 1.8.1+ds-1
Severity: normal

Dear Maintainer,

I've prepared the package for whatwg-html-build. At the moment its Vcs is here
https://salsa.debian.org/bastif/whatwg-html-build

Unfortunately, the package doesn't cross build likely because of dependency 
issues in rust-clang-sys.

The cross build job errors out like this

E: Unable to satisfy dependencies. Reached two conflicting assignments:
   1. librust-clang-sys-dev:arm64=1.8.1+ds-1 is selected for install because:
      1. sbuild-build-depends-main-dummy:arm64=0.invalid.0 is selected for 
install
      2. sbuild-build-depends-main-dummy:arm64 Depends 
librust-tokio-1+default-dev:arm64
      3. librust-tokio-dev:arm64 Depends librust-io-uring-0.7-dev:arm64 (>= 
0.7.11)
      4. librust-io-uring-dev:arm64=0.7.15-1 Depends 
librust-bindgen+default-dev:arm64 (>= 0.69)
      5. librust-bindgen-dev:arm64 Depends 
librust-clang-sys-1+clang-11-0-dev:arm64
   2. librust-clang-sys-dev:arm64 Depends clang:arm64
      but none of the choices are installable:
      - clang:arm64 Depends clang-21:arm64 (>= 1:21.1.8-1)
        but none of the choices are installable:
        - clang-21:arm64 Depends binutils:arm64
          but none of the choices are installable:
          - binutils:arm64 is not selected for install because:
            1. sbuild-build-depends-main-dummy:arm64=0.invalid.0 is selected 
for install as above
            2. sbuild-build-depends-main-dummy:arm64 Depends cargo:amd64
            3. cargo:amd64 Depends binutils
            4. binutils:amd64 is available in version 2.47.50.20261021-1
            5. binutils:arm64 Conflicts binutils 

It appears such a bug was reported against clang-21, without being sure that 
the real cause is there
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1140755

Full log is here: 
https://salsa.debian.org/bastif/whatwg-html-build/-/jobs/10701610

Maytham suggest this:

This seems it like it could be fixed by changing the dependency on clang
to libclang1 and/or libclang-dev? At least that is the vibe the clang-
sys crate README is giving: https://crates.io/crates/clang-sys

Full conversation on this issue in the debian-rust list is at

https://lists.debian.org/debian-rust/2026/11/msg00037.html

Regards

-- System Information:
Debian Release: 13.8
  APT prefers stable-updates
  APT policy: (991, 'stable-updates'), (991, 'stable-security'), (991, 
'stable'), (390, 'oldoldstable-security'), (390, 'oldoldstable'), (389, 
'oldoldstable-updates'), (95, 'testing'), (94, 'unstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 6.12.118+deb13-amd64 (SMP w/8 CPU threads; PREEMPT)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8), 
LANGUAGE=fr:en_US
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Reply via email to