Problems installing Goldendict

type or paste [alnone@alnone-inspiron3583 ~]$ LANG=C yay -S goldendict
AUR Explicit (1): goldendict-1:1.5.0-3
AUR Dependency (2): qt5-webkit-5.212.0alpha4-22, libeb-4.4.3-10
:: PKGBUILD up to date, skipping download: goldendict
:: PKGBUILD up to date, skipping download: libeb
:: PKGBUILD up to date, skipping download: qt5-webkit
  3 goldendict                               (Build Files Exist)
  2 libeb                                    (Build Files Exist)
  1 qt5-webkit                               (Build Files Exist)
==> Packages to cleanBuild?
==> [N]one [A]ll [Ab]ort [I]nstalled [No]tInstalled or (1 2 3, 1-3, ^4)
==> A
:: Deleting (1/3): /home/alnone/.cache/yay/goldendict
HEAD is now at 5119dda bump pkgrel
Removing goldendict-1.5.0.tar.gz
Removing src/
:: Deleting (2/3): /home/alnone/.cache/yay/libeb
HEAD is now at ab160f5 bump 4.4.3-10: move HTML documentation to a more conventional path
Removing libeb-4.4.3-14-010_debian.patch
Removing libeb-4.4.3.tar.bz2
Removing src/
:: Deleting (3/3): /home/alnone/.cache/yay/qt5-webkit
HEAD is now at 098e0ae revision
Removing qtwebkit-5.212.0-alpha4.tar.xz
Removing qtwebkit-cstdint.patch
Removing src/
  3 goldendict                               (Build Files Exist)
  2 libeb                                    (Build Files Exist)
  1 qt5-webkit                               (Build Files Exist)
==> Diffs to show?
==> [N]one [A]ll [Ab]ort [I]nstalled [No]tInstalled or (1 2 3, 1-3, ^4)
==> N
==> Making package: goldendict 1:1.5.0-3 (Sun 03 Mar 2024 03:52:20 PM EST)
==> Retrieving sources...
  -> Downloading goldendict-1.5.0.tar.gz...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100 19.4M    0 19.4M    0     0   518k      0 --:--:--  0:00:38 --:--:--  282k
==> WARNING: Skipping verification of source file PGP signatures.
==> Validating source files with sha256sums...
    goldendict-1.5.0.tar.gz ... Passed
==> Making package: libeb 4.4.3-10 (Sun 03 Mar 2024 03:52:59 PM EST)
==> Retrieving sources...
  -> Downloading libeb-4.4.3.tar.bz2...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100  493k  100  493k    0     0   885k      0 --:--:-- --:--:-- --:--:-- 2473k
  -> Downloading libeb-4.4.3-14-010_debian.patch...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 12260  100 12260    0     0  27569      0 --:--:-- --:--:-- --:--:-- 27674
==> WARNING: Skipping verification of source file PGP signatures.
==> Validating source files with sha256sums...
    libeb-4.4.3.tar.bz2 ... Passed
    libeb-4.4.3-14-010_debian.patch ... Passed
==> Making package: qt5-webkit 5.212.0alpha4-22 (Sun 03 Mar 2024 03:53:01 PM EST)
==> Retrieving sources...
  -> Downloading qtwebkit-5.212.0-alpha4.tar.xz...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100 11.9M  100 11.9M    0     0  5364k      0  0:00:02  0:00:02 --:--:-- 6963k
  -> Downloading qtwebkit-cstdint.patch...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   496  100   496    0     0   1405      0 --:--:-- --:--:-- --:--:--  1409
  -> Found icu68.patch
  -> Found glib-2.68.patch
  -> Found qt5-webkit-python-3.9.patch
  -> Found qt5-webkit-bison-3.7.patch
==> WARNING: Skipping verification of source file PGP signatures.
==> Validating source files with sha256sums...
    qtwebkit-5.212.0-alpha4.tar.xz ... Passed
    qtwebkit-cstdint.patch ... Passed
    icu68.patch ... Passed
    glib-2.68.patch ... Passed
    qt5-webkit-python-3.9.patch ... Passed
    qt5-webkit-bison-3.7.patch ... Passed
:: (1/3) Parsing SRCINFO: libeb
:: (2/3) Parsing SRCINFO: qt5-webkit
:: (3/3) Parsing SRCINFO: goldendict
==> Making package: libeb 4.4.3-10 (Sun 03 Mar 2024 03:53:04 PM EST)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Found libeb-4.4.3.tar.bz2
  -> Found libeb-4.4.3-14-010_debian.patch
