Summary: | media-radio/xlog-2.0.24 fails to compile: gui_tracedialog.c:70:16: error: assignment of read-only variable stderr | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Agostino Sarubbo <ago> |
Component: | Current packages | Assignee: | Thomas Beierlein <tomjbe> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | build.log |
Description
Agostino Sarubbo
2022-01-28 22:27:19 UTC
Created attachment 763852 [details]
build.log
build log and emerge --info
Upstream tries to switch stderr back and forth for diagnostic reasons. That does not go well as Musl team had decided to interpret the standard strict and made stdin, stdout and stderr constant (see discussion on https://listman.redhat.com/archives/linux-lvm/2016-February/msg00027.html) A possible fix is in the work. Mail to upstream is sent. Lets see how it goes. No feedback from upstream. Will merge in fix shortly. The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bd4276c164ab0e8cd3bd81d75f9275de11338a04 commit bd4276c164ab0e8cd3bd81d75f9275de11338a04 Author: Thomas Beierlein <tomjbe@gentoo.org> AuthorDate: 2022-03-20 14:42:22 +0000 Commit: Thomas Beierlein <tomjbe@gentoo.org> CommitDate: 2022-03-20 14:42:22 +0000 media-radio/xlog: Avoid writing to read only stderr varaible in musl C Closes: https://bugs.gentoo.org/832236 Signed-off-by: Thomas Beierlein <tomjbe@gentoo.org> media-radio/xlog/files/xlog-2.0.24-musl.patch | 51 +++++++++++++++++++++++++++ media-radio/xlog/xlog-2.0.24.ebuild | 3 +- 2 files changed, 53 insertions(+), 1 deletion(-) (In reply to Thomas Beierlein from comment #3) > No feedback from upstream. > Will merge in fix shortly. Nice work and thanks for digging into this! |