You are not logged in.

#1 2014-06-12 20:11:15

JohnSmith2
Member
Registered: 2014-06-08
Posts: 4

Cairo-git not building

I am trying to install cairo-git from the AUR. When it goes through the build, I get this error:

Makefile:1486: warning: overriding recipe for target 'recheck'
Makefile:1126: warning: ignoring old recipe for target 'recheck'
make  all-recursive
make[1]: Entering directory '/home/fish/Downloads/cairo-git/src/cairo'
Makefile:1486: warning: overriding recipe for target 'recheck'
Makefile:1126: warning: ignoring old recipe for target 'recheck'
Making all in src
make[2]: Entering directory '/home/fish/Downloads/cairo-git/src/cairo/src'
 cd .. && /bin/sh /home/fish/Downloads/cairo-git/src/cairo/build/missing automake-1.14 --foreign src/Makefile
src/Makefile.sources:353: warning: source file 'win32/cairo-win32-debug.c' is in a subdirectory,
src/Makefile.sources:353: but option 'subdir-objects' is disabled
src/Makefile.am:4:   'src/Makefile.am.features' included from here
src/Makefile.am.features:3:   'src/Makefile.sources' included from here
automake-1.14: warning: possible forward-incompatibility.
automake-1.14: At least a source file is in a subdirectory, but the 'subdir-objects'
automake-1.14: automake option hasn't been enabled.  For now, the corresponding output
automake-1.14: object file(s) will be placed in the top-level directory.  However,
automake-1.14: this behaviour will change in future Automake versions: they will
automake-1.14: unconditionally cause object files to be placed in the same subdirectory
automake-1.14: of the corresponding sources.
automake-1.14: You are advised to start using 'subdir-objects' option throughout your
automake-1.14: project, to avoid future incompatibilities.
src/Makefile.sources:353: warning: source file 'win32/cairo-win32-device.c' is in a subdirectory,
src/Makefile.sources:353: but option 'subdir-objects' is disabled
src/Makefile.am:4:   'src/Makefile.am.features' included from here
src/Makefile.am.features:3:   'src/Makefile.sources' included from here
src/Makefile.sources:353: warning: source file 'win32/cairo-win32-gdi-compositor.c' is in a subdirectory,
src/Makefile.sources:353: but option 'subdir-objects' is disabled
src/Makefile.am:4:   'src/Makefile.am.features' included from here
src/Makefile.am.features:3:   'src/Makefile.sources' included from here
src/Makefile.sources:353: warning: source file 'win32/cairo-win32-system.c' is in a subdirectory,
src/Makefile.sources:353: but option 'subdir-objects' is disabled
src/Makefile.am:4:   'src/Makefile.am.features' included from here
src/Makefile.am.features:3:   'src/Makefile.sources' included from here
src/Makefile.sources:353: warning: source file 'win32/cairo-win32-surface.c' is in a subdirectory,
src/Makefile.sources:353: but option 'subdir-objects' is disabled
src/Makefile.am:4:   'src/Makefile.am.features' included from here
src/Makefile.am.features:3:   'src/Makefile.sources' included from here
src/Makefile.sources:353: warning: source file 'win32/cairo-win32-display-surface.c' is in a subdirectory,
src/Makefile.sources:353: but option 'subdir-objects' is disabled
src/Makefile.am:4:   'src/Makefile.am.features' included from here
src/Makefile.am.features:3:   'src/Makefile.sources' included from here
src/Makefile.sources:353: warning: source file 'win32/cairo-win32-printing-surface.c' is in a subdirectory,
src/Makefile.sources:353: but option 'subdir-objects' is disabled
src/Makefile.am:4:   'src/Makefile.am.features' included from here
src/Makefile.am.features:3:   'src/Makefile.sources' included from here
src/Makefile.sources:362: warning: source file 'win32/cairo-win32-font.c' is in a subdirectory,
src/Makefile.sources:362: but option 'subdir-objects' is disabled
src/Makefile.am:4:   'src/Makefile.am.features' included from here
src/Makefile.am.features:3:   'src/Makefile.sources' included from here
src/Makefile.sources:425: warning: source file 'drm/cairo-drm.c' is in a subdirectory,
src/Makefile.sources:425: but option 'subdir-objects' is disabled
src/Makefile.am:4:   'src/Makefile.am.features' included from here
src/Makefile.am.features:3:   'src/Makefile.sources' included from here
src/Makefile.sources:425: warning: source file 'drm/cairo-drm-bo.c' is in a subdirectory,
src/Makefile.sources:425: but option 'subdir-objects' is disabled
src/Makefile.am:4:   'src/Makefile.am.features' included from here
src/Makefile.am.features:3:   'src/Makefile.sources' included from here
src/Makefile.sources:425: warning: source file 'drm/cairo-drm-surface.c' is in a subdirectory,
src/Makefile.sources:425: but option 'subdir-objects' is disabled
src/Makefile.am:4:   'src/Makefile.am.features' included from here
src/Makefile.am.features:3:   'src/Makefile.sources' included from here
src/Makefile.sources:425: warning: source file 'drm/cairo-drm-intel.c' is in a subdirectory,
src/Makefile.sources:425: but option 'subdir-objects' is disabled
src/Makefile.am:4:   'src/Makefile.am.features' included from here
src/Makefile.am.features:3:   'src/Makefile.sources' included from here
src/Makefile.sources:425: warning: source file 'drm/cairo-drm-intel-debug.c' is in a subdirectory,
src/Makefile.sources:425: but option 'subdir-objects' is disabled
src/Makefile.am:4:   'src/Makefile.am.features' included from here
src/Makefile.am.features:3:   'src/Makefile.sources' included from here
src/Makefile.sources:425: warning: source file 'drm/cairo-drm-intel-surface.c' is in a subdirectory,
src/Makefile.sources:425: but option 'subdir-objects' is disabled
src/Makefile.am:4:   'src/Makefile.am.features' included from here
src/Makefile.am.features:3:   'src/Makefile.sources' included from here
src/Makefile.sources:425: warning: source file 'drm/cairo-drm-i915-surface.c' is in a subdirectory,
src/Makefile.sources:425: but option 'subdir-objects' is disabled
src/Makefile.am:4:   'src/Makefile.am.features' included from here
src/Makefile.am.features:3:   'src/Makefile.sources' included from here
src/Makefile.sources:425: warning: source file 'drm/cairo-drm-i915-glyphs.c' is in a subdirectory,
src/Makefile.sources:425: but option 'subdir-objects' is disabled
src/Makefile.am:4:   'src/Makefile.am.features' included from here
src/Makefile.am.features:3:   'src/Makefile.sources' included from here
src/Makefile.sources:425: warning: source file 'drm/cairo-drm-i915-shader.c' is in a subdirectory,
src/Makefile.sources:425: but option 'subdir-objects' is disabled
src/Makefile.am:4:   'src/Makefile.am.features' included from here
src/Makefile.am.features:3:   'src/Makefile.sources' included from here
src/Makefile.sources:425: warning: source file 'drm/cairo-drm-i915-spans.c' is in a subdirectory,
src/Makefile.sources:425: but option 'subdir-objects' is disabled
src/Makefile.am:4:   'src/Makefile.am.features' included from here
src/Makefile.am.features:3:   'src/Makefile.sources' included from here
src/Makefile.sources:425: warning: source file 'drm/cairo-drm-i965-surface.c' is in a subdirectory,
src/Makefile.sources:425: but option 'subdir-objects' is disabled
src/Makefile.am:4:   'src/Makefile.am.features' included from here
src/Makefile.am.features:3:   'src/Makefile.sources' included from here
src/Makefile.sources:425: warning: source file 'drm/cairo-drm-i965-glyphs.c' is in a subdirectory,
src/Makefile.sources:425: but option 'subdir-objects' is disabled
src/Makefile.am:4:   'src/Makefile.am.features' included from here
src/Makefile.am.features:3:   'src/Makefile.sources' included from here
src/Makefile.sources:425: warning: source file 'drm/cairo-drm-i965-shader.c' is in a subdirectory,
src/Makefile.sources:425: but option 'subdir-objects' is disabled
src/Makefile.am:4:   'src/Makefile.am.features' included from here
src/Makefile.am.features:3:   'src/Makefile.sources' included from here
src/Makefile.sources:425: warning: source file 'drm/cairo-drm-i965-spans.c' is in a subdirectory,
src/Makefile.sources:425: but option 'subdir-objects' is disabled
src/Makefile.am:4:   'src/Makefile.am.features' included from here
src/Makefile.am.features:3:   'src/Makefile.sources' included from here
src/Makefile.sources:425: warning: source file 'drm/cairo-drm-intel-brw-eu.c' is in a subdirectory,
src/Makefile.sources:425: but option 'subdir-objects' is disabled
src/Makefile.am:4:   'src/Makefile.am.features' included from here
src/Makefile.am.features:3:   'src/Makefile.sources' included from here
src/Makefile.sources:425: warning: source file 'drm/cairo-drm-intel-brw-eu-emit.c' is in a subdirectory,
src/Makefile.sources:425: but option 'subdir-objects' is disabled
src/Makefile.am:4:   'src/Makefile.am.features' included from here
src/Makefile.am.features:3:   'src/Makefile.sources' included from here
src/Makefile.sources:425: warning: source file 'drm/cairo-drm-intel-brw-eu-util.c' is in a subdirectory,
src/Makefile.sources:425: but option 'subdir-objects' is disabled
src/Makefile.am:4:   'src/Makefile.am.features' included from here
src/Makefile.am.features:3:   'src/Makefile.sources' included from here
src/Makefile.sources:425: warning: source file 'drm/cairo-drm-radeon.c' is in a subdirectory,
src/Makefile.sources:425: but option 'subdir-objects' is disabled
src/Makefile.am:4:   'src/Makefile.am.features' included from here
src/Makefile.am.features:3:   'src/Makefile.sources' included from here
src/Makefile.sources:425: warning: source file 'drm/cairo-drm-radeon-surface.c' is in a subdirectory,
src/Makefile.sources:425: but option 'subdir-objects' is disabled
src/Makefile.am:4:   'src/Makefile.am.features' included from here
src/Makefile.am.features:3:   'src/Makefile.sources' included from here
src/Makefile.sources:444: warning: source file 'drm/cairo-drm-gallium-surface.c' is in a subdirectory,
src/Makefile.sources:444: but option 'subdir-objects' is disabled
src/Makefile.am:4:   'src/Makefile.am.features' included from here
src/Makefile.am.features:3:   'src/Makefile.sources' included from here
/usr/share/automake-1.14/am/ltlibrary.am: warning: 'libcairo.la': linking libtool libraries using a non-POSIX
/usr/share/automake-1.14/am/ltlibrary.am: archiver requires 'AM_PROG_AR' in 'configure.ac'
src/Makefile.am:23:   while processing Libtool library 'libcairo.la'
src/Makefile.sources:368: warning: source file 'skia/cairo-skia-context.cpp' is in a subdirectory,
src/Makefile.sources:368: but option 'subdir-objects' is disabled
src/Makefile.am:4:   'src/Makefile.am.features' included from here
src/Makefile.am.features:3:   'src/Makefile.sources' included from here
src/Makefile.sources:368: warning: source file 'skia/cairo-skia-surface.cpp' is in a subdirectory,
src/Makefile.sources:368: but option 'subdir-objects' is disabled
src/Makefile.am:4:   'src/Makefile.am.features' included from here
src/Makefile.am.features:3:   'src/Makefile.sources' included from here
/usr/share/automake-1.14/am/ltlibrary.am: warning: 'libcairo_cxx.la': linking libtool libraries using a non-POSIX
/usr/share/automake-1.14/am/ltlibrary.am: archiver requires 'AM_PROG_AR' in 'configure.ac'
src/Makefile.am:26:   while processing Libtool library 'libcairo_cxx.la'
 cd .. && /bin/sh ./config.status src/Makefile depfiles
