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: 93
Popularity: 3.15
First Submitted: 2017-07-02 16:40
Last Updated: 2021-02-12 08:13

Required by (10)

Sources (1)

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 ... Next › Last »

the-pete commented on 2020-06-20 01:06

I'm having trouble building since the last week or two. System is up to date but the gtest tests are timing out.

 6/17 libauracle_sort_test                   OK             0.01s
 7/17 auracle_buildorder_integration_test    TIMEOUT        30.02s
 8/17 auracle_clone_integration_test         TIMEOUT        30.01s
 9/17 auracle_custom_format_integration_test TIMEOUT        30.02s
10/17 auracle_info_integration_test          TIMEOUT        30.02s
11/17 auracle_outdated_integration_test      TIMEOUT        30.03s
12/17 auracle_raw_query_integration_test     TIMEOUT        30.05s
13/17 auracle_regex_search_integration_test  FAIL           10.85s (exit status 1)
14/17 auracle_search_integration_test        TIMEOUT        30.07s
15/17 auracle_show_integration_test          TIMEOUT        30.01s
16/17 auracle_sort_integration_test          TIMEOUT        30.02s
17/17 auracle_update_integration_test        TIMEOUT        30.03s

 7/17 auracle_buildorder_integration_test    TIMEOUT        30.02s

--- command ---
00:28:05 PYTHONDONTWRITEBYTECODE='1' /usr/bin/python3 /home/working/auracle/auracle-git/src/auracle/tests/buildorder.py
--- stderr ---
FF
-------

 8/17 auracle_clone_integration_test         TIMEOUT        30.01s

--- command ---
00:28:05 PYTHONDONTWRITEBYTECODE='1' /usr/bin/python3 /home/working/auracle/auracle-git/src/auracle/tests/clone.py
--- stderr ---
FF
-------

 9/17 auracle_custom_format_integration_test TIMEOUT        30.02s

--- command ---
00:28:05 PYTHONDONTWRITEBYTECODE='1' /usr/bin/python3 /home/working/auracle/auracle-git/src/auracle/tests/custom_format.py
--- stderr ---
FF
testInvalidFormat (__main__.TestInfo) (0.0832s)
-------

10/17 auracle_info_integration_test          TIMEOUT        30.02s

--- command ---
00:28:05 PYTHONDONTWRITEBYTECODE='1' /usr/bin/python3 /home/working/auracle/auracle-git/src/auracle/tests/info.py
--- stderr ---
F
testExitFailureOnNotFound (__main__.TestInfo) (10.1s)
-------

11/17 auracle_outdated_integration_test      TIMEOUT        30.03s

--- command ---
00:28:35 PYTHONDONTWRITEBYTECODE='1' /usr/bin/python3 /home/working/auracle/auracle-git/src/auracle/tests/outdated.py
--- stderr ---

testExitsNonZeroWithoutUpgrades (__main__.TestDownload) (10.0s)F
-------

12/17 auracle_raw_query_integration_test     TIMEOUT        30.05s

--- command ---
00:28:35 PYTHONDONTWRITEBYTECODE='1' /usr/bin/python3 /home/working/auracle/auracle-git/src/auracle/tests/raw_query.py
--- stderr ---
FF
-------

13/17 auracle_regex_search_integration_test  FAIL           10.85s (exit status 1)

--- command ---
00:28:35 PYTHONDONTWRITEBYTECODE='1' /usr/bin/python3 /home/working/auracle/auracle-git/src/auracle/tests/regex_search.py
--- stderr ---

testFragmentTooShort (__main__.TestRegexSearch) (0.0378s)
testInvalidRegex (__main__.TestRegexSearch) (0.0263s)F
======================================================================
FAIL: testMultipleSearchesWithFiltering (__main__.TestRegexSearch)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/working/auracle/auracle-git/src/auracle/tests/regex_search.py", line 25, in testMultipleSearchesWithFiltering
    self.assertEqual(r.process.returncode, 0)
