[Bug 257324] multimedia/vapoursynth compile error with ImageMagick on

From: <bugzilla-noreply_at_freebsd.org>
Date: Thu, 22 Jul 2021 06:47:10 +0000
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=257324

            Bug ID: 257324
           Summary: multimedia/vapoursynth compile error with ImageMagick
                    on
           Product: Ports & Packages
           Version: Latest
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: jbeich_at_FreeBSD.org
          Reporter: xxjack12xx_at_gmail.com
             Flags: maintainer-feedback?(jbeich_at_FreeBSD.org)
          Assignee: jbeich_at_FreeBSD.org

===> The following configuration options are available for vapoursynth-r54:
     DEBUG=off: Build with debugging support
     DOCS=off: Build and/or install documentation
     FRAME_GUARD=off: Check integrity after each filter
     SIMD=on: Use CPU-specific optimizations
====> Components
     CORE=on: Core library
     PYTHON=on: Python bindings or support
     VSPIPE=on: Command line interface
     VSSCRIPT=on: Scripting library
====> Plugins
     ASS=on: Subtitles rendering via libass
     EEDI3=on: Very slow edge directed interpolation
     IMAGEMAGICK=on: ImageMagick image processing support
     MISCFILTERS=on: Miscellaneous filters
     MORPHO=on: Morphological filter
     TESSERACT=on: Optical Character Recognition via Tesseract
     REMOVEGRAIN=on: 3x3 median and convolution denoising
     VINVERSE=on: Remove residual combing
     VIVTC=on: Field matching, inverse telecine and decimation
===> Use 'make config' to modify these settings

If IMAGEMAGICK=on, the port does not compile.

gmake[2]: Entering directory
'/usr/obj/usr/ports/multimedia/vapoursynth/work/vapoursynth-R54'
/bin/sh ./libtool  --tag=CXX --tag=disable-static  --mode=link c++ -std=c++11
-O3 -fvisibility=hidden -Wall -Wextra -Wno-unused-parameter
-Wno-unused-function -Wno-ignored-attributes -I./include  -mfpmath=sse -msse2  
-O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -isystem /usr/local/include
-fno-strict-aliasing  -DLIBICONV_PLUG -isystem /usr/local/include 
-no-undefined -avoid-version  -Wl,--no-undefined -fstack-protector-strong  -o
libimwri.la -rpath /usr/local/lib/vapoursynth
src/filters/imwri/libimwri_la-imwri.lo -L/usr/local/lib -lMagick++-7
-lMagickWand-7 -lMagickCore-7  -L/usr/local/lib
libtool: link: c++  -fPIC -DPIC -shared -nostdlib /usr/lib/crti.o
/usr/lib/crtbeginS.o  src/filters/imwri/.libs/libimwri_la-imwri.o   -Wl,-rpath
-Wl,/usr/local/lib -Wl,-rpath -Wl,/usr/local/lib -L/usr/local/lib
/usr/local/lib/libMagick++-7.so /usr/local/lib/libMagickWand-7.so
/usr/local/lib/libMagickCore-7.so -L/usr/lib -lc++ -lm -lc -lgcc -lgcc_s
/usr/lib/crtendS.o /usr/lib/crtn.o  -O3 -mfpmath=sse -msse2 -O2
-fstack-protector-strong -Wl,--no-undefined -fstack-protector-strong   -pthread
-fopenmp -Wl,-soname -Wl,libimwri.so -o .libs/libimwri.so
c++: warning: argument unused during compilation: '-pthread'
[-Wunused-command-line-argument]
ld: error: undefined symbol: Magick::Image::Image(std::__1::basic_string<char,
std::__1::char_traits<char>, std::__1::allocator<char> > const&)
>>> referenced by imwri.cpp
>>>               src/filters/imwri/.libs/libimwri_la-imwri.o:(readCreate(VSMap const*, VSMap*, void*, VSCore*, VSAPI const*))
>>> referenced by imwri.cpp
>>>               src/filters/imwri/.libs/libimwri_la-imwri.o:(readGetFrame(int, int, void**, void**, VSFrameContext*, VSCore*, VSAPI const*))

ld: error: undefined symbol: Magick::Image::magick(std::__1::basic_string<char,
std::__1::char_traits<char>, std::__1::allocator<char> > const&)
>>> referenced by imwri.cpp
>>>               src/filters/imwri/.libs/libimwri_la-imwri.o:(writeGetFrame(int, int, void**, void**, VSFrameContext*, VSCore*, VSAPI const*))

ld: error: undefined symbol:
Magick::Image::attribute(std::__1::basic_string<char,
std::__1::char_traits<char>, std::__1::allocator<char> >, char const*)
>>> referenced by imwri.cpp
>>>               src/filters/imwri/.libs/libimwri_la-imwri.o:(writeGetFrame(int, int, void**, void**, VSFrameContext*, VSCore*, VSAPI const*))

ld: error: undefined symbol: Magick::Image::write(std::__1::basic_string<char,
std::__1::char_traits<char>, std::__1::allocator<char> > const&)
>>> referenced by imwri.cpp
>>>               src/filters/imwri/.libs/libimwri_la-imwri.o:(writeGetFrame(int, int, void**, void**, VSFrameContext*, VSCore*, VSAPI const*))

ld: error: undefined symbol:
Magick::Image::attribute(std::__1::basic_string<char,
std::__1::char_traits<char>, std::__1::allocator<char> >) const
>>> referenced by imwri.cpp
>>>               src/filters/imwri/.libs/libimwri_la-imwri.o:(readSampleTypeDepth(ReadData const*, Magick::Image const&, VSSampleType&, int&))
c++: error: linker command failed with exit code 1 (use -v to see invocation)
gmake[2]: *** [Makefile:1097: libimwri.la] Error 1
gmake[2]: Leaving directory
'/usr/obj/usr/ports/multimedia/vapoursynth/work/vapoursynth-R54'
*** Error code 1

Stop.
make[1]: stopped in

-- 
You are receiving this mail because:
You are the assignee for the bug.
Received on Thu Jul 22 2021 - 06:47:10 UTC

Original text of this message