Yay: Question: Yay don't install make dependencies automatically.

Created on 14 Jan 2019  路  8Comments  路  Source: Jguer/yay

Affected Version



$ yay -V
yay v9.0.1 - libalpm v11.0.2

Issue

yay don't install make dependencies. yay asked me to remove make dependencies before, but now, yay don't ask and install make dependencies.

Steps to reproduce

  1. yay -S yay-git

Output





$ yay -S yay-git 
:: Checking for conflicts...
:: Checking for inner conflicts...
[Aur: 1]  yay-git-9.0.1.r0.gd3a9082-1

:: Downloaded PKGBUILD (1/1): yay-git
  1 yay-git                          (Build Files Exist)
==> [N]one [A]ll [Ab]ort [I]nstalled [No]tInstalled or (1 2 3, 1-3, ^4)
==> Diffs to show?
==> 
:: Parsing SRCINFO (1/1): yay-git
==> Making package: yay-git 9.0.1.r0.gd3a9082-1 (Tue 15 Jan 2019 01:18:39 AM JST)
==> Retrieving sources...
  -> Cloning yay git repo...
Cloning into bare repository '/home/proelbtn/.cache/yay/yay-git/yay'...
remote: Enumerating objects: 7, done.
remote: Counting objects: 100% (7/7), done.
remote: Compressing objects: 100% (7/7), done.
remote: Total 5333 (delta 2), reused 0 (delta 0), pack-reused 5326
Receiving objects: 100% (5333/5333), 5.52 MiB | 2.92 MiB/s, done.
Resolving deltas: 100% (3125/3125), done.
==> Validating source files with md5sums...
    yay ... Skipped
==> Cleaning up...
==> Making package: yay-git 9.0.1.r0.gd3a9082-1 (Tue 15 Jan 2019 01:18:43 AM JST)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Missing dependencies:
  -> go
==> ERROR: Could not resolve all dependencies.
Error making: yay-git

Most helpful comment

I had this issue a few days ago on only one machine and in sporadic way, so I could not figure out what went wrong, I'll still check the changes in libalpm to see if it explains it (when I'm a bit more free)

All 8 comments

yay v9.0.1 - libalpm v11.0.2

facing similar issue dependencies not installing

2 aur/sway-git r4818.183a4b0d-1 (+106 7.36%) 
    i3-compatible Wayland compositor
1 community/sway 0.15.2-3 (4.8 MiB 5.4 MiB) 
    Tiling Wayland compositor and replacement for the i3 window manager
==> Packages to install (eg: 1 2 3, 1-3 or ^4)
==> 2
:: Checking for conflicts...
:: Checking for inner conflicts...
[Aur: 1]  sway-git-r4818.183a4b0d-1

:: Downloaded PKGBUILD (1/1): sway-git
  1 sway-git                         (Build Files Exist)
==> [N]one [A]ll [Ab]ort [I]nstalled [No]tInstalled or (1 2 3, 1-3, ^4)
==> Diffs to show?
==> 
:: Parsing SRCINFO (1/1): sway-git
==> Making package: sway-git r4818.183a4b0d-1 (Mon 14 Jan 2019 10:30:12 PM IST)
==> Retrieving sources...
  -> Cloning sway git repo...
Cloning into bare repository '/home/venkat/.cache/yay/sway-git/sway'...
remote: Enumerating objects: 174, done.
remote: Counting objects: 100% (174/174), done.
remote: Compressing objects: 100% (154/154), done.
remote: Total 33824 (delta 68), reused 48 (delta 20), pack-reused 33650
Receiving objects: 100% (33824/33824), 26.74 MiB | 87.00 KiB/s, done.
Resolving deltas: 100% (24690/24690), done.
==> Validating source files with sha1sums...
    sway ... Skipped
==> Cleaning up...
==> Making package: sway-git r4818.183a4b0d-1 (Mon 14 Jan 2019 10:35:40 PM IST)
==> Checking runtime dependencies...
==> Missing dependencies:
  -> wlroots-git
==> Checking buildtime dependencies...
==> Missing dependencies:
  -> meson
  -> scdoc
==> ERROR: Could not resolve all dependencies.
Error making: sway-git

I have identical error with each AUR package. yay v9.0.1 - libalpm v11.0.2. I am able to reproduce this with default yay settings (when I remove ~/.config/yay directory).

Same here, same version.

Today I try to install cquery, yay asks me to remove make dependencies and installs them.

$ yay -S cquery
:: Checking for conflicts...
:: Checking for inner conflicts...
[Repo Make: 3]  cmake-3.13.2-1  jsoncpp-1.8.4-2  rhash-1.3.7-1
[Aur: 1]  cquery-v20180718-8

==> Remove make dependencies after install? [y/N] 
  1 cquery                           (Build Files Exist)
==> Packages to cleanBuild?
==> [N]one [A]ll [Ab]ort [I]nstalled [No]tInstalled or (1 2 3, 1-3, ^4)
==> 
:: PKGBUILD up to date, Skipping (1/1): cquery
  1 cquery                           (Build Files Exist)
==> [N]one [A]ll [Ab]ort [I]nstalled [No]tInstalled or (1 2 3, 1-3, ^4)
==> Diffs to show?
==> 
:: Parsing SRCINFO (1/1): cquery
resolving dependencies...
looking for conflicting packages...

Packages (3) cmake-3.13.2-1  jsoncpp-1.8.4-2  rhash-1.3.7-1

Total Download Size:    7.31 MiB
Total Installed Size:  34.82 MiB

:: Proceed with installation? [Y/n] 
:: Retrieving packages...
 jsoncpp-1.8.4-2-x86_64                                                           1117.7 KiB  6.17M/s 00:00 [################################################################] 100%
 rhash-1.3.7-1-x86_64                                                              129.6 KiB  5.50M/s 00:00 [################################################################] 100%
 cmake-3.13.2-1-x86_64                                                               6.1 MiB  5.16M/s 00:01 [################################################################] 100%
(3/3) checking keys in keyring                                                                              [################################################################] 100%
(3/3) checking package integrity                                                                            [################################################################] 100%
(3/3) loading package files                                                                                 [################################################################] 100%
(3/3) checking for file conflicts                                                                           [################################################################] 100%
(3/3) checking available disk space                                                                         [################################################################] 100%
:: Processing package changes...
(1/3) installing jsoncpp                                                                                    [################################################################] 100%
Optional dependencies for jsoncpp
    jsoncpp-doc: documentation
(2/3) installing rhash                                                                                      [################################################################] 100%
(3/3) installing cmake                                                                                      [################################################################] 100%
Optional dependencies for cmake
    qt5-base: cmake-gui [installed]
    libxkbcommon-x11: cmake-gui [installed]
:: Running post-transaction hooks...
(1/4) Updating icon theme caches...
(2/4) Arming ConditionNeedsUpdate...
(3/4) Updating the desktop file MIME type cache...
(4/4) Updating the MIME type database...
==> Making package: cquery v20180718-8 (Wed 16 Jan 2019 12:02:52 AM JST)
==> Retrieving sources...
  -> Downloading v20180718.tar.gz...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  
...

My problems seem to be resolved, but I don't know what makes it works correctly. :<

Now on my computer yay works properly. I didn't change anything yay-related but I did update (only pkgs from repo). Maybe there was bug in pacman or makepkg.

@TomaszGasior I don't know it helps you, but I paste my makepkg's version

$ makepkg --version
makepkg (pacman) 5.1.2
Copyright (c) 2006-2018 Pacman Development Team <[email protected]>.
Copyright (C) 2002-2006 Judd Vinet <[email protected]>.

This is free software; see the source for copying conditions.
There is NO WARRANTY, to the extent permitted by law.

I had this issue a few days ago on only one machine and in sporadic way, so I could not figure out what went wrong, I'll still check the changes in libalpm to see if it explains it (when I'm a bit more free)

Assuming this was fixed by https://github.com/Jguer/yay/pull/866. If not feel free to repoen.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

x70b1 picture x70b1  路  4Comments

bazeeel picture bazeeel  路  4Comments

GhostKraft picture GhostKraft  路  4Comments

muesli picture muesli  路  4Comments

parkerlreed picture parkerlreed  路  3Comments