View Issue Details

IDProjectCategoryView StatusLast Update
0017047CentOS-8dnfpublic2020-04-05 21:39
Reportersffc Assigned To 
Status newResolutionopen 
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?

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