Package Details: ananicy-cpp-git 1.2.0.r1.ga42a187-1

Git Clone URL: https://aur.archlinux.org/ananicy-cpp-git.git (read-only, click to copy)
Package Base: ananicy-cpp-git
Description: Ananicy Cpp is a full rewrite of Ananicy in C++, featuring lower CPU and RAM usage.
Upstream URL: https://gitlab.com/ananicy-cpp/ananicy-cpp
Keywords: ananicy autonice cpp rewrite
Licenses: GPL-3.0-or-later
Conflicts: ananicy-cpp
Provides: ananicy-cpp
Submitter: dr460nf1r3
Maintainer: dr460nf1r3 (aviallon, vnepogodin, ptr1337)
Last Packager: vnepogodin
Votes: 12
Popularity: 0.002989
First Submitted: 2021-04-26 12:09 (UTC)
Last Updated: 2026-03-27 14:36 (UTC)

Latest Comments

1 2 Next › Last »

asyync1024 commented on 2026-03-21 05:31 (UTC) (edited on 2026-03-21 05:53 (UTC) by asyync1024)

There is a build failure:

-- Build files have been written to: /home/ak/.cache/aurutils/sync/ananicy-cpp-git/src/ananicy-cpp/build
[17/43] Building C object libananicycpp_bpf/CMakeFiles/bpf.dir/__/_deps/libbpf-src/src/libbpf.c.o
FAILED: [code=1] libananicycpp_bpf/CMakeFiles/bpf.dir/__/_deps/libbpf-src/src/libbpf.c.o
/usr/lib/ccache/bin/cc -DENABLE_REGEX_SUPPORT -DENABLE_SYSTEMD=1 -DUSE_BPF_PROC_IMPL -DUSE_EXPERIMENTAL_IMPL -isystem /home/ak/.cache/aurutils/sync/ananicy-cpp-git/src/ananicy-cpp/build/_deps/libbpf-src -isystem /home/ak/.cache/aurutils/sync/ananicy-cpp-git/src/ananicy-cpp/build/_deps/libbpf-src/src -isystem /home/ak/.cache/aurutils/sync/ananicy-cpp-git/src/ananicy-cpp/build/_deps/libbpf-src/include -isystem /home/ak/.cache/aurutils/sync/ananicy-cpp-git/src/ananicy-cpp/build/_deps/libbpf-src/include/uapi -isystem /home/ak/.cache/aurutils/sync/ananicy-cpp-git/src/ananicy-cpp/build/libananicycpp_bpf/libbpf -march=native -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security         -fstack-clash-protection -fcf-protection         -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -flto=auto -g -O2 -Werror -Wall -std=gnu89 -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -fdiagnostics-color=always -MD -MT libananicycpp_bpf/CMakeFiles/bpf.dir/__/_deps/libbpf-src/src/libbpf.c.o -MF libananicycpp_bpf/CMakeFiles/bpf.dir/__/_deps/libbpf-src/src/libbpf.c.o.d -o libananicycpp_bpf/CMakeFiles/bpf.dir/__/_deps/libbpf-src/src/libbpf.c.o -c /home/ak/.cache/aurutils/sync/ananicy-cpp-git/src/ananicy-cpp/build/_deps/libbpf-src/src/libbpf.c
/home/ak/.cache/aurutils/sync/ananicy-cpp-git/src/ananicy-cpp/build/_deps/libbpf-src/src/libbpf.c: In function ‘resolve_full_path’:
/home/ak/.cache/aurutils/sync/ananicy-cpp-git/src/ananicy-cpp/build/_deps/libbpf-src/src/libbpf.c:10784:35: error: assignment discards ‘const’ qualifier from pointer target type [-Werror=discarded-qualifiers]
10784 |                         next_path = strchr(s, ':');
      |                                   ^
cc1: all warnings being treated as errors
ninja: build stopped: subcommand failed.
==> ERROR: A failure occurred in build().
    Aborting...

I do not have the flags inside my flags. This can be fixed by adding the following lines in a prepare():

  sed -i '/^[[:space:]]*set_target_properties(bpf PROPERTIES COMPILE_FLAGS.*/ s/-Werror//' "$srcdir/$_pkgname/libananicycpp_bpf/CMakeLists.txt"

This can be shortened to the following if you want it concise:

  sed -i '/^[[:space:]]*set_target_properties.*/ s/-Werror//' "$srcdir/$_pkgname/libananicycpp_bpf/CMakeLists.txt"

Sid127 commented on 2024-02-13 05:58 (UTC)

could the ENABLE_REGEX_SUPPORT option be enabled with cmake, please and thank you

bkb commented on 2023-10-12 07:42 (UTC)

https://aur.archlinux.org/packages/cachyos-ananicy-rules-git#comment-937890

SolarAquarion commented on 2021-12-25 20:24 (UTC)

What's going on with the systemd unit?

aviallon commented on 2021-05-28 10:58 (UTC) (edited on 2021-10-14 20:16 (UTC) by aviallon)

@solace this is the VCS version of ananicy-cpp. It directly reflects the projects developpment, and as such, it has the latest features. The catch is that it may have bugs the released version doesn't have.

solace commented on 2021-05-28 10:09 (UTC)

What is the difference between this and https://aur.archlinux.org/packages/ananicy-cpp/

dr460nf1r3 commented on 2021-04-30 10:01 (UTC)

No problem, now it should be alright. :)

aviallon commented on 2021-04-30 08:49 (UTC) (edited on 2021-04-30 08:49 (UTC) by aviallon)

Wait, just discovered I was dumb. I forgot to strip the v at the begining of the tag :

pkgver() {
  cd "$pkgname"
  git describe --long | sed 's/^v-//;s/\([^-]*-g\)/r\1/;s/-/./g'
}

This should be better.

dr460nf1r3 commented on 2021-04-28 20:28 (UTC)

Yes, sure! Following development is fun, so there has to be a -git package as well :P