Package Details: gurk-git 0.3.0.dev.r177.g7002ad7-1

Git Clone URL: https://aur.archlinux.org/gurk-git.git (read-only, click to copy)
Package Base: gurk-git
Description: CLI client for Signal
Upstream URL: https://github.com/boxdot/gurk-rs
Keywords: CLI Signal
Licenses: AGPL3
Conflicts: gurk
Provides: gurk
Submitter: Sup3Legacy
Maintainer: Sup3Legacy
Last Packager: Sup3Legacy
Votes: 2
Popularity: 0.000000
First Submitted: 2022-01-27 12:01 (UTC)
Last Updated: 2022-10-10 14:05 (UTC)

Dependencies (3)

Required by (0)

Sources (1)

Latest Comments

1 2 Next › Last »

david_rysk commented on 2025-01-26 15:56 (UTC)

Fix is as follows:

-  echo $(grep '^version =' Cargo.toml|head -n1|cut -d\" -f2|sed 's/-/./g').r$(git rev-list --count HEAD).g$(git describe --always)
+  echo $(grep '^version =' Cargo.toml|head -n1|cut -d\" -f2|sed 's/-/./g').r$(git rev-list --count HEAD).g$(git rev-parse --short HEAD)

pontoporeia commented on 2025-01-07 13:12 (UTC) (edited on 2025-01-07 13:16 (UTC) by pontoporeia)

heya, there seems to be an error when building the package:

yay -S gurk-git
AUR Explicit (1): gurk-git-0.3.0.dev.r177.g7002ad7-1
#
# removed yay output that was not relevant. 
#
==> Starting prepare()...
==> Starting pkgver()...
==> ERROR: pkgver is not allowed to contain colons, forward slashes, hyphens or whitespace.
==> ERROR: pkgver() generated an invalid version: 0.6.0.r279.gv0.6.0-1-gecf8a94
 -> error making: gurk-git-exit status 12
 -> Failed to install the following packages. Manual intervention is required:
gurk-git - exit status 12

I'll venture and say it's a version naming issue :-D

mekyt commented on 2024-03-01 07:52 (UTC) (edited on 2024-03-01 07:52 (UTC) by mekyt)

@Sup3Legacy gurk doesn't compile like some other rust packages compile from AUR, adding options=(!lto) in PKGBUILD solve it for this package.

langfingaz commented on 2022-09-27 13:36 (UTC)

@Sup3Legacy That was a quick fix! Many thanks. A new build is now successful.

Sup3Legacy commented on 2022-09-27 13:23 (UTC)

Thank you for the report. It seems I forgot about these deep dependencies! Can you try now?

langfingaz commented on 2022-09-27 13:18 (UTC)

During build I got this error:

running: "cmake" "/home/build/.cargo/registry/src/github.com-1ecc6299db9ec823/prost-build-0.10.4/third-party/protobuf/cmake" "-Dprotobuf_BUILD_TESTS=OFF" "-DCMAKE_INSTALL_PREFIX=/tmp/pkg/src/gurk/target/release/build/prost-build-08083f6cba90fb1a/out" "-DCMAKE_C_FLAGS= -ffunction-sections -fdata-sections -fPIC -m64 -march=x86-64 -mtune=generic -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection" "-DCMAKE_C_COMPILER=/usr/sbin/cc" "-DCMAKE_CXX_FLAGS= -ffunction-sections -fdata-sections -fPIC -m64 -march=x86-64 -mtune=generic -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -Wp,-D_GLIBCXX_ASSERTIONS" "-DCMAKE_CXX_COMPILER=/usr/sbin/c++" "-DCMAKE_ASM_FLAGS= -ffunction-sections -fdata-sections -fPIC -m64 -march=x86-64 -mtune=generic -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection" "-DCMAKE_ASM_COMPILER=/usr/sbin/cc" "-DCMAKE_BUILD_TYPE=Debug"

  --- stderr
  thread 'main' panicked at '
  failed to execute command: No such file or directory (os error 2)
  is `cmake` not installed?

I think we have to add cmake as build dependency. I'll try to build it with cmake again.

langfingaz commented on 2022-06-18 11:55 (UTC)

Thanks for the quick update, building works again. And yes, the -1 comes from pkgrel=1.

Sup3Legacy commented on 2022-06-18 07:47 (UTC) (edited on 2022-06-18 07:54 (UTC) by Sup3Legacy)

The issue was that the upstream changed the Cargo version to 0.2.5-dev, so the version generated for the package was 0.2.5-dev.r166.g0e076c9, which is invalid. Just fixed it by s/-/./g-ing the Cargo version.

Sup3Legacy commented on 2022-06-17 21:38 (UTC) (edited on 2022-06-17 22:19 (UTC) by Sup3Legacy)

If i'm not mistaken, the -1 stands for the first release. I also successfully managed to install this latest version. I will look into that.

langfingaz commented on 2022-06-17 21:10 (UTC) (edited on 2022-06-17 21:12 (UTC) by langfingaz)

I've got the following error during my last build:

==> Making package: gurk-git 0.2.4.r165.g9ae89bc-1 (Fri 17 Jun 2022 08:34:01 PM UTC)

...

==> Starting pkgver()...
==> ERROR: pkgver is not allowed to contain colons, forward slashes, hyphens or whitespace.
==> ERROR: pkgver() generated an invalid version: 0.2.5-dev.r166.g0e076c9

Maybe the -1 at the end of gurk-git 0.2.4.r165.g9ae89bc-1 causes this problem?