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?
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.

Thanks!

cheers, josch

Attachment: signature.asc
Description: signature

Reply via email to