Bug 2817

Summary: Issues with LSB cairo testing since uplift to libpng15
Product: Mageia Reporter: Stew Benedict <stewb>
Component: RPM PackagesAssignee: Shlomi Fish <shlomif>
Status: RESOLVED WONTFIX QA Contact:
Severity: normal    
Priority: Normal CC: marja11, shlomif, stewbintn
Version: CauldronKeywords: UPSTREAM
Target Milestone: ---   
Hardware: i586   
OS: Linux   
Whiteboard:
Source RPM: cairo-1.10.2-5.mga2.src.rpm CVE:
Status comment:

Description Stew Benedict 2011-09-23 15:53:22 CEST
Spinning this off from bug 2810. I'm seeing failures in the LSB desktop/cairo tests since the uplift to libpng15 in Mageia/Mandriva. Test output:

composite-integer-translate-source-image 4     failed     
Message from the test:

Error: Function under test left cairo status in an error state: NULL pointer


composite-integer-translate-source-xlib 5     failed     
Message from the test:

Error: Function under test left cairo status in an error state: NULL pointer

create-from-png-image 8     failed     
Message from the test:

Error: Function under test failed

create-from-png-xlib 9     failed     
Message from the test:

Error: Function under test failed

Comment:

create-from-png-stream-image 10     failed     
Message from the test:

Error: Function under test left cairo status in an error state: out of memory


create-from-png-stream-xlib 11     failed     
Message from the test:

Error: Function under test left cairo status in an error state: out of memory
Comment 1 Manuel Hiebel 2011-10-29 22:24:12 CEST
seems the package was rebuild, closing
Comment 2 Manuel Hiebel 2011-10-29 22:24:38 CEST
really close

Status: NEW => RESOLVED
Resolution: (none) => FIXED

Comment 3 Stew Benedict 2011-10-30 01:24:33 CEST
While it's nice that something was rebuilt, LSB tests still fail. I have a cauldron updated today with the same issues. If no-one @mageia is testing, I'm not sure how you're determining it's fixed?

Status: RESOLVED => REOPENED
Resolution: FIXED => (none)

Comment 4 Manuel Hiebel 2011-10-30 02:37:13 CET
ok sorry sorry.
Comment 5 Marja Van Waes 2011-12-24 23:36:22 CET
@ Stew

Is this bug still valid for current cauldron, with version 1.10.2-6.mga2 ?

cc'ing maintainer of caira, so he'll see your reply

CC: (none) => marja11, shlomif
Whiteboard: (none) => NEEDINFO

Comment 6 Marja Van Waes 2012-02-11 22:27:11 CET
@ Stew, 

could you please reply to the previous question? If you won't reply within two weeks from now, I will have to close this bug as OLD. Thank you.

Keywords: (none) => NEEDINFO
Whiteboard: NEEDINFO => (none)

Comment 7 Stew Benedict 2012-02-11 22:59:11 CET
Yes, still valid. I upload test results weekly here (for now, until/if LF infrastructure comes back):

http://stewbenedict.org/lsb/autotest/leading_edge/index.html#mageia

I don't know that there's a practical way to fix the issue, aside from linking cairo to libpng 1.2 (which I doubt you want to do), or getting upstream to integrate symbol versions or a compatible abi into 1.5. But perhaps someone knows a way.

The issue is working it's way into other leading edge distros too, Mageia was just early to switch over.

CC: (none) => stewbintn

Comment 8 Marja Van Waes 2012-02-12 13:38:29 CET
@ Stew

Did you see whether anyone filed a bug report upstream

http://cairographics.org/contact/  Bugreports

if no one did, could you please file one? (since all other distro's are getting the issue too now, upstream might start thinking of a fix)

please give a link to the report

assigning to cairo maintainer

Keywords: NEEDINFO => UPSTREAM
Assignee: bugsquad => shlomif

Comment 9 Stew Benedict 2012-02-21 01:25:24 CET
After spending some time with the tests today, I think I see what's going on. The tests are linked to both libcairo and libpng12 (LSB stubs), because some of the test code uses libpng directly. But when you look at one of the problem tests with ldd on a modern system, it shows it's linked to both libpngs, because libcairo looks to be linked to libpng15. I suspect when the code executes, it's going awry somewhere in the 2 pngs.

Googling around a bit it looks like the libpng authors don't want to do symbol versioning, so I think in the case of these tests, we're basically stuck. At any rate, it's not a Mageia specific problem anymore, so closing.

Status: REOPENED => RESOLVED
Resolution: (none) => WONTFIX