You are not logged in.

#1 2021-11-27 12:49:16

dosamoda
Member
Registered: 2021-04-06
Posts: 7

[SOLVED] Need help Debugging and Backtrace to track down a bug

I am trying to get a trace a bug on kded ( https://archlinux.org/packages/extra/x86_64/kded/)

I have added the debug options to the PKGBUILD, options=(debug !strip) and -DCMAKE_BUILD_TYPE=debugfull ( https://wiki.archlinux.org/title/Debugg … ng_traces)

# Maintainer: Felix Yan <felixonmars@archlinux.org>
# Maintainer: Antonio Rojas <arojas@archlinux.org>
# Contributor: Andrea Scarpino <andrea@archlinux.org>

pkgname=kded
pkgver=5.88.0
pkgrel=1
pkgdesc='Extensible deamon for providing system level services'
arch=(x86_64)
url='https://community.kde.org/Frameworks'
license=(LGPL)
depends=(kservice kcrash)
makedepends=(extra-cmake-modules kdoctools)
groups=(kf5)
source=(https://download.kde.org/stable/frameworks/${pkgver%.*}/$pkgname-$pkgver.tar.xz{,.sig})
sha256sums=('cc240053ad396821a8b7174f44ce41a9db793ad3c6dda4ad8d84fd4994b794e1'
            'SKIP')
validpgpkeys=(53E6B47B45CEA3E0D5B7457758D0EE648A48B3BB) # David Faure <faure@kde.org>

build() {
  cmake -B build -S $pkgname-$pkgver \
    -DCMAKE_BUILD_TYPE=debugfull
  cmake --build build
}
options=(debug !strip)

package() {
  DESTDIR="$pkgdir" cmake --install build
}

When I try to makepkg, I get the following:

==> Validating source files with sha256sums...
    kded-5.88.0.tar.xz ... Passed
    kded-5.88.0.tar.xz.sig ... Skipped
==> Verifying source file signatures with gpg...
    kded-5.88.0.tar.xz ... FAILED (unknown public key 58D0EE648A48B3BB)
==> ERROR: One or more PGP signatures could not be verified!

Can someone please help me doing the following:

    Are the options i added correct ?

    How do i go about fixing the error?

Last edited by dosamoda (2021-11-27 13:07:42)

Offline

#2 2021-11-27 12:55:03

loqs
Member
Registered: 2014-03-06
Posts: 14,885

Re: [SOLVED] Need help Debugging and Backtrace to track down a bug

Offline

#3 2021-11-27 13:01:10

dosamoda
Member
Registered: 2021-04-06
Posts: 7

Re: [SOLVED] Need help Debugging and Backtrace to track down a bug

Thank you
After i am done, I just have to

 gpg --edit-key key_id 

to remove it, right?

Last edited by dosamoda (2021-11-27 13:03:05)

Offline

#4 2021-11-27 13:04:06

loqs
Member
Registered: 2014-03-06
Posts: 14,885

Re: [SOLVED] Need help Debugging and Backtrace to track down a bug

gpg --delete-keys 58D0EE648A48B3BB

Offline

#5 2021-11-27 13:07:01

dosamoda
Member
Registered: 2021-04-06
Posts: 7

Re: [SOLVED] Need help Debugging and Backtrace to track down a bug

Thank you!
Closing.

Offline

Board footer

Powered by FluxBB