You are not logged in.
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
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
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
I just realised that hence deleted my post to reword it. loqs has it covered though.
Offline
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
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
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
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
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
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