Package Details: vapoursynth-plugin-tcanny-git 14.1.g14ac2ce-1

Git Clone URL: https://aur.archlinux.org/vapoursynth-plugin-tcanny-git.git (read-only, click to copy)
Package Base: vapoursynth-plugin-tcanny-git
Description: Plugin for Vapoursynth: tcanny (GIT version)
Upstream URL: https://forum.doom9.org/showthread.php?t=171136
Keywords: vapoursynth
Licenses: GPL
Conflicts: vapoursynth-plugin-tcanny
Provides: vapoursynth-plugin-tcanny
Submitter: sl1pkn07
Maintainer: sl1pkn07
Last Packager: sl1pkn07
Votes: 4
Popularity: 0.000023
First Submitted: 2015-05-22 17:00 (UTC)
Last Updated: 2023-02-14 17:23 (UTC)

Latest Comments

1 2 Next › Last »

Vodes commented on 2024-10-26 00:38 (UTC) (edited on 2024-10-26 00:39 (UTC) by Vodes)

Currently unable to build using this package. Manually works fine. Some weird error with clang perhaps because gcc worked fine on the manual build.

Fyi this is running on a Fedora system but inside of distrobox (docker) with arch.


The Meson build system
Version: 1.6.0
Source dir: /home/alex/enc-home/.cache/yay/vapoursynth-plugin-tcanny-git/src/tcanny
Build dir: /home/alex/enc-home/.cache/yay/vapoursynth-plugin-tcanny-git/src/build
Build type: native build
Project name: TCanny
Project version: 14
C++ compiler for the host machine: clang++ (clang 18.1.8 "clang version 18.1.8")
C++ linker for the host machine: clang++ ld.bfd 2.43.0
Host machine cpu family: x86_64
Host machine cpu: x86_64
Found pkg-config: YES (/usr/bin/pkg-config) 2.1.1
Run-time dependency vapoursynth found: YES 70
Build targets in project: 3


...

[2/8] Compiling C++ object libtcanny.so.p/TCanny_TCanny_SSE2.cpp.o
FAILED: libtcanny.so.p/TCanny_TCanny_SSE2.cpp.o 
clang++ -Ilibtcanny.so.p -I. -I../tcanny -I/usr/include/vapoursynth -fvisibility=hidden -flto -fdiagnostics-color=always -DNDEBUG -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=c++17 -O3 -fno-math-errno -fno-trapping-math -DTCANNY_X86 -mfpmath=sse -msse2 -march=native -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -Wp,-D_GLIBCXX_ASSERTIONS -g -ffile-prefix-map=/home/alex/enc-home/.cache/yay/vapoursynth-plugin-tcanny-git/src=/usr/src/debug/vapoursynth-plugin-tcanny-git -flto=auto -fPIC -MD -MQ libtcanny.so.p/TCanny_TCanny_SSE2.cpp.o -MF libtcanny.so.p/TCanny_TCanny_SSE2.cpp.o.d -o libtcanny.so.p/TCanny_TCanny_SSE2.cpp.o -c ../tcanny/TCanny/TCanny_SSE2.cpp
../tcanny/TCanny/TCanny_SSE2.cpp:333:55: error: no matching function for call to 'compress_saturated'
  333 |                 auto mask{ Vec16cb(compress_saturated(compress_saturated(Vec4ib(srcp == fltMax), zero_si128()), zero_si128())) };
      |                                                       ^~~~~~~~~~~~~~~~~~
../tcanny/TCanny/VCL2/vectori128.h:6164:22: note: candidate function not viable: no known conversion from 'Vec4ib' (aka 'Vec4b') to 'const Vec8s' for 1st argument
 6164 | static inline Vec16c compress_saturated(Vec8s const low, Vec8s const high) {
      |                      ^                  ~~~~~~~~~~~~~~~
../tcanny/TCanny/VCL2/vectori128.h:6176:23: note: candidate function not viable: no known conversion from 'Vec4ib' (aka 'Vec4b') to 'const Vec8us' for 1st argument
 6176 | static inline Vec16uc compress_saturated(Vec8us const low, Vec8us const high) {
      |                       ^                  ~~~~~~~~~~~~~~~~
...

sl1pkn07 commented on 2023-02-14 17:22 (UTC) (edited on 2023-02-14 17:22 (UTC) by sl1pkn07)

you makepkg.conf is out of date

https://github.com/archlinux/svntogit-packages/blob/packages/pacman/trunk/makepkg.con

no mentions about '-fvar-tracking-fooo' flags

the filter ones in the pkgbuild is old when is already in the makepkg.conf file https://github.com/archlinux/svntogit-packages/commit/182c5b6bbeecea2c90d89d684bb0f69534b0dd4c

greetings

dreieck commented on 2023-02-14 16:35 (UTC) (edited on 2023-02-14 16:35 (UTC) by dreieck)

Fails to build for me:

==> Starting build()...
+ exec meson setup --prefix /usr --libexecdir lib --sbindir bin --buildtype plain --auto-features enabled --wrap-mode nodownload -D b_lto=true -D b_pie=true ../tcanny --buildtype=release --libdir /usr/lib/vapoursynth
The Meson build system
Version: 1.0.0
Source dir: /home/[...]/.cache/yay/vapoursynth-plugin-tcanny-git/src/tcanny
Build dir: /home/[...]/.cache/yay/vapoursynth-plugin-tcanny-git/src/build
Build type: native build
Project name: TCanny
Project version: 14

../tcanny/meson.build:1:0: ERROR: Unable to detect linker for compiler `clang++ -Wl,--version -Wl,-O1,--sort-common,--as-needed,-z,relro,--hash-style=gnu -g0 -march=x86-64 -mtune=native -O3 -flto -ffat-lto-objects -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -fomit-frame-pointer -fPIC -fpermissive -Og -fno-lto -gdwarf-5 -ggdb -gno-strict-dwarf -g3 -gpubnames -grecord-gcc-switches -fno-eliminate-unused-debug-symbols -fvar-tracking -fdebug-types-section -fno-stack-protector -fno-omit-frame-pointer -D_FORTIFY_SOURCE=0 -DDEBUG -ffile-prefix-map=/home/[...]/.cache/yay/vapoursynth-plugin-tcanny-git/src=/usr/src/debug/vapoursynth-plugin-tcanny-git`
stdout: 
stderr: clang-15: error: unknown argument: '-fvar-tracking'


A full log can be found at /home/[...]/.cache/yay/vapoursynth-plugin-tcanny-git/src/build/meson-logs/meson-log.txt
==> ERROR: A failure occurred in build().

I have -fvar-tracking in my DEBUG_CFLAGS and DEBUG_CXXFLAGS in my makepkg.conf. So maybe some code is needed in the PKGBUILD to strip off gcc-specific command line arguments that are used here where not gcc but clang is used?

Regards.

sl1pkn07 commented on 2022-05-03 13:39 (UTC)

done

jholmer commented on 2022-05-03 01:52 (UTC)

It seems there's currently a bug between GCC and TCanny that makes TCanny completely not work at all with ASM optimizations when compiled with GCC. Details: https://github.com/HomeOfVapourSynthEvolution/VapourSynth-TCanny/issues/13#issuecomment-1107761014 It's been replicated by several people.

I think it may be wise to change the PKGBUILD to use clang for the time being. This can be done by prefixing CC=clang CXX=clang++ on the meson step (and obviously adding clang as a makedepend).

3y7cd commented on 2019-06-30 07:39 (UTC) (edited on 2019-06-30 07:45 (UTC) by 3y7cd)

Hi sir,
arch-meson(it uses buildtype=plain in script) leads this plugin to weird behavior when use cpu and default parameters.
Please update build() function in PKGBUILD to following context(buildtype=release) to solve this problem:
build() {
cd build meson setup \
--prefix /usr \
--libexecdir lib \
--sbindir bin \
--buildtype release \
--auto-features enabled \
--wrap-mode nodownload \
-D b_lto=true \
-D b_pie=true \
"../${_plug}" \
--libdir /usr/lib/vapoursynth

ninja
}

sl1pkn07 commented on 2019-01-25 22:14 (UTC)

done

DeadNews commented on 2018-12-08 16:49 (UTC)

https://github.com/HomeOfVapourSynthEvolution/VapourSynth-TCanny

Replace Autotools with Meson build system

tleydxdy commented on 2017-08-04 14:32 (UTC)

Solved