Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#67056 - [efitools] No way to rebuild the package without cleaning up
Attached to Project:
Arch Linux
Opened by Yuri Kanivetsky (x-yuri) - Saturday, 20 June 2020, 15:46 GMT
Last edited by Doug Newgard (Scimmia) - Saturday, 20 June 2020, 17:03 GMT
Opened by Yuri Kanivetsky (x-yuri) - Saturday, 20 June 2020, 15:46 GMT
Last edited by Doug Newgard (Scimmia) - Saturday, 20 June 2020, 17:03 GMT
|
DetailsDescription: You rename src/"${pkgname}" to src/"${pkgname}-${pkgver}" in prepare():
https://git.archlinux.org/svntogit/packages.git/tree/trunk/PKGBUILD?h=packages/efitools&id=375300f5342e6e980f2d3f11dab387262d44453f#n22 But if src/"${pkgname}-${pkgver}" already exists (on second build), what's really happening is src/"${pkgname}" is moved into src/"${pkgname}-${pkgver}". And it fails: ==> Starting prepare()... renamed 'efitools' -> 'efitools-1.9.2/efitools' patching file lib/console.c Reversed (or previously applied) patch detected! Skipping patch. 1 out of 1 hunk ignored -- saving rejects to file lib/console.c.rej ==> ERROR: A failure occurred in prepare(). Aborting... Additional info: * 1.9.2-3 Steps to reproduce: * makepkg && makepkg -f |
This task depends upon
Closed by Doug Newgard (Scimmia)
Saturday, 20 June 2020, 17:03 GMT
Reason for closing: Not a bug
Additional comments about closing: PKGBUILDs in the official repos are made to be built in a clean chroot/container.
Saturday, 20 June 2020, 17:03 GMT
Reason for closing: Not a bug
Additional comments about closing: PKGBUILDs in the official repos are made to be built in a clean chroot/container.