[INTPAK-10] Fix "nothing provides mono 2.0.0.0" error for ODL-infra built RPMs Created: 31/Oct/17 Updated: 15/Jan/18 Resolved: 05/Dec/17 |
|
| Status: | Closed |
| Project: | integration-packaging |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Bug | Priority: | High |
| Reporter: | Daniel Farrell | Assignee: | Daniel Farrell |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||
| Description |
|
Some RPM installs fails with:
This only seems to happen for RPMs built on ODL infra, not RPMs built on the CentOS Community Build System. There is suspicious looking RPM repo-add configuration in the Packer build logic for the VM we use when building RPMs. RelEng/Builder's Packer config for the java-builder VM (`packer/provision/java-builder.sh`): # Needed for vsemprovider build in vtn project to enable C# compilation. rpm --import "http://keyserver.ubuntu.com/pks/lookup?op=get&search=0x3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF" # Add the mono tools repository yum-config-manager -y --add-repo http://download.mono-project.com/repo/centos/ # Install the mono toolchain and nuget yum -y install mono-complete nuget Need to create a test to verify if a package has this dep issue or not. Then likely need to build in a mock env to isolate RPM build from underlying system better. |
| Comments |
| Comment by Daniel Farrell [ 01/Dec/17 ] |
|
PoC fix, but not really good long-term as it's a blacklist that needs to be maintained. Still need to test but the various issues marked as blocking this make it difficult. https://git.opendaylight.org/gerrit/#/c/66165/ Related docs: https://fedoraproject.org/wiki/Packaging:AutoProvidesAndRequiresFiltering |
| Comment by Daniel Farrell [ 05/Dec/17 ] |
|
This sandbox run shows the proposed test pass with the proposed fix, whereas it fails before the proposed fix. https://logs.opendaylight.org/sandbox/jenkins091/packaging-build-rpm-oxygen/16/console.log.gz |