Package Details: auracle-git r366.8739929-1

Git Clone URL: https://aur.archlinux.org/auracle-git.git (read-only, click to copy)
Package Base: auracle-git
Description: A flexible client for the AUR
Upstream URL: https://github.com/falconindy/auracle.git
Keywords: aur
Licenses: MIT
Conflicts: auracle
Provides: auracle
Submitter: Foxboron
Maintainer: artafinde
Last Packager: artafinde
Votes: 102
Popularity: 2.74
First Submitted: 2017-07-02 16:40
Last Updated: 2021-07-18 09:46

Required by (11)

Sources (3)

Pinned Comments

falconindy commented on 2020-05-31 15:35

FAQ:

  • The dependencies are correct. fmt and nlohmann_json are configured as subprojects for ease of development on my end, and it's only natural to statically link C++ projects, as ABI stability with exported C++ libraries isn't a thing (compared to C).
  • If you think pod2man is missing, it's a configuration problem on your end. pod2man is part of the perl package, but in a perl-specific PATH handled by /etc/profile.d/perlbin.sh
  • I'm only able to test auracle on i686 and x86_64, so that's what I'm willing to commit to in the PKGBUILD. If you want to build this on some other architecture, use makepkg -A. The "any" architecture is reserved for packages with architecture independent files (and compiled C++ is not).

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 8 9 ... Next › Last »

artafinde commented on 2021-05-29 09:42

@a821: cheers, dropped the gmock dependency.

a821 commented on 2021-05-29 06:51

Thanks for updating. Just one minor thing: gmock has been merged[1][2] with gtest, so you could remove gmock from checkdepends

[1] https://bugs.archlinux.org/task/70567 [2] https://github.com/archlinux/svntogit-community/commit/1d55644034217da69c046bd8555e20f3cf3bed57

artafinde commented on 2021-05-28 23:21

I've updated the package to build again with latest changes. Do note though that upstream seems abandoned so I'd be looking for alternatives..

plymouth commented on 2021-05-26 04:30

Until this package is updated for the out-dated-abseil/gcc11 build errors (see CantoroMC post below), you can build and install with the script:

#!/bin/sh

set -e

git clone https://aur.archlinux.org/auracle-git.git
#curl -O https://aur.archlinux.org/cgit/aur.git/snapshot/auracle-git.tar.gz
#tar -xzf auracle-git.tar.gz
cd auracle-git
cat >./abseil-cpp-20210324.1.patch <<EOL
diff --unified --recursive --text src.orig/auracle/subprojects/abseil-cpp.wrap src/auracle/subprojects/abseil-cpp.wrap
--- src.orig/auracle/subprojects/abseil-cpp.wrap    2021-05-25 21:48:51.674595142 -0600
+++ src/auracle/subprojects/abseil-cpp.wrap 2021-05-25 21:48:59.411113648 -0600
@@ -1,11 +1,10 @@
 [wrap-file]
-directory = abseil-cpp-20200225.2
+directory = abseil-cpp-20210324.1

-source_url = https://github.com/abseil/abseil-cpp/archive/20200225.2.zip
-source_filename = abseil-cpp-20200225.2.zip
-source_hash = f342aac71a62861ac784cadb8127d5a42c6c61ab1cd07f00aef05f2cc4988c42
+source_url = https://github.com/abseil/abseil-cpp/archive/20210324.1.zip
+source_filename = abseil-cpp-20210324.1.zip
+source_hash = cfb1f22164808eb0a233ad91287df84c2af2084cfc8b429eca1be1e57511065d

-
-patch_url = https://github.com/mesonbuild/abseil-cpp/releases/download/20200225.2-2/abseil-cpp.zip
-patch_filename = abseil-cpp-20200225.2-2-wrap.zip
-patch_hash = cc2bc7caab91de737637ec7f8438455836a02b444d306b447d59573991717088
+patch_url = https://github.com/mesonbuild/abseil-cpp/releases/download/20210324.1-1/abseil-cpp.zip
+patch_filename = abseil-cpp-20210324.1-wrap.zip
+patch_hash = 91ff1bca7a181cd1cdd95b2bcf2119acbab9a24ae5ef6a78185a02fa034f41da
EOL
makepkg --nobuild
cd src/
patch --strip=1 < ../abseil-cpp-20210324.1.patch
cd ..
makepkg --noextract --nocheck
cp auracle-git-*.pkg.tar.zst ./..
cd ..
echo "SUCCESS. To install package: 'pacman -U ./$( ls auracle-git-*.pkg.tar.zst )'"

If you just want the patch file:

diff --unified --recursive --text src.orig/auracle/subprojects/abseil-cpp.wrap src/auracle/subprojects/abseil-cpp.wrap
--- src.orig/auracle/subprojects/abseil-cpp.wrap    2021-05-25 21:48:51.674595142 -0600
+++ src/auracle/subprojects/abseil-cpp.wrap 2021-05-25 21:48:59.411113648 -0600
@@ -1,11 +1,10 @@
 [wrap-file]
-directory = abseil-cpp-20200225.2
+directory = abseil-cpp-20210324.1

-source_url = https://github.com/abseil/abseil-cpp/archive/20200225.2.zip
-source_filename = abseil-cpp-20200225.2.zip
-source_hash = f342aac71a62861ac784cadb8127d5a42c6c61ab1cd07f00aef05f2cc4988c42
+source_url = https://github.com/abseil/abseil-cpp/archive/20210324.1.zip
+source_filename = abseil-cpp-20210324.1.zip
+source_hash = cfb1f22164808eb0a233ad91287df84c2af2084cfc8b429eca1be1e57511065d

