Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 371527

Summary: =media-libs/lcms-2.2: tests fail with bus error
Product: Gentoo Linux Reporter: Matt Turner <mattst88>
Component: New packagesAssignee: Printing Team <printing>
Status: RESOLVED FIXED    
Severity: normal CC: qa
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 371525    

Description Matt Turner gentoo-dev 2011-06-13 22:07:11 UTC
lcms-2.2 causes a bus error (due to an unaligned access) and fails the tests on mips (and other architectures as well)


LittleCMS 2.02 test bed Jun 10 2011 20:09:08

Installing debug memory plug-in ... done.
Installing error logger ... done.
Supported intents:
        0 - Perceptual
        1 - Relative colorimetric
        2 - Saturation
        3 - Absolute colorimetric
        10 - Perceptual preserving black ink
        11 - Relative colorimetric preserving black ink
        12 - Saturation preserving black ink
        13 - Perceptual preserving black plane
        14 - Relative colorimetric preserving black plane
        15 - Saturation preserving black plane

Checking Creation of test profiles .../var/tmp/portage/media-libs/lcms-2.2/temp/environment: line 2173:  3511 Bus error               ./testcms
Comment 1 Sergei Trofimovich (RETIRED) gentoo-dev 2011-08-12 18:29:58 UTC
Reproduced on sparc32 and tested there patch from upstream.

[ I don't quite like the patch, so asked that one for upstream inclusion:
https://github.com/trofi/Little-CMS/commit/7dc457110798939de2f42488aa14cb8c90128bb5 ]

>  12 Aug 2011; Sergei Trofimovich <slyfox@gentoo.org> lcms-2.2-r1.ebuild,
>  +files/lcms-2.2-fix-test-on-sparc.patch:
>  Fix FEATURES=test SIGBUS failure on sparc32. bug #371527 by Matt Turner,
>  patch is from upstream.

Thanks, Matt!