It's a gcc8 bug. You can compile with gcc9 (yanked from the repos) or with clang.
makepkg -C -- CXX=clang++
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 |
Keywords: | aur |
Licenses: | MIT |
Conflicts: | auracle |
Provides: | auracle |
Submitter: | Foxboron |
Maintainer: | artafinde (falconindy) |
Last Packager: | artafinde |
Votes: | 122 |
Popularity: | 0.140888 |
First Submitted: | 2017-07-02 16:40 (UTC) |
Last Updated: | 2024-11-19 22:40 (UTC) |
« First ‹ Previous 1 .. 19 20 21 22 23 24 25 26 27 Next › Last »
It's a gcc8 bug. You can compile with gcc9 (yanked from the repos) or with clang.
makepkg -C -- CXX=clang++
aurcale upstream is currently borked with a compilation error about how a wrapped call is ambiguous. I swear it worked the other day when I was trying out Arch in a VM.
I tried going into its directory and checking out a previous commit, but it seems that makepkg just checks out the head again.
I'm 100% new to Arch (very fresh install), so I'm not sure what to do at this point. Is there a way to tell the build system to use a different commit while waiting for upstream to get fixed?
Thanks for the app and package. Can you please add aarch64 to supported arch's?
I successfully compiled and packaged on aarch64 for raspberry pi:
[thecattony@pilar auracle-git]$ sudo pacman -Ql auracle-git
auracle-git /usr/
auracle-git /usr/bin/
auracle-git /usr/bin/auracle
auracle-git /usr/share/
auracle-git /usr/share/bash-completion/
auracle-git /usr/share/bash-completion/completions/
auracle-git /usr/share/bash-completion/completions/auracle
auracle-git /usr/share/licenses/
auracle-git /usr/share/licenses/auracle-git/
auracle-git /usr/share/licenses/auracle-git/LICENSE
auracle-git /usr/share/man/
auracle-git /usr/share/man/man1/
auracle-git /usr/share/man/man1/auracle.1.gz
auracle-git /usr/share/zsh/
auracle-git /usr/share/zsh/site-functions/
auracle-git /usr/share/zsh/site-functions/_auracle
[thecattony@pilar auracle-git]$ file /usr/bin/auracle
/usr/bin/auracle: ELF 64-bit LSB pie executable, ARM aarch64, version 1 (GNU/Linux), dynamically linked, interpreter /lib/ld-linux-aarch64.so.1, for GNU/Linux 3.7.0, BuildID[sha1]=c81ecd5d9d20fdfec9aecb0300c2bcb88174d407, stripped
Well, --nocheck is a thing.
FTR, what terrible hardware is this running on? I assume it's some sort of ARM device? Tests are all subsecond for me. Do tests run any faster if you limit the number of processes to your cpu count? (--num-processes)
Can't install. Keep getting timeout on tests during check():
1/13 request_test OK 0.02 s
2/13 response_test OK 0.02 s
3/13 buildorder_integration_test OK 20.46 s
4/13 clone_integration_test TIMEOUT 30.02 s
5/13 custom_format_integration_test OK 25.47 s
6/13 download_integration_test TIMEOUT 30.01 s
7/13 info_integration_test OK 15.25 s
8/13 raw_query_integration_test OK 25.35 s
9/13 regex_search_integration_test OK 20.33 s
10/13 search_integration_test TIMEOUT 30.01 s
11/13 show_integration_test OK 20.32 s
12/13 sort_integration_test TIMEOUT 30.01 s
13/13 sync_integration_test OK 10.22 s
Can be build with a modified PKGBUILD:
check() {
meson test -C "$_pkgname/build" -t 4
}
I get a similar, but in the details different, build error:
ninja: Entering directory `build'
[4/21] Compiling C++ object 'auracle@sta/src_auracle_auracle.cc.o'.
FAILED: auracle@sta/src_auracle_auracle.cc.o
ccache c++ -Iauracle@sta -I. -I.. -I../src -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -std=c++17 -include config.h -ffunction-sections -fdata-sections -O3 -g0 -march=native -ftree-vectorize -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -Wl,-z,relro,-z,now -D_FORTIFY_SOURCE=2 -fPIC -pie -fPIE -fstack-protector -fpermissive -fPIC -MD -MQ 'auracle@sta/src_auracle_auracle.cc.o' -MF 'auracle@sta/src_auracle_auracle.cc.o.d' -o 'auracle@sta/src_auracle_auracle.cc.o' -c ../src/auracle/auracle.cc
In file included from ../src/auracle/auracle.hh:7,
from ../src/auracle/auracle.cc:1:
../src/aur/aur.hh:13:10: fatal error: systemd/sd-event.h: No such file or directory
#include <systemd/sd-event.h>
^~~~~~~~~~~~~~~~~~~~
compilation terminated.
[5/21] Compiling C++ object 'aur@sta/src_aur_response.cc.o'.
ninja: build stopped: subcommand failed.
==> ERROR: A failure occurred in build().
Aborting...
@Heziode: I don't know why your compiler is broken. The filesystem header is included with libstdc++ in Arch (in c++17 mode), and is found by both g++ and clang++.
Hi I get this error when I try to install it:
[1/21] Compiling C++ object 'libaur@sta/src_aur_aur.cc.o'.
FAILED: libaur@sta/src_aur_aur.cc.o
c++ -Ilibaur@sta -I. -I.. -I../src -I../third_party/nlohmann_json -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -std=c++17 -include config.h -ffunction-sections -fdata-sections -march=x86-64 -mtune=generic -O2 -fno-plt -D_FORTIFY_SOURCE=2 -fPIC -MD -MQ 'libaur@sta/src_aur_aur.cc.o' -MF 'libaur@sta/src_aur_aur.cc.o.d' -o 'libaur@sta/src_aur_aur.cc.o' -c ../src/aur/aur.cc
../src/aur/aur.cc:8:10: fatal error: filesystem: No such file or directory
#include <filesystem>
^~~~~~~~~~~~
compilation terminated.
[2/21] Compiling C++ object 'libauracle@sta/src_auracle_auracle.cc.o'.
FAILED: libauracle@sta/src_auracle_auracle.cc.o
c++ -Ilibauracle@sta -I. -I.. -I../src -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -std=c++17 -include config.h -ffunction-sections -fdata-sections -march=x86-64 -mtune=generic -O2 -fno-plt -D_FORTIFY_SOURCE=2 -fPIC -MD -MQ 'libauracle@sta/src_auracle_auracle.cc.o' -MF 'libauracle@sta/src_auracle_auracle.cc.o.d' -o 'libauracle@sta/src_auracle_auracle.cc.o' -c ../src/auracle/auracle.cc
../src/auracle/auracle.cc:7:10: fatal error: filesystem: No such file or directory
#include <filesystem>
^~~~~~~~~~~~
compilation terminated.
[10/21] Compiling C++ object 'libaur@sta/src_aur_response.cc.o'.
ninja: build stopped: subcommand failed.
Pinned Comments
artafinde commented on 2022-01-26 09:15 (UTC) (edited on 2022-01-29 10:24 (UTC) by artafinde)
If the build fails:
SRCPKGDEST
directoryThere's a package build already which you can try out from my repo.
falconindy commented on 2020-05-31 15:35 (UTC)
FAQ:
PATH
handled by/etc/profile.d/perlbin.sh
makepkg -A
. The "any" architecture is reserved for packages with architecture independent files (and compiled C++ is not).