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 1287015

Summary: endian issue which causes libminc-2.3.00-1 build failure
Product: [Fedora] Fedora Reporter: Than Ngo <than>
Component: libmincAssignee: Igor Gnatenko <ignatenko>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 23CC: ignatenko, neuro-sig, than
Target Milestone: ---   
Target Release: ---   
Hardware: ppc64   
OS: Linux   
Whiteboard:
Fixed In Version: libminc-2.3.00-2.fc23 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-12-13 04:23:43 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: 1071880    

Description Than Ngo 2015-12-01 10:56:47 UTC
the following tescase failed and caused the libminc-2.3.00-1 build failure

Start 45: minc2-label-test
45: Test command: /builddir/build/BUILD/libminc-libminc-2-3-00/build/testdir/minc2-label-test
45: Test timeout computed to be: 1500
45: /builddir/build/BUILD/libminc-libminc-2-3-00/libsrc2/label.c:120 (from MINC2): HDF5 function H5Tenum_nameof failed
45: /builddir/build/BUILD/libminc-libminc-2-3-00/libsrc2/label.c:148 (from MINC2): HDF5 function H5Tenum_valueof failed
45: Error reported on line #172, miget_label_value, White: -256
45: Error reported on line #175, miget_label_value, Blue: -256
45: Error reported on line #261, Voxel is not blue: 65280
45: Error reported on line #256, Voxel is not white: 0
45: Error reported on line #261, Voxel is not blue: 65280
45: Error reported on line #256, Voxel is not white: 0
45: Error reported on line #261, Voxel is not blue: 65280
45: Error reported on line #256, Voxel is not white: 0
45: Error reported on line #261, Voxel is not blue: 65280
45: Error reported on line #256, Voxel is not white: 0
45: Error reported on line #261, Voxel is not blue: 65280
45: Error reported on line #256, Voxel is not white: 0
45: Error reported on line #261, Voxel is not blue: 65280
45: Error reported on line #256, Voxel is not white: 0
45: Error reported on line #261, Voxel is not blue: 65280
45: Error reported on line #256, Voxel is not white: 0
45: Error reported on line #261, Voxel is not blue: 65280
45: Error reported on line #256, Voxel is not white: 0
45: Error reported on line #261, Voxel is not blue: 65280
45: Error reported on line #256, Voxel is not white: 0
45: Error reported on line #261, Voxel is not blue: 65280
45: Error reported on line #256, Voxel is not white: 0
45: Error reported on line #261, Voxel is not blue: 65280
45: Error reported on line #256, Voxel is not white: 0
45: Error reported on line #261, Voxel is not blue: 65280
45: Error reported on line #256, Voxel is not white: 0
45: 26 errors reported
45: Creating label image !! 
45:  0 
45:  6 
45: Number of defined labels 6 
45: Print label file with file order x,y,z 
45:        0 ffffff00 80808000     ff00   ff0000 ff000000  
45:        0 ffffff00 80808000     ff00   ff0000 ff000000  
45:        0 ffffff00 80808000     ff00   ff0000 ff000000  
45:        0 ffffff00 80808000     ff00   ff0000 ff000000  
45: Print label file with apparent order z,y,x 
45:        0 80808000   ff0000 80808000   ff0000        0  
45:   ff0000        0 80808000        0 80808000   ff0000  
45: ffffff00     ff00 ff000000     ff00 ff000000 ffffff00  
45: ff000000 ffffff00     ff00 ffffff00     ff00 ff000000  
45/51 Test #45: minc2-label-test .................***Failed    0.01 sec


for more infos please take a look at
http://ppc.koji.fedoraproject.org/kojifiles/work/tasks/389/2950389/build.log

Comment 1 Igor Gnatenko 2015-12-01 10:59:52 UTC
https://github.com/BIC-MNI/libminc/issues/64#issuecomment-160604004

Can you try that patch mentioned in link?

Comment 2 Than Ngo 2015-12-01 12:26:57 UTC
sure, i will try the patch and report the results today.

Comment 3 Than Ngo 2015-12-01 13:52:01 UTC
Igor, i tested the patch and comfirmed that it fixes the issue.
Could you please add the fix in your next build?

Thanks

Comment 4 Fedora Update System 2015-12-02 21:37:12 UTC
libminc-2.3.00-2.fc23 has been submitted as an update to Fedora 23. https://bodhi.fedoraproject.org/updates/FEDORA-2015-a6ab47275f

Comment 5 Fedora Update System 2015-12-02 21:37:18 UTC
libminc-2.3.00-2.fc23 has been submitted as an update to Fedora 23. https://bodhi.fedoraproject.org/updates/FEDORA-2015-a6ab47275f

Comment 6 Fedora Update System 2015-12-04 01:38:33 UTC
libminc-2.3.00-2.fc23 has been pushed to the Fedora 23 testing repository. If problems still persist, please make note of it in this bug report.
If you want to test the update, you can install it with
$ su -c 'dnf --enablerepo=updates-testing update libminc'
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2015-a6ab47275f

Comment 7 Fedora Update System 2015-12-13 04:23:35 UTC
libminc-2.3.00-2.fc23 has been pushed to the Fedora 23 stable repository. If problems still persist, please make note of it in this bug report.