Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 1056749

Summary: Cannot rebuild ruby on RHEL7
Product: Red Hat Enterprise Linux 7 Reporter: Pat Riehecky <riehecky>
Component: rubyAssignee: Vít Ondruch <vondruch>
Status: CLOSED UPSTREAM QA Contact: BaseOS QE - Apps <qe-baseos-apps>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 7.0CC: redhatbugs, toneata
Target Milestone: rc   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-01-23 08:11:37 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:
Attachments:
Description Flags
mock config for replication none

Description Pat Riehecky 2014-01-22 20:32:10 UTC
Created attachment 854029 [details]
mock config for replication

Description of problem: after a successful compile, make check fails.


Version-Release number of selected component (if applicable):ruby-2.0.0.247-16.el7.src.rpm


How reproducible:100%


Steps to Reproduce:
1.populate minimal buildroot
2.rpmbuild --rebuild ruby-2.0.0.247-16.el7.src.rpm
3.

Actual results:
<snip>
  6) Skipped:
test_self_build(TestGemExtCmakeBuilder) [/builddir/build/BUILD/ruby-2.0.0-p247/test/rubygems/test_gem_ext_cmake_builder.rb:11]:
cmake not present
  7) Failure:
test_imaps_with_ca_file(IMAPTest) [/builddir/build/BUILD/ruby-2.0.0-p247/test/net/imap/test_imap.rb:74]:
Exception raised:
<#<OpenSSL::SSL::SSLError: SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed>>.
  8) Error:
test_starttls(IMAPTest):
IOError: closed stream
    /builddir/build/BUILD/ruby-2.0.0-p247/.ext/common/openssl/buffering.rb:318:in `syswrite'
    /builddir/build/BUILD/ruby-2.0.0-p247/.ext/common/openssl/buffering.rb:318:in `do_write'
    /builddir/build/BUILD/ruby-2.0.0-p247/.ext/common/openssl/buffering.rb:415:in `print'
    /builddir/build/BUILD/ruby-2.0.0-p247/lib/net/imap.rb:1225:in `put_string'
    /builddir/build/BUILD/ruby-2.0.0-p247/lib/net/imap.rb:1197:in `block in send_command'
    /builddir/build/BUILD/ruby-2.0.0-p247/lib/monitor.rb:211:in `mon_synchronize'
    /builddir/build/BUILD/ruby-2.0.0-p247/lib/net/imap.rb:1192:in `send_command'
    /builddir/build/BUILD/ruby-2.0.0-p247/lib/net/imap.rb:368:in `logout'
    /builddir/build/BUILD/ruby-2.0.0-p247/test/net/imap/test_imap.rb:524:in `starttls_test'
    /builddir/build/BUILD/ruby-2.0.0-p247/test/net/imap/test_imap.rb:113:in `test_starttls'
13261 tests, 2561447 assertions, 1 failures, 1 errors, 34 skips
ruby -v: ruby 2.0.0p247 (2013-06-27 revision 41674) [x86_64-linux]
make: *** [yes-test-all] Error 2
error: Bad exit status from /var/tmp/rpm-tmp.bzL5Hw (%check)
RPM build errors:
    Bad exit status from /var/tmp/rpm-tmp.bzL5Hw (%check)
</snip>

Expected results:
rebuilds without issue

Additional info:

Comment 2 Vít Ondruch 2014-01-23 08:11:37 UTC
Hi Pat,

Thank you for your bugreport. This is know issue [1] already fixed by upstream. The fix will be available in next release.



[1] https://bugs.ruby-lang.org/issues/9341