Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 834583 - games-emulation/pcsx2-1.6.0-r3 fails to compile on AMD64 (probably due to misconfiguration of x11-libs/wxGTK-3.0.5)
Summary: games-emulation/pcsx2-1.6.0-r3 fails to compile on AMD64 (probably due to mis...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: nE0sIghT
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-03-04 18:19 UTC by Christian Apeltauer
Modified: 2022-03-04 18:25 UTC (History)
2 users (show)

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


Attachments
emerge --info pcsx2 (info,7.46 KB, text/plain)
2022-03-04 18:19 UTC, Christian Apeltauer
Details
build.log (build.log,70.22 KB, text/x-log)
2022-03-04 18:19 UTC, Christian Apeltauer
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Christian Apeltauer 2022-03-04 18:19:02 UTC
games-emulation/pcsx2-1.6.0-r2 fails to compile on an AMD64 multilib machine. The problem is probably caused by a misconfiguration of x11-libs/wxGTK-3.0.5 as the compile error is triggered an overloading of 
  wxUniChar operator[](T n) const
in 
 /usr/include/wx-3.0-gtk3/wx/string.h
with types unsigned int and size_t which are the same for ABI_X86=32 (which must be used for compiling pcsx2), but not for ABI_X86=64. As a workaround the macro wxSIZE_T_IS_UINT can be defined manually in /usr/include/wx-3.0-gtk3/wx/string.h

Reproducible: Always
Comment 1 Christian Apeltauer 2022-03-04 18:19:31 UTC
Created attachment 766246 [details]
emerge --info pcsx2
Comment 2 Christian Apeltauer 2022-03-04 18:19:52 UTC
Created attachment 766247 [details]
build.log
Comment 3 Ionen Wolkens gentoo-dev 2022-03-04 18:24:27 UTC
>Timestamp of repository gentoo: Fri, 18 Feb 2022 00:45:01 +0000

Please emerge --sync, this was fixed on Feb 19 in:
https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=67703b687d646403482c2b87d61626874097b2ba

It didn't get its own bug so I'll just mark this one fixed. Please drop a note if still have issues.