Package Details: ktx_software-git 0-2

Git Clone URL: https://aur.archlinux.org/ktx_software-git.git (read-only, click to copy)
Package Base: ktx_software-git
Description: KTX (Khronos Texture) Library and Tools
Upstream URL: https://github.com/KhronosGroup/KTX-Software
Keywords: basisu KTX KTX2 toktx
Licenses: Apache
Conflicts: ktx_software
Provides: ktx_software
Submitter: bin
Maintainer: bin
Last Packager: bin
Votes: 3
Popularity: 0.000005
First Submitted: 2020-12-31 16:05 (UTC)
Last Updated: 2021-04-14 14:19 (UTC)

Dependencies (3)

Required by (0)

Sources (1)

Latest Comments

mtxn commented on 2023-08-22 06:00 (UTC)

diff --color -ru ktx_software-git-old/PKGBUILD ktx_software-git/PKGBUILD
--- ktx_software-git-old/PKGBUILD        2023-08-22 07:30:23.545978455 +0200
+++ ktx_software-git/PKGBUILD        2023-08-22 07:33:13.910710624 +0200
@@ -12,7 +12,7 @@
              "cmake")
 provides=("ktx_software")
 conflicts=("ktx_software")
-source=("KTX-Software::git+https://github.com/KhronosGroup/KTX-Software#branch=master")
+source=("KTX-Software::git+https://github.com/KhronosGroup/KTX-Software#branch=main")
 sha256sums=("SKIP")

 reponame="KTX-Software"
diff --color -ru ktx_software-git-old/.SRCINFO ktx_software-git/.SRCINFO
--- ktx_software-git-old/.SRCINFO        2023-08-22 07:30:23.545978455 +0200
+++ ktx_software-git/.SRCINFO        2023-08-22 07:46:55.057381914 +0200
@@ -16,7 +16,7 @@
         depends = zstd
         provides = ktx_software
         conflicts = ktx_software
-        source = KTX-Software::git+https://github.com/KhronosGroup/KTX-Software#branch=master
+        source = KTX-Software::git+https://github.com/KhronosGroup/KTX-Software#branch=main
         sha256sums = SKIP

 pkgname = ktx_software-git
Only in ktx_software-git/: .SRCINFO~

tirithen commented on 2023-04-23 13:18 (UTC)

There is no "master" branch any more on the source repo, it has been renamed to "main". However using that branch also failed to build for me. But when using the latest release "tag=v4.1.0" in the PKGBUILD file I could install the package.

Would it be possible to update this package file in AUR so that the package can be installed?

GRAPHENE commented on 2022-08-30 06:48 (UTC) (edited on 2022-08-30 06:48 (UTC) by GRAPHENE)

Failed to use libtool.

...
[ 52%] Building CXX object CMakeFiles/ktx.dir/lib/basisu/encoder/basisu_uastc_enc.cpp.o
[ 53%] Building C object CMakeFiles/ktx.dir/lib/writer1.c.o
[ 54%] Building C object CMakeFiles/ktx.dir/lib/writer2.c.o
[ 54%] Linking CXX static library libktx.a
Usage: /usr/bin/libtool [OPTION]... [MODE-ARG]...
Try 'libtool --help' for more information.
libtool:   error: unrecognised option: '-static'
make[2]: *** [CMakeFiles/ktx.dir/build.make:840: libktx.a] Error 1
make[2]: *** Deleting file 'libktx.a'
make[1]: *** [CMakeFiles/Makefile2:1135: CMakeFiles/ktx.dir/all] Error 2
make: *** [Makefile:166: all] Error 2
==> ERROR: A failure occurred in build().
    Aborting...
error: failed to build 'ktx_software-git-0-2': 
error: packages failed to build: ktx_software-git-0-2

Friz64 commented on 2022-01-14 13:38 (UTC) (edited on 2022-01-14 13:43 (UTC) by Friz64)

This failed to build out of the box for me. Seems like this fix worked: https://github.com/git-lfs/git-lfs/issues/911#issuecomment-169998792.

  -> Creating working copy of KTX-Software git repo...
Cloning into 'KTX-Software'...
done.
Downloading other_lib/ios/Debug-iphoneos/libSDL2.a (8.2 MB)
Error downloading object: other_lib/ios/Debug-iphoneos/libSDL2.a (5045776): Smudge error: Error downloading other_lib/ios/Debug-iphoneos/libSDL2.a (5045776556ca57f2f7125d89c37a8b94f79cdebdc040d420513f0491787c4ea7): error transferring "5045776556ca57f2f7125d89c37a8b94f79cdebdc040d420513f0491787c4ea7": [0] remote missing object 5045776556ca57f2f7125d89c37a8b94f79cdebdc040d420513f0491787c4ea7

Errors logged to /home/friz64/.cache/paru/clone/ktx_software-git/src/KTX-Software/.git/lfs/logs/20220114T143717.948123237.log
Use `git lfs logs last` to view the log.
error: external filter 'git-lfs filter-process' failed
fatal: other_lib/ios/Debug-iphoneos/libSDL2.a: smudge filter lfs failed
warning: Clone succeeded, but checkout failed.
You can inspect what was checked out with 'git status'
and retry with 'git restore --source=HEAD :/'