Summary: | media-video/obs-studio +browser fails to compile on musl - error: 'u_long' was not declared in this scope; did you mean 'long'? | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | immolo <immoloism> |
Component: | Current packages | Assignee: | Chiitoo <chiitoo> |
Status: | CONFIRMED --- | ||
Severity: | normal | CC: | chiitoo, immoloism, ionen |
Priority: | Normal | Keywords: | PullRequest |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: | https://github.com/gentoo/gentoo/pull/37893 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | build log |
Description
immolo
2024-06-10 15:39:53 UTC
considering USE=browser uses prebuilt binaries linked with glibc, it probably doesn't matter whether it builds or not and USE should just be masked I have a vague memory of this working on musl before however let me confirm this and then I'll add the mask as a PR based on those findings. (In reply to immolo from comment #2) > I have a vague memory of this working on musl before however let me confirm > this and then I'll add the mask as a PR based on those findings. fwiw haven't tried browser on non-glibc (maybe it's able to use another browser? albeit it'd be surprising), but it bundles prebuilt CEF to open webpages and has the usual e.g. QA_PREBUILT=" usr/lib*/obs-plugins/chrome-sandbox So I'd assume obs starts fine but once you try to open webpages it'll fail. I suppose similar to 922163 [1], things would be better here if we could build said binaries as well, but that would also likely not be supported by upstream... 1. https://bugs.gentoo.org/922163 The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f1dc6e386d2e91eeab53d796c764e522a78daa75 commit f1dc6e386d2e91eeab53d796c764e522a78daa75 Author: Ian Jordan <immoloism@gmail.com> AuthorDate: 2024-08-01 05:13:49 +0000 Commit: Jimi Huotari <chiitoo@gentoo.org> CommitDate: 2024-08-22 05:57:01 +0000 profiles/features/musl: media-video/obs-studio mask browser USE flag Browser binary is currently built against glibc so masking for now. Bug: https://bugs.gentoo.org/934005 Closes: https://github.com/gentoo/gentoo/pull/37893 Signed-off-by: Ian Jordan <immoloism@gmail.com> Signed-off-by: Jimi Huotari <chiitoo@gentoo.org> profiles/features/musl/package.use.mask | 4 ++++ 1 file changed, 4 insertions(+) |