Tatsh / tatsh-overlay

Personal Gentoo Portage overlay.
https://tatsh.github.io/tatsh-overlay/
GNU General Public License v2.0
35 stars 10 forks source link

games-emulation/cemu is currently broken #171

Closed ghost closed 1 year ago

ghost commented 1 year ago

Hello Tatsh, Wish you're going well. I don't know if it also happens to you, but currently games-emulation/cemu refuses to build : https://gist.github.com/7e6b31d44021f822dcf0722c128697a9 And I don't understand why since there's no reason given. So should I report this to upstream or are you able to understand it and fix it?

Tatsh commented 1 year ago

I need a full build log. That log only contains errors regarding something else. I am assuming you're getting an error at linker stage as I am (just got it). Seems to be related to a Wayland symbol. Finding a fix now.

ghost commented 1 year ago

Sorry, I was busy with a stupid programming homework. Ok so, it seems to me wgetpaste wasn't able to post the whole log because there might be too much lines for GitHub Gist. Then, look at the end of the build log, the content of it is about Cemu and not something else unlike the beginning of the build log. Ok so, as you resquested here's the full build log : log.txt

Good luck.

Tatsh commented 1 year ago

If this occurs again please reopen.

Tatsh commented 1 year ago

Related: https://github.com/cemu-project/Cemu/issues/571 https://github.com/cemu-project/Cemu/pull/553

wayland-client should be somewhere in a target_link_libraries call either CemuGui or CemuBin. It should be made optional but for now it is not.

ghost commented 1 year ago

It failed again. It seems to be a missing dependency issue this time. I'm not sure if it is related or not, but I'm posting here just in case it is.

log.txt

Tatsh commented 1 year ago

Wait a little for Gentoo mirror to update then sync again. emerge @world and fmt should update first, then Cemu.

ghost commented 1 year ago

Ok.

Tatsh commented 1 year ago

You can watch for mirror updates here: https://github.com/gentoo-mirror/tatsh-overlay

ghost commented 1 year ago

It seems to me that the FMT update broke even more packages that depends on it.

CMake Error at CMakeLists.txt:818 (message):
  Could not find headers of used third-party products:
  3RDPARTY_VTK_INCLUDE_DIR

fmt.log.txt So Cemu is still broken for me.

Tatsh commented 1 year ago

That error is not from building Cemu. The log shows it's from building opencascade. Please report that to Gentoo.

You should be able to update to 9.1.0 as almost everything that needed <9.1.0 is now updated (like Dolphin emulator). My Yuzu ebuild was blocking 9.1.0 which I considered highly detrimental as it was the only package doing that on my machines.

ghost commented 1 year ago

Oh. Ok. I'll do.

ghost commented 1 year ago

The Cemu package is still broken, it won't compile, even after the right version of VTK has been installed, it still believes it should use the previous version of VTK, see the logs \: https://gist.github.com/53a7abad9da23c639e2e6a99de6b8d5f

VTK 9.1.0 is installed and VTK 8.1.1 isn't installed by the way.

Tatsh commented 1 year ago

That is not the issue. Your issue is that fmt must be version 9.1.0. If something else is preventing that update you need to fix that.

ghost commented 1 year ago

Oh. Right. Sorry I'm dumb. I didn't sleep last night ... Fixed.

Edit : Generally a package should prompt the user to add the missing keywords when a specific version of another package is required as a dependency, but in this case, it isn't working. And it seems to be the cause of other packages in my Gentoo installation.

Tatsh commented 1 year ago

The reason is because Cemu isn't asking your machine to update libfmt, and something else is blocking it from being upgraded. I can force Cemu to do that by updating the requirement. What is blocking libfmt? Try running emerge -1pv =dev-libs/libfmt-9.1.0-r1 and paste the output here.

ghost commented 1 year ago

No need. Apparently now everything is up to date, no preserved libraries except for libfmt because yuzu-9999::guru is currently broken.