AssertionError: -6 != 0

----------------------------------------------------------------------
Ran 3 tests in 10.490s

FAILED (failures=1)
-------

14/17 auracle_search_integration_test        TIMEOUT        30.07s

--- command ---
00:28:35 PYTHONDONTWRITEBYTECODE='1' /usr/bin/python3 /home/working/auracle/auracle-git/src/auracle/tests/search.py
--- stderr ---

testExitFailureOnAurError (__main__.TestSearch) (10.0s)F
-------

15/17 auracle_show_integration_test          TIMEOUT        30.01s

--- command ---
00:28:46 PYTHONDONTWRITEBYTECODE='1' /usr/bin/python3 /home/working/auracle/auracle-git/src/auracle/tests/show.py
--- stderr ---
FF
-------

16/17 auracle_sort_integration_test          TIMEOUT        30.02s

--- command ---
00:29:05 PYTHONDONTWRITEBYTECODE='1' /usr/bin/python3 /home/working/auracle/auracle-git/src/auracle/tests/sort.py
--- stderr ---

testRSortByInvalidKey (__main__.SortTest) (0.0223s)FF
testSortByInvalidKey (__main__.SortTest) (0.0171s)
-------

17/17 auracle_update_integration_test        TIMEOUT        30.03s

--- command ---
00:29:05 PYTHONDONTWRITEBYTECODE='1' /usr/bin/python3 /home/working/auracle/auracle-git/src/auracle/tests/update.py
--- stderr ---

testExitsNonZeroWithoutUpgrades (__main__.TestDownload) (10.0s)F
-------


Ok:                 6   
Expected Fail:      0   
Fail:               1   
Unexpected Pass:    0   
Skipped:            0   
Timeout:            10

tester -v
gtester version 2.64.3

Let me know if I can help provide more info. On IRC under the same name.

Un1Gfn commented on 2020-06-17 13:49

With all due respect to your subprojects approach but access to them are either inaccessible or unstable here w/o proxy. And by "here" I mean places taking up at least 27% of the whole world's population.

Would you be so kind as to do the following so that we could proxychains -q makepkg --nobuild and makepkg -si separately?

proxychains -q makepkg -si directly would be insane because proxychains hijacks the libraries and produces garbage build outputs.

Many a thanks.

diff --git a/PKGBUILD b/PKGBUILD
index cf47e27..7ef3657 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,6 +1,14 @@
+# Maintainer: Dave Reisner <dreisner AT archlinux.org>
+
+_sAS="abseil-cpp.zip"
+_sAP="abseil-cpp-wrap.zip"
+_sFS="fmt.tar.gz"
+_sFP="fmt-wrap.zip"
+_sNS="nlohmann_json.zip"
+
 pkgname=auracle-git
 _pkgname=auracle
-pkgver=r316.dfbd170
+pkgver=r333.83acb95
 pkgrel=1
 pkgdesc='A flexible client for the AUR'
 arch=('x86_64' 'i686')
@@ -11,8 +19,40 @@ makedepends=('meson' 'git' 'perl' 'systemd')
 checkdepends=('gtest' 'gmock')
 provides=("$_pkgname")
 conflicts=("$_pkgname")
-source=("git+https://github.com/falconindy/auracle.git")
-sha256sums=('SKIP')
+source=(
+  # grep https src/auracle/subprojects/*.wrap
+     "git+https://github.com/falconindy/auracle.git"
+  "$_sAS::https://github.com/abseil/abseil-cpp/archive/20200225.2.zip"
+  "$_sAP::https://github.com/mesonbuild/abseil-cpp/releases/download/20200225.2-1/abseil-cpp.zip"
+  "$_sFS::https://github.com/fmtlib/fmt/archive/6.2.0.tar.gz"
+  "$_sFP::https://github.com/mesonbuild/fmt/releases/download/6.2.0-1/fmt.zip"
+  "$_sNS::https://github.com/nlohmann/json/releases/download/v3.7.3/include.zip"
+)
+noextract=(
+  "$_sAS"
+  "$_sAP"
+  "$_sFS"
+  "$_sFP"
+  "$_sNS"
+)
+sha256sums=(
+  'SKIP'
+  'SKIP'
+  'SKIP'
+  'SKIP'
+  'SKIP'
+  'SKIP'
+)
+
+prepare() {
+  # subl src/auracle/subprojects/*.wrap
+  cd "$srcdir/auracle/subprojects/"
+  sed -i    "abseil-cpp.wrap" -e "s#source_url.*#source_url = file://$srcdir/$_sAS#g" \
+                              -e   "s#patch_url.*#patch_url = file://$srcdir/$_sAP#g"
+  sed -i           "fmt.wrap" -e "s#source_url.*#source_url = file://$srcdir/$_sFS#g" \
+                              -e   "s#patch_url.*#patch_url = file://$srcdir/$_sFP#g"
+  sed -i "nlohmann_json.wrap" -e "s#source_url.*#source_url = file://$srcdir/$_sNS#g"
+}

 pkgver() {
   cd "$_pkgname"

ftheile commented on 2020-06-16 05:22

@rarvolt I had the same issue on an less-frequently updated Arch Linux system today. After a system update, everything went fine. Amongst others, gtest was updated from 1.8.1-3 -> 1.10.0-1.

falconindy commented on 2020-06-15 11:36

I don't support Manjaro. They're shipping an old version of gtest.

rarvolt commented on 2020-06-15 11:33

Can't build auracle on fresh install of Manjaro:

The Meson build system
Version: 0.54.2
Source dir: /home/rarvolt/AUR/auracle-git/src/auracle
Build dir: /home/rarvolt/AUR/auracle-git/src/auracle/build
Build type: native build
Project name: auracle
Project version: 0
Using 'CXXFLAGS' from environment with value: '-march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt'
Using 'LDFLAGS' from environment with value: '-Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now'
Using 'CPPFLAGS' from environment with value: '-D_FORTIFY_SOURCE=2'
Using 'CXXFLAGS' from environment with value: '-march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt'
Using 'LDFLAGS' from environment with value: '-Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now'
Using 'CPPFLAGS' from environment with value: '-D_FORTIFY_SOURCE=2'
C++ compiler for the host machine: c++ (gcc 10.1.0 "c++ (GCC) 10.1.0")
C++ linker for the host machine: c++ ld.bfd 2.34.0
Host machine cpu family: x86_64
Host machine cpu: x86_64
Compiler for C++ supports arguments -ffunction-sections: YES 
Compiler for C++ supports arguments -fdata-sections: YES 
Compiler for C++ supports link arguments -Wl,--gc-sections: YES 
Found pkg-config: /usr/bin/pkg-config (1.7.3)
Did not find CMake 'cmake'
Found CMake: NO
Run-time dependency nlohmann_json found: NO (tried pkgconfig and cmake)
Looking for a fallback subproject for the dependency nlohmann_json
Downloading nlohmann_json source from https://github.com/nlohmann/json/releases/download/v3.7.3/include.zip
Download size: 280969
Downloading: ..........

|Executing subproject nlohmann_json method meson 
|
|Project name: nlohmann_json
|Project version: 3.7.3
|C++ compiler for the host machine: c++ (gcc 10.1.0 "c++ (GCC) 10.1.0")
|C++ linker for the host machine: c++ ld.bfd 2.34.0
|Build targets in project: 0
|Subproject nlohmann_json finished.

Dependency nlohmann_json from subproject subprojects/nlohmann_json found: YES 3.7.3
Run-time dependency libalpm found: YES 12.0.1
Run-time dependency libcurl found: YES 7.70.0
Run-time dependency fmt found: NO (tried pkgconfig and cmake)
Looking for a fallback subproject for the dependency fmt
Downloading fmt source from https://github.com/fmtlib/fmt/archive/6.2.0.tar.gz
Downloading file of unknown size.
Downloading fmt patch from https://github.com/mesonbuild/fmt/releases/download/6.2.0-1/fmt.zip
Download size: 1078
Downloading: ..........

|Executing subproject fmt method meson 
|
|Project name: fmt
|Project version: 6.2.0
|C++ compiler for the host machine: c++ (gcc 10.1.0 "c++ (GCC) 10.1.0")
|C++ linker for the host machine: c++ ld.bfd 2.34.0
|Build targets in project: 1
|Subproject fmt finished.

Dependency fmt from subproject subprojects/fmt found: YES 6.2.0
Run-time dependency libsystemd found: YES 245
Run-time dependency GTest found: YES 1.8.1
Run-time dependency GMock found: YES 1.8.1
Downloading abseil-cpp source from https://github.com/abseil/abseil-cpp/archive/20200225.2.zip
Downloading file of unknown size.
Downloading abseil-cpp patch from https://github.com/mesonbuild/abseil-cpp/releases/download/20200225.2-1/abseil-cpp.zip
Download size: 2585
Downloading: ..........

|Executing subproject abseil-cpp method meson 
|
|Project name: abseil-cpp
|Project version: 20200225.2
|C++ compiler for the host machine: c++ (gcc 10.1.0 "c++ (GCC) 10.1.0")
|C++ linker for the host machine: c++ ld.bfd 2.34.0
|Compiler for C++ supports arguments -Wno-sign-compare -Wsign-compare: YES 
|Run-time dependency threads found: YES
|Build targets in project: 13
|Subproject abseil-cpp finished.

Program pod2man found: YES (/usr/bin/core_perl/pod2man)
Program python3 found: YES (/usr/bin/python3)
Build targets in project: 26

auracle 0

  Subprojects
       abseil-cpp: YES
              fmt: YES
    nlohmann_json: YES

Found ninja-1.10.0 at /usr/bin/ninja
ninja: Entering directory `build'
[134/150] Compiling C++ object...xe/src_auracle_sort_test.cc.o'
FAILED: sort_test@exe/src_auracle_sort_test.cc.o 
c++ -Isort_test@exe -I. -I.. -I../src -Isubprojects/abseil-cpp-20200225.2 -I../subprojects/abseil-cpp-20200225.2 -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -std=c++17 '-DPROJECT_VERSION="0"' -ffunction-sections -fdata-sections -march=x86-64 -mtune=generic -O2 -fstack-protector-strong -fno-plt -D_FORTIFY_SOURCE=2 -pthread -DGTEST_HAS_PTHREAD=1 -MD -MQ 'sort_test@exe/src_auracle_sort_test.cc.o' -MF 'sort_test@exe/src_auracle_sort_test.cc.o.d' -o 'sort_test@exe/src_auracle_sort_test.cc.o' -c ../src/auracle/sort_test.cc
../src/auracle/sort_test.cc:110:25: error: expected constructor, destructor, or type conversion before ‘(’ token
  110 | INSTANTIATE_TEST_SUITE_P(BothOrderings, SortOrderTest,
      |                         ^
../src/auracle/sort_test.cc:121:27: error: expected unqualified-id before ‘)’ token
  121 |                          });
      |                           ^
[141/150] Compiling C++ object...@sta/src_auracle_auracle.cc.o'
ninja: build stopped: subcommand failed.

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).

falconindy commented on 2020-05-25 21:13

fmt is something of a moving target in terms of API, and ABI stability isn't a thing with exported c++ libraries. Therefore, for my own sanity, working with an embedded fmt that I can guarantee compiles with current auracle is ideal.

Long term, the dep will go away and I'll move to std::format.

yshui commented on 2020-05-25 17:00

While it's indeed not, why download it when you can pull it in as a dependency?

falconindy commented on 2020-05-22 22:39

No, it's not.

bartus commented on 2020-05-22 21:55

fmt missing from makedepends