https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/ Issue: net-p2p/feather-2.1.0 fails to compile (CLANG-STRICTER-SYSTEM). Discovered on: amd64 (internal ref: guru_tinderbox) NOTE: (CLANG-STRICTER-SYSTEM) in the summary means that the bug was found on a machine that runs clang with stricter mode This machine uses clang with CFLAGS/CXXFLAGS=-Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-function-pointer-types See also: https://archives.gentoo.org/gentoo-dev/message/dd9f2d3082b8b6f8dfbccb0639e6e240 https://wiki.gentoo.org/wiki/Modern_C_porting
Created attachment 844647 [details] build.log build log and emerge --info
Error(s) that match a know pattern in addition to what has been reported in the summary: Could not find a package configuration file provided by "Qt6" with any of lrelease program not found, translation files not built -- Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE) -- Could NOT find HIDAPI (missing: HIDAPI_LIBRARY HIDAPI_INCLUDE_DIR) -- Could NOT find zlib (missing: zlib_DIR) -- Could not find DEVELOPER_LOCAL_TOOLS in env (not required) -- Could not find HIDAPI -- Could not find libunwind (missing: LIBUNWIND_INCLUDE_DIR) FAILED: monero/src/common/CMakeFiles/obj_common.dir/dns_utils.cpp.o fatal: not a git repository (or any parent up to mount point /var/tmp) /var/tmp/portage/net-p2p/feather-2.1.0/work/feather-2.1.0/monero/src/common/threadpool.h:92:10: error: no template named 'deque' in namespace 'std'
Related: https://bugs.gentoo.org/887873 Sounds like monero may be using some c++ std features (like std::deque) that clang hasn't implemented yet
Actually, it seems like clang should support std::deque, but it isn't included in the file for whatever reason. I will ask their IRC.
Monero IRC mentions this: https://github.com/monero-project/monero/pull/8682
I've added the patch. It should be fixed now.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=58e53411880115ea269c4b017b97be7c8ba1df5f commit 58e53411880115ea269c4b017b97be7c8ba1df5f Author: Adam Pimentel <adam.pimentel@protonmail.com> AuthorDate: 2022-12-25 20:59:37 +0000 Commit: Adam Pimentel <adam.pimentel@protonmail.com> CommitDate: 2022-12-25 20:59:37 +0000 net-p2p/feather: add some extra includes for monero Closes: https://bugs.gentoo.org/887871 Signed-off-by: Adam Pimentel <adam.pimentel@protonmail.com> net-p2p/feather/feather-2.1.0.ebuild | 3 +++ .../feather/files/monero_add_some_includes.patch | 25 ++++++++++++++++++++++ 2 files changed, 28 insertions(+)