You are not logged in.

#1 2022-01-06 17:13:34

kqpa
Member
Registered: 2022-01-06
Posts: 9

[SOLVED] makepkg -si Doesn't install the required dependencies

I'm trying to install Jekyll from the AUR. I cloned the repository and when i run:

makepkg -si

it gives me dependency errors.

==> ERROR: 'pacman' failed to install missing dependencies.
==> Missing dependencies:
  -> ruby-addressable>=2.4
  -> ruby-colorator>=1.0
  -> ruby-jekyll-sass-converter>=2.0
  -> ruby-jekyll-watch>=2.0
  -> ruby-kramdown>=2.1.0
  -> ruby-liquid>=4.0
  -> ruby-mercenary>=0.3.3
  -> ruby-pathutil>=0.9
  -> ruby-rouge>1.7
  -> ruby-safe_yaml>=1.0
  -> ruby-i18n>=1
  -> ruby-em-websocket>=0.5
  -> ruby-kramdown-parser-gfm
  -> ruby-terminal-table
  -> ruby-webrick
==> Checking buildtime dependencies...
==> ERROR: Could not resolve all dependencies.

Last edited by kqpa (2022-01-06 18:49:35)


Sorry for the dumb question in advance.

Offline

#2 2022-01-06 17:21:41

loqs
Member
Registered: 2014-03-06
Posts: 17,549

Re: [SOLVED] makepkg -si Doesn't install the required dependencies

Installing missing dependencies...
error: target not found: ruby-jekyll-watch>=2.0
error: target not found: ruby-liquid>=4.0
error: target not found: ruby-em-websocket>=0.5
error: target not found: ruby-kramdown-parser-gfm
error: target not found: ruby-terminal-table
==> ERROR: 'pacman' failed to install missing dependencies.
==> Missing dependencies:
  -> ruby>=2.1.0
  -> ruby-addressable>=2.4
  -> ruby-colorator>=1.0
  -> ruby-jekyll-sass-converter>=2.0
  -> ruby-jekyll-watch>=2.0
  -> ruby-kramdown>=2.1.0
  -> ruby-liquid>=4.0
  -> ruby-mercenary>=0.3.3
  -> ruby-pathutil>=0.9
  -> ruby-rouge>1.7
  -> ruby-safe_yaml>=1.0
  -> ruby-i18n>=1
  -> ruby-em-websocket>=0.5
  -> ruby-kramdown-parser-gfm
  -> ruby-terminal-table
  -> ruby-webrick

makepkg -s will install packages provided by a repository.  Dependencies from AUR need to be built and installed before packages depending on them.

Offline

#3 2022-01-06 17:22:43

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 29,606
Website

Re: [SOLVED] makepkg -si Doesn't install the required dependencies

Slithery wrote:

All of those dependencies are also AUR packages.

No, not all.  Just some - or technically at least one.  This is a bit misleading of a message from makepkg that has always bothered me.  It tries to have pacman install all the dependencies, and if it fails, it reports that installing all dependencies failed.  But it could fail even if just one of them is not in the repos.  In this case, at least ruby and ruby-webrick are in [community].

Technically it is accurate: pacman failed to install all of the dependencies in that list - but this is not the same as saying pacman would fail to install each of the dependencies in the list.

Last edited by Trilby (2022-01-06 17:27:16)


"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" -  Richard Stallman

Offline

#4 2022-01-06 17:26:04

Slithery
Administrator
From: Norfolk, UK
Registered: 2013-12-01
Posts: 5,776

Re: [SOLVED] makepkg -si Doesn't install the required dependencies

I just realised that hence deleted my post to reword it. loqs has it covered though.


No, it didn't "fix" anything. It just shifted the brokeness one space to the right. - jasonwryan
Closing -- for deletion; Banning -- for muppetry. - jasonwryan

aur - dotfiles

Offline

#5 2022-01-06 17:26:05

kqpa
Member
Registered: 2022-01-06
Posts: 9

Re: [SOLVED] makepkg -si Doesn't install the required dependencies

Ah I see. I just checked, some are from the AUR. Is there any short way of compiling these? Because every single dependency from the AUR for Jekyll will have more required dependencies which might be from the AUR, and so on.


Sorry for the dumb question in advance.

Offline

#6 2022-01-06 17:29:47

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 29,606
Website

Re: [SOLVED] makepkg -si Doesn't install the required dependencies

This is really the only usecase I've every found to justify AUR helpers.  It'd not be too hard to do it manually, but a helper here would actually help.  In the absence of an AUR helper, though, no there is no "short" way.  You could write a tinly little shell script that'd just loop through the list (and recurse as necessary), and this would be pretty easy to do.  But at that point, you'd really have just written your own little AUR helper (which I fully endorse doing, but still, it'd be using a helper).


"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" -  Richard Stallman

Offline

#7 2022-01-06 17:33:30

kqpa
Member
Registered: 2022-01-06
Posts: 9

Re: [SOLVED] makepkg -si Doesn't install the required dependencies

Trilby wrote:

This is really the only usecase I've every found to justify AUR helpers.  It'd not be too hard to do it manually, but a helper here would actually help.  In the absence of an AUR helper, though, no there is no "short" way.  You could write a tinly little shell script that'd just loop through the list (and recurse as necessary), and this would be pretty easy to do.  But at that point, you'd really have just written your own little AUR helper (which I fully endorse doing, but still, it'd be using a helper).

Which AUR helper do you use?


Sorry for the dumb question in advance.

Offline

#8 2022-01-06 17:34:15

loqs
Member
Registered: 2014-03-06
Posts: 17,549

Re: [SOLVED] makepkg -si Doesn't install the required dependencies

From manual inspection

ruby-jekyll-watch depends on ruby-listen
ruby-liquid 
ruby-em-websockem depends on ruby-http_parser.rb
ruby-kramdown-parser-gfm
ruby-terminal-table depends on ruby-unicode-display_width

Offline

#9 2022-01-06 17:43:03

kqpa
Member
Registered: 2022-01-06
Posts: 9

Re: [SOLVED] makepkg -si Doesn't install the required dependencies

loqs wrote:

From manual inspection

ruby-jekyll-watch depends on ruby-listen
ruby-liquid 
ruby-em-websockem depends on ruby-http_parser.rb
ruby-kramdown-parser-gfm
ruby-terminal-table depends on ruby-unicode-display_width

Thanks!


Sorry for the dumb question in advance.

Offline

#10 2022-01-06 17:51:11

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 29,606
Website

Re: [SOLVED] makepkg -si Doesn't install the required dependencies

kqpa wrote:

Which AUR helper do you use?

I use ~20 lines of shell script that I wrote.  I used to use a ~60 lines of python version that I wrote that would handle such nested AUR dependencies quite well.  But I never use aur packages that depend on other aur packages, so I simplified it.

But which aur helper I use should be of about as much interest to you as which underwear I wear.  It has no bearing on what will fit you well, and you'd really not want to inherit someone else's.


"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" -  Richard Stallman

Offline

Board footer

Powered by FluxBB