Package Details: ktx-software 4.4.2-2

Git Clone URL: https://aur.archlinux.org/ktx-software.git (read-only, click to copy)
Package Base: ktx-software
Description: KTX (Khronos Texture) Library and Tools
Upstream URL: https://github.com/KhronosGroup/KTX-Software
Keywords: ktx ktx2 ktxinfo ktxsc libktx toktx
Licenses: Apache-2.0
Conflicts: ktx-software, ktx_software
Provides: ktx-software
Submitter: Bink
Maintainer: Bink
Last Packager: Bink
Votes: 0
Popularity: 0.000000
First Submitted: 2025-08-23 16:22 (UTC)
Last Updated: 2026-08-12 02:16 (UTC)

Latest Comments

Bink commented on 2026-08-03 03:09 (UTC)

Thanks for bringing this to my attention @briellabugs, I've been able to confirm this, as well as another bug I noted that presented when AVX instructions were enabled (-march=native, -march=x86-64-v3/v4).

I've now hopefully resolved both of these, as I'm able to successfully build in my environment, and a clean chroot.

I'll push the update shortly. The AUR is currently not accepting my push as it's "down for maintenance".

briellabugs commented on 2026-08-01 12:00 (UTC) (edited on 2026-08-01 12:00 (UTC) by briellabugs)

Currently failing to build

...
/home/puppy/.cache/yay/ktx-software/src/KTX-Software-4.4.2/tools/ktx/encode_utils_basis.h:424:13:   required from ‘void ktx::OptionsEncodeBasis<ENCODE_CMD>::process(cxxopts::Options&, cxxopts::ParseResult&, ktx::Reporter&) [with bool ENCODE_CMD = true]’
  424 |             validateUASTCArg(report, kUastcQuality);
      |             ^~~~~~~~~~~~~~~~
/home/puppy/.cache/yay/ktx-software/src/KTX-Software-4.4.2/tools/ktx/command.h:353:38:   required from ‘void ktx::Combine<Args>::process(cxxopts::Options&, cxxopts::ParseResult&, ktx::Reporter&) [with Args = {ktx::CommandEncode::OptionsEncode, ktx::OptionsEncodeASTC, ktx::OptionsEncodeBasis<true>, ktx::OptionsEncodeCommon, ktx::OptionsMetrics, ktx::OptionsDeflate, ktx::OptionsSingleInSingleOut, ktx::OptionsGeneric}]’
  353 |         (dummy = ... = (Args::process(opts, args, report), 0));
      |                         ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
/home/puppy/.cache/yay/ktx-software/src/KTX-Software-4.4.2/tools/ktx/command_encode.cpp:182:20:   required from here
  182 |     options.process(opts, args, *this);
      |     ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
/home/puppy/.cache/yay/ktx-software/src/KTX-Software-4.4.2/tools/ktx/command.h:114:19: error: call to consteval function ‘fmt::v11::fstring<const char*&>((* & std::forward<const char (&)[77]>((* & args#0))))’ is not a constant expression
  114 |         fmt::print(std::cerr, std::forward<Args>(args)...);
      |         ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/puppy/.cache/yay/ktx-software/src/KTX-Software-4.4.2/tools/ktx/command.h:114:19:   in ‘constexpr’ expansion of ‘fmt::v11::fstring<const char*&>((* & std::forward<const char (&)[77]>((* & args#0))))’
/home/puppy/.cache/yay/ktx-software/src/KTX-Software-4.4.2/external/fmt/include/fmt/base.h:2736:53:   in ‘constexpr’ expansion of ‘fmt::v11::basic_string_view<char>(((const char*)s))’
 2736 |     if (FMT_USE_CONSTEVAL) parse_format_string<char>(s, checker(s, arg_pack()));
      |                            ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/puppy/.cache/yay/ktx-software/src/KTX-Software-4.4.2/external/fmt/include/fmt/base.h:548:5: error: ‘args#0’ is not a constant expression
  548 |     while (*s++) ++len;
      |     ^~~~~
make[2]: *** [tools/ktx/CMakeFiles/ktxtools.dir/build.make:135: tools/ktx/CMakeFiles/ktxtools.dir/command_encode.cpp.o] Error 1
make[2]: *** [tools/ktx/CMakeFiles/ktxtools.dir/build.make:107: tools/ktx/CMakeFiles/ktxtools.dir/command_create.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:1712: tools/ktx/CMakeFiles/ktxtools.dir/all] Error 2
[ 95%] Linking CXX executable ../Release/unittests
[ 95%] Built target unittests
[ 95%] Linking CXX executable ../../Release/ktx2check
[ 95%] Built target ktx2check
[ 95%] Linking CXX executable ../../Release/toktx
[ 95%] Built target toktx
make: *** [Makefile:166: all] Error 2
==> ERROR: A failure occurred in build().
    Aborting...
 -> error making: ktx-software-exit status 4
 -> Failed to install the following packages. Manual intervention is required:
ktx-software - exit status 4

These and many errors above