Bug 176910

Summary: cairo fails to build in rawhide
Product: [Fedora] Fedora Reporter: Jesse Keating <jkeating>
Component: cairoAssignee: Carl Worth (Ampere) <cworth>
Status: CLOSED RAWHIDE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: rawhideCC: dcantrell, rstrode, tmayberr
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2006-01-31 19:18:10 UTC Type: ---
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: 150221, 164374, 167383, 176952    
Attachments:
Description Flags
build failure log
none
Remove spurious definitions
none
Patch to cairo spec to add build fix and embedded bitmap patches
none
Embedded bitmap patch
none
Build fix patch none

Description Jesse Keating 2006-01-04 07:35:51 UTC
Please see attached log.  Build fails on ppc64.  Looks like assembler stuff maybe.

Comment 1 Jesse Keating 2006-01-04 07:35:51 UTC
Created attachment 122756 [details]
build failure log

Comment 2 Carl Worth (Ampere) 2006-01-04 17:45:35 UTC
Created attachment 122769 [details]
Remove spurious definitions

This looks like a bug that was in 1.0.2 but that only shows up with more recent
versions of binutils. Here is the patch that already exists in cairo CVS for
this bug.

2005-11-21  Carl Worth	<cworth>

	* src/pixman-remap.h: Remove duplicate definitions of
	pixman_color_to_pixel and pixman_composite which break the
	build with very recent binutils.

Comment 3 Tim Mayberry 2006-01-17 01:57:11 UTC
Created attachment 123279 [details]
Patch to cairo spec to add build fix and embedded bitmap patches

Patch to cairo spec file to add two patches, one to fix cairo build with gcc
version in Rawhide, the other to support the embedded bitmap fontconfig option
that is needed for bug 164374 and bug 167383.

Comment 4 Tim Mayberry 2006-01-17 01:58:04 UTC
Created attachment 123281 [details]
Embedded bitmap patch

Comment 5 Tim Mayberry 2006-01-17 01:58:55 UTC
Created attachment 123282 [details]
Build fix patch

Comment 6 Tim Mayberry 2006-01-18 01:45:30 UTC
Somewhat related, I just tried to build cairo using mock and In order for cairo
to be built with the Xlib backend I had to add libX11-devel to the BuildRequires.  

Comment 7 Ray Strode [halfline] 2006-01-31 16:14:59 UTC
Hey guys,

I'm building this into rawhide.  I want to make sure this doesn't get forgot
about  and miss test3.

If there's problems with the patch we'll still have plenty of time to fix things up.

Should be in tomorrow's rawhide. Let me know if the changes work.

Comment 8 Tim Mayberry 2006-02-07 05:37:03 UTC
Sorry for the delay, just letting you know that the changes do indeed work.
Thank you.