==> Validating source files with sha256sums...
    libeb-4.4.3.tar.bz2 ... Passed
    libeb-4.4.3-14-010_debian.patch ... Passed
==> Removing existing $srcdir/ directory...
==> Extracting sources...
  -> Extracting libeb-4.4.3.tar.bz2 with bsdtar
==> Starting prepare()...
  -> [patch] Applying libeb-4.4.3-14-010_debian.patch...
/home/alnone/.cache/yay/libeb/PKGBUILD: line 27: patch: command not found
==> ERROR: A failure occurred in prepare().
    Aborting...
 -> Failed to install layer, rolling up to next layer.error:error making: libeb - exit status 4
==> Making package: qt5-webkit 5.212.0alpha4-22 (Sun 03 Mar 2024 03:53:05 PM EST)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Found qtwebkit-5.212.0-alpha4.tar.xz
  -> Found qtwebkit-cstdint.patch
  -> Found icu68.patch
  -> Found glib-2.68.patch
  -> Found qt5-webkit-python-3.9.patch
  -> Found qt5-webkit-bison-3.7.patch
==> Validating source files with sha256sums...
    qtwebkit-5.212.0-alpha4.tar.xz ... Passed
    qtwebkit-cstdint.patch ... Passed
    icu68.patch ... Passed
    glib-2.68.patch ... Passed
    qt5-webkit-python-3.9.patch ... Passed
    qt5-webkit-bison-3.7.patch ... Passed
==> Removing existing $srcdir/ directory...
==> Extracting sources...
  -> Extracting qtwebkit-5.212.0-alpha4.tar.xz with bsdtar
==> Starting prepare()...
/home/alnone/.cache/yay/qt5-webkit/PKGBUILD: line 40: patch: command not found
==> ERROR: A failure occurred in prepare().
    Aborting...
 -> error making: qt5-webkit-exit status 4
==> Making package: libeb 4.4.3-10 (Sun 03 Mar 2024 03:53:07 PM EST)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Found libeb-4.4.3.tar.bz2
  -> Found libeb-4.4.3-14-010_debian.patch
==> Validating source files with sha256sums...
    libeb-4.4.3.tar.bz2 ... Passed
    libeb-4.4.3-14-010_debian.patch ... Passed
==> Removing existing $srcdir/ directory...
==> Extracting sources...
  -> Extracting libeb-4.4.3.tar.bz2 with bsdtar
==> Starting prepare()...
  -> [patch] Applying libeb-4.4.3-14-010_debian.patch...
/home/alnone/.cache/yay/libeb/PKGBUILD: line 27: patch: command not found
==> ERROR: A failure occurred in prepare().
    Aborting...
 -> error making: libeb-exit status 4
==> Making package: goldendict 1:1.5.0-3 (Sun 03 Mar 2024 03:53:08 PM EST)
==> Checking runtime dependencies...
==> Missing dependencies:
  -> libeb
  -> qt5-webkit
==> Checking buildtime dependencies...
==> ERROR: Could not resolve all dependencies.
 -> error making: goldendict-exit status 8
 -> Failed to install the following packages. Manual intervention is required:
qt5-webkit - exit status 4
libeb - exit status 4
goldendict - exit status 8
[alnone@alnone-inspiron3583 ~]$ here

You’re missing the prerequisites for using the AUR (Arch User Repository).

Thanks!

Any idea about a tuto like … “what to do after installing Manjaro” – I found nothing serious on Google.

Sorry, a what? :thinking:

Sounds like a useless clickbait article. :roll_eyes:

Disclaimer: The AUR is neither officially supported by Arch nor Manjaro.

Well, anyway, for someone not familiar with Manjaro, someone coming from other distros, systems, in my case Debian, what should I do after installing Manjaro? – I knew that AUR is necessary, but I don’t know many other things … maybe a tutorial would be very useful, if it exists …

Thank you.

I’m not sure where you read or heard that. It’s a bonus, certainly, if used with care and the software isn’t available by the “regular” means, such as the main repos, flatpaks, appimages etc…

The page @Yochanan linked to is laid out in a fairly straightforward, easy to understand manner, in my opinion. :wink: :slight_smile:

I see, apparently there is no tutorial for Manjaro, maybe it must be a distro for more advanced users.

The compilation at the end (about 1 hr and half) gave the same error as before … despite having installed the requirement,

