Package Details: vapoursynth-plugin-fmtconv-git r24.19.g67dab4a-1

Git Clone URL: https://aur.archlinux.org/vapoursynth-plugin-fmtconv-git.git (read-only, click to copy)
Package Base: vapoursynth-plugin-fmtconv-git
Description: Plugin for Vapoursynth: fmtconv (GIT version)
Upstream URL: https://forum.doom9.org/showthread.php?t=166504
Keywords: vapoursynth
Licenses: custom:WTFPL
Conflicts: vapoursynth-plugin-fmtconv
Provides: vapoursynth-plugin-fmtconv
Submitter: sl1pkn07
Maintainer: sl1pkn07
Last Packager: sl1pkn07
Votes: 5
Popularity: 0.001026
First Submitted: 2013-09-21 14:39
Last Updated: 2021-08-29 11:02

Latest Comments

Win8Error commented on 2021-08-28 20:17

Build fails with following output:

==> Retrieving sources...
==> WARNING: Skipping all source file integrity checks.
==> Extracting sources...
  -> Creating working copy of fmtconv git repo...
Cloning into 'fmtconv'...
done.
==> Starting prepare()...
autoreconf: export WARNINGS=
autoreconf: Entering directory '.'
autoreconf: configure.ac: not using Gettext
autoreconf: running: aclocal --force -I m4
autoreconf: configure.ac: tracing
autoreconf: running: libtoolize --copy --force
libtoolize: putting auxiliary files in '.'.
libtoolize: copying file './ltmain.sh'
libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'.
libtoolize: copying file 'm4/libtool.m4'
libtoolize: copying file 'm4/ltoptions.m4'
libtoolize: copying file 'm4/ltsugar.m4'
libtoolize: copying file 'm4/ltversion.m4'
libtoolize: copying file 'm4/lt~obsolete.m4'
autoreconf: configure.ac: not using Intltool
autoreconf: configure.ac: not using Gtkdoc
autoreconf: running: aclocal --force -I m4
autoreconf: running: /usr/bin/autoconf --force
autoreconf: configure.ac: not using Autoheader
autoreconf: running: automake --add-missing --copy --force-missing
configure.ac:7: installing './compile'
configure.ac:7: installing './config.guess'
configure.ac:7: installing './config.sub'
configure.ac:4: installing './install-sh'
configure.ac:4: installing './missing'
Makefile.am: installing './depcomp'
autoreconf: Leaving directory '.'
==> Starting pkgver()...
==> Starting build()...
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a race-free mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether make supports nested variables... (cached) yes
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking how to print strings... printf
checking whether make supports the include directive... yes (GNU style)
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether the compiler supports GNU C... yes
checking whether gcc accepts -g... yes
checking for gcc option to enable C11 features... none needed
checking whether gcc understands -c and -o together... yes
checking dependency style of gcc... gcc3
checking for a sed that does not truncate output... /usr/bin/sed
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for fgrep... /usr/bin/grep -F
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking how to convert x86_64-pc-linux-gnu file names to x86_64-pc-linux-gnu format... func_convert_file_noop
checking how to convert x86_64-pc-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for ar... ar
checking for archiver @FILE support... @
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for sysroot... no
checking for a working dd... /usr/bin/dd
checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1
checking for mt... no
checking if : is a manifest tool... no
checking for stdio.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for strings.h... yes
checking for sys/stat.h... yes
checking for sys/types.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking for g++... g++
checking whether the compiler supports GNU C++... yes
checking whether g++ accepts -g... yes
checking for g++ option to enable C++11 features... none needed
checking dependency style of g++... gcc3
checking how to run the C++ preprocessor... g++ -E
checking for ld used by g++... /usr/bin/ld -m elf_x86_64
checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yes
checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking for g++ option to produce PIC... -fPIC -DPIC
checking if g++ PIC flag -fPIC -DPIC works... yes
checking if g++ static flag -static works... yes
checking if g++ supports -c -o file.o... yes
checking if g++ supports -c -o file.o... (cached) yes
checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking dynamic linker characteristics... (cached) GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking for gcc... (cached) gcc
checking whether the compiler supports GNU C... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to enable C11 features... (cached) none needed
checking whether gcc understands -c and -o together... (cached) yes
checking dependency style of gcc... (cached) gcc3
checking whether C++ compiler accepts -std=c++14... yes
checking whether the linker accepts -latomic... yes
checking whether C compiler accepts -Wmisleading-indentation          ... yes
checking whether C compiler accepts -Wno-implicit-int-float-conversion... yes
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: executing depfiles commands
config.status: executing libtool commands
  CXX      ../../src/fmtcl/ArrayMultiType.lo
  CXX      ../../src/fmtcl/BitBltConv.lo
  CXX      ../../src/fmtcl/ChromaPlacement.lo
  CXX      ../../src/fmtcl/CoefArrInt.lo
  CXX      ../../src/fmtcl/ContFirBlackman.lo
  CXX      ../../src/fmtcl/ContFirBlackmanMinLobe.lo
  CXX      ../../src/fmtcl/ContFirCubic.lo
  CXX      ../../src/fmtcl/ContFirFromDiscrete.lo
  CXX      ../../src/fmtcl/ContFirGauss.lo
  CXX      ../../src/fmtcl/ContFirInterface.lo
  CXX      ../../src/fmtcl/ContFirLanczos.lo
  CXX      ../../src/fmtcl/ContFirLinear.lo
  CXX      ../../src/fmtcl/ContFirRect.lo
  CXX      ../../src/fmtcl/ContFirSinc.lo
  CXX      ../../src/fmtcl/ContFirSnh.lo
  CXX      ../../src/fmtcl/ContFirSpline16.lo
  CXX      ../../src/fmtcl/ContFirSpline36.lo
  CXX      ../../src/fmtcl/ContFirSpline64.lo
  CXX      ../../src/fmtcl/ContFirSpline.lo
  CXX      ../../src/fmtcl/CpuOptBase.lo
  CXX      ../../src/fmtcl/Cst_fmtcl.lo
  CXX      ../../src/fmtcl/DiscreteFirCustom.lo
  CXX      ../../src/fmtcl/DiscreteFirInterface.lo
  CXX      ../../src/fmtcl/Dither.lo
  CXX      ../../src/fmtcl/ErrDifBuf.lo
  CXX      ../../src/fmtcl/ErrDifBufFactory.lo
  CXX      ../../src/fmtcl/FilterResize.lo
  CXX      ../../src/fmtcl/fnc_fmtcl.lo
  CXX      ../../src/fmtcl/GammaY.lo
  CXX      ../../src/fmtcl/KernelData.lo
  CXX      ../../src/fmtcl/Matrix2020CLProc.lo
  CXX      ../../src/fmtcl/MatrixProc.lo
  CXX      ../../src/fmtcl/MatrixUtil.lo
  CXX      ../../src/fmtcl/PrimUtil.lo
  CXX      ../../src/fmtcl/ProcComp3Arg.lo
  CXX      ../../src/fmtcl/ResampleSpecPlane.lo
  CXX      ../../src/fmtcl/ResampleUtil.lo
  CXX      ../../src/fmtcl/ResizeData.lo
  CXX      ../../src/fmtcl/ResizeDataFactory.lo
  CXX      ../../src/fmtcl/RgbSystem.lo
  CXX      ../../src/fmtcl/Scaler.lo
  CXX      ../../src/fmtcl/TransLut.lo
  CXX      ../../src/fmtcl/TransModel.lo
  CXX      ../../src/fmtcl/TransOp2084.lo
  CXX      ../../src/fmtcl/TransOpAcesCc.lo
  CXX      ../../src/fmtcl/TransOpAffine.lo
  CXX      ../../src/fmtcl/TransOpCanonLog.lo
  CXX      ../../src/fmtcl/TransOpErimm.lo
  CXX      ../../src/fmtcl/TransOpFilmStream.lo
  CXX      ../../src/fmtcl/TransOpHlg.lo
  CXX      ../../src/fmtcl/TransOpLinPow.lo
  CXX      ../../src/fmtcl/TransOpLogC.lo
  CXX      ../../src/fmtcl/TransOpLogTrunc.lo
  CXX      ../../src/fmtcl/TransOpPow.lo
  CXX      ../../src/fmtcl/TransOpSLog.lo
  CXX      ../../src/fmtcl/TransOpSLog3.lo
  CXX      ../../src/fmtcl/TransUtil.lo
  CXX      ../../src/fmtcl/VoidAndCluster.lo
  CXX      ../../src/fstb/CpuId.lo
  CXX      ../../src/fstb/fnc_fstb.lo
  CXX      ../../src/AvstpWrapper.lo
  CXX      ../../src/main-vs.lo
  CXX      ../../src/fmtc/Bitdepth.lo
  CXX      ../../src/fmtc/Convert.lo
  CXX      ../../src/fmtc/ConvStep.lo
  CXX      ../../src/fmtc/CpuOpt.lo
  CXX      ../../src/fmtc/fnc_fmtc.lo
