Bug 1856776

Summary: The nodejs:12/development module is not installable
Product: Red Hat Enterprise Linux 8 Reporter: Matt Prahl <mprahl>
Component: nodejsAssignee: Zuzana Svetlikova <zsvetlik>
Status: CLOSED CURRENTRELEASE QA Contact: Lukáš Zachar <lzachar>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 8.1CC: hhorak, jhouska, jkejda, vondruch, zsvetlik
Target Milestone: rcKeywords: TestCaseNeeded, ZStream
Target Release: 8.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: nodejs-12.18.4-2.module+el8.2.0+8361+192e434e Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1883965 1883966 (view as bug list) Environment:
Last Closed: 2020-11-12 12:20:06 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1891466    
Bug Blocks: 1883965, 1883966    

Description Matt Prahl 2020-07-14 12:45:46 UTC
Description of problem:
When running `dnf module install nodejs:12/development` on RHEL 8.1 (though the module is from RHEL 8.2), the following is displayed:
```
Error: 
 Problem: cannot install the best candidate for the job
  - nothing provides brotli-devel(x86-64) needed by nodejs-devel-1:12.18.2-1.module+el8.2.0+7233+61d664c1.x86_64
```

If I do run it with `--nobest`, then it will install but the `nodejs-devel` RPM is skipped, which is undesirable.


Version-Release number of selected component (if applicable):

nodejs:12:8020020200630155331:4cda2c84/development

How reproducible:

Consistent

Steps to Reproduce:
1. dnf module install nodejs:12/development

Actual results:
```
Error: 
 Problem: cannot install the best candidate for the job
  - nothing provides brotli-devel(x86-64) needed by nodejs-devel-1:12.18.2-1.module+el8.2.0+7233+61d664c1.x86_64
```


Expected results:
The module should install.


Additional info:

The previous version works with `dnf module install nodejs:12:8020020200326104117/development`.

Comment 2 Honza Horak 2020-07-16 14:09:32 UTC
brotli-devel is available in CRB. So, this issue can be easily work-arounded by enabling Code Ready Builder repo.

Comment 4 Matt Prahl 2020-07-16 19:06:22 UTC
We need to be able to build Node.js apps using multistage builds using UBI 8 and I don't see brotli-devel in the UBI CRB repo:
https://cdn-ubi.redhat.com/content/public/ubi/dist/ubi8/8/x86_64/codeready-builder/os/