config.status: creating src/Makefile
config.status: executing depfiles commands
make  all-am
make[3]: Entering directory '/home/fish/Downloads/cairo-git/src/cairo/src'
  CC       cairo-analysis-surface.lo
In file included from /usr/include/assert.h:35:0,
                 from cairoint.h:57,
                 from cairo-analysis-surface.c:37:
/usr/include/features.h:341:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp]
 #  warning _FORTIFY_SOURCE requires compiling with optimization (-O)
    ^
In file included from cairo-mutex-type-private.h:45:0,
                 from cairo-scaled-font-private.h:45,
                 from cairoint.h:396,
                 from cairo-analysis-surface.c:37:
cairo-mutex-impl-private.h:262:3: error: #error "XXX: No mutex implementation found.  Cairo will not work with multiple threads.  Define CAIRO_NO_MUTEX to 1 to acknowledge and accept this limitation and compile cairo without thread-safety support."
 # error "XXX: No mutex implementation found.  Cairo will not work with multiple threads.  Define CAIRO_NO_MUTEX to 1 to acknowledge and accept this limitation and compile cairo without thread-safety support."
   ^
In file included from cairo-mutex-type-private.h:45:0,
                 from cairo-scaled-font-private.h:45,
                 from cairoint.h:396,
                 from cairo-analysis-surface.c:37:
