Return to Level1Techs.com

Pacman missing dependencies

Trying to install streamlink-twitch-gui on manjaro.

Everything is up-to-date fresh install yesterday.

when I run the makepkg cmd it says that it’s missing streamlink.

No problem I think just manual install streamlink problem solved right?

Nope. Still says it’s missing despite being installed. Any ideas here guys?

I’m assuming it wants to compile the package from scratch so you need the header files for that to work.

You will probably need the development package for streamlink (whatever that’s called on Arch), not just the regular package for usage. On Fedora they are called something like packagename-devel, there’s probably an equivalent for Arch.

Also:

What are you entering exactly?

try makepkg -si. If the packaged requires something else, it should pull in the dependencies. If it does not, then you probably want another package from AUR that does it right or build from source yourself (recommended).

Perhaps @redneckgamer185 is new to Linux / installing packages from source.

I’ve never used Manjaro, but on Arch that Manjaro is based on, i use yay to install things from AUR and keep everything up to date:

You can get yay here:

Afterwards, you can just use it instead of pacman for your typical daily system maintenance.

1 Like

Fair enough. I know a lot of people use Arch because of memes but I did not consider that he did not know how to compile from source.

I don’t personally use the AUR but I have been using GNU/Linux since 1999 so I usually just go to the source.

yay just does curl + makepkg -si along the chain of deps, same thing you recommended doing manually basically (with apologies to the yay authors, that is its most useful feature).

That’s also the reason I asked for the command, because the documentation says:

git clone 'https://aur.archlinux.org/streamlink-twitch-gui'
cd streamlink-twitch-gui
makepkg --install --syncdeps --cleanbuild

Tried this

==> ERROR: ‘pacman’ failed to install missing dependencies.
==> Missing dependencies:
-> streamlink
==> Checking buildtime dependencies…
==> ERROR: Could not resolve all dependencies.

https://aur.archlinux.org/packages/streamlink

That would explain it.

edit: actually, it targets streamlink-git, nvm then

Ok so building manual it is then

Probably yeah. Not sure why it won’t work tho because the streamlink-twitch-gui AUR package also has streamlink-git as dependency, not streamlink

hang on this gives me an idea

so I tried to do a build with -git over the streamlink-twitch-gui non git

Checking buildtime dependencies…
==> Installing missing dependencies…
resolving dependencies…
looking for conflicting packages…

Packages (5) c-ares-1.15.0-1 libuv-1.34.2-1 grunt-cli-1.3.2-2
nodejs-13.10.1-1 yarn-1.22.0-1

Total Download Size: 9.01 MiB
Total Installed Size: 35.24 MiB

:: Proceed with installation? [Y/n] y
:: Retrieving packages…
libuv-1.34.2-1-x… 217.2 KiB 465 KiB/s 00:00 [######################] 100%
c-ares-1.15.0-1-… 108.0 KiB 15.1 MiB/s 00:00 [######################] 100%
nodejs-13.10.1-1… 7.4 MiB 8.90 MiB/s 00:01 [######################] 100%
yarn-1.22.0-1-any 952.1 KiB 18.6 MiB/s 00:00 [######################] 100%
grunt-cli-1.3.2-… 418.9 KiB 8.70 MiB/s 00:00 [######################] 100%
(5/5) checking keys in keyring [######################] 100%
(5/5) checking package integrity [######################] 100%
(5/5) loading package files [######################] 100%
(5/5) checking for file conflicts [######################] 100%
(5/5) checking available disk space [######################] 100%
:: Processing package changes…
(1/5) installing libuv [######################] 100%
(2/5) installing c-ares [######################] 100%
(3/5) installing nodejs [######################] 100%
Optional dependencies for nodejs
npm: nodejs package manager
(4/5) installing yarn [######################] 100%
(5/5) installing grunt-cli [######################] 100%
:: Running post-transaction hooks…
(1/1) Arming ConditionNeedsUpdate…
==> ERROR: Could not resolve all dependencies.

Thought of that too but didn’t think it would make a difference because the normal package already seems to target streamlink-git

Trying to build it manually using the readme included in the master download.

ERROR in …/web_modules/metadata.js
Module build failed (from …/web_loaders/metadata-loader.js):
Error: null
at ChildProcess.onExit (/home/kalen/Downloads/streamlink-twitch-gui-master/src/web_loaders/metadata-loader.js:25:14)
at ChildProcess.emit (events.js:316:20)
at Process.ChildProcess._handle.onexit (internal/child_process.js:275:12)

@ …/web_modules/ember-data/version.js 8:39-58
@ /home/kalen/Downloads/streamlink-twitch-gui-master/node_modules/ember-data/addon/-private/core.js
@ /home/kalen/Downloads/streamlink-twitch-gui-master/node_modules/ember-data/addon/-private/index.js
@ /home/kalen/Downloads/streamlink-twitch-gui-master/node_modules/ember-data/addon/index.js
@ …/test/web_modules/ember-test.js
@ …/test/main.js
Warning: Used --force, continuing.

Running “runtest” task
Using v0.42.3 (sdk)
Create cache folder in /home/kalen/Downloads/streamlink-twitch-gui-master/build/cache/0.42.3-sdk
Downloading: https://dl.nwjs.io/v0.42.3/nwjs-sdk-v0.42.3-linux-x64.tar.gz
downloading [====================] 100% 0.0s

Launching App

DevTools listening on ws://127.0.0.1:8000/devtools/browser/410e2e91-f28e-4b4c-b62b-0bb10d139866

[6126:6126:0320/161816.486892:ERROR:sandbox_linux.cc(371)] InitializeSandbox() called with multiple threads in process gpu-process.

Fatal error: Timeout: Missing QUnit.start() call

About to just say forget it. Not sure what the issue is. Gonna do more research

I mean, the issue is that you are missing dependencies. I would be willing go further and sate that the package maintainers are assuming some items to be present on all people’s systems and thus, they are not directly declaring all required dependencies.

Can you build all parts from source?

pacman can install streamlink dependency from Manjaro repository
but cannot not build main package from AUR

try using Manjaro package manager pamac-cli

pamac build streamlink-twitch-gui

Says everything already exists