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

Bug 896412

Summary: media-sound/audacious-4.2 fails to compile (MUSL-CLANG-SYSTEM): vfs.h:78:62: error: integer value -1 is outside the valid range of values [0, 3] for this enumeration type [-Wenum-constexpr-conversion]
Product: Gentoo Linux Reporter: Agostino Sarubbo <ago>
Component: Current packagesAssignee: Gentoo Sound Team <sound>
Status: RESOLVED FIXED    
Severity: normal CC: fordfrog
Priority: Normal Keywords: PullRequest
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://github.com/gentoo/gentoo/pull/31980
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 870412    
Attachments: build.log

Description Agostino Sarubbo gentoo-dev 2023-02-25 07:28:03 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: media-sound/audacious-4.2 fails to compile (MUSL-CLANG-SYSTEM).
Discovered on: amd64 (internal ref: tinderbox_musl)

NOTE:
(MUSL-CLANG-SYSTEM) in the summary means that bug was found on a machine that runs MUSL libc + clang16 but this bug MAY or MAY NOT BE related to musl/clang16.
Comment 1 Agostino Sarubbo gentoo-dev 2023-02-25 07:28:05 UTC
Created attachment 854518 [details]
build.log

build log and emerge --info
Comment 2 Miroslav Šulc gentoo-dev 2023-05-10 05:18:14 UTC
is 4.3+ still affected?
Comment 3 Andrei Corduneanu 2023-07-20 21:30:38 UTC
I was able to reproduce on 4.3.1 with glibc + clang16.
It builds fine with gcc.
Comment 4 Larry the Git Cow gentoo-dev 2023-07-22 06:37:59 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=84011e51778257bb65cfce4adde9833f64ed596c

commit 84011e51778257bb65cfce4adde9833f64ed596c
Author:     x7upLime <andrew@andrewdomain.com>
AuthorDate: 2023-07-20 23:09:47 +0000
Commit:     Miroslav Šulc <fordfrog@gentoo.org>
CommitDate: 2023-07-22 06:37:51 +0000

    media-sound/audacious: VFS_SEEK enum backporting
    
    backported from:
    https://github.com/audacious-media-player/audacious/pull/64
    
    Closes: https://bugs.gentoo.org/896412
    Signed-off-by: Andrei Corduneanu <andrew@andrewdomain.com>
    Closes: https://github.com/gentoo/gentoo/pull/31980
    Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org>

 media-sound/audacious/audacious-4.3.1.ebuild       |  4 +++
 .../files/audacious-enum-backporting.patch         | 35 ++++++++++++++++++++++
 2 files changed, 39 insertions(+)