paru icon indicating copy to clipboard operation
paru copied to clipboard

gpg: no default secret key: No secret key

Open mageOfstructs opened this issue 1 year ago • 0 comments

Affected Version

paru v2.0.3 - libalpm v14.0.0

Description

newly installed AUR packages fail to build, makepkg -si is fine

Have you checked previous issues? Yes

Output

Root      : /
Conf File : /etc/pacman.conf
DB Path   : /var/lib/pacman/
Cache Dirs: /var/cache/pacman/pkg/  
Hook Dirs : /usr/share/libalpm/hooks/  /etc/pacman.d/hooks/  
Lock File : /var/lib/pacman/db.lck
Log File  : /var/log/pacman.log
GPG Dir   : /etc/pacman.d/gnupg/
Targets   : None
:: Synchronizing package databases...
 core is up to date
 extra is up to date
 multilib is up to date
:: Looking for PKGBUILD upgrades...
:: Looking for AUR upgrades...
:: Looking for devel upgrades...
:: Resolving dependencies...
:: Calculating conflicts...
:: Calculating inner conflicts...
:: packages not in the AUR: linux69-tkg-pds  linux69-tkg-pds-headers

Aur (1) vesktop-1.5.2-5

:: Proceed to review? [Y/n]: 

:: Downloading PKGBUILDs...
 PKGBUILDs up to date
 nothing new to review
fetching devel info...
==> Making package: vesktop 1.5.2-5 (Sat 29 Jun 2024 09:12:44 PM CEST)
==> Retrieving sources...
  -> Downloading v1.5.2.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  328k    0  328k    0     0   507k      0 --:--:-- --:--:-- --:--:-- 6747k
  -> Found fix-pnpm-version-mismatch.patch
  -> Found vesktop.desktop
  -> Found vesktop.sh
==> Validating source files with sha256sums...
    v1.5.2.tar.gz ... Passed
    fix-pnpm-version-mismatch.patch ... Passed
    vesktop.desktop ... Passed
    vesktop.sh ... Passed
==> Making package: vesktop 1.5.2-5 (Sat 29 Jun 2024 09:12:48 PM CEST)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Found v1.5.2.tar.gz
  -> Found fix-pnpm-version-mismatch.patch
  -> Found vesktop.desktop
  -> Found vesktop.sh
==> Validating source files with sha256sums...
    v1.5.2.tar.gz ... Passed
    fix-pnpm-version-mismatch.patch ... Passed
    vesktop.desktop ... Passed
    vesktop.sh ... Passed
==> Removing existing $srcdir/ directory...
==> Extracting sources...
  -> Extracting v1.5.2.tar.gz with bsdtar
==> Starting prepare()...
patching file .npmrc
==> Sources are ready.
vesktop-1.5.2-5: parsing pkg list...
==> Making package: vesktop 1.5.2-5 (Sat 29 Jun 2024 09:12:54 PM CEST)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> WARNING: Using existing $srcdir/ tree
==> Starting build()...
Lockfile is up to date, resolution step is skipped
Packages: +574
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Progress: resolved 0, reused 549, downloaded 0, added 574, done
Done in 738ms

> [email protected] package:dir /home/user/.cache/paru/clone/vesktop/src/Vesktop-1.5.2
> pnpm build && electron-builder --dir


> [email protected] build /home/user/.cache/paru/clone/vesktop/src/Vesktop-1.5.2
> tsx scripts/build/build.mts

  • electron-builder  version=24.13.3 os=6.9.7-arch1-1
  • loaded configuration  file=package.json ("build" field)
  • description is missed in the package.json  appPackageFile=/home/user/.cache/paru/clone/vesktop/src/Vesktop-1.5.2/package.json
  • writing effective config  file=dist/builder-effective-config.yaml
  • packaging       platform=linux arch=x64 electron=29.1.1 appOutDir=dist/linux-unpacked
  • Cannot detect repository by .git/config. Please specify "repository" in the package.json (https://docs.npmjs.com/files/package.json#repository).
Please see https://electron.build/configuration/publish
==> Entering fakeroot environment...
==> Starting package()...
==> Tidying install...
  -> Removing libtool files...
  -> Purging unwanted files...
  -> Removing static library files...
  -> Stripping unneeded symbols from binaries and libraries...
objcopy: ./usr/lib/vesktop/chrome_crashpad_handler: debuglink section already exists
objcopy: ./usr/lib/vesktop/libEGL.so: debuglink section already exists
objcopy: ./usr/lib/vesktop/libGLESv2.so: debuglink section already exists
objcopy: ./usr/lib/vesktop/libffmpeg.so: debuglink section already exists
objcopy: ./usr/lib/vesktop/libvk_swiftshader.so: debuglink section already exists
objcopy: ./usr/lib/vesktop/vesktop: debuglink section already exists
  -> Compressing man and info pages...
==> Checking for packaging issues...
==> Creating package "vesktop"...
  -> Generating .PKGINFO file...
  -> Generating .BUILDINFO file...
  -> Generating .MTREE file...
  -> Compressing package...
==> Creating package "vesktop-debug"...
  -> Generating .PKGINFO file...
  -> Generating .BUILDINFO file...
  -> Generating .MTREE file...
  -> Compressing package...
==> Leaving fakeroot environment.
==> Finished making: vesktop 1.5.2-5 (Sat 29 Jun 2024 09:13:51 PM CEST)
==> Cleaning up...
:: Signing packages...
gpg: no default secret key: No secret key
gpg: signing failed: No secret key
error: failed to run: gpg --detach-sign --no-armor --batch --output /home/user/.cache/paru/clone/vesktop/vesktop-1.5.2-5-x86_64.pkg.tar.zst.sig /home/user/.cache/paru/clone/vesktop/vesktop-1.5.2-5-x86_64.pkg.tar.zst: 
error: packages failed to build: vesktop-1.5.2-5

paru.conf

#
# $PARU_CONF
# /etc/paru.conf
# ~/.config/paru/paru.conf
#
# See the paru.conf(5) manpage for options

#
# GENERAL OPTIONS
#
[options]
PgpFetch
Devel
Provides
DevelSuffixes = -git -cvs -svn -bzr -darcs -always -hg -fossil
#AurOnly
#BottomUp
#RemoveMake
#SudoLoop
#UseAsk
#SaveChanges
CombinedUpgrade
CleanAfter
#UpgradeMenu
#NewsOnUpgrade

#LocalRepo
#Chroot
Sign
SignDb
#KeepRepoCache

#
# Binary OPTIONS
#
[bin]
#FileManager = vifm
#MFlags = --skippgpcheck
Sudo = doas

pacman.conf

#
# GENERAL OPTIONS
#
[options]
HoldPkg     = pacman glibc
Architecture = auto

# Pacman won't upgrade packages listed in IgnorePkg and members of IgnoreGroup
#IgnorePkg   =
#IgnoreGroup =

#NoUpgrade   =
#NoExtract   =

# Misc options
#UseSyslog
Color
#NoProgressBar
CheckSpace
#VerbosePkgLists
ParallelDownloads = 5

SigLevel    = Required DatabaseOptional
LocalFileSigLevel = Optional

[core]
Include = /etc/pacman.d/mirrorlist

[extra]
Include = /etc/pacman.d/mirrorlist

[multilib]
Include = /etc/pacman.d/mirrorlist

mageOfstructs avatar Jun 29 '24 19:06 mageOfstructs