[buildd-tools-devel] Bug#803505: Bug#803505: sbuild: Run build-deps-failed-commands on apt-get-update fail stage too

Johannes Schauer josch at debian.org
Fri Oct 30 21:00:45 UTC 2015


Hi,

Quoting Luca Falavigna (2015-10-30 20:43:05)
> sometimes my builds fail because of issues during apt-get-update phase. To
> handle these cases, I would like to use --build-deps-failed-commands (or
> alternatively --anything-failed-commands), but it seems neither of them are
> triggered on apt-get-update failed stage.
> 
> Would it be possible to extend the scope of build-deps-failed-commands to
> address this scenario too? After all, "Run  these  commands  we tried to
> install the dependencies but failed for whatever reason" is somewhat included,
> as build-deps won't be processed at all if update is not completed
> successfully...
> 
> Alternatively, having another command type like --apt-get-update-failed-
> commands would be fine too!

The "apt-get update" step is not part of installing build dependencies.

In fact build-deps can be installed even without the "apt-get update" step.
Just run sbuild with --no-apt-update.

What would the benefit be to have a --apt-get-update-failed-commands hook?
Which hook would one like to run when "apt-get update" failed?

Thanks!

cheers, josch
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: signature
URL: <http://lists.alioth.debian.org/pipermail/buildd-tools-devel/attachments/20151030/8ff7b647/attachment.sig>


More information about the Buildd-tools-devel mailing list