Bug 2422322

Summary: Review Request: rubygem-cgi - Support for the Common Gateway Interface protocol
Product: [Fedora] Fedora Reporter: Jarek Prokop <jprokop>
Component: Package ReviewAssignee: Nobody's working on this, feel free to take it <nobody>
Status: CLOSED WONTFIX QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: medium    
Version: rawhideCC: package-review
Target Milestone: ---Flags: jprokop: fedora-review-
Target Release: ---   
Hardware: All   
OS: Linux   
URL: https://github.com/ruby/cgi
Whiteboard:
Fixed In Version: Doc Type: ---
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2025-12-16 11:34:50 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Jarek Prokop 2025-12-15 16:49:22 UTC
Spec URL: https://fedorapeople.org/~jackorp/rpms/rubygem-cgi/rubygem-cgi.spec
SRPM URL: https://fedorapeople.org/~jackorp/rpms/rubygem-cgi/rubygem-cgi-0.5.1-1.fc44.src.rpm
Description: Support for the Common Gateway Interface protocol
Fedora Account System Username: jackorp

In preparation for Ruby 4.0, I'd like to bring this into Fedora as it was removed from the set of gems bundled with the default Ruby distribution. So far, vagrant-libvirt is known to depend on CGI.parse available in this package. See https://src.fedoraproject.org/rpms/vagrant-libvirt/pull-request/14 for more information.

Comment 1 Jarek Prokop 2025-12-15 17:02:55 UTC
Will be built after Ruby 4.0 is the latest Ruby, it is currently not expected to work correctly with Ruby 3.4.

Successful rubygem-cgi Copr build https://copr.fedorainfracloud.org/coprs/jackorp/rubygem-cgi-pkg/build/9911784/ with Ruby 4.0 from: https://copr.fedorainfracloud.org/coprs/jackorp/ruby-4.0/build/9910517/

Comment 2 Fedora Review Service 2025-12-16 05:58:22 UTC
Copr build:
https://copr.fedorainfracloud.org/coprs/build/9914378
(failed)

Build log:
https://download.copr.fedorainfracloud.org/results/@fedora-review/fedora-review-2422322-rubygem-cgi/fedora-rawhide-x86_64/09914378-rubygem-cgi/builder-live.log.gz

Please make sure the package builds successfully at least for Fedora Rawhide.

- If the build failed for unrelated reasons (e.g. temporary network
  unavailability), please ignore it.
- If the build failed because of missing BuildRequires, please make sure they
  are listed in the "Depends On" field


---
This comment was created by the fedora-review-service
https://github.com/FrostyX/fedora-review-service

If you want to trigger a new Copr build, add a comment containing new
Spec and SRPM URLs or [fedora-review-service-build] string.

Comment 3 Jarek Prokop 2025-12-16 11:34:50 UTC
Abandoning, another approach not requiring rubygem-cgi was suggested https://src.fedoraproject.org/rpms/vagrant-libvirt/pull-request/14#comment-298172 using URI.decode_www_form, allowing to skip CGI altogether, which succeeded https://github.com/vagrant-libvirt/vagrant-libvirt/pull/1866

Since there isn't other package known to require rubygem-cgi, therefore not necessary, I'd rather not bring this to Fedora yet.