Skip to content
This repository was archived by the owner on Apr 26, 2025. It is now read-only.
This repository was archived by the owner on Apr 26, 2025. It is now read-only.

stderr maxBuffer exceeded #17

@allan-bonadio

Description

@allan-bonadio

Hi, I was getting this to work, and I ran into this glitch. I'd run my little rpmbuilder.js program and after maybe a minute i'd get this:

Error: stderr maxBuffer exceeded

this came from child-process. At first I tried passing in an option:

  execOpts: {maxBuffer: 1e6},

but that wasn't even big enough. Finally I commended out this line in index.js:

var cmd = [
  'rpmbuild',
  '-bb',
  //'-vv',          <<<====****
  '--buildroot',
  buildRoot,
  specFile
].join(' ');

The -vv was generating gobs and gobs of output into stderr. Since it seems to be dropped anyway, you probably don't need it.

BUT, after that the program wouldn't quit. Generated the rpm file, i just have to ^C. could be my problem, but just fyi.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions