Package Details: vapoursynth-plugin-tcolormask-git 1.2.g525d8b2-1

Git Clone URL: https://aur.archlinux.org/vapoursynth-plugin-tcolormask-git.git (read-only, click to copy)
Package Base: vapoursynth-plugin-tcolormask-git
Description: Plugin for Vapoursynth: tcolormask (GIT version)
Upstream URL: https://github.com/Beatrice-Raws/VapourSynth-TColorMask
Keywords: vapoursynth
Licenses: MIT
Conflicts: vapoursynth-plugin-tcolormask
Provides: vapoursynth-plugin-tcolormask
Submitter: sl1pkn07
Maintainer: sl1pkn07
Last Packager: sl1pkn07
Votes: 1
Popularity: 0.000000
First Submitted: 2020-03-09 12:42 (UTC)
Last Updated: 2022-03-13 17:21 (UTC)

Dependencies (2)

Required by (0)

Sources (1)

Latest Comments

sl1pkn07 commented on 2020-12-31 16:42 (UTC)

https://github.com/Beatrice-Raws/VapourSynth-TColorMask/issues/1

DeadNews commented on 2020-12-31 15:40 (UTC)

Can't install (after updating GCC from 9 to 10?):

Cloning into 'tcolormask'...
done.
==> Starting prepare()...
==> Starting pkgver()...
==> Sources are ready.
==> Making package: vapoursynth-plugin-tcolormask-git r1.0.g85d90a5-1 (Thu 31 Dec 2020 16:32:49)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> WARNING: Using existing $srcdir/ tree
==> Starting pkgver()...
==> Starting build()...
make: Entering directory '/home/deadnews/.cache/yay/vapoursynth-plugin-tcolormask-git/src/tcolormask'
g++ -c -fPIC -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt -D_FORTIFY_SOURCE=2 -I. -I/usr/include/vapoursynth  -o TColorMask.o TColorMask/TColorMask.cpp
TColorMask/TColorMask.cpp: In function ‘int stringToInt(const string&)’:
TColorMask/TColorMask.cpp:126:12: error: no match for ‘operator[]’ (operand types are ‘const string’ {aka ‘const std::__cxx11::basic_string<char>’} and ‘int’)
  126 |     if (str[0] == '$') {
      |            ^
TColorMask/TColorMask.cpp:127:23: error: invalid use of incomplete type ‘const string’ {aka ‘const class std::__cxx11::basic_string<char>’}
  127 |         auto substr = str.substr(1, str.length());
      |                       ^~~
In file included from /usr/include/c++/10.2.0/iosfwd:39,
                 from /usr/include/c++/10.2.0/memory:74,
                 from TColorMask/TColorMask.cpp:3:
/usr/include/c++/10.2.0/bits/stringfwd.h:74:11: note: declaration of ‘std::string’ {aka ‘class std::__cxx11::basic_string<char>’}
   74 |     class basic_string;
      |           ^~~~~~~~~~~~
TColorMask/TColorMask.cpp:127:37: error: invalid use of incomplete type ‘const string’ {aka ‘const class std::__cxx11::basic_string<char>’}
  127 |         auto substr = str.substr(1, str.length());
      |                                     ^~~
In file included from /usr/include/c++/10.2.0/iosfwd:39,
                 from /usr/include/c++/10.2.0/memory:74,
                 from TColorMask/TColorMask.cpp:3:
/usr/include/c++/10.2.0/bits/stringfwd.h:74:11: note: declaration of ‘std::string’ {aka ‘class std::__cxx11::basic_string<char>’}
   74 |     class basic_string;
      |           ^~~~~~~~~~~~
TColorMask/TColorMask.cpp:130:19: error: invalid use of incomplete type ‘const string’ {aka ‘const class std::__cxx11::basic_string<char>’}
  130 |     return strtol(str.c_str(), 0, 10);
      |                   ^~~
In file included from /usr/include/c++/10.2.0/iosfwd:39,
                 from /usr/include/c++/10.2.0/memory:74,
                 from TColorMask/TColorMask.cpp:3:
/usr/include/c++/10.2.0/bits/stringfwd.h:74:11: note: declaration of ‘std::string’ {aka ‘class std::__cxx11::basic_string<char>’}
   74 |     class basic_string;
      |           ^~~~~~~~~~~~
TColorMask/TColorMask.cpp: In function ‘void TCMCreate(const VSMap*, VSMap*, void*, VSCore*, const VSAPI*)’:
TColorMask/TColorMask.cpp:215:72: error: invalid use of incomplete type ‘std::string’ {aka ‘class std::__cxx11::basic_string<char>’}
  215 |             throw std::string{ "Only 8 bit YUV formats are supported!" };
      |                                                                        ^
In file included from /usr/include/c++/10.2.0/iosfwd:39,
                 from /usr/include/c++/10.2.0/memory:74,
                 from TColorMask/TColorMask.cpp:3:
/usr/include/c++/10.2.0/bits/stringfwd.h:74:11: note: declaration of ‘std::string’ {aka ‘class std::__cxx11::basic_string<char>’}
   74 |     class basic_string;
      |           ^~~~~~~~~~~~
TColorMask/TColorMask.cpp:220:60: error: invalid initialization of reference of type ‘const string&’ {aka ‘const std::__cxx11::basic_string<char>&’} from expression of type ‘const char*’
  220 |             colors.push_back(stringToInt(vsapi->propGetData(in, "colors", i, &err)));
      |                                          ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~
TColorMask/TColorMask.cpp:125:36: note: in passing argument 1 of ‘int stringToInt(const string&)’
  125 | int stringToInt(const std::string &str) {
      |                 ~~~~~~~~~~~~~~~~~~~^~~
TColorMask/TColorMask.cpp:300:32: error: invalid use of incomplete type ‘const string’ {aka ‘const class std::__cxx11::basic_string<char>’}
  300 |     catch (const std::string & error) {
      |                                ^~~~~
In file included from /usr/include/c++/10.2.0/iosfwd:39,
                 from /usr/include/c++/10.2.0/memory:74,
                 from TColorMask/TColorMask.cpp:3:
/usr/include/c++/10.2.0/bits/stringfwd.h:74:11: note: declaration of ‘std::string’ {aka ‘class std::__cxx11::basic_string<char>’}
   74 |     class basic_string;
      |           ^~~~~~~~~~~~
TColorMask/TColorMask.cpp:301:48: error: ‘error’ was not declared in this scope; did you mean ‘err’?
  301 |         vsapi->setError(out, ("TColorMask: " + error).c_str());
      |                                                ^~~~~
      |                                                err
make: *** [Makefile:2: all] Error 1
make: Leaving directory '/home/deadnews/.cache/yay/vapoursynth-plugin-tcolormask-git/src/tcolormask'
==> ERROR: A failure occurred in build().
    Aborting...
error making: vapoursynth-plugin-tcolormask-git
Press any key to continue...