Package Details: ztd-git r413.fdbafde-2

Git Clone URL: https://aur.archlinux.org/ztd-git.git (read-only, click to copy)
Package Base: ztd-git
Description: thermitegod spacefm dependency
Upstream URL: https://github.com/thermitegod/ztd
Licenses: GPL3
Conflicts: ztd
Provides: ztd
Submitter: FabioLolix
Maintainer: FabioLolix
Last Packager: FabioLolix
Votes: 0
Popularity: 0.000000
First Submitted: 2023-08-13 14:58 (UTC)
Last Updated: 2024-01-05 20:49 (UTC)

Pinned Comments

FabioLolix commented on 2023-12-30 19:51 (UTC)

Hello @Mautz, it is the tests that are failing to build but even if I disable them spacefm-thermitegod-git fails with the same issue, my guess is that it is not compatible with the new spdlog version

Reported https://github.com/thermitegod/ztd/issues/2

While I could try to make a non conflicting spdlog-1.11 pkgbuild I don't have the slightest idea how to pass the path in the meson build system

Latest Comments

zwastik commented on 2025-06-16 17:34 (UTC)

==> Starting build()...
+ exec meson setup --prefix /usr --libexecdir lib --sbindir bin --buildtype plain --auto-features enabled --wrap-mode nodownload -D b_pie=true -D python.bytecompile=1 build
The Meson build system
Version: 1.8.2
Source dir: /home/user/.cache/yay/ztd-git/src/ztd
Build dir: /home/user/.cache/yay/ztd-git/src/ztd/build
Build type: native build
Project name: ztd
Project version: 0.6.0-dev
C compiler for the host machine: cc (gcc 15.1.1 "cc (GCC) 15.1.1 20250425")
C linker for the host machine: cc ld.bfd 2.44.0
C++ compiler for the host machine: c++ (gcc 15.1.1 "c++ (GCC) 15.1.1 20250425")
C++ linker for the host machine: c++ ld.bfd 2.44.0
Host machine cpu family: x86_64
Host machine cpu: x86_64
Found pkg-config: YES (/usr/bin/pkg-config) 2.4.3
Run-time dependency magic_enum found: YES 0.9.7
Build targets in project: 0

ztd 0.6.0-dev

  User defined options
    auto_features     : enabled
    b_pie             : true
    buildtype         : plain
    libexecdir        : lib
    prefix            : /usr
    python.bytecompile: 1
    sbindir           : bin
    wrap_mode         : nodownload

Found ninja-1.12.1 at /usr/bin/ninja
ninja: Entering directory `build'
ninja: no work to do.
+ exec meson setup --prefix /usr --libexecdir lib --sbindir bin --buildtype plain --auto-features enabled --wrap-mode nodownload -D b_pie=true -D python.bytecompile=1 build
The Meson build system
Version: 1.8.2
Source dir: /home/user/.cache/yay/ztd-git/src/ztd/tests
Build dir: /home/user/.cache/yay/ztd-git/src/ztd/tests/build
Build type: native build

ERROR: Not the project root: first statement must be a call to project()

Did you mean to run meson from the directory: "/home/user/.cache/yay/ztd-git/src/ztd"?

A full log can be found at /home/user/.cache/yay/ztd-git/src/ztd/tests/build/meson-logs/meson-log.txt
==> ERROR: A failure occurred in build().
    Aborting...
 -> error making: ztd-git-exit status 4
 -> Failed to install the following packages. Manual intervention is required:
ztd-git - exit status 4

FabioLolix commented on 2023-12-30 19:51 (UTC)

Hello @Mautz, it is the tests that are failing to build but even if I disable them spacefm-thermitegod-git fails with the same issue, my guess is that it is not compatible with the new spdlog version

Reported https://github.com/thermitegod/ztd/issues/2

While I could try to make a non conflicting spdlog-1.11 pkgbuild I don't have the slightest idea how to pass the path in the meson build system

Mautz commented on 2023-12-16 00:33 (UTC)

I'm getting a linker error when trying tp build this package.

collect2: error: ld returned 1 exit status

Seems like this is the problem, any hints how to fix this?

[26/27] Linking target test_suite_logger FAILED: test_suite_logger c++ -o test_suite_logger test_suite_logger.p/src_logger_logger.cxx.o -flto -Wl,--as-needed -Wl,--no-undefined -pie -Wl,--as-needed -Wl,-O1,--sort-common,--as-needed,-z,relro -march=native -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wl,--start-group /usr/lib/libgtest.so /usr/lib/libspdlog.so -pthread /usr/lib/libfmt.so /usr/lib/libssl.so /usr/lib/libcrypto.so -Wl,--end-group /usr/bin/ld: /tmp/cchUHEIj.ltrans0.ltrans.o: in function void spdlog::logger::log_<void const*>(spdlog::source_loc, spdlog::level::level_enum, std::basic_string_view<char, std::char_traits<char> >, void const*&&) [clone .constprop.0]': <artificial>:(.text+0xb8c0): undefined reference tospdlog::details::log_msg::log_msg(spdlog::source_loc, std::basic_string_view<char, std::char_traits\<char> >, spdlog::level::level_enum, std::basic_string_view<char, std::char_traits\<char> >)'