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

Bug 894370

Summary: net-libs/nodejs-18.19.1 fails to compile (MUSL-CLANG-SYSTEM): bit-field.h:43:29: error: integer value 3 is outside the valid range of values [0, 1] for this enumeration type [-Wenum-constexpr-conversion]
Product: Gentoo Linux Reporter: Agostino Sarubbo <ago>
Component: Current packagesAssignee: William Hubbs <williamh>
Status: CONFIRMED ---    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 870412    
Attachments: build.log.xz
Seems like it's fixed with net-libs/nodejs-20.5.0

Description Agostino Sarubbo gentoo-dev 2023-02-14 09:58:45 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: net-libs/nodejs-18.14.0 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-14 09:58:47 UTC
Created attachment 851090 [details]
build.log.xz

build log and emerge --info (compressed because it exceeds attachment limit, use 'xzless' to read it)
Comment 2 Agostino Sarubbo gentoo-dev 2023-03-07 12:46:40 UTC
tinderbox_musl has reproduced this issue with version 18.14.2 - Updating summary.
Comment 3 Aaron Nixon 2023-04-17 19:28:25 UTC
(In reply to Agostino Sarubbo from comment #2)
> tinderbox_musl has reproduced this issue with version 18.14.2 - Updating
> summary.

I have something similar using clang 16.0.1 on a non-MUSL system, in case it helps.

../deps/v8/src/base/bit-field.h:43:29: error: integer value 7 is outside the valid range of values [0, 3] for this enumeration type [-Wenum-constexpr-conversion]
Comment 4 Brahmajit Das 2023-07-30 09:47:44 UTC
Created attachment 866673 [details]
Seems like it's fixed with net-libs/nodejs-20.5.0
Comment 5 Agostino Sarubbo gentoo-dev 2024-03-11 08:07:18 UTC
clang-lld_tinderbox has reproduced this issue with version 18.19.1 - Updating summary.