Package: lcov Version: 1.16-1 Severity: normal X-Debbugs-Cc: r...@debian.org
Dear Maintainer, We have a peculiar problem in a cross-build environment, which reflects on this package. Thus this bug report, or rather a question. I am not very very sure if this change has any other side effects otherwise. Hence, requesting input from you as well. First, reproduce the problem Step 1: With a dummy package metadata that depends on lcov ``` rrs@priyasi:.../dummy$ cat debian/control Source: dummy Section: misc Priority: optional Build-Depends: cmake, lcov, debhelper-compat(= 13), googletest Standards-Version: 3.9.2 Package: dummy Version: <enter version here; defaults to 1.0> ``` Step 2: Add non-native architecture and try to install ``` rrs@priyasi:.../dummy$ sudo dpkg --add-architecture arm64 rrs@priyasi:.../dummy$ sudo apt update ... snipped ... rrs@priyasi:.../dummy$ sudo apt build-dep -y -aarm64 . [sudo] password for rrs: Note, using directory '.' to get the build dependencies Reading package lists... Done Building dependency tree... Done Reading state information... Done Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming. The following information may help to resolve the situation: The following packages have unmet dependencies: builddeps:.:arm64 : Depends: lcov:arm64 but it is not installable E: Unable to correct problems, you have held broken packages. ``` Then, built the `lcov` package with this change `Multi-Arch: foreign` and installed on my machine. ``` Package: lcov Status: install ok installed Priority: optional Section: devel Installed-Size: 441 Maintainer: Alastair McKinstry <mckins...@debian.org> Architecture: all Multi-Arch: foreign Version: 1.16-1 Depends: perl:any, gcc, libjson-perl, libperlio-gzip-perl Recommends: libgd-gd2-perl ``` Then, repeat the problem steps again. ``` rrs@priyasi:.../dummy$ sudo apt build-dep -y -aarm64 . Note, using directory '.' to get the build dependencies Reading package lists... Done Building dependency tree... Done Reading state information... Done The following NEW packages will be installed: googletest 0 upgraded, 1 newly installed, 0 to remove and 2 not upgraded. Need to get 0 B/506 kB of archives. After this operation, 3,589 kB of additional disk space will be used. Retrieving bug reports... 0%^CInterrupted ``` -- System Information: Debian Release: trixie/sid APT prefers testing APT policy: (990, 'testing'), (500, 'unstable-debug'), (500, 'testing-security'), (500, 'testing-debug'), (500, 'oldstable-updates'), (500, 'oldstable-security'), (500, 'oldoldstable'), (500, 'unstable'), (500, 'oldstable'), (100, 'experimental') Architecture: amd64 (x86_64) Foreign Architectures: arm64 Kernel: Linux 6.3.0-2-amd64 (SMP w/16 CPU threads; PREEMPT) Locale: LANG=en_IN.UTF-8, LC_CTYPE=en_IN.UTF-8 (charmap=UTF-8), LANGUAGE=en_US Shell: /bin/sh linked to /usr/bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled Versions of packages lcov depends on: ii gcc 4:12.3.0-1 ii libjson-perl 4.10000-1 ii libperlio-gzip-perl 0.20-1+b1 ii perl 5.36.0-7 Versions of packages lcov recommends: ii libgd-perl [libgd-gd2-perl] 2.76-4+b1 lcov suggests no packages. -- no debconf information