Package Details: vapoursynth-plugin-knlmeanscl 1.1.1-2

Git Clone URL: https://aur.archlinux.org/vapoursynth-plugin-knlmeanscl.git (read-only, click to copy)
Package Base: vapoursynth-plugin-knlmeanscl
Description: Plugin for Vapoursynth: knlmeanscl
Upstream URL: http://forum.doom9.org/showthread.php?t=171379
Keywords: vapoursynth
Licenses: GPL
Submitter: sl1pkn07
Maintainer: None
Last Packager: sl1pkn07
Votes: 2
Popularity: 0.000000
First Submitted: 2015-07-02 21:34 (UTC)
Last Updated: 2018-03-31 12:23 (UTC)

Latest Comments

sl1pkn07 commented on 2018-03-27 06:31 (UTC)

Try in the upstream issue tracker

fitu996 commented on 2018-03-27 05:41 (UTC)

Is there any solution?

Is it an upstream mistake?

I build it in a clean chroot using extra-x86_64-build. I have that problem since you upgrade to version 1.1.1. Version 1.1.0 works fine.

fitu996 commented on 2018-03-03 09:29 (UTC) (edited on 2018-03-03 09:30 (UTC) by fitu996)

I sussfully installed it but it not work. Both vapoursynth-plugin-knlmeanscl and vapoursynth-plugin-knlmeanscl-git.

Script evaluation failed:
Python exception: No attribute with the name knlm exists. Did you mistype a plugin namespace?

Traceback (most recent call last):
  File "src/cython/vapoursynth.pyx", line 1847, in vapoursynth.vpy_evaluateScript
  File "test.vpy", line 20, in <module>
    nr16y = core.knlm.KNLMeansCL(src16, d=2, a=2, s=4, h=0.8, device_type="GPU")
  File "src/cython/vapoursynth.pyx", line 1416, in vapoursynth.Core.__getattr__
AttributeError: No attribute with the name knlm exists. Did you mistype a plugin namespace?

Here is my Installation log

$ yaourt -S vapoursynth-plugin-knlmeanscl-git

==> Downloading vapoursynth-plugin-knlmeanscl-git PKGBUILD from AUR...
x .SRCINFO
x .gitignore
x PKGBUILD
vapoursynth-plugin-knlmeanscl-git 1.1.1.r502.f2134cf-1  (2018-02-16 15:13)
( Unsupported package: Potentially dangerous ! )
==> Edit PKGBUILD ? [Y/n] ("A" to abort)
==> ------------------------------------
==> n

==> vapoursynth-plugin-knlmeanscl-git dependencies:
 - opencl-icd-loader (already installed)
 - vapoursynth (already installed)
 - git (already installed) [makedepend]
 - opencl-headers (already installed) [makedepend]


==> Continue building vapoursynth-plugin-knlmeanscl-git ? [Y/n]
==> -----------------------------------------------------------
==> y

==> Building and installing package
==> Making package: vapoursynth-plugin-knlmeanscl-git 1.1.1.r502.f2134cf-1 (Sat Mar  3 17:24:03 CST 2018)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Cloning knlmeanscl git repo...
Cloning into bare repository '/tmp/yaourt-tmp-flying/aur-vapoursynth-plugin-knlmeanscl-git/knlmeanscl'...
remote: Counting objects: 2018, done.
remote: Total 2018 (delta 0), reused 0 (delta 0), pack-reused 2018
Receiving objects: 100% (2018/2018), 854.32 KiB | 167.00 KiB/s, done.
Resolving deltas: 100% (1285/1285), done.
==> Validating source files with sha256sums...
    knlmeanscl ... Skipped
==> Extracting sources...
  -> Creating working copy of KNLMeansCL git repo...
Cloning into 'knlmeanscl'...
done.
==> Starting pkgver()...
==> Starting build()...
CXXFLAGS/LDFLAGS checking...
checking for vapoursynth headers...
checking for OpenCL...

settings...
CXX          = g++
LD           = g++
STRIP        = strip
CXXFLAGS     = -O2 -std=gnu++11 -Wall -Wno-unused-local-typedefs -I. -I./shared -I./include -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt -D_FORTIFY_SOURCE=2  -fPIC  -I/usr/include/vapoursynth
LDFLAGS      = -shared -fPIC  -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now
LIBS         = -lOpenCL 
LIBNAME      = libknlmeanscl.so
install path = /usr/lib/vapoursynth
configure finished.
g++ -o libknlmeanscl.so -shared -fPIC  -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -O2 -std=gnu++11 -Wall -Wno-unused-local-typedefs -I. -I./shared -I./include -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt -D_FORTIFY_SOURCE=2  -fPIC  -I/usr/include/vapoursynth -lOpenCL  KNLMeansCL/NLMKernel.cpp KNLMeansCL/NLMVapoursynth.cpp KNLMeansCL/shared/common.cpp KNLMeansCL/shared/ocl_utils.cpp KNLMeansCL/shared/startchar.cpp
In file included from KNLMeansCL/NLMKernel.cpp:24:0:
KNLMeansCL/NLMKernel.h:80:20: warning: ‘kernel_source_code’ defined but not used [-Wunused-variable]
 static const char* kernel_source_code =
                    ^~~~~~~~~~~~~~~~~~
KNLMeansCL/NLMVapoursynth.cpp: In function ‘void VapourSynthPluginCreate(const VSMap*, VSMap*, void*, VSCore*, const VSAPI*)’:
KNLMeansCL/NLMVapoursynth.cpp:714:74: warning: ‘_cl_command_queue* clCreateCommandQueue(cl_context, cl_device_id, cl_command_queue_properties, cl_int*)’ is deprecated [-Wdeprecated-declarations]
     d.command_queue = clCreateCommandQueue(d.context, d.deviceID, 0, &ret);
                                                                          ^
In file included from KNLMeansCL/NLMKernel.h:32:0,
                 from KNLMeansCL/NLMVapoursynth.h:22,
                 from KNLMeansCL/NLMVapoursynth.cpp:19:
/usr/include/CL/cl.h:1443:1: note: declared here
 clCreateCommandQueue(cl_context                     /* context */,
 ^~~~~~~~~~~~~~~~~~~~
strip libknlmeanscl.so
==> Entering fakeroot environment...
==> Starting package()...
make: Entering directory '/tmp/makepkg/vapoursynth-plugin-knlmeanscl-git/src/knlmeanscl'
g++ -o libknlmeanscl.so -shared -fPIC  -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -O2 -std=gnu++11 -Wall -Wno-unused-local-typedefs -I. -I./shared -I./include -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt -D_FORTIFY_SOURCE=2  -fPIC  -I/usr/include/vapoursynth -lOpenCL  KNLMeansCL/NLMKernel.cpp KNLMeansCL/NLMVapoursynth.cpp KNLMeansCL/shared/common.cpp KNLMeansCL/shared/ocl_utils.cpp KNLMeansCL/shared/startchar.cpp
In file included from KNLMeansCL/NLMKernel.cpp:24:0:
KNLMeansCL/NLMKernel.h:80:20: warning: ‘kernel_source_code’ defined but not used [-Wunused-variable]
 static const char* kernel_source_code =
                    ^~~~~~~~~~~~~~~~~~
KNLMeansCL/NLMVapoursynth.cpp: In function ‘void VapourSynthPluginCreate(const VSMap*, VSMap*, void*, VSCore*, const VSAPI*)’:
KNLMeansCL/NLMVapoursynth.cpp:714:74: warning: ‘_cl_command_queue* clCreateCommandQueue(cl_context, cl_device_id, cl_command_queue_properties, cl_int*)’ is deprecated [-Wdeprecated-declarations]
     d.command_queue = clCreateCommandQueue(d.context, d.deviceID, 0, &ret);
                                                                          ^
In file included from KNLMeansCL/NLMKernel.h:32:0,
                 from KNLMeansCL/NLMVapoursynth.h:22,
                 from KNLMeansCL/NLMVapoursynth.cpp:19:
/usr/include/CL/cl.h:1443:1: note: declared here
 clCreateCommandQueue(cl_context                     /* context */,
 ^~~~~~~~~~~~~~~~~~~~
strip libknlmeanscl.so
install -d /tmp/makepkg/vapoursynth-plugin-knlmeanscl-git/pkg/vapoursynth-plugin-knlmeanscl-git/usr/lib/vapoursynth
install -m 755 libknlmeanscl.so /tmp/makepkg/vapoursynth-plugin-knlmeanscl-git/pkg/vapoursynth-plugin-knlmeanscl-git/usr/lib/vapoursynth
make: Leaving directory '/tmp/makepkg/vapoursynth-plugin-knlmeanscl-git/src/knlmeanscl'
==> Tidying install...
  -> Removing libtool files...
  -> Purging unwanted files...
  -> Removing static library files...
  -> Stripping unneeded symbols from binaries and libraries...
  -> Compressing man and info pages...
==> Checking for packaging issue...
==> Creating package "vapoursynth-plugin-knlmeanscl-git"...
  -> Generating .PKGINFO file...
  -> Generating .BUILDINFO file...
  -> Generating .MTREE file...
  -> Compressing package...
==> Leaving fakeroot environment.
==> Finished making: vapoursynth-plugin-knlmeanscl-git 1.1.1.r502.f2134cf-1 (Sat Mar  3 17:24:13 CST 2018)
==> Cleaning up...

==> Continue installing vapoursynth-plugin-knlmeanscl-git ? [Y/n]
==> [v]iew package contents [c]heck package with namcap
==> ---------------------------------------------------
==> y

loading packages...
warning: vapoursynth-plugin-knlmeanscl-git-1.1.1.r502.f2134cf-1 is up to date -- reinstalling
resolving dependencies...
looking for conflicting packages...

Package (1)                        Old Version           New Version           Net Change

vapoursynth-plugin-knlmeanscl-git  1.1.1.r502.f2134cf-1  1.1.1.r502.f2134cf-1    0.00 MiB

Total Installed Size:  0.09 MiB
Net Upgrade Size:      0.00 MiB

:: Proceed with installation? [Y/n] y
(1/1) checking keys in keyring                                                                         [############################################################] 100%
(1/1) checking package integrity                                                                       [############################################################] 100%
(1/1) loading package files                                                                            [############################################################] 100%
(1/1) checking for file conflicts                                                                      [############################################################] 100%
(1/1) checking available disk space                                                                    [############################################################] 100%
:: Processing package changes...
(1/1) reinstalling vapoursynth-plugin-knlmeanscl-git                                                   [############################################################] 100%
:: Running post-transaction hooks...
(1/1) Arming ConditionNeedsUpdate...

jo-shva commented on 2016-08-10 17:01 (UTC)

This package will not build. Use the Git version of this package. The build errors have been fixed upstream in the git version.