🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.debian.bugs.dist
Article #2291

Bug#1152208: cpputest is wrongly marked Multi-Arch: foreign

#2291
From: Helmut Grohne
Date: Mon, 26 Oct 2026 20:20
30 lines
2781 bytes
Package: cpputest
Version: 4.0-2
Severity: serious
Justification: policy 5.6.34.2
Control: affects -1 + src:amd-aie-rt
User: debian-cross@lists.debian.org
Usertags: ftcbfs

cpputest is wrongly marked Multi-Arch: foreign. It is sold as a package
that you can depend on and have cpputest work. That way, it exposes
libcpputest-dev. So when amd-aie-rt Build-Depends: cpputest, it receives
a build architecture libcpputest-dev and when CMake tries to find it, it
finds nothing. This is a straight forward violation of policy section
5.6.34.2.

What is not clear to me is how to correctly handle this. A simple way of
handling the exposure is turning cpputest Arch:any + M-A:same. At that
point, the split between cpputest and libcpputest-dev may no longer be
useful. Moving all the files to libcpputest-dev and having it provide
cpputest would be an option.

Another option is to stop claiming that cpputest was the main package.
If it were dropping its dependency on libcpputest-dev and saying that it
was scripts and examples, users would have to depend on libcpputest-dev
explicitly and things would work on their end.

So the main question here is: When someone issues a dependency, can they
expect to be able to link the cpputest library?

Helmut
Technical Details
Message-ID: <NSzkJ-84wi-11@gated-at.bofh.it>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!3.eu.feeder.erje.net!feeder.erje.net!news.szaf.org!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!3.eu.feeder.erje.net!feeder.erje.net!news.szaf.org!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod
From: Helmut Grohne <helmut@subdivi.de>
Newsgroups: linux.debian.bugs.dist
Subject: Bug#1152208: cpputest is wrongly marked Multi-Arch: foreign
Date: Mon, 26 Oct 2026 21:20:01 +0100
Message-ID: <NSzkJ-84wi-11@gated-at.bofh.it>
X-Mailbox-Line: From debian-bugs-dist-request@lists.debian.org  Mon Oct 26 20:17:16 2026
Old-Return-Path: <debbugs@buxtehude.debian.org>
X-Spam-Flag: NO
X-Spam-Score: -1.45
Reply-To: Helmut Grohne <helmut@subdivi.de>, 1152208@bugs.debian.org
Resent-To: debian-bugs-dist@lists.debian.org
Resent-Cc: hertzog@debian.org
X-Debian-Pr-Message: report 1152208
X-Debian-Pr-Package: cpputest
X-Debian-Pr-Source: cpputest
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
X-Reportbug-Version: 13.2.0
X-Debian-Message: from BTS
X-Mailing-List: <debian-bugs-dist@lists.debian.org> archive/latest/1999080
List-ID: <debian-bugs-dist.lists.debian.org>
List-URL: <https://lists.debian.org/debian-bugs-dist/>
Approved: robomod@news.nic.it
Lines: 30
Organization: linux.* mail to news gateway
Sender: robomod@news.nic.it
X-Original-Date: Mon, 26 Oct 2026 19:09:32 +0100
X-Original-Message-ID: <20261026180932.GA3595158@subdivi.de>