cairo-mutex-impl-private.h:271:11: error: unknown type name 'cairo_mutex_impl_t'
   typedef cairo_mutex_impl_t cairo_recursive_mutex_impl_t;
           ^
In file included from cairo-scaled-font-private.h:45:0,
                 from cairoint.h:396,
                 from cairo-analysis-surface.c:37:
cairo-mutex-type-private.h:49:3: error: #error "CAIRO_MUTEX_IMPL_LOCK not defined.  Check cairo-mutex-impl-private.h."
 # error "CAIRO_MUTEX_IMPL_LOCK not defined.  Check cairo-mutex-impl-private.h."
   ^
cairo-mutex-type-private.h:52:3: error: #error "CAIRO_MUTEX_IMPL_UNLOCK not defined.  Check cairo-mutex-impl-private.h."
 # error "CAIRO_MUTEX_IMPL_UNLOCK not defined.  Check cairo-mutex-impl-private.h."
   ^
cairo-mutex-type-private.h:55:3: error: #error "CAIRO_MUTEX_IMPL_NIL_INITIALIZER not defined.  Check cairo-mutex-impl-private.h."
 # error "CAIRO_MUTEX_IMPL_NIL_INITIALIZER not defined.  Check cairo-mutex-impl-private.h."
   ^
cairo-mutex-type-private.h:139:3: error: #error "CAIRO_MUTEX_IMPL_LOCK not defined"
 # error "CAIRO_MUTEX_IMPL_LOCK not defined"
   ^
