Bug 34384 - nodejs-22.16.0-1.mga9 is blocking builds for i586
Summary: nodejs-22.16.0-1.mga9 is blocking builds for i586
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: 9
Hardware: i586 Linux
Priority: Normal major
Target Milestone: ---
Assignee: QA Team
QA Contact:
URL:
Whiteboard: MGA9-64-OK
Keywords: advisory, validated_update
Depends on:
Blocks: 34337 34338 33674
  Show dependency treegraph
 
Reported: 2025-06-19 18:58 CEST by katnatek
Modified: 2025-06-25 07:32 CEST (History)
5 users (show)

See Also:
Source RPM: nodejs-22.16.0-1.mga9
CVE:
Status comment:


Attachments

Description katnatek 2025-06-19 18:58:58 CEST
Description of problem:

Packages that depend on nodejs to build have issues to build, the build never end or fail in some point after lot of time


Steps to reproduce:

Build yarnpkg, firefox, thunderbird in i586, arm
katnatek 2025-06-19 18:59:57 CEST

Blocks: (none) => 34337, 34338
CC: (none) => nicolas.salguero

katnatek 2025-06-19 19:00:40 CEST

Blocks: (none) => 33674

Comment 1 katnatek 2025-06-21 04:18:08 CEST
I test my theory forcing the previous nodejs (and back to use 8 cores) in firefox build for mageia 9 i586

BuildRequires:  nodejs-libs == 1:22.13.1-2.mga9
BuildRequires:  nodejs == 1:22.13.1-2.mga9

The build ends in 2 hrs

So is this an acceptable solution to build firefox 128.11.0 for i586 or what must do?
Comment 2 katnatek 2025-06-22 19:20:03 CEST
I got success rebuilding nodejs 22.16.0 with sse2 in i586 and then build firefox for i586

As I not find other solution, I'll send the change for nodejs
Comment 3 katnatek 2025-06-22 20:01:23 CEST
yarnpkg also build for mga 9 i586 with the suggested changes
Comment 4 Morgan Leijström 2025-06-22 23:16:27 CEST
Good work :-)

So hopefully we can build i586 of both FF and TB of the versions currently in QA.

CC: (none) => fri

Comment 5 katnatek 2025-06-22 23:17:55 CEST
(In reply to Morgan Leijström from comment #4)
> Good work :-)
> 
> So hopefully we can build i586 of both FF and TB of the versions currently
> in QA.

I hope so, I need to determine why fail in mageia's BS after a minimal change :S
Comment 6 katnatek 2025-06-24 08:01:31 CEST
RPMS:
nodejs-22.16.0-4.mga9
nodejs-devel-22.16.0-4.mga9
nodejs-docs-22.16.0-4.mga9
nodejs-libs-22.16.0-4.mga9
npm-10.9.2-1.22.16.0.4.mga9
v8-devel-12.4.254.21.mga9-5.mga9

SRPM:
nodejs-22.16.0-4.mga9

The packages were used to build
yarnpkg & firefox for all architectures

The reported fail for firefox armv7hl
AFAIK is not related with these packages

Assignee: pkg-bugs => qa-bugs

Comment 7 Herman Viaene 2025-06-24 15:58:20 CEST
MGA9-64 server Plasma Wayland on Compaq H000SB
No installation issues.
Ref bugs 34278 and 33033 (has test file) for tests.
$ npm ls -g
/usr/lib
├── corepack@0.32.0
└── npm@10.9.2

npm notice
npm notice New major version of npm available! 10.9.2 -> 11.4.2
npm notice Changelog: https://github.com/npm/cli/releases/tag/v11.4.2
npm notice To update run: npm install -g npm@11.4.2
npm notice
$ npm ls
tester9@1.0.0 /home/tester9
└── (empty)

[tester9@mach3 ~]$ npm install express

added 67 packages, and audited 68 packages in 17s

14 packages are looking for funding
  run `npm fund` for details

found 0 vulnerabilities
$ npm ls
tester9@1.0.0 /home/tester9
└── express@5.1.0

$ npm install express5
npm warn deprecated string-similarity@4.0.4: Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.

added 45 packages, and audited 113 packages in 21s

18 packages are looking for funding
  run `npm fund` for details

4 low severity vulnerabilities

Some issues need review, and may require choosing
a different dependency.

Run `npm audit` for details.

