Package Details: auracle-git r316.dfbd170-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: falconindy
Last Packager: falconindy
Votes: 79
Popularity: 5.49
First Submitted: 2017-07-02 16:40
Last Updated: 2020-05-14 10:39

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

1 2 3 4 5 6 ... Next › Last »

a821 commented on 2020-06-20 07:46

Post the full logs, not the logs you think are relevant. Is your system up to date? Otherwise try to build in a clean chroot.

Edit: did you ever sudo pip install?

the-pete commented on 2020-06-20 03:50

Missed the log:

Log of Meson test suite run on 2020-06-19T17:28:05.858629

Inherited environment: SHELL='/bin/bash' SESSION_MANAGER='local/billie:@/tmp/.ICE-unix/1143,unix/billie:/tmp/.ICE-unix/1143' NVM_RC_VERSION='' COLORTERM='truecolor' HISTCONTROL='ignorespace' XDG_MENU_PREFIX='gnome-' HISTSIZE='10000' TEXTDOMAINDIR='/usr/share/locale' SSH_AUTH_SOCK='/home/user/.ssh/SSH-Agent-Socket' IRCNICK='the-pete' XMODIFIERS='@im=ibus' DESKTOP_SESSION='gnome' SSH_AGENT_PID='3398' EDITOR='/usr/bin/vim' PWD='/home/user/working/auracle/auracle-git/src' SOURCE_DATE_EPOCH='1592612816' XDG_SESSION_DESKTOP='gnome' LOGNAME='user' XDG_SESSION_TYPE='wayland' CXXFLAGS='-march=x86-64 -mtune=generic -O2 -pipe -fno-plt' XAUTHORITY='/run/user/1000/.mutter-Xwaylandauth.QD5EM0' TZ='UTC' GJS_DEBUG_TOPICS='JS ERROR;JS LOG' GDM_LANG='en_US.UTF-8' COMMAND_MODE='legacy' LDFLAGS='-Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now' HOME='/home/user' USERNAME='user' LANG='en_US.UTF-8' XDG_CURRENT_DESKTOP='GNOME' VTE_VERSION='6003' WAYLAND_DISPLAY='wayland-0' GNOME_TERMINAL_SCREEN='/org/gnome/Terminal/screen/9db57823_42f6_4785_9b75_abbbac36bbb5' CPPFLAGS='-D_FORTIFY_SOURCE=2' INVOCATION_ID='2ce64f56dd6f48c5a060ae6c768a7c31' MANAGERPID='1094' GJS_DEBUG_OUTPUT='stderr' NVM_DIR='/home/user/.nvm' GNOME_SETUP_DISPLAY=':1' XDG_SESSION_CLASS='user' TERM='xterm-256color' USER='user' GNOME_TERMINAL_SERVICE=':1.97' DISPLAY=':0' SHLVL='2' NVM_CD_FLAGS='' PAGER='/usr/bin/less' QT_IM_MODULE='ibus' MOZ_PLUGIN_PATH='/usr/lib/mozilla/plugins' XDG_RUNTIME_DIR='/run/user/1000' JOURNAL_STREAM='9:31008' XDG_DATA_DIRS='/home/user/.local/share/flatpak/exports/share/:/var/lib/flatpak/exports/share/:/usr/local/share/:/usr/share/' CHOST='x86_64-pc-linux-gnu' PATH='/home/user/.gem/ruby/2.7.0/bin:/home/user/bin:/home/user/.local/bin:/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl' GDMSESSION='gnome' CFLAGS='-march=x86-64 -mtune=generic -O2 -pipe -fno-plt' DBUS_SESSION_BUS_ADDRESS='unix:path=/run/user/1000/bus' MAIL='/var/spool/mail/user' OLDPWD='/home/user/working/auracle/auracle-git/src/auracle' TEXTDOMAIN='pacman-scripts' _='/usr/bin/meson'

the-pete commented on 2020-06-20 03:49

s/tester -v/gtester -v/ That seems like it's not relevant here. I don't have venv installed on this box. I can attach the head of the menson log with the env, i'm not seeing other logs that are relevant. The last half of that log is attached to the previous comment.

(03:41) <billie> [/home/user/working $ which pyenv
which: no pyenv in (/home/user/.gem/ruby/2.7.0/bin:/home/user/bin:/home/user/.local/bin:/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl)
(03:41) <billie> [/home/user/working $ sudo updatedb && locate pyenv
(03:42) <billie> [/home/user/working $

falconindy commented on 2020-06-20 01:14

The gtest-based tests look fine based on what you've posted. The integration tests are python. My guess is you've got something going on with a virtualenv, but I have no idea without logs. The regex_search test failure looks separately suspicious since it's aborting via an exception.

No idea what 'tester' is at the end of your output.

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