yay icon indicating copy to clipboard operation
yay copied to clipboard

Build is triggered 2nd time, after building and installing kernel from AUR

Open gladykov opened this issue 2 years ago • 0 comments

Affected Version

yay v12.1.0 - libalpm v13.0.2 (this is same version as in git, not counting translation files updates)

Describe the bug

When upgrading package https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=linux-lqx I choose to: edit PKGBUILD -> _localmodcfg=y (not sure if this is event relevant).

After build & installation is complete, yay again triggers build (see yay.log ).

Then yay skips build, because finds builded package:

==> Sources are ready.
 -> linux-lqx-6.4.2.lqx1-1 already made -- skipping build
==> Making package: linux-lqx 6.4.2.lqx1-1 (Wed 05 Jul 2023 09:28:50 PM -03)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> WARNING: Using existing $srcdir/ tree
==> Sources are ready.
loading packages...
resolving dependencies...
looking for conflicting packages...

Package (1)        Old Version   New Version   Net Change

linux-lqx-headers  6.4.1.lqx1-4  6.4.2.lqx1-1    0.00 MiB

Total Installed Size:  115.82 MiB
Net Upgrade Size:        0.00 MiB

:: Proceed with installation? [Y/n] 
(1/1) checking keys in keyring                                                                                                 [----------------------------------------------------------------------------] 100%
(1/1) checking package integrity                                                                                               [----------------------------------------------------------------------------] 100%
(1/1) loading package files                                                                                                    [----------------------------------------------------------------------------] 100%
(1/1) checking for file conflicts                                                                                              [----------------------------------------------------------------------------] 100%
:: Processing package changes...
(1/1) upgrading linux-lqx-headers                                                                                              [----------------------------------------------------------------------------] 100%
:: Running post-transaction hooks...
(1/3) Arming ConditionNeedsUpdate...
(2/3) Updating module dependencies...
(3/3) Checking which packages need to be rebuilt
removing untracked AUR files from cache...
:: Cleaning (1/1): /home/jakub/.cache/yay/linux-lqx
Removing 6.4-3.tar.gz
Removing config.last
Removing linux-6.4.tar.sign
Removing linux-6.4.tar.xz

Expected:

After installing kernel, build process is not triggered again.

gladykov avatar Jul 06 '23 00:07 gladykov