Gentoo Archives: gentoo-user

From: Daniel Quinn <gentoo@×××××××××××.org>
To: gentoo-user@l.g.o
Subject: [gentoo-user] Anyone else having trouble with x11-libs/cairo?
Date: Thu, 01 Dec 2016 14:36:14
Message-Id: 1c40fd34-da20-2607-d42f-9241d7d2c51b@danielquinn.org
1 I just won’t build for me and my research on the forums and BGO keeps
2 turning up very old bugs that don’t really feel like they apply to my
3 case exactly.
4
5 What’s happened so far:
6
7 * I installed a complete GNOME/systemd system with no trouble (~amd64)
8 * This installation included a perfect emerge of x11-libs/cairo
9 * About a month later, I’ve been doing “emerge -auDN @world” every
10 other day or so, and suddenly cairo needs to rebuild, and now it
11 fails with a long slew of errors:
12
13 |In file included from
14 /var/tmp/portage/x11-libs/cairo-1.14.6/work/cairo-1.14.6/src/cairo-mutex-type-private.h:45:0,
15 from
16 /var/tmp/portage/x11-libs/cairo-1.14.6/work/cairo-1.14.6/src/cairo-scaled-font-private.h:45,
17 from
18 /var/tmp/portage/x11-libs/cairo-1.14.6/work/cairo-1.14.6/src/cairoint.h:422,
19 from
20 /var/tmp/portage/x11-libs/cairo-1.14.6/work/cairo-1.14.6/src/cairo-atomic.c:34:
21 /var/tmp/portage/x11-libs/cairo-1.14.6/work/cairo-1.14.6/src/cairo-mutex-impl-private.h:262:3:
22 error: #error "XXX: No mutex implementation found. Cairo will not work
23 with multiple threads. Define CAIRO_NO_MUTEX to 1 to acknowledge and
24 accept this limitation and compile cairo without thread-safety support."
25 # error "XXX: No mutex implementation found. Cairo will not work with
26 multiple threads. Define CAIRO_NO_MUTEX to 1 to acknowledge and accept
27 this limitation and compile cairo without thread-safety support." ^ In
28 file included from
29 /var/tmp/portage/x11-libs/cairo-1.14.6/work/cairo-1.14.6/src/cairo-mutex-type-private.h:45:0,
30 from
31 /var/tmp/portage/x11-libs/cairo-1.14.6/work/cairo-1.14.6/src/cairo-scaled-font-private.h:45,
32 from
33 /var/tmp/portage/x11-libs/cairo-1.14.6/work/cairo-1.14.6/src/cairoint.h:422,
34 from
35 /var/tmp/portage/x11-libs/cairo-1.14.6/work/cairo-1.14.6/src/cairo-atomic.c:34:
36 /var/tmp/portage/x11-libs/cairo-1.14.6/work/cairo-1.14.6/src/cairo-mutex-impl-private.h:271:11:
37 error: unknown type name ‘cairo_mutex_impl_t’ typedef cairo_mutex_impl_t
38 cairo_recursive_mutex_impl_t; ^ <lots of similar-looking errors>
39 /var/tmp/portage/x11-libs/cairo-1.14.6/work/cairo-1.14.6/src/cairo-mutex-type-private.h:161:9:
40 error: unknown type name ‘cairo_mutex_impl_t’ typedef cairo_mutex_impl_t
41 cairo_mutex_t; ^
42 /var/tmp/portage/x11-libs/cairo-1.14.6/work/cairo-1.14.6/src/cairo-botor-scan-converter.c:2076:1:
43 warning: ‘botor_add_edge’ defined but not used [-Wunused-function]
44 botor_add_edge (cairo_botor_scan_converter_t *self, ^ make[3]: ***
45 [Makefile:2352: cairo-botor-scan-converter.lo] Error 1 make[3]: Leaving
46 directory
47 '/var/tmp/portage/x11-libs/cairo-1.14.6/work/cairo-1.14.6-abi_x86_64.amd64/src'
48 make[2]: *** [Makefile:1950: all] Error 2 make[2]: Leaving directory
49 '/var/tmp/portage/x11-libs/cairo-1.14.6/work/cairo-1.14.6-abi_x86_64.amd64/src'
50 make[1]: *** [Makefile:906: all-recursive] Error 1 make[1]: Leaving
51 directory
52 '/var/tmp/portage/x11-libs/cairo-1.14.6/work/cairo-1.14.6-abi_x86_64.amd64'
53 make: *** [Makefile:757: all] Error 2 |
54
55 The digging I do online mentions something about custom LDFLAGS, but
56 since I don’t even know what those are, I’m thinking that’s not it. I’m
57 not running any special overlays, but I am running a complete ~amd64
58 installation. I’ve try running |revdep-rebuild| (nothing to do) and
59 |emerge @preserved-rebuild| just loops in cairo and explodes again.
60
61 Anyone have some tips to get me through this?
62
63

Replies

Subject Author
Re: [gentoo-user] Anyone else having trouble with x11-libs/cairo? Alan McKinnon <alan.mckinnon@×××××.com>