Hi Johannes, Johannes Schauer Marin Rodrigues <[email protected]> writes:
> Hi, > > Quoting Xiyue Deng (2025-11-12 10:58:52) >> > There is something very suspicious in your config: >> > >> > 54 "finished-build-commands" => >> > 55 [ >> > 56 'cd %SBUILD_PKGBUILD_DIR && >> > 57 runuser -u $(id -un) -- dpkg-buildpackage --sanitize-env -us >> > -uc -rfakeroot -S' >> > 58 ] >> > 59 }; >> > >> > This will run dpkg-buildpackage -S after the build. Why? >> > >> > Are you sure this is not messing up your build? >> > >> >> Thanks for taking time to look at my config.pl, and this is exactly the >> place that messed things up! After dropping the "-S" part things are >> going as you suggested. > > the problem is not the -S. The problem is that you call dpkg-buildpackage. > The options you pass to it (and that includes but is not limited to -S) will > not take into account with which options you run sbuild. > > What is the purpose of running that command in the first place? This is to check whether the package can be built twice-in-a-row without leaving any residual files. I think this is not enforced yet, but still good to have. > I would remove it completely. There is no way to run this command reliably > (with or without -S) unless you know that you will never use sbuild with > exactly the same options all the time. > I'm not sure whether there is a better way to do this in sbuild. I think pbuilder has `--twice' for this purpose. > Thanks! > > cheers, josch -- Regards, Xiyue Deng
signature.asc
Description: PGP signature

