Bug 7656

Summary: Cairo isnt building on Mac OS X 10.4
Product: cairo Reporter: Jonathan Handler <Habaes>
Component: generalAssignee: Carl Worth <cworth>
Status: RESOLVED WORKSFORME QA Contact: cairo-bugs mailing list <cairo-bugs>
Severity: normal    
Priority: high    
Version: 1.0.4   
Hardware: PowerPC   
OS: Mac OS X (All)   
Whiteboard:
i915 platform: i915 features:
Attachments: Portfile for ESP GS 8.15.2

Description Jonathan Handler 2006-07-27 09:21:02 UTC
Tried to build with newest version and it flat out failed, Then I went back to 1.0.4 and ran its make check 
to see the problems, it failed five tests. clip-operator, filter-nearest-offset, operator-clear, operator-
source and self-intersecting all failed. Could you please look into this? I cant load GTK because of cairo's 
problems. Thank you.
Comment 1 Carl Worth 2006-07-27 09:38:08 UTC
(In reply to comment #0)
> Tried to build with newest version

"newest version" meaning what? The 1.2.0 release or a checkout more recent than
that?

> and it flat out failed,

failed how? Is that the bug you're trying to report? If so, please provide some
details about the failure.

> Then I went back to 1.0.4 and ran its make check 
> to see the problems, it failed five tests. clip-operator,
filter-nearest-offset, operator-clear, operator-
> source and self-intersecting all failed.

The test suite is extremely touchy. For example, most X servers will cause the
test suite to report failures in the xlib backend even though the output is just
fine, (differing only in subtle variations of the antialiasing on the edges). So
please look at the -diff images to see if that's what's going on here.

> Could you please look into this? I cant load GTK because of cairo's 
> problems. Thank you.

Can't load GTK+ due to test suite failures? That doesn't make sense.

The title of the bug report suggests a build failure, but the only details in
the report are about test suite failures. Please provide more details on the bug
you'd like someone to look into.

-Carl
Comment 2 Brian Ewins 2006-12-13 04:28:37 UTC
Created attachment 8087 [details]
Portfile for ESP GS 8.15.2

I also had problems with make check on OS X, if you build with xlib or ps
support. The ps backend tests have a known issue that the images match the
output for EPS Ghostscript 8.15.2; currently on OSX binaries and darwinports
only cover v7.x. Attached is a Portfile for 8.15.2, which should get you past
the PS tests. Based on the file here:
http://espgs.darwinports.com/dports/print/espgs/Portfile
To use this follow the instructions for testing a portfile here:
http://darwinports.opendarwin.org/docs/ch03s02.html
Comment 3 Brian Ewins 2006-12-13 04:39:25 UTC
BTW I should say that for me the PS backend failed exactly those 5 tests, plus
one other (I can't remember which at the moment). These were all single-pixel
errors at intersections. Since xlib fails 36 tests on my OSX, I expect that the
PS ref images were the issue.
Comment 4 Benjamin Close 2008-01-11 02:36:27 UTC
Bugzilla Upgrade Mass Bug Change

NEEDSINFO state was removed in Bugzilla 3.x, reopening any bugs previously listed as NEEDSINFO.

  - benjsc
    fd.o Wrangler
Comment 5 Jeremy Huddleston Sequoia 2008-05-06 01:19:01 UTC
Building fine here.  Please reopen if this is still an issue.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.