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

Bug 857195

Summary: sci-libs/ignition-common-3.14.0 fails to compile: Image.cc:161:8: error: memcpy is not a member of std
Product: Gentoo Linux Reporter: Agostino Sarubbo <ago>
Component: Current packagesAssignee: Alexis Ballier <aballier>
Status: CONFIRMED ---    
Severity: normal CC: parona, treecleaner
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 839906    
Attachments: build.log

Description Agostino Sarubbo gentoo-dev 2022-07-09 18:18:44 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: sci-libs/ignition-common-3.14.0 fails to compile (lto).
Discovered on: amd64 (internal ref: lto_tinderbox)

NOTE:
This machine uses lto with CFLAGS=-flto -Werror=odr -Werror=lto-type-mismatch -Werror=strict-aliasing
Comment 1 Agostino Sarubbo gentoo-dev 2022-07-09 18:18:47 UTC
Created attachment 790793 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2022-07-09 18:18:49 UTC
Error(s) that match a know pattern in addition to what has been reported in the summary:


-- Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE) 
FAILED: graphics/src/CMakeFiles/ignition-common3-graphics.dir/Image.cc.o 
/var/tmp/portage/sci-libs/ignition-common-3.14.0/work/ign-common-ignition-common3_3.14.0/graphics/src/Image.cc:161:8: error: ‘memcpy’ is not a member of ‘std’; did you mean ‘wmemcpy’?
Comment 3 Agostino Sarubbo gentoo-dev 2022-07-12 10:00:14 UTC
gcc-12 I guess. If I'm wrong feel free to change the blocker again
Comment 4 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-04-19 06:11:40 UTC
ping.
Comment 5 Alfred Wingate 2023-11-16 17:10:53 UTC
https://github.com/gazebosim/gz-common/pull/437
https://github.com/gazebosim/gz-common/pull/501

Fixed in unpackaged versions, backport is >=3.16.0 and main one is >=4.6.2.