Build AUR jameica fails, because of some issue with the PGP-Key?

Hi,

building AUR (en) - jameica works just fine manually using git and makepkg.
But when I try sudo pamac install jameica it fails with an unclear error (broken pipe).

Everything works fine until

==> Überprüfe Signaturen der Quell-Dateien mit gpg...
    jameica-linux64-2.10.4.zip ... cat: Schreibfehler: Datenübergabe unterbrochen (broken pipe)
SIGNATUR NICHT GEFUNDEN
FEHLGESCHLAGEN
==> FEHLER: Eine oder mehrere PGP-Signaturen konnten nicht überprüft werden!

I manually installed the key into the system keyring using sudo pacman-key --recv-keys 5A8ED9CFC0DB6C70
it complained about the key being weak. But It still installed the key.

how do I find out if this is the right key?
Or what is wrong?

thanks

? pacman-key is only for pacman (not for create package), read comments (Pinned) in your aur link to find the right command

pamac uses an internal command to automatically import the key itself, but this may fail (if PKGBUILD no good?).

Try using the correct command to build it:

pamac build jameica

sudo should not be used with Pamac, and build should be used instead of install for AUR packages.

Edit: I just built & installed it successfully on my mini-PC:

pamac build jameica
Preparing...
Checking jameica dependencies...
Resolving dependencies...
Checking inter-conflicts...

To install (1):
  unzip    6.0-20    (Required By: jameica)  extra  145.7 kB
To build (1):
  jameica  2.10.4-2                          AUR

Total download size: 145.7 kB
Total installed size: 311.1 kB

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

Cloning jameica build files...
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint:   git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint:   git branch -m <name>
Generating jameica information...
The PGP key 7314FBDE7D38EE5610D291B65A8ED9CFC0DB6C70 is needed to verify jameica source files.
Trust Olaf Willuhn <info@willuhn.de> and import the PGP key ? [y/N] y
gpg: key 5A8ED9CFC0DB6C70: public key "Olaf Willuhn <info@willuhn.de>" imported
gpg: Total number processed: 1
gpg:               imported: 1

==== AUTHENTICATING FOR org.manjaro.pamac.commit ====
Authentication is required to install, update, or remove packages
Authenticating as: Scott (scotty)
Password: 
==== AUTHENTICATION COMPLETE ====
Download of unzip (6.0-20) started                                                                                               
Download of unzip (6.0-20) finished                                                                                              
Checking keyring...                                                                                                         [1/1]
Checking integrity...                                                                                                       [1/1]
Loading packages files...                                                                                                   [1/1]
Checking file conflicts...                                                                                                  [1/1]
Checking available disk space...                                                                                            [1/1]
Installing unzip (6.0-20)...                                                                                                [1/1]

Building jameica...
==> Making package: jameica 2.10.4-2 (Fri 07 Jun 2024 22:30:31)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Found jameica-start-script.patch
  -> Found jameicaserver-start-script.patch
  -> Found jameica.desktop
  -> Downloading jameica-linux64-2.10.4.zip...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 37.1M  100 37.1M    0     0   132k      0  0:04:47  0:04:47 --:--:--  319k
  -> Downloading jameica-linux64-2.10.4.zip.asc...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   499  100   499    0     0    478      0  0:00:01  0:00:01 --:--:--   478
  -> Downloading swt-4.30-x86_64.zip...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 3766k  100 3766k    0     0   488k      0  0:00:07  0:00:07 --:--:--  752k
==> Validating source files with sha1sums...
    jameica-start-script.patch ... Passed
    jameicaserver-start-script.patch ... Passed
    jameica.desktop ... Passed
==> Validating source_x86_64 files with sha1sums...
    jameica-linux64-2.10.4.zip ... Passed
    jameica-linux64-2.10.4.zip.asc ... Skipped
    swt-4.30-x86_64.zip ... Passed
==> Verifying source file signatures with gpg...
    jameica-linux64-2.10.4.zip ... Passed
==> Removing existing $srcdir/ directory...
==> Extracting sources...
  -> Extracting jameica-linux64-2.10.4.zip with bsdtar
  -> Extracting swt-4.30-x86_64.zip with bsdtar
==> Starting prepare()...
patching file jameica/jameica.sh
patching file jameica/jameicaserver.sh
==> Entering fakeroot environment...
==> Starting package()...
==> Tidying install...
  -> Removing libtool files...
  -> Purging unwanted files...
  -> Removing static library files...
  -> Stripping unneeded symbols from binaries and libraries...
  -> Compressing man and info pages...
==> Checking for packaging issues...
==> Creating package "jameica"...
  -> Generating .PKGINFO file...
  -> Generating .BUILDINFO file...
  -> Generating .MTREE file...
  -> Compressing package...
==> Leaving fakeroot environment.
==> Finished making: jameica 2.10.4-2 (Fri 07 Jun 2024 22:35:30)
==> Cleaning up...

==== AUTHENTICATING FOR org.manjaro.pamac.commit ====
Authentication is required to install, update, or remove packages
Authenticating as: Scott (scotty)
Password: 
==== AUTHENTICATION COMPLETE ====
Checking keyring...                                                                                                         [1/1]
Checking integrity...                                                                                                       [1/1]
Loading packages files...                                                                                                   [1/1]
Checking file conflicts...                                                                                                  [1/1]
Checking available disk space...                                                                                            [1/1]
Installing jameica (2.10.4-2)...                                                                                            [1/1]
Running post-transaction hooks...
Arming ConditionNeedsUpdate...                                                                                              [1/2]
Updating the desktop file MIME type cache...                                                                                [2/2]
Transaction successfully finished.
1 Like

You need to add as user with gpg --recv-key instead of pacman-key

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