$ ls node_modules
 abstract-logging/          ee-first/                     fast-safe-stringify/   json-schema-traverse/   punycode/                 serve-static/
 accepts/                   encodeurl/                    fast-uri/              light-my-request/       qs/                       set-cookie-parser/
 ajv/                       escape-html/                  finalhandler/          math-intrinsics/        queue-microtask/          setprototypeof/
 archy/                     es-define-property/           find-my-way/           media-typer/            quick-format-unescaped/   side-channel/
 atomic-sleep/              es-errors/                    flatstr/               merge-descriptors/      range-parser/             side-channel-list/
 avvio/                     es-object-atoms/              forwarded/             mime-db/                raw-body/                 side-channel-map/
 body-parser/               etag/                         fresh/                 mime-types/             require-from-string/      side-channel-weakmap/
 bytes/                     express/                      function-bind/         ms/                     ret/                      sonic-boom/
 call-bind-apply-helpers/   express5/                     get-intrinsic/         negotiator/             reusify/                  statuses/
 call-bound/                fast-content-type-parse/      get-proto/             object-inspect/         rfdc/                     string-similarity/
 content-disposition/       fast-decode-uri-component/    gopd/                  once/                   router/                   tiny-lru/
 content-type/              fast-deep-equal/              hasown/                on-finished/            safe-buffer/              toidentifier/
 cookie/                   '@fastify'/                    has-symbols/           parseurl/               safer-buffer/             type-is/
 cookie-signature/          fastify/                      http-errors/           path-to-regexp/         safe-regex2/              unpipe/
 debug/                     fast-json-stable-stringify/   iconv-lite/            pino/                   secure-json-parse/        uri-js/
 deepmerge/                 fast-json-stringify/          inherits/              pino-std-serializers/   semver/                   vary/
 depd/                      fastq/                        ipaddr.js/             process-warning/        semver-store/             wrappy/
 dunder-proto/              fast-redact/                  is-promise/            proxy-addr/             send/

$ node server.js 
Server running at http://127.0.0.1:3000/
http://http://127.0.0.1:3000/

Shows: Hello World

^C
[tester9@mach3 Documents]$ node
Welcome to Node.js v22.16.0.
Type ".help" for more information.
> 1+1
2
> a=2
2
> b=4
4
> a*b
8
> 

All looks good.

Whiteboard: (none) => MGA9-64-OK
CC: (none) => herman.viaene

katnatek 2025-06-24 19:53:28 CEST

Summary: nodejs-22.16.0-1.mga9 is blocking builds for i586 (& arm?) => nodejs-22.16.0-1.mga9 is blocking builds for i586
Keywords: (none) => advisory

Comment 8 katnatek 2025-06-24 20:11:59 CEST
RH x86_64

Updated with other package not related

installing /var/cache/urpmi/rpms/inkscape-1.4.2-1bdk_mga9.x86_64.rpm                                                                
//home/katnatek/qa-testing/x86_64/nodejs-docs-22.16.0-4.mga9.noarch.rpm
//home/katnatek/qa-testing/x86_64/npm-10.9.2-1.22.16.0.4.mga9.x86_64.rpm
//home/katnatek/qa-testing/x86_64/v8-devel-12.4.254.21.mga9-5.mga9.x86_64.rpm
//home/katnatek/qa-testing/x86_64/nodejs-devel-22.16.0-4.mga9.x86_64.rpm
//home/katnatek/qa-testing/x86_64/nodejs-22.16.0-4.mga9.x86_64.rpm
//home/katnatek/qa-testing/x86_64/nodejs-libs-22.16.0-4.mga9.x86_64.rpm
Preparing...                     ##################################################################################################
      1/7: nodejs-libs           ##################################################################################################
      2/7: nodejs                ##################################################################################################
      3/7: npm                   ##################################################################################################
      4/7: nodejs-devel          ##################################################################################################
      5/7: v8-devel              ##################################################################################################
      6/7: nodejs-docs           ##################################################################################################
      7/7: inkscape              ##################################################################################################
      1/7: removing v8-devel-2:12.4.254.21.mga9-4.mga9.x86_64
                                 ##################################################################################################
      2/7: removing nodejs-devel-1:22.16.0-1.mga9.x86_64
                                 ##################################################################################################
      3/7: removing nodejs-docs-1:22.16.0-1.mga9.noarch
                                 ##################################################################################################
      4/7: removing nodejs-1:22.16.0-1.mga9.x86_64
                                 ##################################################################################################
      5/7: removing npm-1:10.9.2-1.22.16.0.1.mga9.x86_64
                                 ##################################################################################################
      6/7: removing nodejs-libs-1:22.16.0-1.mga9.x86_64
                                 ##################################################################################################
      7/7: removing inkscape-1.4-1bdk_mga9.x86_64
                                 ##################################################################################################

With the Herman test and the firefox, thunderbird and yarnpkg updates the packages have a good test I think

CC: (none) => andrewsfarm

Comment 9 Thomas Andrews 2025-06-25 01:07:18 CEST
Validating.

Keywords: (none) => validated_update
CC: (none) => sysadmin-bugs

Comment 10 Mageia Robot 2025-06-25 07:32:36 CEST
An update for this issue has been pushed to the Mageia Updates repository.

https://advisories.mageia.org/MGAA-2025-0063.html

Status: NEW => RESOLVED
Resolution: (none) => FIXED


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