Hi...
Could you help me with this, please?
I'm trying to build inkscape from the ports tree, and it all goes well, except for steps 189/190 and 190/190.
This is the output after re-trying, and setting the variable doesn't help...
I think it's the linker trying to work with binaries in which there's references to an undeclared variable, but I'm not sure what it is at all, and I really have no idea how to fix it... Last time I tried messing with the source of something that was building I had to clean it because it just knew, somehow, and I don't know how it knows... like I just don't know enough about compiling and programming to really hack that stuff... I can do a bit of source editing in /src/ but I think that's easy compared to ports...
I'd just like the program to run, I don't particularly care if some function or feature I may or may not use is broken or something... As long as the program installs and runs, I'll be happy for now... I'm willing to comment out the part that causes that if necessary, but of course, if we can fix it, then all the better! : )
Could you help me with this, please?
I'm trying to build inkscape from the ports tree, and it all goes well, except for steps 189/190 and 190/190.
Code:
# make build
===> Building for inkscape-0.92.2
[1/7] cd /usr/ports/graphics/inkscape/work/inkscape-0.92.2/src && /usr/local/bin/cmake -DINKSCAPE_SOURCE_DIR=/usr/ports/graphics/inkscape/work/inkscape-0.92.2 -DINKSCAPE_BINARY_DIR=/usr/ports/graphics/inkscape/work/inkscape-0.92.2 -P /usr/ports/graphics/inkscape/work/inkscape-0.92.2/CMakeScripts/inkscape-version.cmake
revision is 5c3e80d, 2017-08-06
[2/3] : && /usr/bin/c++ -D_THREAD_SAFE -O2 -fno-strict-aliasing -fstack-protector -pipe -pthread -std=c++11 -O2 -pipe -fstack-protector -fno-strict-aliasing -fstack-protector src/CMakeFiles/inkview.dir/inkview.cpp.o -o bin/inkview -Wl,-rpath,/usr/ports/graphics/inkscape/work/inkscape-0.92.2/lib:/usr/local/lib: lib/libinkscape_base.so src/libgdl/libgdl_LIB.a src/libnrtype/libnrtype_LIB.a src/libcroco/libcroco_LIB.a src/libavoid/libavoid_LIB.a src/libcola/libcola_LIB.a src/libvpsc/libvpsc_LIB.a src/livarot/liblivarot_LIB.a src/libuemf/libuemf_LIB.a src/2geom/lib2geom_LIB.a src/libdepixelize/libdepixelize_LIB.a src/util/libutil_LIB.a src/inkgc/libgc_LIB.a -L/usr/local/lib -lpangocairo-1.0 -lcairo -lpthread -lpangoft2-1.0 -lpango-1.0 -lgobject-2.0 -lfontconfig -lfreetype -lgthread-2.0 -lgsl -lgslcblas -lm -Wl,--export-dynamic -lgmodule-2.0 -pthread -lglib-2.0 -lintl -lpangocairo-1.0 -lcairo -lpthread -lpangoft2-1.0 -lpango-1.0 -lgobject-2.0 -lfontconfig -lfreetype -lgthread-2.0 -lgsl -lgslcblas -lm -lgmodule-2.0 -lglib-2.0 -lintl -lX11 /usr/local/lib/liblcms2.so /usr/local/lib/libiconv.so /usr/local/lib/libintl.so /usr/local/lib/libgc.so /usr/local/lib/libpoppler.so /usr/local/lib/libpoppler-glib.so /usr/local/lib/libcairo.so /usr/local/lib/libvisio-0.1.so /usr/local/lib/librevenge-0.0.so /usr/local/lib/librevenge-stream-0.0.so /usr/local/lib/libjpeg.so /usr/local/lib/libpng.so /usr/local/lib/libpopt.so /usr/local/lib/libpotrace.so -ldbus-glib-1 -ldbus-1 -ldbus-glib-1 -ldbus-1 -lgtkmm-2.4 -latkmm-1.6 -lgdkmm-2.4 -lgiomm-2.4 -lpangomm-1.4 -lglibmm-2.4 -lcairomm-1.0 -lsigc-2.0 -lgtk-x11-2.0 -latk-1.0 -lgio-2.0 -lgdk-x11-2.0 -lgdk_pixbuf-2.0 -lgtkspell /usr/local/lib/libfreetype.so /usr/local/lib/libaspell.so /usr/local/lib/libxslt.so /usr/local/lib/libxml2.so -lz -lMagick++-6 -lMagickWand-6 -lMagickCore-6 -lMagick++-6 -lMagickWand-6 -lMagickCore-6 && :
FAILED: bin/inkview
: && /usr/bin/c++ -D_THREAD_SAFE -O2 -fno-strict-aliasing -fstack-protector -pipe -pthread -std=c++11 -O2 -pipe -fstack-protector -fno-strict-aliasing -fstack-protector src/CMakeFiles/inkview.dir/inkview.cpp.o -o bin/inkview -Wl,-rpath,/usr/ports/graphics/inkscape/work/inkscape-0.92.2/lib:/usr/local/lib: lib/libinkscape_base.so src/libgdl/libgdl_LIB.a src/libnrtype/libnrtype_LIB.a src/libcroco/libcroco_LIB.a src/libavoid/libavoid_LIB.a src/libcola/libcola_LIB.a src/libvpsc/libvpsc_LIB.a src/livarot/liblivarot_LIB.a src/libuemf/libuemf_LIB.a src/2geom/lib2geom_LIB.a src/libdepixelize/libdepixelize_LIB.a src/util/libutil_LIB.a src/inkgc/libgc_LIB.a -L/usr/local/lib -lpangocairo-1.0 -lcairo -lpthread -lpangoft2-1.0 -lpango-1.0 -lgobject-2.0 -lfontconfig -lfreetype -lgthread-2.0 -lgsl -lgslcblas -lm -Wl,--export-dynamic -lgmodule-2.0 -pthread -lglib-2.0 -lintl -lpangocairo-1.0 -lcairo -lpthread -lpangoft2-1.0 -lpango-1.0 -lgobject-2.0 -lfontconfig -lfreetype -lgthread-2.0 -lgsl -lgslcblas -lm -lgmodule-2.0 -lglib-2.0 -lintl -lX11 /usr/local/lib/liblcms2.so /usr/local/lib/libiconv.so /usr/local/lib/libintl.so /usr/local/lib/libgc.so /usr/local/lib/libpoppler.so /usr/local/lib/libpoppler-glib.so /usr/local/lib/libcairo.so /usr/local/lib/libvisio-0.1.so /usr/local/lib/librevenge-0.0.so /usr/local/lib/librevenge-stream-0.0.so /usr/local/lib/libjpeg.so /usr/local/lib/libpng.so /usr/local/lib/libpopt.so /usr/local/lib/libpotrace.so -ldbus-glib-1 -ldbus-1 -ldbus-glib-1 -ldbus-1 -lgtkmm-2.4 -latkmm-1.6 -lgdkmm-2.4 -lgiomm-2.4 -lpangomm-1.4 -lglibmm-2.4 -lcairomm-1.0 -lsigc-2.0 -lgtk-x11-2.0 -latk-1.0 -lgio-2.0 -lgdk-x11-2.0 -lgdk_pixbuf-2.0 -lgtkspell /usr/local/lib/libfreetype.so /usr/local/lib/libaspell.so /usr/local/lib/libxslt.so /usr/local/lib/libxml2.so -lz -lMagick++-6 -lMagickWand-6 -lMagickCore-6 -lMagick++-6 -lMagickWand-6 -lMagickCore-6 && :
lib/libinkscape_base.so: undefined reference to `Magick::Blob::base64()'
lib/libinkscape_base.so: undefined reference to `Magick::Blob::base64(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >)'
lib/libinkscape_base.so: undefined reference to `Magick::Image::magick() const'
lib/libinkscape_base.so: undefined reference to `Magick::Image::read(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&)'
c++: error: linker command failed with exit code 1 (use -v to see invocation)
[3/3] : && /usr/bin/c++ -D_THREAD_SAFE -O2 -fno-strict-aliasing -fstack-protector -pipe -pthread -std=c++11 -O2 -pipe -fstack-protector -fno-strict-aliasing -fstack-protector src/CMakeFiles/inkscape.dir/main.cpp.o -o bin/inkscape -Wl,-rpath,/usr/ports/graphics/inkscape/work/inkscape-0.92.2/lib:/usr/local/lib: lib/libinkscape_base.so src/libgdl/libgdl_LIB.a src/libnrtype/libnrtype_LIB.a src/libcroco/libcroco_LIB.a src/libavoid/libavoid_LIB.a src/libcola/libcola_LIB.a src/libvpsc/libvpsc_LIB.a src/livarot/liblivarot_LIB.a src/libuemf/libuemf_LIB.a src/2geom/lib2geom_LIB.a src/libdepixelize/libdepixelize_LIB.a src/util/libutil_LIB.a src/inkgc/libgc_LIB.a -L/usr/local/lib -lpangocairo-1.0 -lcairo -lpthread -lpangoft2-1.0 -lpango-1.0 -lgobject-2.0 -lfontconfig -lfreetype -lgthread-2.0 -lgsl -lgslcblas -lm -Wl,--export-dynamic -lgmodule-2.0 -pthread -lglib-2.0 -lintl -lpangocairo-1.0 -lcairo -lpthread -lpangoft2-1.0 -lpango-1.0 -lgobject-2.0 -lfontconfig -lfreetype -lgthread-2.0 -lgsl -lgslcblas -lm -lgmodule-2.0 -lglib-2.0 -lintl -lX11 /usr/local/lib/liblcms2.so /usr/local/lib/libiconv.so /usr/local/lib/libintl.so /usr/local/lib/libgc.so /usr/local/lib/libpoppler.so /usr/local/lib/libpoppler-glib.so /usr/local/lib/libcairo.so /usr/local/lib/libvisio-0.1.so /usr/local/lib/librevenge-0.0.so /usr/local/lib/librevenge-stream-0.0.so /usr/local/lib/libjpeg.so /usr/local/lib/libpng.so /usr/local/lib/libpopt.so /usr/local/lib/libpotrace.so -ldbus-glib-1 -ldbus-1 -ldbus-glib-1 -ldbus-1 -lgtkmm-2.4 -latkmm-1.6 -lgdkmm-2.4 -lgiomm-2.4 -lpangomm-1.4 -lglibmm-2.4 -lcairomm-1.0 -lsigc-2.0 -lgtk-x11-2.0 -latk-1.0 -lgio-2.0 -lgdk-x11-2.0 -lgdk_pixbuf-2.0 -lgtkspell /usr/local/lib/libfreetype.so /usr/local/lib/libaspell.so /usr/local/lib/libxslt.so /usr/local/lib/libxml2.so -lz -lMagick++-6 -lMagickWand-6 -lMagickCore-6 -lMagick++-6 -lMagickWand-6 -lMagickCore-6 && :
FAILED: bin/inkscape
: && /usr/bin/c++ -D_THREAD_SAFE -O2 -fno-strict-aliasing -fstack-protector -pipe -pthread -std=c++11 -O2 -pipe -fstack-protector -fno-strict-aliasing -fstack-protector src/CMakeFiles/inkscape.dir/main.cpp.o -o bin/inkscape -Wl,-rpath,/usr/ports/graphics/inkscape/work/inkscape-0.92.2/lib:/usr/local/lib: lib/libinkscape_base.so src/libgdl/libgdl_LIB.a src/libnrtype/libnrtype_LIB.a src/libcroco/libcroco_LIB.a src/libavoid/libavoid_LIB.a src/libcola/libcola_LIB.a src/libvpsc/libvpsc_LIB.a src/livarot/liblivarot_LIB.a src/libuemf/libuemf_LIB.a src/2geom/lib2geom_LIB.a src/libdepixelize/libdepixelize_LIB.a src/util/libutil_LIB.a src/inkgc/libgc_LIB.a -L/usr/local/lib -lpangocairo-1.0 -lcairo -lpthread -lpangoft2-1.0 -lpango-1.0 -lgobject-2.0 -lfontconfig -lfreetype -lgthread-2.0 -lgsl -lgslcblas -lm -Wl,--export-dynamic -lgmodule-2.0 -pthread -lglib-2.0 -lintl -lpangocairo-1.0 -lcairo -lpthread -lpangoft2-1.0 -lpango-1.0 -lgobject-2.0 -lfontconfig -lfreetype -lgthread-2.0 -lgsl -lgslcblas -lm -lgmodule-2.0 -lglib-2.0 -lintl -lX11 /usr/local/lib/liblcms2.so /usr/local/lib/libiconv.so /usr/local/lib/libintl.so /usr/local/lib/libgc.so /usr/local/lib/libpoppler.so /usr/local/lib/libpoppler-glib.so /usr/local/lib/libcairo.so /usr/local/lib/libvisio-0.1.so /usr/local/lib/librevenge-0.0.so /usr/local/lib/librevenge-stream-0.0.so /usr/local/lib/libjpeg.so /usr/local/lib/libpng.so /usr/local/lib/libpopt.so /usr/local/lib/libpotrace.so -ldbus-glib-1 -ldbus-1 -ldbus-glib-1 -ldbus-1 -lgtkmm-2.4 -latkmm-1.6 -lgdkmm-2.4 -lgiomm-2.4 -lpangomm-1.4 -lglibmm-2.4 -lcairomm-1.0 -lsigc-2.0 -lgtk-x11-2.0 -latk-1.0 -lgio-2.0 -lgdk-x11-2.0 -lgdk_pixbuf-2.0 -lgtkspell /usr/local/lib/libfreetype.so /usr/local/lib/libaspell.so /usr/local/lib/libxslt.so /usr/local/lib/libxml2.so -lz -lMagick++-6 -lMagickWand-6 -lMagickCore-6 -lMagick++-6 -lMagickWand-6 -lMagickCore-6 && :
lib/libinkscape_base.so: undefined reference to `Magick::Blob::base64()'
lib/libinkscape_base.so: undefined reference to `Magick::Blob::base64(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >)'
lib/libinkscape_base.so: undefined reference to `Magick::Image::magick() const'
lib/libinkscape_base.so: undefined reference to `Magick::Image::read(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&)'
c++: error: linker command failed with exit code 1 (use -v to see invocation)
ninja: build stopped: subcommand failed.
===> Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to
the maintainer.
*** Error code 1
Stop.
make[1]: stopped in /usr/ports/graphics/inkscape
*** Error code 1
Stop.
make: stopped in /usr/ports/graphics/inkscape
This is the output after re-trying, and setting the variable doesn't help...
I think it's the linker trying to work with binaries in which there's references to an undeclared variable, but I'm not sure what it is at all, and I really have no idea how to fix it... Last time I tried messing with the source of something that was building I had to clean it because it just knew, somehow, and I don't know how it knows... like I just don't know enough about compiling and programming to really hack that stuff... I can do a bit of source editing in /src/ but I think that's easy compared to ports...
I'd just like the program to run, I don't particularly care if some function or feature I may or may not use is broken or something... As long as the program installs and runs, I'll be happy for now... I'm willing to comment out the part that causes that if necessary, but of course, if we can fix it, then all the better! : )