cairo-mutex-type-private.h:142:3: error: #error "CAIRO_MUTEX_IMPL_UNLOCK not defined"
 # error "CAIRO_MUTEX_IMPL_UNLOCK not defined"
   ^
cairo-mutex-type-private.h:151:3: error: #error "CAIRO_MUTEX_IMPL_NIL_INITIALIZER not defined"
 # error "CAIRO_MUTEX_IMPL_NIL_INITIALIZER not defined"
   ^
cairo-mutex-type-private.h:161:9: error: unknown type name 'cairo_mutex_impl_t'
 typedef cairo_mutex_impl_t cairo_mutex_t;
         ^
In file included from cairo-analysis-surface.c:45:0:
cairo-surface-snapshot-inline.h: In function '_cairo_surface_snapshot_get_target':
cairo-surface-snapshot-inline.h:54:5: error: implicit declaration of function 'CAIRO_MUTEX_IMPL_LOCK' [-Werror=implicit-function-declaration]
     CAIRO_MUTEX_LOCK (snapshot->mutex);
     ^
cairo-surface-snapshot-inline.h:54:5: warning: nested extern declaration of 'CAIRO_MUTEX_IMPL_LOCK' [-Wnested-externs]
cairo-surface-snapshot-inline.h:56:5: error: implicit declaration of function 'CAIRO_MUTEX_IMPL_UNLOCK' [-Werror=implicit-function-declaration]
     CAIRO_MUTEX_UNLOCK (snapshot->mutex);
     ^
