Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 894370 - 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]
Summary: net-libs/nodejs-18.19.1 fails to compile (MUSL-CLANG-SYSTEM): bit-field.h:43:...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: William Hubbs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: c99-porting
  Show dependency tree
 
Reported: 2023-02-14 09:58 UTC by Agostino Sarubbo
Modified: 2024-03-11 08:07 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log.xz (build.log.xz,33.97 KB, application/x-xz)
2023-02-14 09:58 UTC, Agostino Sarubbo
Details
Seems like it's fixed with net-libs/nodejs-20.5.0 (nodejs-build.log.tar.gz,93.96 KB, text/plain)
2023-07-30 09:47 UTC, listout
Details

Note You need to log in before you can comment on or make changes to this bug.
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 listout 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.