maintainer-feedback requested: [Bug 237388] net/kitinerary: linking fails, symbols to opencv libraries not resolved

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Fri Apr 19 15:34:17 BST 2019


Bugzilla Automation <bugzilla at FreeBSD.org> has asked kde at FreeBSD.org for
maintainer-feedback:
Bug 237388: net/kitinerary: linking fails, symbols to opencv libraries not
resolved
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=237388



--- Description ---
Scenario:
- FreeBSD 12.0 pl 3 i386 running under VirtualBox (host FreeBSD 12.0 pl 3
amd64)
- x11/kde5 and many other ports installed
- updating from 18.12.3 to 19.04.0 using portmaster

Result:
- linking fails with the following error:

FAILED: bin/kitinerary-extractor 
: && /usr/bin/c++  -O2 -pipe -fstack-protector -fno-strict-aliasing -std=c++0x
-
fno-operator-names -fno-exceptions -Wno-gnu-zero-variadic-macro-arguments -Wall
-Wextra -Wcast-align -Wchar-subscripts -Wformat-security -Wno-long-long
-Wpointer-arith -Wundef -Wnon-virtual-dtor -Woverloaded-virtual
-Werror=return-type -Wvla -Wdate-time -fdiagnostics-color=always -pedantic
-Wzero-as-null-pointer-constant -O2 -pipe -fstack-protector
-fno-strict-aliasing  -Wl,--enable-new-dtags  -fstack-protector
src/cli/CMakeFiles/kitinerary-extractor.dir/kitinerary-extractor_autogen/mocs_c
ompilation.cpp.o
src/cli/CMakeFiles/kitinerary-extractor.dir/main.cpp.o	-o
bin/kitinerary-extractor 
-Wl,-rpath,/usr/tmp/a/SRC/FreeBSD-ports/head/net/kitinerary/work/.build/bin:/us
r/local/lib:/usr/local/lib/qt5:
bin/libKPimItinerary.so.5.11.0 /usr/local/lib/libKPimPkPass.so.5.11.0
/usr/local/lib/libKF5Mime.so.5.11.0 /usr/local/lib/libKF5CalendarCore.so.5.11.0
/usr/local/lib/qt5/libQt5Gui.so.5.12.2 /usr/local/lib/qt5/libQt5Core.so.5.12.2
-Wl,-rpath-link,/usr/local/lib:/usr/local/lib/qt5 && :
/usr/local/lib/libzxing.so: undefined reference to `cv::fastFree(void*)'
/usr/local/lib/libzxing.so: undefined reference to
`cv::Mat::copyTo(cv::_OutputArray const&) const'
/usr/local/lib/libzxing.so: undefined reference to `cv::Mat::deallocate()'
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 /a/SRC/FreeBSD-ports/head/net/kitinerary
*** Error code 1

Stop.
make: stopped in /a/SRC/FreeBSD-ports/head/net/kitinerary

Note:
- There was no such issue when upgrading the amd64 variant (in a VirtualBox VM
running FreeBSD 12 pl 3 amd64)

-- Martin


More information about the kde-freebsd mailing list