-
-patch_url = https://github.com/mesonbuild/abseil-cpp/releases/download/20200225.2-2/abseil-cpp.zip
-patch_filename = abseil-cpp-20200225.2-2-wrap.zip
-patch_hash = cc2bc7caab91de737637ec7f8438455836a02b444d306b447d59573991717088
+patch_url = https://github.com/mesonbuild/abseil-cpp/releases/download/20210324.1-1/abseil-cpp.zip
+patch_filename = abseil-cpp-20210324.1-wrap.zip
+patch_hash = 91ff1bca7a181cd1cdd95b2bcf2119acbab9a24ae5ef6a78185a02fa034f41da

@falconindy @artafinde - thanks!

artafinde commented on 2021-05-23 09:42

That's correct, this is an upstream issue and the fix is to bump the abseil wrap to latest LTS version.

a821 commented on 2021-05-23 07:25

I can reproduce the error in a clean chroot. There's an open issue upstream.

The last comment suggests to bump the abseil-cpp subproject. I tried that, but the last meson.build file for abseil-cpp is for version 20200923.2, which is apparently older than the fix since I saw the same error. I guess one could try to update the meson.build

As a workaround, compiling with gcc10 works for me:

diff --git a/PKGBUILD b/PKGBUILD
index 4cd4132..e852c01 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,13 +1,13 @@
 pkgname=auracle-git
 _pkgname=auracle
 pkgver=r366.8739929
-pkgrel=1
+pkgrel=2
 pkgdesc='A flexible client for the AUR'
 arch=('x86_64' 'i686')
 url="https://github.com/falconindy/auracle.git"
 license=('MIT')
 depends=('pacman' 'libcurl.so' 'libsystemd')
-makedepends=('meson' 'git' 'perl' 'systemd')
+makedepends=('meson' 'git' 'perl' 'systemd' 'gcc10')
 checkdepends=('gtest' 'gmock')
 provides=("$_pkgname")
 conflicts=("$_pkgname")
@@ -21,6 +21,9 @@ pkgver() {
 }

 build() {
+  export CC=cc-10
+  export CXX=c++-10
+
   cd "$_pkgname"

   local meson_args=(

CantoroMC commented on 2021-05-22 16:51

Building the package fails with error

ninja: Entering directory `build'
[92/148] Compiling C++ object subprojects/abseil-cpp-2...lib.a.p/absl_synchronization_internal_graphcycles.cc.o
FAILED: subprojects/abseil-cpp-20200225.2/libabsl_synchronization_lib.a.p/absl_synchronization_internal_graphcycles.cc.o
c++ -Isubprojects/abseil-cpp-20200225.2/libabsl_synchronization_lib.a.p -Isubprojects/abseil-cpp-20200225.2 -I../subprojects/abseil-cpp-20200225.2 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wnon-virtual-dtor -Wextra -std=c++17 -Wno-sign-compare -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -D_FORTIFY_SOURCE=2 -fPIC -MD -MQ subprojects/abseil-cpp-20200225.2/libabsl_synchronization_lib.a.p/absl_synchronization_internal_graphcycles.cc.o -MF subprojects/abseil-cpp-20200225.2/libabsl_synchronization_lib.a.p/absl_synchronization_internal_graphcycles.cc.o.d -o subprojects/abseil-cpp-20200225.2/libabsl_synchronization_lib.a.p/absl_synchronization_internal_graphcycles.cc.o -c ../subprojects/abseil-cpp-20200225.2/absl/synchronization/internal/graphcycles.cc
../subprojects/abseil-cpp-20200225.2/absl/synchronization/internal/graphcycles.cc: In member function ‘void absl::lts_2020_02_25::synchronization_internal::GraphCycles::RemoveNode(void*)’:
../subprojects/abseil-cpp-20200225.2/absl/synchronization/internal/graphcycles.cc:451:26: error: ‘numeric_limits’ is not a member of ‘std’
  451 |   if (x->version == std::numeric_limits<uint32_t>::max()) {
      |                          ^~~~~~~~~~~~~~
../subprojects/abseil-cpp-20200225.2/absl/synchronization/internal/graphcycles.cc:451:49: error: expected primary-expression before ‘>’ token
  451 |   if (x->version == std::numeric_limits<uint32_t>::max()) {
      |                                                 ^
../subprojects/abseil-cpp-20200225.2/absl/synchronization/internal/graphcycles.cc:451:52: error: ‘::max’ has not been declared; did you mean ‘std::max’?
  451 |   if (x->version == std::numeric_limits<uint32_t>::max()) {
      |                                                    ^~~
      |                                                    std::max
In file included from /usr/include/c++/11.1.0/algorithm:62,
                 from ../subprojects/abseil-cpp-20200225.2/absl/synchronization/internal/graphcycles.cc:38:
/usr/include/c++/11.1.0/bits/stl_algo.h:3467:5: note: ‘std::max’ declared here
 3467 |     max(initializer_list<_Tp> __l, _Compare __comp)
      |     ^~~
[101/148] Compiling C++ object subprojects/abseil-cpp-...ynchronization_lib.a.p/absl_synchronization_mutex.cc.o
ninja: build stopped: subcommand failed.
==> ERROR: A failure occurred in build().
    Aborting...

artafinde commented on 2021-04-07 09:42

jaap: read the pinned comment.

jaap commented on 2021-04-07 09:37

Could you please add pod2man as a dependency. I am not sure what you mean my a mis configuration, its just a missing package on my system. Installing the package fixes it, its simple as that.

dreieck commented on 2021-03-08 17:19

Can you change the dependency libsystemd.so to libsystemd? So there is also compatibility with Artix Linux, which is not based on systemd (but contains some compatibility layers).