Package Details: sysprof-dev 3.35.92-1

Git Clone URL: (read-only, click to copy)
Package Base: sysprof-dev
Description: Kernel based performance profiler
Upstream URL:
Licenses: GPL
Groups: gnome-extra
Conflicts: sysprof
Provides: sysprof
Submitter: titaniumtown
Maintainer: None
Last Packager: titaniumtown
Votes: 1
Popularity: 0.000611
First Submitted: 2020-02-24 19:59
Last Updated: 2020-03-04 17:23

Required by (15)

Sources (1)

Latest Comments

p00f commented on 2020-10-13 17:31

@chrisjbillington Actually no - Now I get

error: pathspec 'tags/sysprof-3.38.0' did not match any file(s) known to git
==> ERROR: A failure occurred in build().

Removing sysprof- from git checkout fixes it

titaniumtown commented on 2020-03-04 17:23

Fixed your issue via a commit I just made.

chrisjbillington commented on 2020-03-04 16:03

This fixes it - you wanna strip the leading sysprof- off the tag to get the pkgver, then add it back in for the git checkout command.

diff --git a/PKGBUILD b/PKGBUILD
index ca0ffb9..82306ef 100644
@@ -18,7 +18,8 @@ conflicts=(sysprof)

 pkgver() {
   cd $_pkgname
-  git describe --abbrev=0
+  ver=$(git describe --abbrev=0)
+  echo ${ver#"sysprof-"}

 prepare() {
@@ -27,7 +28,7 @@ prepare() {

 build() {
   cd $_pkgname
-  git checkout tags/$pkgver
+  git checkout tags/sysprof-$pkgver
   cd ..
   CFLAGS+=" -ffat-lto-objects"

tasali commented on 2020-03-03 14:32

sysprof tagging scheme clashes with what makepkg is expecting. Package name gathered via git describe --abbrev=0 is not suitable with this.