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.
Created attachment 162745 [details] cairo build config
Created attachment 162749 [details] emerge cairo: stack trace
Please, can you attacht the out of a emerge --info ?
Created attachment 162770 [details] output from emerge --info
Can you try with USE="X" emerge cairo please? I think that it need of X use for work.
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!
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?
(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!