[aur-general] Issue with a PKGBUILD
Hi, I don't understand why something that worked a short while back, doesn't work anymore. #### #### $ makepkg -s ==> Making package: linux-rt-pussytoes 4.19.184_rt75-0.300 (Sun 11 Apr 2021 15:52:17 CEST) ==> Checking runtime dependencies... ==> Checking buildtime dependencies... ==> Retrieving sources... [snip] -> Found config -> Found 0001-ZEN-Add-sysctl-and-CONFIG-to-disallow-unprivileged-C.patch ==> Validating source files with sha256sums... linux-4.19.184.tar.xz ... Skipped linux-4.19.184.tar.sign ... Skipped patch-4.19.184-rt75.patch.xz ... Skipped patch-4.19.184-rt75.patch.sign ... Skipped config ... Skipped 0001-ZEN-Add-sysctl-and-CONFIG-to-disallow-unprivileged-C.patch ... Passed ==> Verifying source file signatures with gpg... linux-4.19.184.tar ... Passed patch-4.19.184-rt75.patch ... Passed ==> Extracting sources... -> Extracting linux-4.19.184.tar.xz with bsdtar ==> Starting prepare()... Setting version... Applying patch patch-4.19.184-rt75.patch... /tmp/linux-rt-pussytoes/PKGBUILD: line 62: ../patch-4.19.184-rt75.patch: No such file or directory ==> ERROR: A failure occurred in prepare(). Aborting... #### #### Not that long a go I used more or less the same PKGBUILD. If I use this PKGBUILD today, it fails in the same way, as the attached PKGBUILD does: $ pacman -Qi linux-rt-cornflower | grep -eVersion -eBuild Version : 4.19.173_rt72-0.300 Build Date : Fri 19 Feb 2021 04:50:01 CET $ uname -a Linux archlinux 4.19.173-rt72-0.300-cornflower #1 SMP PREEMPT RT Fri, 19 Feb 2021 04:50:01 +0100 x86_64 GNU/Linux $ diff /tmp/linux-rt-pussytoes/PKGBUILD /usr/src/linux-rt-cornflower-rm/PKGBUILD 1,3c1,3 < pkgbase=linux-rt-pussytoes < _pkgver=4.19.184 < _rtpatchver=75 ---
pkgbase=linux-rt-cornflower _pkgver=4.19.173 _rtpatchver=72 31d30 < 'D5653EA39C8675DA4BD5971C13B55DD07C53B851' # Clark Williams 84c83 <
112c111 < ---
pkgdesc="Headers and scripts for building modules for the $pkgdesc kernel" 193c192 <
pkgdesc="Documentation for the $pkgdesc kernel"
#### #### Regards, Ralf
On Sun, 11 Apr 2021 16:32:43 +0200 Ralf Mardorf via aur-general <aur-general@lists.archlinux.org> wrote:
Hi,
I don't understand why something that worked a short while back, doesn't work anymore.
patch-4.19.184-rt75.patch.xz ... Skipped
On 4/11/21 10:41 AM, Doug Newgard via aur-general wrote:
On Sun, 11 Apr 2021 16:32:43 +0200 Ralf Mardorf via aur-general <aur-general@lists.archlinux.org> wrote:
Hi,
I don't understand why something that worked a short while back, doesn't work anymore.
patch-4.19.184-rt75.patch.xz ... Skipped
Indeed, as can be seen this filename matches the uncompressed patch which is reported as not being found, but... in the "Extracting sources" step it is not mentioned as being extracted. So this has to be a bug in the built-in extraction stage and not a bug in the PKGBUILD. -- Eli Schwartz Bug Wrangler and Trusted User
On Sun, 11 Apr 2021 09:41:09 -0500, Doug Newgard wrote:
Thank you, working around the xz issue solved the problem. Ralf
participants (3)
-
Doug Newgard
-
Eli Schwartz
-
Ralf Mardorf