Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.

Bug 1097109

Summary: taglib build-in tests fail on BE machines
Product: [Fedora] Fedora Reporter: Jakub Čajka <jcajka>
Component: taglibAssignee: Rex Dieter <rdieter>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 20CC: dan, drizt72, rdieter
Target Milestone: ---   
Target Release: ---   
Hardware: ppc64   
OS: Linux   
Whiteboard:
Fixed In Version: taglib-1.9.1-5.fc20 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-06-01 22:23:33 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:
Bug Depends On:    
Bug Blocks: 467765, 1071880, 1097111    
Attachments:
Description Flags
taglib fix none

Description Jakub Čajka 2014-05-13 07:35:47 UTC
Created attachment 895027 [details]
taglib fix

Description of problem:
taglib build-in tests fail on big-endian machines

How reproducible:
Always 

Steps to Reproduce:
1. build package on BE machine
2. run tests

Actual results:
tests fail

Expected results:
tests will pass

Additional info:
There is a problem with byte swaping in copyFromUTF16(const char ...) in tstring.cpp on BE. And few missing delete in FLAC test suite, it seems file changes are not wrtten to disk until FLAC file handling class is released.

In attachment is patch fixing both problems. It applies cleanly against both upstream and fedora sources. I have tested it on x86_64 and ppc64 with no problems. I will post link to this BZ to upstream gitHub issues tarcker(https://github.com/taglib/taglib/issues).

Comment 1 Jakub Čajka 2014-05-13 07:45:31 UTC
Link to upstream tracker https://github.com/taglib/taglib/issues/384.

Comment 2 Fedora Update System 2014-05-15 09:58:11 UTC
taglib-1.9.1-5.fc19 has been submitted as an update for Fedora 19.
https://admin.fedoraproject.org/updates/taglib-1.9.1-5.fc19

Comment 3 Fedora Update System 2014-05-15 09:58:21 UTC
taglib-1.9.1-5.fc20 has been submitted as an update for Fedora 20.
https://admin.fedoraproject.org/updates/taglib-1.9.1-5.fc20

Comment 4 Fedora Update System 2014-05-16 10:07:41 UTC
Package taglib-1.9.1-5.fc20:
* should fix your issue,
* was pushed to the Fedora 20 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing taglib-1.9.1-5.fc20'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2014-6412/taglib-1.9.1-5.fc20
then log in and leave karma (feedback).

Comment 5 Fedora Update System 2014-06-01 22:23:33 UTC
taglib-1.9.1-5.fc19 has been pushed to the Fedora 19 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 6 Fedora Update System 2014-06-01 22:25:32 UTC
taglib-1.9.1-5.fc20 has been pushed to the Fedora 20 stable repository.  If problems still persist, please make note of it in this bug report.