[arch-general] makepkg as root

Eli Schwartz eschwartz93 at gmail.com
Sun Jan 4 04:18:51 UTC 2015


On Sat, Jan 3, 2015 at 9:11 PM, Mark Lee <mark at markelee.com> wrote:

> I believe the issue is deprecation of a feature utilized by an AUR (non
> officially sanctioned) package (yaourt). It should be the responsibility of
> the AUR maintainer to engage in discussions regarding deprecation of
> official features; and it should be the AUR maintainer's responsibility to
> modify their packages accordingly.
>
> With that in mind; how will building on live cd's as non root work? Will
> users need to trivially make a pacman user for building packages?
>
> Regards,
> Mark
>

Please don't make things up, yaourt does not use --asroot unless you run
yaourt as root, which means that whether you use yaourt is completely
irrelevant.

Running yaourt as root is going to make yaourt run makepkg as root, so the
solution is... don't run yaourt as root? Since YAOURT ITSELF tries hard to
discourage you from doing just that, I fail to see the problem.

And even if it WAS a problem for yaourt, the idea that an aur package
should or would restrict the further development of pacman and makepgk is
absolutely ludicrous.

Okay, that option can now be removed altogether. And in fact it was,
because funnily enough, it seems the yaourt maintainer doesn't care one
iota and happily added this change:
https://github.com/archlinuxfr/yaourt/commit/3f60d14443ef14687e4e2cb60c92209f2f1c9052
which leaves yaourt brilliantly happy with pacman 4.2

In short, this absolutely not in any way shape or form about aur helpers.
It is about people who want to build packages (however they care to do so)
from a root shell.

-- Eli Schwartz


More information about the arch-general mailing list