cairo-surface-snapshot-inline.h:56:5: warning: nested extern declaration of 'CAIRO_MUTEX_IMPL_UNLOCK' [-Wnested-externs]
cc1: some warnings being treated as errors
Makefile:2331: recipe for target 'cairo-analysis-surface.lo' failed
make[3]: *** [cairo-analysis-surface.lo] Error 1
make[3]: Leaving directory '/home/fish/Downloads/cairo-git/src/cairo/src'
Makefile:1934: recipe for target 'all' failed
make[2]: *** [all] Error 2
make[2]: Leaving directory '/home/fish/Downloads/cairo-git/src/cairo/src'
Makefile:896: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/home/fish/Downloads/cairo-git/src/cairo'
Makefile:746: recipe for target 'all' failed
make: *** [all] Error 2
==> ERROR: A failure occurred in build().
    Aborting...

How do I build cairo-git without this problem? I need the latest version of cairo for HiDPI scaling under GNOME 3.12

Thanks.

Offline

#2 2014-06-12 20:22:30

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: Cairo-git not building

Offline

#3 2014-06-12 20:29:40

JohnSmith2
Member
Registered: 2014-06-08
Posts: 4

Re: Cairo-git not building

Yes, I have. My issue doesn't seem to be specifically addressed.

Am I supposed to apply a patch or something, or is there another solution to the problem I am experiencing?

Offline

#4 2014-06-12 21:10:16

progandy
Member
Registered: 2012-05-17
Posts: 5,184

Re: Cairo-git not building

Maybe try to begin with the current stable PKGBUILD and replace the source archive with the git url.
https://projects.archlinux.org/svntogit … ages/cairo

Edit: It compiled for me with this. I didn't test drm.

# $Id$
# Maintainer: Jan de Groot <jgc@archlinux.org>
# Contributor: Brice Carpentier <brice@daknet.org>
# Contributor: A. B. <code@progandy.de>

_pkgname=cairo
pkgname=$_pkgname-git
pkgver=1.12.16+134+gf574fec
pkgrel=1
pkgdesc="Cairo vector graphics library"
arch=(i686 x86_64)
license=('LGPL' 'MPL')
url="http://cairographics.org/"
depends=('libpng' 'libxrender' 'libxext' 'fontconfig' 'pixman>=0.28.0' 'glib2' 'mesa' 'libgl' 'sh' 'lzo2')
makedepends=('mesa-libgl' 'librsvg' 'gtk2' 'poppler-glib' 'libspectre' 'gtk-doc' 'valgrind'
             # for the test suite:
             'ttf-dejavu' 'gsfonts' 'xorg-server-xvfb' ) # 'libdrm')
#optdepends=('xcb-util: for XCB backend') # really needed?
provides=('cairo-xcb' 'cairo')
conflicts=('cairo')
source=("$_pkgname::git://anongit.freedesktop.org/cairo"
        cairo-1.12.16-lto-optional.patch)
sha1sums=('SKIP'
          '80883e44a57942762995aea2f136701b1fa54568')

pkgver() {
    cd $_pkgname
    git describe --always | tr '-' '+'
}

prepare() {
  cd $_pkgname
  # https://bugs.archlinux.org/task/40313 + https://bugs.gentoo.org/510782
  # patch to make it optional is taken from Gentoo
  patch -Np1 -i $srcdir/cairo-1.12.16-lto-optional.patch
  NOCONFIGURE=1 ./autogen.sh
}

