Bug 804321 - FTBFS: big endian bug in self checks
Summary: FTBFS: big endian bug in self checks
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: rubygem-sqlite3
Version: 17
Hardware: powerpc
OS: Linux
high
medium
Target Milestone: ---
Assignee: Vít Ondruch
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-03-17 19:53 UTC by Karsten Hopp
Modified: 2012-04-12 03:25 UTC (History)
1 user (show)

Fixed In Version: rubygem-sqlite3-1.3.5-1.fc17
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-04-12 03:25:50 UTC
Type: ---


Attachments (Terms of Use)

Description Karsten Hopp 2012-03-17 19:53:16 UTC
Description of problem:
Self checks abort with an output mismatch, most likely because PPC is big endian:

Finished tests in 5.027547s, 42.9633 tests/s, 60.8647 assertions/s.
  1) Failure:
test_db_with_utf16(SQLite3::TestEncoding) [/builddir/build/BUILD/rubygem-sqlite3-1.3.4/usr/share/gems/gems/sqlite3-1.3.4/test/test_encoding.rb:79]:
<#<Encoding:UTF-16LE>> expected but was
<#<Encoding:UTF-16BE>>.


Version-Release number of selected component (if applicable):
rubygem-sqlite3-1.3.4-3.fc17

How reproducible:
always, see http://ppc.koji.fedoraproject.org/koji/packageinfo?packageID=11461

Steps to Reproduce:
1. ppc-koji build --scratch f17 rubygem-sqlite3-1.3.4-3.fc17.src.rpm
2.
3.
  
Actual results:
http://ppc.koji.fedoraproject.org/koji/taskinfo?taskID=447219

Expected results:


Additional info:

Comment 1 Vít Ondruch 2012-04-02 11:14:15 UTC
Hm, there were two issues which should be already fixed in latest version:

https://github.com/luislavena/sqlite3-ruby/issues/51
https://github.com/luislavena/sqlite3-ruby/issues/40

Unfortunately after update to the latest version, there is different failure:

https://github.com/luislavena/sqlite3-ruby/issues/63

Comment 2 Fedora Update System 2012-04-03 10:59:44 UTC
rubygem-sqlite3-1.3.5-1.fc17 has been submitted as an update for Fedora 17.
https://admin.fedoraproject.org/updates/rubygem-sqlite3-1.3.5-1.fc17

Comment 3 Vít Ondruch 2012-04-03 11:02:43 UTC
Hi Karsten,

I have updated the sqlite3 to the most recent version and applied the patch mentioned in [1]. I have also tested the build with ppc, so I hope it solves your issues.


[1] https://github.com/luislavena/sqlite3-ruby/issues/63

Comment 4 Fedora Update System 2012-04-04 21:11:45 UTC
Package rubygem-sqlite3-1.3.5-1.fc17:
* should fix your issue,
* was pushed to the Fedora 17 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing rubygem-sqlite3-1.3.5-1.fc17'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2012-5315/rubygem-sqlite3-1.3.5-1.fc17
then log in and leave karma (feedback).

Comment 5 Fedora Update System 2012-04-12 03:25:50 UTC
rubygem-sqlite3-1.3.5-1.fc17 has been pushed to the Fedora 17 stable repository.  If problems still persist, 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.