Package: dialog
Version: 1.3-20211214-1
Severity: normal
User: multiarch-de...@lists.alioth.debian.org
Usertags: multiarch

The dialog package is marked Multi-Arch: foreign, but contains the
static library /usr/lib/<triplet>/libdialog.a.  This is flagged as an
error by lintian.

,----
| $ lintian-explain-tags multiarch-foreign-static-library
| N:
| E: multiarch-foreign-static-library
| N:
| N:   The package is architecture-dependent, ships a static library in a 
public, architecture-dependent library search path
| N:   and is marked Multi-Arch: foreign. A compiler will be unable to find 
this file, unless it is installed for a matching
| N:   architecture, but the foreign marking says that the architecture should 
not matter.
| N:
| N:   Please remove the Multi-Arch: foreign stanza.
`----

The lintian diagnosis looks correct to me, but I do not think the
suggested remedy is what we want here.  Rather, the correct fix should
be to split out libdialog.a and the header files into a separate
libdialog-dev package (which probably could be marked Multi-Arch: same).


-- System Information:
Debian Release: bookworm/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (101, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 5.10.119-nouveau (SMP w/2 CPU threads)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages dialog depends on:
ii  debianutils   5.7-0.2
ii  libc6         2.33-7
ii  libncursesw6  6.3+20220423-2
ii  libtinfo6     6.3+20220423-2

dialog recommends no packages.

dialog suggests no packages.

-- no debconf information

Reply via email to