Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 822441 - [guru] net-misc/moonlight-3.1.4 fails to compile
Summary: [guru] net-misc/moonlight-3.1.4 fails to compile
Status: RESOLVED FIXED
Alias: None
Product: GURU
Classification: Unclassified
Component: Package issues (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Andrew Athalye
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-11-08 14:12 UTC by Agostino Sarubbo
Modified: 2021-11-09 01:16 UTC (History)
1 user (show)

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


Attachments
build.log (build.log,200.05 KB, text/plain)
2021-11-08 14:12 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 2021-11-08 14:12:31 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: net-misc/moonlight-3.1.4 fails to compile.
Discovered on: amd64 (internal ref: guru_ci)

NOTE:
This machine uses GCC-11: https://gcc.gnu.org/gcc-11/porting_to.html
Comment 1 Agostino Sarubbo gentoo-dev 2021-11-08 14:12:33 UTC
Created attachment 749517 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2021-11-08 14:12:34 UTC
Possible context of error(s):

streaming/video/ffmpeg-renderers/drm.cpp:86:30: error: ‘union SDL_SysWMinfo::<unnamed>’ has no member named ‘kmsdrm’
Comment 3 Andrew Athalye 2021-11-08 22:31:24 UTC
Thank you for the build log, this bug appears to be related to Moonlight requiring the kms use flag for libsdl2, which I happened to have enabled on my system. I'll update that in the EBUILD asap and push a commit. Please let me know if my commit does not address the issue.
Comment 4 Andrew Athalye 2021-11-09 01:16:35 UTC
Should be fixed in commit cf1878cd50d9bb3e5277a6062fbd896462ef12c5 (https://gitweb.gentoo.org/repo/proj/guru.git/commit/?h=dev&id=cf1878cd50d9bb3e5277a6062fbd896462ef12c5). I tested this in a blank Gentoo systemd/desktop chroot, and it compiled successfully. Please reopen or let me know if you continue to experience this.

A workaround until this change is propagated down to master is to enable USE="kms" for libsdl2.