[CDRIVER-3509] Upgrade Fedora used in build_snapshot_rpm.sh and remove spec.patch file Created: 29/Jan/20  Updated: 28/Oct/23  Resolved: 22/Jul/20

Status: Closed
Project: C Driver
Component/s: None
Affects Version/s: None
Fix Version/s: 1.17.0

Type: Improvement Priority: Major - P3
Reporter: Kevin Albertson Assignee: Roberto Sanchez
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends

 Description   

In CDRIVER-3496 a change to the file ./.evergreen/spec.patch was needed to skip building against libmongocrypt in the build_snapshot_rpm.sh. Without the patch, the task was failing to find the dependent libmongocrypt package with an error like:

No matching package to install: 'cmake(mongocrypt)'

Example failing patch build.

The Fedora package page for libmongocrypt indicates the package is available for Fedora 30+. build_snapshot_rpm.sh, on this line builds a chroot environment with Fedora 29. But naively changing it to Fedora 30 resulted in the same failure for me testing with a spawn host.



 Comments   
Comment by Githook User [ 22/Jul/20 ]

Author:

{'name': 'Roberto C. Sánchez', 'email': 'roberto@connexer.com', 'username': 'rcsanchez97'}

Message: CDRIVER-3509 fix rpm-package-build task
Branch: master
https://github.com/mongodb/mongo-c-driver/commit/69eef997e71cb1478b50604f97bb64427e31d59a

Comment by Roberto Sanchez [ 22/Apr/20 ]

As of April 15th, the rpm-package-build task is persistently failing. The current failure seems to result from the downstream maintainer's update on April 15th to the 1.17.0 beta release of the C driver. The pre-release version macro seems to confuse the rpmbuild utility in the Fedora 29 environment that we are currently configured to use. We should see how we might update to a Fedora 32 or 33 environment for the mock build.

Generated at Wed Feb 07 21:18:15 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.