View Issue Details

IDProjectCategoryView StatusLast Update
0017047CentOS-8dnfpublic2022-02-03 22:09
Reportersffc Assigned To 
Status closedResolutionwon't fix 
OSCentosOS Version8.0 
Product Version8.0.1905 
Summary0017047: Node.js from AppStream common channel should not be built with "--debug-nghttp2"
DescriptionNode.js appears to be configured to print noisy debug output from http2 to stderr, and there is no way to suppress these messages. I originally filed this bug as, which got thrown around a couple of times before eventually figuring out the root cause of the problem.

As found by mscdex in, the rpm file for nodejs has the following flags:

#%if ! 0%%{?bootstrap}
%if %{with bootstrap}
./configure --prefix=%{_prefix}
./configure --prefix=%{_prefix}

The flag "--debug-nghttp2" appears to be what is causing these noisy messages to be printed. This would be acceptable in the development channel, but in the common channel, I expect Node.js to not print these messages.
Steps To ReproduceRun "sudo yum install nodejs", then run "node demo.js" with the following script:

const http2 = require('http2');
const client = http2.connect('');
client.on('error', (err) => console.error(err));

const req = client.request({ ':path': '/' });

req.on('response', (headers, flags) => {
  for (const name in headers) {
    console.log(`${name}: ${headers[name]}`);

let data = '';
req.on('data', (chunk) => { data += chunk; });
req.on('end', () => {
  console.log(`\nReceived ${data.length} bytes of data.`);




2020-04-05 21:39

reporter   ~0036651

Any updates?


2021-10-29 13:59

reporter   ~0038695

Any word on changing this build flag? This applies to CentOS 8 Stream as well and makes it necessary to use nodejs from source instead of the repo.


2021-10-30 08:52

manager   ~0038698

For reporting CentOS Stream bugs, please see:


2022-01-08 19:18

manager   ~0038793

CentOS Linux 8 ended its life on December 31, 2021 and, therefore, is no longer supported.

Issue History

Date Modified Username Field Change
2020-02-13 09:21 sffc New Issue
2020-02-13 09:21 sffc Tag Attached: nodejs
2020-04-05 21:39 sffc Note Added: 0036651
2021-10-29 13:59 timaw Note Added: 0038695
2021-10-30 08:52 toracat Note Added: 0038698
2022-01-08 19:18 toracat Note Added: 0038793
2022-02-03 22:09 toracat Status new => closed
2022-02-03 22:09 toracat Resolution open => won't fix