Bug 2277105 - rubygem-curb broken by curl 8.7.1
Summary: rubygem-curb broken by curl 8.7.1
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: curl
Version: 40
Hardware: Unspecified
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Jan Macku
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2024-04-25 07:34 UTC by Vít Ondruch
Modified: 2024-08-02 05:51 UTC (History)
8 users (show)

Fixed In Version: curl-8.6.0-10.fc40
Clone Of:
Environment:
Last Closed: 2024-08-02 05:51:22 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Vít Ondruch 2024-04-25 07:34:50 UTC
rubygem-curb seems to be broken since curl 8.7.1 update:

https://koschei.fedoraproject.org/package/rubygem-curb?collection=f41

The specific issue might look like:

~~~
===============================================================================
Error: test_put(TestCurl): Curl::Err::ReadError: Failed to open/read local data from file/application: client read function EOF fail, only only 6/7 of needed bytes read
/builddir/build/BUILD/curb-1.0.5/usr/share/gems/gems/curb-1.0.5/lib/curl/easy.rb:80:in `perform'
/builddir/build/BUILD/curb-1.0.5/usr/share/gems/gems/curb-1.0.5/lib/curl.rb:26:in `http'
/builddir/build/BUILD/curb-1.0.5/usr/share/gems/gems/curb-1.0.5/lib/curl.rb:26:in `http'
/builddir/build/BUILD/curb-1.0.5/usr/share/gems/gems/curb-1.0.5/lib/curl.rb:39:in `put'
/builddir/build/BUILD/curb-1.0.5/usr/share/gems/gems/curb-1.0.5/tests/tc_curl.rb:20:in `test_put'
     17:   end
     18: 
     19:   def test_put
  => 20:     curl = Curl.put(TestServlet.url, {:foo => "bar"})
     21:     assert_equal "PUT\nfoo=bar",  curl.body_str
     22:   end
     23: 
===============================================================================
Finished in 2.610656656 seconds.
-------------------------------------------------------------------------------
180 tests, 622 assertions, 0 failures, 7 errors, 0 pendings, 0 omissions, 0 notifications
96.1111% passed
-------------------------------------------------------------------------------
~~~

Reproducible: Always




BTW just seconds ago I have reported bug 2277103 against FFI. But what is interesting is that the rubygem-ethon also uses Curl and one of the updated dependencies was Curl. It might not be FFI issue after all. Not sure

Comment 1 Jan Macku 2024-05-22 14:32:19 UTC
Could you please test with curl-8.8.0-1.fc41

Comment 2 Mamoru TASAKA 2024-07-30 11:23:54 UTC
I think this should be fixed in rubygem-curb side:

ref:
https://github.com/taf2/curb/issues/451
https://github.com/taf2/curb/pull/453
https://src.fedoraproject.org/rpms/rubygem-curb/pull-request/8

Comment 3 Fedora Update System 2024-07-31 07:22:57 UTC
FEDORA-2024-9b00b19216 (curl-8.6.0-10.fc40) has been submitted as an update to Fedora 40.
https://bodhi.fedoraproject.org/updates/FEDORA-2024-9b00b19216

Comment 4 Fedora Update System 2024-08-01 01:24:36 UTC
FEDORA-2024-9b00b19216 has been pushed to the Fedora 40 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2024-9b00b19216`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2024-9b00b19216

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 5 Vít Ondruch 2024-08-01 09:41:06 UTC
Curb build on Rawhide just fine:

https://bodhi.fedoraproject.org/updates/FEDORA-2024-6437bb8182

Thx for the fix

Comment 6 Fedora Update System 2024-08-02 05:51:22 UTC
FEDORA-2024-9b00b19216 (curl-8.6.0-10.fc40) has been pushed to the Fedora 40 stable repository.
If problem still persists, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.