../fmtconv/build/unix/../../src/fmtc/fnc_fmtc.cpp: In function ‘fmtcl::ColorFamily fmtc::conv_vsfmt_to_colfam(const VSFormat&)’:
../fmtconv/build/unix/../../src/fmtc/fnc_fmtc.cpp:105:14: error: ‘cfGray’ was not declared in this scope; did you mean ‘cmGray’?
  105 |         case cfGray:
      |              ^~~~~~
      |              cmGray
../fmtconv/build/unix/../../src/fmtc/fnc_fmtc.cpp:109:14: error: ‘cfRGB’ was not declared in this scope; did you mean ‘cmRGB’?
  109 |         case cfRGB:
      |              ^~~~~
      |              cmRGB
../fmtconv/build/unix/../../src/fmtc/fnc_fmtc.cpp:113:14: error: ‘cfYUV’ was not declared in this scope; did you mean ‘cmYUV’?
  113 |         case cfYUV:
      |              ^~~~~
      |              cmYUV
../fmtconv/build/unix/../../src/fmtc/fnc_fmtc.cpp: In function ‘int fmtc::conv_fmtcl_colfam_to_vs(fmtcl::ColorFamily)’:
../fmtconv/build/unix/../../src/fmtc/fnc_fmtc.cpp:135:34: error: ‘::cfUndefined’ has not been declared
  135 |         int            vs_cf = ::cfUndefined;
      |                                  ^~~~~~~~~~~
