🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: linux.debian.bugs.dist
1 messages
1 total messages Started by Helmut Grohne Sun, 15 Nov 2026 15:40
Bug#1154080: libstdc++6.preinst wrongly produced for DEB_STAGE=rtlibs
#4616
Author: Helmut Grohne
Date: Sun, 15 Nov 2026 15:40
30 lines
3070 bytes
Package: libstdc++6
Version: 16.2.0-4
Tags: patch
User: helmutg@debian.org
Usertags: rebootstrap

Hi Matthias,

I noticed that when building DEB_STAGE=rtlibs, the generated
libstdc++6.prerem is broken, because TARGET_QUAL ends up being empty.
For native builds as well as cross building the compiler, it is
non-empty. When empty, removing libstdc++6 results in strange output:

| dpkg-query: error: --listfiles needs a valid package name but 'libstdc++6' is not: ambiguous package name 'libstdc++6' with more than one installed instance
| 
| Use --help for help about querying packages.
| dpkg-query: error: --listfiles needs a valid package name but 'libstdc++6' is not: ambiguous package name 'libstdc++6' with more than one installed instance
| 
| Use --help for help about querying packages.

Presently, TARGET_QUAL is set when the host architecture equals the
target condition. Clearly, when that condition holds, it needs to be
set, but it also needs to be set for DEB_STAGE=rtlibs. I observe that in
both cases LS ends up being empty. When LS is non-empty, the relevant
package is renamed and Arch:all, so TARGET_QUAL needs to be empty. The
prerm is the only location where TARGET_QUAL is being used. So this
looks like the right condition to me. Please consider applying the
attached patch.

Helmut
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads