RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 2056969 - nodejs: Specify --with-default-icu-data-dir when using bootstrap build
Summary: nodejs: Specify --with-default-icu-data-dir when using bootstrap build
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise Linux 9
Classification: Red Hat
Component: nodejs
Version: CentOS Stream
Hardware: Unspecified
OS: Unspecified
low
low
Target Milestone: rc
: 9.1
Assignee: Jan Staněk
QA Contact: Jan Houska
URL:
Whiteboard:
Depends On:
Blocks: 2056971 2056972 2124299
TreeView+ depends on / blocked
 
Reported: 2022-02-22 13:18 UTC by Jan Staněk
Modified: 2023-08-22 07:29 UTC (History)
4 users (show)

Fixed In Version: nodejs-16.14.0-5.el9
Doc Type: No Doc Update
Doc Text:
Clone Of:
: 2056971 2056972 2124299 (view as bug list)
Environment:
Last Closed: 2023-08-21 14:58:56 UTC
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker RHELPLAN-112982 0 None None None 2022-02-22 13:20:01 UTC

Description Jan Staněk 2022-02-22 13:18:08 UTC
Description of problem: The configure option `--with-icu-default-data-dir` is not specified when using bootstrap build (rpmbuild --with=bootstrap). This causes the runtime to not use the full ICU data even if they are provided (package nodejs-full-i18n is installed).

*This is not currently an issue in CentOS Stream.* However, it will became an issue when/if modules are introduced. It is an issue in other RHEL releases.

---

With a test file `test-i18n.js`:

const january = new Date(9e8);
const spanish = new Intl.DateTimeFormat('es', { month: 'long' });
console.log(spanish.format(january));


When the data are not found:
$ node ./test-i18n.js
January

When the full data are found:
$ node ./test-i18n.js
enero

Comment 4 Jan Staněk 2022-03-29 13:20:33 UTC
Proposed fix MR: https://gitlab.com/redhat/centos-stream/rpms/nodejs/-/merge_requests/12


Note You need to log in before you can comment on or make changes to this bug.