make: *** [Makefile:1734: ../../src/fmtc/fnc_fmtc.lo] Error 1
==> ERROR: A failure occurred in build().
    Aborting...
==> ERROR: Build failed, check /home/.archbuild/extra-x86_64/yuki/build

jholmer commented on 2021-08-25 23:34

Is this line in the Pkgbuild:

rm -fr "${_plug}/src/VapourSynth.h"

Still needed? If I remove it, it fixes the compilation issues that have been occurring on this package for the past few weeks.

jholmer commented on 2021-08-11 14:04

This is failing to build with the latest vapoursynth:

../fmtconv/build/unix/../../src/fmtc/fnc_fmtc.cpp: In function ‘fmtcl::ColorFamily fmtc::conv_vsfmt_to_colfam(const VSFormat&)’:
../fmtconv/build/unix/../../src/fmtc/fnc_fmtc.cpp:105:14: error: ‘cfGray’ was not declared in this scope; did you mean ‘cmGray’?
  105 |         case cfGray:
      |              ^~~~~~
      |              cmGray
../fmtconv/build/unix/../../src/fmtc/fnc_fmtc.cpp:109:14: error: ‘cfRGB’ was not declared in this scope; did you mean ‘cmRGB’?
  109 |         case cfRGB:
      |              ^~~~~
      |              cmRGB
../fmtconv/build/unix/../../src/fmtc/fnc_fmtc.cpp:113:14: error: ‘cfYUV’ was not declared in this scope; did you mean ‘cmYUV’?
  113 |         case cfYUV:
      |              ^~~~~
      |              cmYUV
make: *** [Makefile:1294: ../../src/fmtc/fnc_fmtc.lo] Error 1

sl1pkn07 commented on 2014-11-22 17:00

you can edit the /etc/makepkg.conf file to edit -march

YamashitaRen commented on 2014-04-20 13:12

I had to use "-march=native" instead of "-march=x86-64" in order to resolve the "python: symbol lookup error: /usr/lib/vapoursynth/libfmtconv.so: undefined symbol: __sync_val_compare_and_swap_16" error

sl1pkn07 commented on 2014-02-16 08:13

ok fixed

(sorry, -mss2 is mandatory: http://forum.doom9.org/showpost.php?p=1606550&postcount=53)

pingplug commented on 2014-02-16 04:00

When I run vspipe, it shows an error:

vspipe: symbol lookup error: /usr/lib/vapoursynth/libfmtconv.so: undefined symbol: __sync_val_compare_and_swap_16

When I changed the PKGBUILD like this:

echo "all:
g++ -shared $CXXFLAGS -fPIC -o libfmtconv.so AvstpWrapper.cpp main.cpp fmtc/*.cpp fstb/*.cpp vsutl/*.cpp -I." > Makefile

the problem disappeared