Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 927777

Summary: dev-db/mysql-workbench-8.0.36 fails to compile: SSHSftp.cpp:65:20: error: remove_if is not a member of std
Product: Gentoo Linux Reporter: Agostino Sarubbo <ago>
Component: Current packagesAssignee: Hans de Graaff <graaff>
Status: CONFIRMED ---    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: build.log.xz

Description Agostino Sarubbo gentoo-dev 2024-03-25 10:34:56 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: dev-db/mysql-workbench-8.0.36 fails to compile.
Discovered on: amd64 (internal ref: gcc14_tinderbox)
System: GCC-14-SYSTEM (https://wiki.gentoo.org/wiki/Project:Tinderbox/Common_Issues_Helper#GCC-14)

Info about the issue:
https://wiki.gentoo.org/wiki/Project:Tinderbox/Common_Issues_Helper#CF0014
Comment 1 Agostino Sarubbo gentoo-dev 2024-03-25 10:34:57 UTC
Created attachment 888503 [details]
build.log.xz

build log and emerge --info (compressed because it exceeds attachment limit, use 'xzless' to read it)
Comment 2 Agostino Sarubbo gentoo-dev 2024-03-25 10:34:58 UTC
Error(s) that match a know pattern in addition to what has been reported in the summary:


FAILED: library/ssh/CMakeFiles/wbssh.dir/SSHSftp.cpp.o 
/var/tmp/portage/dev-db/mysql-workbench-8.0.36/work/mysql-workbench-community-8.0.36-src/library/ssh/SSHSftp.cpp:65:20: error: ‘remove_if’ is not a member of ‘std’; did you mean ‘remove_cv’?
Comment 3 Hans de Graaff gentoo-dev Security 2024-03-25 18:22:37 UTC
 The following headers are used less widely in libstdc++ and may need to be included explicitly when compiling with GCC 14:

    <algorithm> (for std::copy_n, std::find_if, std::lower_bound, std::remove, std::reverse, std::sort etc.) 


Used in a lot of different places, best fixed upstream.