Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 234546 - x11-libs/cairo-1.6.4 Ebuild fails on OS X
Summary: x11-libs/cairo-1.6.4 Ebuild fails on OS X
Status: RESOLVED FIXED
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: Prefix Support (show other bugs)
Hardware: x86 OS X
: High normal (vote)
Assignee: Gentoo non-Linux Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-08-12 13:39 UTC by Dan Levin
Modified: 2008-08-14 11:52 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
cairo build config (config.log,51.94 KB, text/plain)
2008-08-12 13:41 UTC, Dan Levin
Details
emerge cairo: stack trace (emerge.txt,10.92 KB, text/plain)
2008-08-12 13:42 UTC, Dan Levin
Details
output from emerge --info (emerge_info.txt,2.30 KB, text/plain)
2008-08-12 17:34 UTC, Dan Levin
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Dan Levin 2008-08-12 13:39:54 UTC
x11-libs/cairo-1.6.4 Fails to build with Quartz backend. The config.log will be attached.

Reproducible: Always

Steps to Reproduce:
1.emerge cairo
2.
3.

Actual Results:  
 * ERROR: x11-libs/cairo-1.6.4 failed:
 *   econf failed
 * 
 * Call stack:
 *               ebuild.sh:  49: <call src_compile>
 *             environment:2740: <call econf '--disable-xlib' '--disable-gtk-doc' '--disable-directfb' '--disable-xcb' '--disable-svg' '--disable-glitz' '--disable-xlib-xrender' '--disable-test-surfaces' '--enable-pdf' '--enable-png' '--enable-freetype' '--enable-ps' '--enable-quartz' '--enable-atsui'>
 *               ebuild.sh: 538: 			die "econf failed"
 * 
 * If you need support, post the topmost build error, and the call stack if relevant.
 * build log: '/gentoo/var/tmp/portage/x11-libs/cairo-1.6.4/temp/build.log'
 * ebuild environment: '/gentoo/var/tmp/portage/x11-libs/cairo-1.6.4/temp/environment'
 * S: '/gentoo/var/tmp/portage/x11-libs/cairo-1.6.4/work/cairo-1.6.4'

 * Messages for package x11-libs/cairo-1.6.4:

 * ERROR: x11-libs/cairo-1.6.4 failed:
 *   econf failed
 * 
 * Call stack:
 *               ebuild.sh:  49: <call src_compile>
 *             environment:2740: <call econf '--disable-xlib' '--disable-gtk-doc' '--disable-directfb' '--disable-xcb' '--disable-svg' '--disable-glitz' '--disable-xlib-xrender' '--disable-test-surfaces' '--enable-pdf' '--enable-png' '--enable-freetype' '--enable-ps' '--enable-quartz' '--enable-atsui'>
 *               ebuild.sh: 538: 			die "econf failed"
 * 
 * If you need support, post the topmost build error, and the call stack if relevant.
 * build log: '/gentoo/var/tmp/portage/x11-libs/cairo-1.6.4/temp/build.log'
 * ebuild environment: '/gentoo/var/tmp/portage/x11-libs/cairo-1.6.4/temp/environment'
 * S: '/gentoo/var/tmp/portage/x11-libs/cairo-1.6.4/work/cairo-1.6.4'



It seems that the make tools can't find the CoreGraphics.h headers. Where should they actually be looking to find these.
Comment 1 Dan Levin 2008-08-12 13:41:45 UTC
Created attachment 162745 [details]
cairo build config
Comment 2 Dan Levin 2008-08-12 13:42:54 UTC
Created attachment 162749 [details]
emerge cairo: stack trace
Comment 3 Mcklaren 2008-08-12 14:43:37 UTC
Please, can you attacht the out of a emerge --info ?
Comment 4 Dan Levin 2008-08-12 17:34:54 UTC
Created attachment 162770 [details]
output from emerge --info
Comment 5 Mcklaren 2008-08-13 08:02:40 UTC
Can you try with USE="X" emerge cairo please? I think that it need of X use for work.
Comment 6 Fabian Groffen gentoo-dev 2008-08-13 08:09:38 UTC
checking for cairo's Quartz backend... 
checking ApplicationServices/ApplicationServices.h usability... no
checking ApplicationServices/ApplicationServices.h presence... no
checking for ApplicationServices/ApplicationServices.h... no
checking CoreGraphics/CoreGraphics.h usability... no
checking CoreGraphics/CoreGraphics.h presence... no
checking for CoreGraphics/CoreGraphics.h... no
checking whether cairo's Quartz backend could be enabled... no (CoreGraphics framework not found)
configure: error: requested Quartz backend could not be enabled


uh, oh, teh b0rk!
Comment 7 Fabian Groffen gentoo-dev 2008-08-13 08:11:33 UTC
configure:21691: result: no
configure:24783: checking for cairo's Quartz backend
configure:24807: checking ApplicationServices/ApplicationServices.h usability
configure:24824: i686-apple-darwin9-gcc -c -O2 -pipe  -finline-limit=1200  conftest.c >&5
In file included from /System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/MachineExceptions.h:29,
                 from /System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/DriverServices.h:32,
                 from /System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/CarbonCore.h:125,
                 from /System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AE.h:20,
                 from /System/Library/Frameworks/CoreServices.framework/Headers/CoreServices.h:21,
                 from /System/Library/Frameworks/ApplicationServices.framework/Headers/ApplicationServices.h:20,
                 from conftest.c:57:
/gentoo/usr/lib/gcc/i686-apple-darwin9/4.0.1/gcc/i686-apple-darwin9/4.0.1/include/xmmintrin.h:35:3: error: #error "SSE instruction set not enabled"


Ahhhhhhh, YOU fail.


CFLAGS="-O2 -pipe "
CHOST="i686-apple-darwin9"
CXXFLAGS="-O2 -pipe "


where is the -march=nocona or -march=prescott that needs to be here?
Comment 8 Dan Levin 2008-08-14 11:52:41 UTC
(In reply to comment #7)
> 
> Ahhhhhhh, YOU fail.
> 
> 
> CFLAGS="-O2 -pipe "
> CHOST="i686-apple-darwin9"
> CXXFLAGS="-O2 -pipe "
> 
> 
> where is the -march=nocona or -march=prescott that needs to be here?

REALLY good question :-) After I added it back in, it works fine. Thanks!