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
Task Type Bug Report
Category makepkg
Status Closed
Assigned To Allan McRae (Allan)
Architecture All
Severity Low
Priority Normal
Reported Version 3.5.2
Due in Version 4.0.0
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

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
Comment by Dan McGee (toofishes) - Tuesday, 07 June 2011, 16:14 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.
Comment by Allan McRae (Allan) - Tuesday, 07 June 2011, 23:20 GMT
Agreed that this is something that we should be doing.
Comment by Allan McRae (Allan) - Wednesday, 15 June 2011, 09:17 GMT

Loading...