You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Recently we managed to write a FreeBSD port for dspdfviewer and it was building and installing fine until the llvm-4.0 upgrade in the base system in FreeBSD 12.0-CURRENT.
The change in llvm-4.0 has caused build to fail specifically due to this
wrkdirs/usr/ports/graphics/dspdfviewer/work/dspdfviewer-1.15.1/runtimeconfiguration.cpp:201:14: error: instantiation of function 'boost::program_options::parse_config_file<char>' required here, but no definition is available [-Werror,-Wundefined-func-template]
The easiest workaround will be adding -Wno-error=undefined-func-template to cmake/compiler_clang.cmake for that one file. But this is not really a proper fix but just a workaround.
A proper fix would be for the proper definition of the above mentioned function.
Hello @dannyedel
Recently we managed to write a FreeBSD port for dspdfviewer and it was building and installing fine until the llvm-4.0 upgrade in the base system in
FreeBSD 12.0-CURRENT
.The change in llvm-4.0 has caused build to fail specifically due to this
The easiest workaround will be adding
-Wno-error=undefined-func-template
tocmake/compiler_clang.cmake
for that one file. But this is not really a proper fix but just a workaround.A proper fix would be for the proper definition of the above mentioned function.
Detailed log of the build failures
FreeBSD 12-CURRENT (i386)
FreeBSD 12-CURRENT (amd64)
Thanks to @ppaeps for helping me figure out the error and the suggestions for the fix.
-- Santhosh
The text was updated successfully, but these errors were encountered: