Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 887873 - [guru] net-p2p/monero-0.18.1.2 fails to compile (CLANG-STRICTER-SYSTEM): threadpool.h:96:10: error: no template named deque in namespace std
Summary: [guru] net-p2p/monero-0.18.1.2 fails to compile (CLANG-STRICTER-SYSTEM): thre...
Status: CONFIRMED
Alias: None
Product: GURU
Classification: Unclassified
Component: Package issues (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Efe İzbudak
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-12-22 08:16 UTC by Agostino Sarubbo
Modified: 2024-07-27 21:25 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (build.log,149.54 KB, text/plain)
2022-12-22 08:16 UTC, Agostino Sarubbo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2022-12-22 08:16:40 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: net-p2p/monero-0.18.1.2 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
Comment 1 Agostino Sarubbo gentoo-dev 2022-12-22 08:16:43 UTC
Created attachment 844649 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2022-12-22 08:16:43 UTC
Error(s) that match a know pattern in addition to what has been reported in the summary:


  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 DEVELOPER_LOCAL_TOOLS in env (not required)
-- Could not find HIDAPI
-- Could not find libunwind (missing: LIBUNWIND_INCLUDE_DIR) 
FAILED: 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/monero-0.18.1.2/work/monero-0.18.1.2/src/common/threadpool.h:96:10: error: no template named 'deque' in namespace 'std'
Comment 3 Adam 2022-12-25 21:07:59 UTC
I asked the monero IRC and looks like it's fixed with this patch: https://github.com/monero-project/monero/pull/8682
Comment 4 Filip Kobierski 2024-07-27 21:25:06 UTC
does this happen still for 0.18.3.3-r2?