build() {
  cd $_pkgname

  ./configure --prefix=/usr \
	--sysconfdir=/etc \
	--localstatedir=/var \
	--disable-static \
	--disable-lto \
	--enable-tee \
	--enable-gl \
	--enable-egl \
	--enable-svg \
	--enable-ps \
	--enable-pdf \
	--enable-gobject #\
	# --enable-test-surfaces
	
	#--disable-xlib-xcb \
	# --enable-test-surfaces \ takes ages
	#--enable-drm # breaks build
	
  make
}

check() {
  cd $_pkgname
  make -k test || /bin/true
  
  # results:
  # 1.12.8-1	# 162 Passed, 328 Failed [8 crashed, 10 expected], 26 Skipped
  # 1.12.12-2:	# 29 Passed, 464 Failed [460 crashed, 2 expected], 26 Skipped
  # 1.12.16-1:	144 Passed, 364 Failed [6 crashed, 12 expected], 27 Skipped

}

package() {
  cd $_pkgname
  make DESTDIR="$pkgdir" install
}

Last edited by progandy (2014-06-12 22:08:39)


| alias CUTF='LANG=en_XX.UTF-8@POSIX ' |

Offline

#5 2014-07-05 02:08:42

brix
Member
Registered: 2014-05-26
Posts: 69

Re: Cairo-git not building

progandy, you are a beautiful person.

It builds indeed (though still not with --enable-drm), and gtk3 compiles cleanly off it.

HiDPI-capbable GTK3 is a huge relief for those who need it.


Enough is more.

Offline

#6 2014-07-28 23:39:19

peschkaj
Member
From: Portland, OR
Registered: 2014-07-06
Posts: 16
Website

Re: Cairo-git not building

As of 2014-07-27, it looks like the lto optional patch has been moved into mainline for this.

Offline

#7 2014-07-30 01:17:28

Kummo666
Member
Registered: 2013-06-09
Posts: 15

Re: Cairo-git not building

Newbie here,
Do I have to just replace the PKGBUILD with the code posted by progandy?

I did it and I'm getting the following errors:

==> ERROR: cairo-1.12.16-lto-optional.patch was not found in the build directory and is not a URL.
==> ERROR: Makepkg was unable to build cairo-git.

Offline

#8 2014-07-30 02:23:39

emeres
Member
Registered: 2013-10-08
Posts: 1,570

Re: Cairo-git not building

Kummo666 wrote:

Newbie here,
Do I have to just replace the PKGBUILD with the code posted by progandy?

I did it and I'm getting the following errors:

==> ERROR: cairo-1.12.16-lto-optional.patch was not found in the build directory and is not a URL.
==> ERROR: Makepkg was unable to build cairo-git.

Exclude cairo-1.12.16-lto-optional.patch from source and sha1sums arrays.

Offline

#9 2014-07-31 22:15:50

Kummo666
Member
Registered: 2013-06-09
Posts: 15

Re: Cairo-git not building

emeres wrote:
Kummo666 wrote:

Newbie here,
Do I have to just replace the PKGBUILD with the code posted by progandy?

I did it and I'm getting the following errors:

==> ERROR: cairo-1.12.16-lto-optional.patch was not found in the build directory and is not a URL.
==> ERROR: Makepkg was unable to build cairo-git.

Exclude cairo-1.12.16-lto-optional.patch from source and sha1sums arrays.

I changed those variables by:

source=("$_pkgname::git://anongit.freedesktop.org/cairo")
sha1sums=('SKIP')

But now I'm getting the following error:

==> Starting prepare()...
patch: **** Can't open patch file /tmp/yaourt-tmp-root/aur-cairo-git/src/cairo-1.12.16-lto-optional.patch : No such file or directory
==> ERROR: A failure occurred in prepare().
    Aborting...
==> ERROR: Makepkg was unable to build cairo-git.

Offline

#10 2014-07-31 22:26:16

emeres
Member
Registered: 2013-10-08
Posts: 1,570

