Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 780567 - games-emulation/pcsx2-1.6.0-r2 fails to compile
Summary: games-emulation/pcsx2-1.6.0-r2 fails to compile
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: nE0sIghT
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2021-04-06 10:33 UTC by Agostino Sarubbo
Modified: 2021-04-09 15:16 UTC (History)
2 users (show)

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


Attachments
build.log (build.log,246.88 KB, text/plain)
2021-04-06 10:33 UTC, Agostino Sarubbo
Details
Use sed to fix FindGTK3.cmake (pcsx2-1.6.0-r2.ebuild,2.80 KB, text/plain)
2021-04-06 19:00 UTC, Michael Cook
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2021-04-06 10:33:24 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: games-emulation/pcsx2-1.6.0-r2 fails to compile.
Discovered on: amd64 (internal ref: ci)
Comment 1 Agostino Sarubbo gentoo-dev 2021-04-06 10:33:27 UTC
Created attachment 697956 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2021-04-06 10:33:28 UTC
Possible context of error(s):

-- Could NOT find Vtune (missing: VTUNE_LIBRARIES VTUNE_INCLUDE_DIRS) 
/usr/include/glib-2.0/glib/gtypes.h:463:47: error: static assertion failed: Expression evaluates to false
Comment 3 Ionen Wolkens gentoo-dev 2021-04-06 13:45:16 UTC
Latest commit doesn't seem to have affected this, but something(?) changed and now there's a "-I/usr/lib64/glib-2.0/include" which should be /usr/lib
Comment 4 Ionen Wolkens gentoo-dev 2021-04-06 14:16:45 UTC
(In reply to Ionen Wolkens from comment #3)
> something(?) changed
It's cmake-3.20.0, likely with something in pcsx2's FindGTK3.cmake
Comment 5 Michael Cook 2021-04-06 16:46:18 UTC
(In reply to Ionen Wolkens from comment #4)
> (In reply to Ionen Wolkens from comment #3)
> > something(?) changed
> It's cmake-3.20.0, likely with something in pcsx2's FindGTK3.cmake

https://github.com/PCSX2/pcsx2/blob/b60765e976f6b1c45117bbdd042f8d6698c63002/cmake/FindGTK3.cmake#L288 confirmed that line.

It's worth noting, that pcsx2 has amd64 support now, no idea how stable that is though https://github.com/PCSX2/pcsx2/pull/3451#issuecomment-653720205
Comment 6 Michael Cook 2021-04-06 16:57:27 UTC
(In reply to Michael Cook from comment #5)
> (In reply to Ionen Wolkens from comment #4)
> > (In reply to Ionen Wolkens from comment #3)
> > > something(?) changed
> > It's cmake-3.20.0, likely with something in pcsx2's FindGTK3.cmake
> 
> https://github.com/PCSX2/pcsx2/blob/b60765e976f6b1c45117bbdd042f8d6698c63002/
> cmake/FindGTK3.cmake#L288 confirmed that line.
> 
> It's worth noting, that pcsx2 has amd64 support now, no idea how stable that
> is though https://github.com/PCSX2/pcsx2/pull/3451#issuecomment-653720205

Okay, I did just nuke all the abi 32 stuff and the stuff in src_configure and it appears to have built fine as amd64 and runs the single game I tested.
Comment 7 Ionen Wolkens gentoo-dev 2021-04-06 17:04:59 UTC
(In reply to Michael Cook from comment #5)
> It's worth noting, that pcsx2 has amd64 support now
This is already supported in pcsx2-9999, albeit that ebuild needs an update for submodules right now (bug #778362).
Comment 8 Michael Cook 2021-04-06 19:00:56 UTC
Created attachment 698043 [details]
Use sed to fix FindGTK3.cmake

This seems to work for me, just ran ebuild compile which completed successfully.
Comment 9 Ionen Wolkens gentoo-dev 2021-04-08 23:57:54 UTC
Seems to have been fixed by cmake-3.20.1, so should be no need for the patch.