[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


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=237388

            Bug ID: 237388
           Summary: net/kitinerary: linking fails, symbols to opencv
                    libraries not resolved
           Product: Ports & Packages
           Version: Latest
          Hardware: i386
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: kde at FreeBSD.org
          Reporter: d8zNeCFG at aon.at
          Assignee: kde at FreeBSD.org
             Flags: maintainer-feedback?(kde at FreeBSD.org)
 Attachment #203799 text/plain
         mime type:

Created attachment 203799
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=203799&action=edit
make log when running "make" for the second time in ports/net/kitinerary

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_compilation.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:/usr/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

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the kde-freebsd mailing list