FS#44796 - [devtools] The '-e' switch of the pacman does not supported by the makechrootpkg

Attached to Project: Arch Linux
Opened by Serge Roussak (beaux_monde) - Thursday, 30 April 2015, 19:36 GMT
Last edited by Doug Newgard (Scimmia) - Tuesday, 19 July 2016, 15:37 GMT
Task Type Feature Request
Category Arch Projects
Status Closed
Assigned To Pierre Schmitz (Pierre)
Dave Reisner (falconindy)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Description:
The makechrootpkg utility from the devtools package does not support the -e switch of the pacman (use existing sources).

Additional info:
* package version: 20150228-1


Steps to reproduce:
1. Install the devtools package from the official repo.
2. Prepare the clean chroot dir as described in the arch-wiki.
3. Get a PKGBUILD file for a some package.
4. Run makepkg --nobuild in a dir containing the PKGBUILD file to extract a sources.
5. Run makechrootpkg -r /chroot/dir -- -e.
@ step #5 makechrootpkg first clean a source dir and then run the makepkg utility with the -e switch and with... the empty source dir.
So I propose my patch to fix this issue.
This task depends upon

Closed by  Doug Newgard (Scimmia)
Tuesday, 19 July 2016, 15:37 GMT
Reason for closing:  Duplicate
Additional comments about closing:   FS#44438 
Comment by Dave Reisner (falconindy) - Thursday, 30 April 2015, 20:51 GMT
Why do you need this? The whole point of makechrootpkg is hermetic builds. Allowing tainted build directories circumvents this.
Comment by Doug Newgard (Scimmia) - Friday, 01 May 2015, 03:06 GMT
I don't get it either, but patches should typically be sent to the arch-projects mailing list.

Loading...