Re: Cairo-git not building

The whole prepare function is unnecessary now or simply comment out the patch line.
Edit: It does not build for me either. I have no time for this now.

Last edited by emeres (2014-07-31 22:28:54)

Offline

#11 2014-07-31 23:24:44

Kummo666
Member
Registered: 2013-06-09
Posts: 15

Re: Cairo-git not building

Yes, looks like it does not build.
The build freezes here for me:

============================================================================
Testsuite summary for cairo 1.13.1
============================================================================
# TOTAL: 0
# PASS:  0
# SKIP:  0
# XFAIL: 0
# FAIL:  0
# XPASS: 0
# ERROR: 0
============================================================================
make[7]: Leaving directory '/tmp/yaourt-tmp-root/aur-cairo-git/src/cairo/test/pdiff'
make[6]: Leaving directory '/tmp/yaourt-tmp-root/aur-cairo-git/src/cairo/test/pdiff'
make[5]: Leaving directory '/tmp/yaourt-tmp-root/aur-cairo-git/src/cairo/test/pdiff'
make[4]: Leaving directory '/tmp/yaourt-tmp-root/aur-cairo-git/src/cairo/test/pdiff'
Making check in .
make[4]: Entering directory '/tmp/yaourt-tmp-root/aur-cairo-git/src/cairo/test'
make  any2ppm pdf2png svg2png ps2png
make[5]: Entering directory '/tmp/yaourt-tmp-root/aur-cairo-git/src/cairo/test'
make[5]: 'any2ppm' is up to date.
  CC       pdf2png-pdf2png.o
pdf2png.c: In function ‘main’:
pdf2png.c:52:5: warning: ‘g_type_init’ is deprecated (declared at /usr/include/glib-2.0/gobject/gtype.h:667) [-Wdeprecated-declarations]
     g_type_init ();
     ^
  CCLD     pdf2png
  CC       svg2png-svg2png.o
svg2png.c: In function ‘main’:
svg2png.c:47:5: warning: ‘g_type_init’ is deprecated (declared at /usr/include/glib-2.0/gobject/gtype.h:667) [-Wdeprecated-declarations]
     g_type_init ();
     ^
svg2png.c:52:5: warning: ‘rsvg_pixbuf_from_file’ is deprecated (declared at /usr/include/librsvg-2.0/librsvg/rsvg.h:208) [-Wdeprecated-declarations]
     pixbuf = rsvg_pixbuf_from_file (filename, &error);
     ^
  CCLD     svg2png
  CC       ps2png-ps2png.o
  CCLD     ps2png
make[5]: Leaving directory '/tmp/yaourt-tmp-root/aur-cairo-git/src/cairo/test'
make  check-TESTS
make[5]: Entering directory '/tmp/yaourt-tmp-root/aur-cairo-git/src/cairo/test'
make[6]: Entering directory '/tmp/yaourt-tmp-root/aur-cairo-git/src/cairo/test'

Offline

#12 2014-07-31 23:45:54

emeres
Member
Registered: 2013-10-08
Posts: 1,570

Re: Cairo-git not building

Are you building this as root? Refrain from that.

Offline

#13 2014-08-01 01:24:23

brix
Member
Registered: 2014-05-26
Posts: 69

Re: Cairo-git not building

Built for me, and gtk3 built against it seemed fine. However the current git version appears to create issues (e.g., blank panes) with rendering in pygtk. I settled for rolling back to cairo-git and gtk3 packages based on earlier git source rather than speculatively rebuilding pygtk as well.


Enough is more.

Offline

#14 2014-08-02 14:29:52

Kummo666
Member
Registered: 2013-06-09
Posts: 15

Re: Cairo-git not building

emeres wrote:

Are you building this as root? Refrain from that.

Thanks for pointing me this out...

After a long wait I got cairo to build and then I re-built gtk3.

Anyway Gnome doesn't look good on a retina display... I need to do more research.

Offline

Board footer

Powered by FluxBB