[pacman-dev] RFC: makepkg errors

Ivy Foster ivy.foster at gmail.com
Thu Sep 14 23:04:54 UTC 2017


I've implemented a patch that allows makepkg to return discrete error
values for different errors. This is based on the comments scattered
throughout indicating that at some point, somebody intended to
implement this.

As a side benefit, it also closes [FS#54204][], since being able to
return a recognizable error from a failed install_package means that
we can still do clean-up even if this function fails.

Cons: That's a lot of different types of error.

As always, I welcome your critiques!

iff

Links:

[FS#54204]: https://bugs.archlinux.org/task/54204


More information about the pacman-dev mailing list