pamac install base development git

I also tried another one I saw on octopi goldendict-git also gives the same error.

Is there any other way to get this application on Manjaro?

Not sure where you got that command from - the wiki page @Yochanan linked to in post #2 shows the correct command: pamac install base-devel git:

Screenshot_20240304_112005

And make sure you don’t use sudo for this - pamac will prompt for your password when required.

1 Like

It was a mistake while typing …`[alnone@alnone-inspiron3583 ~]$ LANG=C pamac install base-devel git
Preparing…
Warning: base-devel-1-2 is up to date – skipping
Warning: git-2.43.2-1 is up to date – skipping
Nothing to do.
Transaction successfully finished.
[alnone@alnone-inspiron3583 ~]$

`

1 Like

I noticed you used yay for the failed installation of goldendict - what happens when you use Manjaro’s recommended method: pamac build goldendict? Make sure you have the AUR enabled in Pamac before you do this, as per the wiki.

It seems it won’t build with Pamac either. I’ve just tried it a couple of times … other stuff from the AUR has been installing fine so I guess it’s an issue with the package or its pkgbuild. I’ll try again at home with a decent internet connection.

Edit: Reply should have been aimed at original poster, not @BG405 whose last reply was just testing building Goldendict via Pamac

@Alnone: If goldendict fails to build using Pamac, you might want to look at some of the other goldendict packages available in the AUR, such as the current git version (ignore the version number shown in Pamac - it will install the current git version) or the appimage (which is self-contained with no dependencies):

If you click on the aur.archlinux link in the Pamac GUI’s details section (highlighted in red on my screenshot), you will be able to view the package details and any notes made by users & the maintainer regarding installation issues. Maybe the appimage version might work best - its AUR page shows no issues submitted by users.

One other note: being on Manjaro’s Stable branch can occasionally cause dependency issues with packages in the AUR, which are built against Arch Linux (Manjaro Unstable branch is closest to Arch current). I’m on Stable & use a few AUR packages, but I am always aware that something may eventually fail to build due to the disparity.

1 Like

On the AUR page for it

AUR (en) - goldendict

the first comment mentions that a precompiled version is available

[alnone-inspiron3583 ~]# LANG=C pamac build goldendict
Warning: Building packages as dynamic user
Warning: Setting build directory to /var/cache/pamac
Preparing...
Checking goldendict dependencies...
Checking libeb dependencies...
Checking qt5-webkit dependencies...
Resolving dependencies...
Checking inter-conflicts...

To build (3):
  qt5-webkit  5.212.0alpha4-22    AUR
  libeb       4.4.3-10            AUR
  goldendict  1:1.5.0-3           AUR


Edit build files : [e] 
Apply transaction ? [e/y/N] y

Cloning qt5-webkit build files...
Running as unit: run-u67.service
Finished with result: success
Main processes terminated with: code=exited/status=0
Service runtime: 988ms
CPU time consumed: 135ms
Memory peak: 3.1M
Memory swap peak: 0B
Generating qt5-webkit information...
Running as unit: run-u68.service
Finished with result: success
Main processes terminated with: code=exited/status=0
Service runtime: 1.716s
CPU time consumed: 1.864s
Memory peak: 1.4M
Memory swap peak: 0B
Cloning libeb build files...
Running as unit: run-u69.service
Finished with result: success
Main processes terminated with: code=exited/status=0
Service runtime: 954ms
CPU time consumed: 93ms
Memory peak: 1.7M
Memory swap peak: 0B
Generating libeb information...
Running as unit: run-u70.service
Finished with result: success
Main processes terminated with: code=exited/status=0
Service runtime: 1.546s
CPU time consumed: 1.699s
Memory peak: 1.3M
Memory swap peak: 0B
Cloning goldendict build files...

[It is to long ...]

Installing goldendict (1:1.5.0-3)...                                       [1/1]
Running post-transaction hooks...
Arming ConditionNeedsUpdate...                                             [1/2]
Updating the desktop file MIME type cache...                               [2/2]
Transaction successfully finished.
[alnone-inspiron3583 ~]#

*Sorry if I insist.

It would be helpful if someone could recommend a tutorial, article, etc. that would explain some basic fundamentals for the inexperienced user; I feel like a Roman barbarian arriving in a Greek city and understanding almost nothing of what is being said:

Anyway … thank you very much!.

1 Like

This topic was automatically closed 36 hours after the last reply. New replies are no longer allowed.