Created attachment 181516 [details] Complete build log Complete build log is attached. To summarize: System is stable/11 amd64 at r316491, thus the system compiler is FreeBSD's clang 4.0.0. Ports tree is at r437806. x11-toolkits/qt5-widgets complains about duplicate symbols in libQt5Core.so: /usr/ports/workdirs/usr/ports/x11-toolkits/qt5-widgets/work/qtbase-opensource-src-5.7.1/lib/libQt5Core.so:(.dynamic+0x27ad8): multiple definition of `__bss_start@Qt_5' /usr/ports/workdirs/usr/ports/x11-toolkits/qt5-widgets/work/qtbase-opensource-src-5.7.1/lib/libQt5Core.so:(.dynamic+0x27ad8): first defined here /usr/ports/workdirs/usr/ports/x11-toolkits/qt5-widgets/work/qtbase-opensource-src-5.7.1/lib/libQt5Core.so:(.dynamic+0x27ad8): multiple definition of `_edata@Qt_5' /usr/ports/workdirs/usr/ports/x11-toolkits/qt5-widgets/work/qtbase-opensource-src-5.7.1/lib/libQt5Core.so:(.dynamic+0x27ad8): first defined here /usr/ports/workdirs/usr/ports/x11-toolkits/qt5-widgets/work/qtbase-opensource-src-5.7.1/lib/libQt5Core.so:(.dynamic+0x2b2d0): multiple definition of `_end@Qt_5' Note, the linker is referring to a library from within the work directory, not the library installed in /usr/local/lib/qt5 by devel/qt5-core. Maybe that's the real problem.
(In reply to Trond.Endrestol from comment #0) I forcefully rebuilt devel/qt5-core using portupgrade: portupgrade -fprv devel/qt5-core It didn't help. x11-toolkits/qt5-widgets still complains about duplicate symbols.
(In reply to Trond.Endrestol from comment #0) The library in the wrkdirectory is a symlink to the installed one :) *** This bug has been marked as a duplicate of bug 218187 ***