You are not logged in.

#1 2023-08-11 11:12:26

enemoy
Member
Registered: 2023-08-11
Posts: 2

Problem installing emacs-ghub (required for emacs-org-roam)

Hello everybody,

I want to try out the org-roam in emacs and in the tutorial I was following it is written to install the package

emacs-org-roam

.
When I try to install the package through yay, I am told multiple dependencies cannot be installed (

exit status 8

or

exit status 4

),
which comes down to the package

emacs-ghub

being the problem.
I updated the whole system beforehand.
I also tried to install the

emacs-ghub-git

package (which worked), but the packages that depend on it just tries to install the non-git version anyway.
I also tried to manually install the program via

git clone

and

makepkg -si

, but that resulted in

exit status 4

and the notice, that the

stat

couldn't find the directory

ghub

in the cloned repository, even though the directory is present
(Sorry for not posting the full output of my installation process, but my package manager is in german, not in english).

Neither on the github page nor on the AUR page for the packages are any posts on this type of error and I don't know, where to continue debugging.

Please help.

Offline

#2 2023-08-11 13:16:40

WorMzy
Administrator
From: Scotland
Registered: 2010-06-16
Posts: 13,319
Website

Re: Problem installing emacs-ghub (required for emacs-org-roam)

Mod note: not a pacman issue, moving to AUR Issues.


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

#3 2023-08-11 13:29:43

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

Re: Problem installing emacs-ghub (required for emacs-org-roam)

enemoy wrote:

Sorry for not posting the full output of my installation process, but my package manager is in german, not in english

Welcome to the forums.  It's expected that you should prepend a command with LC_ALL=C to get output in English to post to the forum.  However, even if you didn't yet know that, it should be obvious that while having output in German might make it a little harder to help you, not having the output at all makes it completely impossible.

Use makepkg to (attempt to) build the relevant package(s) and post the full command (prepended with LC_ALL=C) and output here in [code] tags.


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#4 2023-08-13 15:37:02

enemoy
Member
Registered: 2023-08-11
Posts: 2

Re: Problem installing emacs-ghub (required for emacs-org-roam)

I am sorry for the inconvenience.
Here is the output of the 

LC_ALL=C yay -S emacs-ghub

command:

$ LC_ALL=C yay -S emacs-ghub
AUR Explicit (1): emacs-ghub-3.2.0-1
:: PKGBUILD up to date, skipping download: emacs-ghub
  1 emacs-ghub                       (Build Files Exist)
==> Packages to cleanBuild?
==> [N]one [A]ll [Ab]ort installed [No]tInstalled or (1 2 3, 1-3, ^4)
==>
  1 emacs-ghub                       (Build Files Exist)
==> Diffs to show?
==> [N]one [A]ll [Ab]ort installed [No]tInstalled or (1 2 3, 1-3, ^4)
==>
==> Making package: emacs-ghub 3.2.0-1 (Sun Aug 13 17:24:22 2023)
==> Retrieving sources...
  -> Updating ghub git repo...
==> WARNING: Skipping verification of source file PGP signatures.
==> Validating source files with md5sums...
    ghub ... Skipped
:: (1/1) Parsing SRCINFO: emacs-ghub
==> Making package: emacs-ghub 3.2.0-1 (Sun Aug 13 17:24:23 2023)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Updating ghub git repo...
==> Validating source files with md5sums...
    ghub ... Skipped
==> Removing existing $srcdir/ directory...
==> Extracting sources...
  -> Creating working copy of ghub git repo...
Cloning into 'ghub'...
done.
Switched to a new branch 'makepkg'
==> Sources are ready.
==> Making package: emacs-ghub 3.2.0-1 (Sun Aug 13 17:24:25 2023)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> WARNING: Using existing $srcdir/ tree
==> Removing existing $pkgdir/ directory...
==> Starting build()...
Compiling ghub.el

In ghub--encode-payload:
ghub.el:601:27: Warning: `json-encode-list' is an obsolete function (as of 28.1); use `json-encode' instead.
Compiling ghub-graphql.el
Compiling glab.el
Compiling gtea.el
Compiling gogs.el
Compiling buck.el
Generating ghub-autoloads.el
Package autoload is deprecated
  INFO     Scraping files for ghub-autoloads.el...
  INFO     Scraping files for ghub-autoloads.el...done
Generating ghub.info
Generating dir
Generating ghub.html
Generating ghub/*.html
find: 'ghub': No such file or directory
Generating ghub.pdf
==> Entering fakeroot environment...
==> Starting package()...
cp: cannot stat 'ghub': No such file or directory
==> ERROR: A failure occurred in package().
    Aborting...
 -> error making: emacs-ghub-exit status 4
 -> Failed to install the following packages. Manual intervention is required:
emacs-ghub - exit status 4

Same for manually making the package with the

LC_ALL=C makepkg -si

when I manually clone the AUR-package:

$ LC_ALL=C makepkg -si
==> Making package: emacs-ghub 3.2.0-1 (Sun Aug 13 17:41:13 2023)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Cloning ghub git repo...
Cloning into bare repository '/home/simon/Programme/emacs-ghub/ghub'...
remote: Enumerating objects: 1923, done.
remote: Counting objects: 100% (627/627), done.
remote: Compressing objects: 100% (228/228), done.
remote: Total 1923 (delta 407), reused 601 (delta 396), pack-reused 1296
Receiving objects: 100% (1923/1923), 715.20 KiB | 4.55 MiB/s, done.
Resolving deltas: 100% (1172/1172), done.
==> Validating source files with md5sums...
    ghub ... Skipped
==> Extracting sources...
  -> Creating working copy of ghub git repo...
Cloning into 'ghub'...
done.
Switched to a new branch 'makepkg'
==> Starting build()...
Compiling ghub.el

In ghub--encode-payload:
ghub.el:601:27: Warning: `json-encode-list' is an obsolete function (as of 28.1); use `json-encode' instead.
Compiling ghub-graphql.el
Compiling glab.el
Compiling gtea.el
Compiling gogs.el
Compiling buck.el
Generating ghub-autoloads.el
Package autoload is deprecated
  INFO     Scraping files for ghub-autoloads.el...
  INFO     Scraping files for ghub-autoloads.el...done
Generating ghub.info
Generating dir
Generating ghub.html
Generating ghub/*.html
find: 'ghub': No such file or directory
Generating ghub.pdf
==> Entering fakeroot environment...
==> Starting package()...
cp: cannot stat 'ghub': No such file or directory
==> ERROR: A failure occurred in package().
    Aborting...

Offline

Board footer

Powered by FluxBB