-
-
Notifications
You must be signed in to change notification settings - Fork 166
Open
Labels
BrokenPackage is brokenPackage is broken
Description
Package name
ananicy-cpp
Version
1.1.0
Pacstall version
6.3.8
Distro and version
LMDE 7 (gigi) x86_64
Relevant log output
(cachyos-ananicy-rules-git) Do you want to view/edit the pacscript? [y/N] y
[+] INFO: Sourcing pacscript
[*] WARNING: Package does not have a maintainer. Please be advised
[+] INFO: Checking pacstall dependencies
[>] ananicy-cpp ✗ [required]
(ananicy-cpp) Do you want to view/edit the pacscript? [y/N] y
[+] INFO: Sourcing pacscript
[*] WARNING: This package will connect to the internet during its build process.
[*] WARNING: Package does not have a maintainer. Please be advised
[+] INFO: Checking build dependencies
[>] tar ✓ [installed]
[>] libsystemd-dev ✓ [installed]
[>] ninja-build ✓ [installed]
[>] gzip ✓ [installed]
[>] cmake ✓ [installed]
[>] g++ ✓ [installed]
[+] INFO: Checking apt dependencies
[+] INFO: Retrieving packages
[+] INFO: Downloading ananicy-cpp-v1.1.0.tar.gz
Initializing download: https://gitlab.com/ananicy-cpp/ananicy-cpp/-/archive/v1.1.0/ananicy-cpp-v1.1.0.tar.gz
File size: unavailable
Opening output file ananicy-cpp-v1.1.0.tar.gz
Server unsupported, starting from scratch with one connection.
Starting download
Connection 0 finished
Downloaded 396.465 Kilobyte(s) in 0 second(s). (963.20 KB/s)
[>] Checking hash 49f59e8f[...]
[>] Extracting ananicy-cpp-v1.1.0.tar.gz
[+] INFO: Running functions
[>] Running build
Version: 1.1.0
-- version for cmake: 1.1.0
-- The CXX compiler identification is GNU 14.2.0
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Checking compiler flags support
-- Performing Test CXX_ACCEPTS_G3
-- Performing Test CXX_ACCEPTS_G3 - Success
-- Performing Test CXX_ACCEPTS_G
-- Performing Test CXX_ACCEPTS_G - Success
-- Performing Test CXX_ACCEPTS_OG
-- Performing Test CXX_ACCEPTS_OG - Success
-- Performing Test CXX_ACCEPTS_MARCH_NATIVE
-- Performing Test CXX_ACCEPTS_MARCH_NATIVE - Success
-- Performing Test CXX_ACCEPTS_FLTO
-- Performing Test CXX_ACCEPTS_FLTO - Success
-- Performing Test CXX_ACCEPTS_WHLP
-- Performing Test CXX_ACCEPTS_WHLP - Success
-- Performing Test CXX_ACCEPTS_LINKER_PLUGIN
-- Performing Test CXX_ACCEPTS_LINKER_PLUGIN - Success
-- [ccache] Disabled.
-- [cppcheck] Disabled.
-- [clang-tidy] Disabled.
-- [iwyu] Disabled.
CMake Warning at cmake/CPM.cmake:61 (message):
Your project is using an unstable development version of CPM.cmake. Please
update to a recent release if possible. See
https://github.com/cpm-cmake/CPM.cmake for details.
Call Stack (most recent call first):
CMakeLists.txt:18 (include)
-- Linux system detected, adding specific sources files
-- Configuring threads
-- [threads] Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- [threads] Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success
-- [threads] Found Threads: TRUE
-- Configuring nlohmann_json
-- [nlohmann_json] CPM: adding package [email protected] (v3.11.2)
CMake Warning (dev) at /usr/share/cmake-3.31/Modules/FetchContent.cmake:1953 (message):
Calling FetchContent_Populate(json) is deprecated, call
FetchContent_MakeAvailable(json) instead. Policy CMP0169 can be set to OLD
to allow FetchContent_Populate(json) to be called directly for now, but the
ability to call it with declared details will be removed completely in a
future version.
Call Stack (most recent call first):
cmake/CPM.cmake:879 (FetchContent_Populate)
cmake/CPM.cmake:679 (cpm_fetch_package)
CMakeLists.txt:105 (CPMAddPackage)
This warning is for project developers. Use -Wno-dev to suppress it.
CMake Deprecation Warning at build/_deps/json-src/CMakeLists.txt:1 (cmake_minimum_required):
Compatibility with CMake < 3.10 will be removed from a future version of
CMake.
Update the VERSION argument <min> value. Or, use the <min>...<max> syntax
to tell CMake that the project requires at least <min> but has been updated
to work with policies introduced by <max> or earlier.
-- [nlohmann_json] Using the single-header code from /tmp/pacstall/ananicy-cpp~1.1.0/ananicy-cpp~1.1.0/build/_deps/json-src/single_include/
-- [fmtlib] Configuring fmtlib
-- [fmtlib] CPM: adding package [email protected] (9.1.0)
CMake Warning (dev) at /usr/share/cmake-3.31/Modules/FetchContent.cmake:1953 (message):
Calling FetchContent_Populate(fmt) is deprecated, call
FetchContent_MakeAvailable(fmt) instead. Policy CMP0169 can be set to OLD
to allow FetchContent_Populate(fmt) to be called directly for now, but the
ability to call it with declared details will be removed completely in a
future version.
Call Stack (most recent call first):
cmake/CPM.cmake:879 (FetchContent_Populate)
cmake/CPM.cmake:679 (cpm_fetch_package)
CMakeLists.txt:124 (CPMAddPackage)
This warning is for project developers. Use -Wno-dev to suppress it.
-- [fmtlib] Module support is disabled.
-- [fmtlib] Version: 9.1.0
-- [fmtlib] Build type: Release
-- [fmtlib] CXX_STANDARD: 20
-- [fmtlib] Performing Test has_std_20_flag
-- [fmtlib] Performing Test has_std_20_flag - Success
-- [fmtlib] Performing Test has_std_2a_flag
-- [fmtlib] Performing Test has_std_2a_flag - Success
-- [fmtlib] Required features: cxx_variadic_templates
-- [spdlog] Configuring spdlog
-- [spdlog] CPM: adding package [email protected] (v1.11.0)
CMake Warning (dev) at /usr/share/cmake-3.31/Modules/FetchContent.cmake:1953 (message):
Calling FetchContent_Populate(spdlog) is deprecated, call
FetchContent_MakeAvailable(spdlog) instead. Policy CMP0169 can be set to
OLD to allow FetchContent_Populate(spdlog) to be called directly for now,
but the ability to call it with declared details will be removed completely
in a future version.
Call Stack (most recent call first):
cmake/CPM.cmake:879 (FetchContent_Populate)
cmake/CPM.cmake:679 (cpm_fetch_package)
CMakeLists.txt:152 (CPMAddPackage)
This warning is for project developers. Use -Wno-dev to suppress it.
-- [spdlog] Build spdlog: 1.11.0
-- [spdlog] Build type: Release
-- Configuring systemd
-- The C compiler identification is GNU 14.2.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Configuring done (5.9s)
-- Generating done (0.0s)
-- Build files have been written to: /tmp/pacstall/ananicy-cpp~1.1.0/ananicy-cpp~1.1.0/build
[13/28] Building CXX object CMakeFiles/ananicy-cpp.dir/src/platform/linux/priority.cpp.o
FAILED: CMakeFiles/ananicy-cpp.dir/src/platform/linux/priority.cpp.o
/usr/bin/c++ -DENABLE_SYSTEMD=1 -DSPDLOG_COMPILED_LIB -DSPDLOG_FMT_EXTERNAL -DUSE_EXPERIMENTAL_IMPL -I"/tmp/pacstall/ananicy-cpp~1.1.0/ananicy-cpp~1.1.0/include" -I"/tmp/pacstall/ananicy-cpp~1.1.0/ananicy-cpp~1.1.0/build/_deps/json-src/single_include" -I"/tmp/pacstall/ananicy-cpp~1.1.0/ananicy-cpp~1.1.0/build/_deps/spdlog-src/include" -I"/tmp/pacstall/ananicy-cpp~1.1.0/ananicy-cpp~1.1.0/build/_deps/fmt-src/include" -I"/tmp/pacstall/ananicy-cpp~1.1.0/ananicy-cpp~1.1.0/libananicycpp_netlink/include_cpp" -I"/tmp/pacstall/ananicy-cpp~1.1.0/ananicy-cpp~1.1.0/libananicycpp_netlink/include" -O3 -DNDEBUG -flto -fwhole-program -fuse-linker-plugin -std=c++20 -fdiagnostics-color=always -MD -MT CMakeFiles/ananicy-cpp.dir/src/platform/linux/priority.cpp.o -MF CMakeFiles/ananicy-cpp.dir/src/platform/linux/priority.cpp.o.d -o CMakeFiles/ananicy-cpp.dir/src/platform/linux/priority.cpp.o -c '/tmp/pacstall/ananicy-cpp~1.1.0/ananicy-cpp~1.1.0/src/platform/linux/priority.cpp'
In file included from /usr/include/x86_64-linux-gnu/bits/sched.h:63,
from /usr/include/sched.h:43,
from /usr/include/pthread.h:22,
from /usr/include/x86_64-linux-gnu/c++/14/bits/gthr-default.h:35,
from /usr/include/x86_64-linux-gnu/c++/14/bits/gthr.h:157,
from /usr/include/c++/14/bits/atomic_wait.h:40,
from /usr/include/c++/14/bits/atomic_base.h:42,
from /usr/include/c++/14/atomic:50,
from /tmp/pacstall/ananicy-cpp~1.1.0/ananicy-cpp~1.1.0/include/utility/utils.hpp:8,
from /tmp/pacstall/ananicy-cpp~1.1.0/ananicy-cpp~1.1.0/src/platform/linux/priority.cpp:7:
/usr/include/linux/sched/types.h:98:8: error: redefinition of ‘struct sched_attr’
98 | struct sched_attr {
| ^~~~~~~~~~
In file included from /tmp/pacstall/ananicy-cpp~1.1.0/ananicy-cpp~1.1.0/src/platform/linux/priority.cpp:6:
/tmp/pacstall/ananicy-cpp~1.1.0/ananicy-cpp~1.1.0/src/platform/linux/syscalls.h:72:24: note: previous definition of ‘struct sched_attr’
72 | struct [[gnu::packed]] sched_attr {
| ^~~~~~~~~~
/usr/include/x86_64-linux-gnu/bits/sched.h:153:5: error: conflicting declaration of ‘int sched_getattr(pid_t, sched_attr*, unsigned int, unsigned int)’ with ‘C’ linkage
153 | int sched_getattr (pid_t tid, struct sched_attr *attr, unsigned int size,
| ^~~~~~~~~~~~~
/tmp/pacstall/ananicy-cpp~1.1.0/ananicy-cpp~1.1.0/src/platform/linux/syscalls.h:102:12: note: previous declaration with ‘C++’ linkage
102 | static int sched_getattr(pid_t pid, struct sched_attr *attr, unsigned int size,
| ^~~~~~~~~~~~~
/usr/include/x86_64-linux-gnu/bits/sched.h:153:5: error: declaration of ‘int sched_getattr(pid_t, sched_attr*, unsigned int, unsigned int) noexcept’ has a different exception specifier
153 | int sched_getattr (pid_t tid, struct sched_attr *attr, unsigned int size,
| ^~~~~~~~~~~~~
/tmp/pacstall/ananicy-cpp~1.1.0/ananicy-cpp~1.1.0/src/platform/linux/syscalls.h:102:12: note: from previous declaration ‘int sched_getattr(pid_t, sched_attr*, unsigned int, unsigned int)’
102 | static int sched_getattr(pid_t pid, struct sched_attr *attr, unsigned int size,
| ^~~~~~~~~~~~~
[20/28] Building CXX object CMakeFiles/ananicy-cpp.dir/src/platform/linux/process.cpp.o
ninja: build stopped: subcommand failed.
[!] ERROR: Stacktrace (most recent call last)
├─➤MAIN() /usr/bin/pacstall:1021
│ ╰───➤ if ! source "$SCRIPTDIR/scripts/package-base.sh"; then
├─➤package_pkg() /usr/share/pacstall/scripts/package-base.sh:268
│ ╰───➤ package_pkg
├─➤source() /usr/share/pacstall/scripts/package-base.sh:185
│ ╰───➤ if ! source "$SCRIPTDIR/scripts/package.sh"; then
├─➤bwrap_function() /usr/share/pacstall/scripts/package.sh:393
│ ╰───➤ if ! bwrap_function "${function}"; then
╰─➤TRACEBACK: /usr/share/pacstall/scripts/bwrap.sh:95
╰───➤ function bwrap_function() {
[+] INFO: Cleaning up
[!] ERROR: Failed to install dependency (ananicy-cpp from cachyos-ananicy-rules-git)
[+] INFO: Cleaning upPatch for package
Metadata
Metadata
Labels
BrokenPackage is brokenPackage is broken