https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/ Issue: sci-geosciences/opencpn-5.8.4 fails to compile. Discovered on: amd64 (internal ref: lto_tinderbox) System: LTO-SYSTEM (https://wiki.gentoo.org/wiki/Project:Tinderbox/Common_Issues_Helper#LTO) Info about the issue: https://wiki.gentoo.org/wiki/Project:Tinderbox/Common_Issues_Helper#CF0014
Created attachment 888134 [details] build.log.xz build log and emerge --info (compressed because it exceeds attachment limit, use 'xzless' to read it)
Error(s) that match a know pattern in addition to what has been reported in the summary: -- Package 'sndfile', required by 'virtual:world', not found -- Could NOT find LibSndFile (missing: LIBSNDFILE_LIBRARY LIBSNDFILE_INCLUDE_DIR) -- Could NOT find wxWidgets (missing: wxWidgets_LIBRARIES) -- Could not find wxWidgets webview add-on -- ENABLE_LIBSNDFILE is set but I cannot find libsndfile -- OCPN_ENABLE_SYSTEM_CMD_SOUND is set but I cannot find aplay(1) or afplay(1) or omxplayer(1) Device "vcan0" does not exist. FAILED: opencpn FAILED: opencpn-cmd FAILED: test/tests test/tests[1]_tests.cmake /var/tmp/portage/sci-geosciences/opencpn-5.8.4/work/OpenCPN-Release_5.8.4_build/test/tests[1]_tests.cmake /var/tmp/portage/sci-geosciences/opencpn-5.8.4/work/OpenCPN-Release_5.8.4/include/garmin_protocol_mgr.h:116:10: error: type ‘struct <anon>’ violates the C++ One Definition Rule [-Werror=odr]
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a0411443dc39685cfc87bb416c3e3216cf1ae6f4 commit a0411443dc39685cfc87bb416c3e3216cf1ae6f4 Author: Eli Schwartz <eschwartz93@gmail.com> AuthorDate: 2024-04-04 05:25:46 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2024-04-05 01:20:53 +0000 sci-geosciences/opencpn: mark as LTO-unsafe Closes: https://bugs.gentoo.org/927484 Signed-off-by: Eli Schwartz <eschwartz93@gmail.com> Signed-off-by: Sam James <sam@gentoo.org> sci-geosciences/opencpn/opencpn-5.8.4.ebuild | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-)