On Sun, Dec 01, 2024 at 10:13:30PM -0700, Antonio Russo wrote: > I (as upstream) have ported my kcollectd package to Qt6 and KF6, and I'm able to build > and run it just fine using the Debian build chain. Now I (wearing my Debian hat) am > having trouble getting it to build as a .deb. > > The first problem I ran into is that I'm doing the build inside an autopkgtest sid > virtual machine, started by sbuild on a bookworm server. The dh_clean target fails > (on the bookworm host) because I'm using `--with kf6`. I seem to have been able to > get around that by just installing pkg-kde-tools from unstable on bookworm (I know). > But it didn't pull in anything else, and the dh_clean target completed fine > afterwards. > > So, that's my first question: can I build packages using newer dh sequences on an > older build server, or does the build server need to also be unstable to use that > dh sequence? You only need deps installed if you need to run clean. Nowadays, with git and clean working copies you normally can skip running clean, by passing --no-clean-source to sbuild or with something equivalent. -- WBR, wRAR
Attachment:
signature.asc
Description: PGP signature