FS#24330 - makepkg --source does not work with fakeroot
Attached to Project:
Pacman
Opened by Jonathan Liu (net147) - Wednesday, 18 May 2011, 05:21 GMT
Last edited by Allan McRae (Allan) - Thursday, 16 June 2011, 09:18 GMT
Opened by Jonathan Liu (net147) - Wednesday, 18 May 2011, 05:21 GMT
Last edited by Allan McRae (Allan) - Thursday, 16 June 2011, 09:18 GMT
|
Details
Summary and Info:
Creating a source package with makepkg --source results in the current user as owner instead of root. Creating a binary package results in root as the owner. Steps to Reproduce: * Ensure fakeroot is included in BUILDENV array in /etc/makepkg.conf * Change to a directory of a PKGBUILD * makepkg --source * tar tvfJ some-package-1.0-1.src.tar.xz I think if fakeroot in included in BUILDENV array in /etc/makepkg.conf, fakeroot should also be used for building source packages. |
This task depends upon
Closed by Allan McRae (Allan)
Thursday, 16 June 2011, 09:18 GMT
Reason for closing: Implemented
Additional comments about closing: http://projects.archlinux.org/pacman.git /commit/?id=d21f6ca4
Thursday, 16 June 2011, 09:18 GMT
Reason for closing: Implemented
Additional comments about closing: http://projects.archlinux.org/pacman.git /commit/?id=d21f6ca4
Comment by Dan McGee (toofishes) -
Tuesday, 07 June 2011, 16:14 GMT
Comment by Allan McRae (Allan) -
Tuesday, 07 June 2011, 23:20 GMT
Comment by Allan McRae (Allan) -
Wednesday, 15 June 2011, 09:17 GMT
Thoughts, Allan? I do agree that source packages should probably
have a generic UID/user and GID/group which is usually
root:0.root:0, rather than pulling details off the users' system.
Agreed that this is something that we should be doing.
Patch:
http://mailman.archlinux.org/pipermail/pacman-dev/2011-June/013409.html