Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 922493

Summary: app-misc/no-more-secrets-1.0.1 fails to compile (MUSL-SYSTEM): nmstermio.c:299:23: error: assignment of read-only variable stdin
Product: Gentoo Linux Reporter: Agostino Sarubbo <ago>
Component: Current packagesAssignee: Rick Farina (Zero_Chaos) <zerochaos>
Status: CONFIRMED ---    
Severity: normal CC: Hans.von.Hohenstaufen
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: build.log
Patch to musl system

Description Agostino Sarubbo gentoo-dev 2024-01-19 12:35:02 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: app-misc/no-more-secrets-1.0.1 fails to compile (MUSL-SYSTEM).
Discovered on: amd64 (internal ref: tinderbox_musl)

NOTE:
(MUSL-SYSTEM) in the summary means that bug was found on a machine that runs MUSL libc but this bug MAY or MAY NOT BE related to musl.
Comment 1 Agostino Sarubbo gentoo-dev 2024-01-19 12:35:04 UTC
Created attachment 882623 [details]
build.log

build log and emerge --info
Comment 2 Hans.von.Hohenstaufen 2025-02-23 19:33:37 UTC
Created attachment 919768 [details, diff]
Patch to musl system

The bug related to musl system and the solution is in the wiki.

https://wiki.gentoo.org/wiki/Musl_porting_notes#error:_assignment_of_read-only_variable_.27.5Bstdout.7Cstdin.7Cstderr.5D.27