Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 926079 - games-emulation/ppsspp-1.17.1-r1 fails to compile: SimpleAudioDec.h:51:7: error: type struct SimpleAudio violates the C++ One Definition Rule [-Werror=odr]
Summary: games-emulation/ppsspp-1.17.1-r1 fails to compile: SimpleAudioDec.h:51:7: err...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Maciej Barć
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: lto
  Show dependency tree
 
Reported: 2024-03-03 08:28 UTC by Agostino Sarubbo
Modified: 2024-03-04 01:03 UTC (History)
0 users

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


Attachments
build.log.xz (build.log.xz,43.23 KB, application/x-xz)
2024-03-03 08:28 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 2024-03-03 08:28:22 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: games-emulation/ppsspp-1.17.1-r1 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
Comment 1 Agostino Sarubbo gentoo-dev 2024-03-03 08:28:23 UTC
Created attachment 886581 [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-03 08:28:24 UTC
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 "SDL2_ttf" with any
  git not found, unable to include version.
--   Package 'SDL2_ttf', required by 'virtual:world', not found
-- Could NOT find WAYLAND (missing: WAYLAND_LIBRARIES WAYLAND_INCLUDE_DIR) 
-- Could NOT find WAYLAND_CLIENT (missing: WAYLAND_CLIENT_LIBRARIES WAYLAND_CLIENT_INCLUDE_DIR) 
-- Could NOT find WAYLAND_CURSOR (missing: WAYLAND_CURSOR_LIBRARIES WAYLAND_CURSOR_INCLUDE_DIR) 
-- Could NOT find WAYLAND_EGL (missing: WAYLAND_EGL_LIBRARIES WAYLAND_EGL_INCLUDE_DIR) 
-- Could NOT find WAYLAND_SERVER (missing: WAYLAND_SERVER_LIBRARIES WAYLAND_SERVER_INCLUDE_DIR) 
-- Could not find Wayland libraries, disabling Wayland WSI support for Vulkan.
-- Google Mock was not found - tests based on that will not build
FAILED: PPSSPPSDL 
/var/tmp/portage/games-emulation/ppsspp-1.17.1-r1/work/ppsspp-1.17.1/Core/HW/SimpleAudioDec.h:51:7: error: type ‘struct SimpleAudio’ violates the C++ One Definition Rule [-Werror=odr]
Comment 3 Larry the Git Cow gentoo-dev 2024-03-04 01:03:33 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=22fe17089f20027554c2fe530a9d71f193ea2e42

commit 22fe17089f20027554c2fe530a9d71f193ea2e42
Author:     Maciej Barć <xgqt@gentoo.org>
AuthorDate: 2024-03-04 00:38:54 +0000
Commit:     Maciej Barć <xgqt@gentoo.org>
CommitDate: 2024-03-04 01:03:30 +0000

    games-emulation/ppsspp: filter lto
    
    Closes: https://bugs.gentoo.org/926079
    Signed-off-by: Maciej Barć <xgqt@gentoo.org>

 games-emulation/ppsspp/ppsspp-1.15.4.ebuild    | 5 ++++-
 games-emulation/ppsspp/ppsspp-1.17.1-r1.ebuild | 5 ++++-
 2 files changed, 8 insertions(+), 2 deletions(-)