From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id B1A161395E2 for ; Thu, 1 Dec 2016 18:35:48 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 2134FE0BED; Thu, 1 Dec 2016 18:35:35 +0000 (UTC) Received: from mail-wj0-f178.google.com (mail-wj0-f178.google.com [209.85.210.178]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 8D0DFE0BE1 for ; Thu, 1 Dec 2016 18:35:34 +0000 (UTC) Received: by mail-wj0-f178.google.com with SMTP id mp19so212946421wjc.1 for ; Thu, 01 Dec 2016 10:35:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-transfer-encoding; bh=GSEAOMVLzDVL2/eiylcez8yjQv3r13cM1aSVaNFKKvI=; b=L9Y7Vu6eZhOM/M3tIr/v4sIYagFWoVPwPDAj+RdNNbppbypdWhyltYD80Jjt5uyCL+ EO9tYRKarPjEHFmOk7z0Qq0QYV1NtRNw53pDHhk4mMFxOBW1IFFgfx16GqyGbUerLsFr o6GWF3kV6IMFTMLB3n3pea9TKDaxj8GGiY/oxqTjQjyei6GdGUJe6khzZFMQoZe1zztC rvUYw1aJtMpBhr7kyrchRG7EdrqY5K2NbyZ2B8ynkc9xYAC6fe5sPDBe25sld/MbpF/a t6MrqBOKnxZiastgvGJXxkUDtP13QxfqFN37pUcrhpgVi0p+MutOJfVm3qiy3wh+2dPQ fsVQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding; bh=GSEAOMVLzDVL2/eiylcez8yjQv3r13cM1aSVaNFKKvI=; b=R2ebx1KiCX7TYbgekgF1fIa4GghzBWqZLxoMreo/+vULiBCMLaQub2xEVOHoQNp64o rU7MtrXX1SPRG8FSxEqO96ruQLx9nozRRzHGhDAOf4zCeNWHw/GImuijKhv7FygBN93S snb0F44OYI4dA8V2QzWBFFD2V7xnqqmp2JCwONPz315SQ8SFSJV6TfoiKS6NJVdzYkyL YewVgdol8wVVKi09QWlsUT3CUp0MrsJzqm0N2vc8FwdUzQBX83Xx/xhK/Eipva78puNi rBFWEY6gf2PtV1Hn+aI3iU8o+8pVw8Cw0Vc7+NT+z3hyxNLeVT64Wcw+uMh1UTk/Ami9 OKNQ== X-Gm-Message-State: AKaTC025R/ZFsVibXgzYNqMLV5x4j6+5dxE2+5XjwzPjWe45JBN6Qe77hLrmE7jAZztzPQ== X-Received: by 10.194.14.196 with SMTP id r4mr9097742wjc.54.1480617333036; Thu, 01 Dec 2016 10:35:33 -0800 (PST) Received: from [172.20.0.40] ([196.212.62.210]) by smtp.googlemail.com with ESMTPSA id vr9sm1529935wjc.35.2016.12.01.10.35.31 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 01 Dec 2016 10:35:32 -0800 (PST) Subject: Re: [gentoo-user] Anyone else having trouble with x11-libs/cairo? To: gentoo-user@lists.gentoo.org References: <1c40fd34-da20-2607-d42f-9241d7d2c51b@danielquinn.org> From: Alan McKinnon Message-ID: <829f3608-cd6d-a5ab-8af7-34f7dac75d96@gmail.com> Date: Thu, 1 Dec 2016 20:33:43 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.2.0 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 In-Reply-To: <1c40fd34-da20-2607-d42f-9241d7d2c51b@danielquinn.org> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Archives-Salt: d855d36e-f0eb-48c0-b8c1-7cee5ecb17ba X-Archives-Hash: 14fd916cced66b306475dadb5ff49d59 On 01/12/2016 16:34, Daniel Quinn wrote: > I just won’t build for me and my research on the forums and BGO keeps > turning up very old bugs that don’t really feel like they apply to my > case exactly. > > What’s happened so far: > > * I installed a complete GNOME/systemd system with no trouble (~amd64) > * This installation included a perfect emerge of x11-libs/cairo > * About a month later, I’ve been doing “emerge -auDN @world” every > other day or so, and suddenly cairo needs to rebuild, and now it > fails with a long slew of errors: > > |In file included from > /var/tmp/portage/x11-libs/cairo-1.14.6/work/cairo-1.14.6/src/cairo-mutex-type-private.h:45:0, > from > /var/tmp/portage/x11-libs/cairo-1.14.6/work/cairo-1.14.6/src/cairo-scaled-font-private.h:45, > from > /var/tmp/portage/x11-libs/cairo-1.14.6/work/cairo-1.14.6/src/cairoint.h:422, > from > /var/tmp/portage/x11-libs/cairo-1.14.6/work/cairo-1.14.6/src/cairo-atomic.c:34: > /var/tmp/portage/x11-libs/cairo-1.14.6/work/cairo-1.14.6/src/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 > /var/tmp/portage/x11-libs/cairo-1.14.6/work/cairo-1.14.6/src/cairo-mutex-type-private.h:45:0, > from > /var/tmp/portage/x11-libs/cairo-1.14.6/work/cairo-1.14.6/src/cairo-scaled-font-private.h:45, > from > /var/tmp/portage/x11-libs/cairo-1.14.6/work/cairo-1.14.6/src/cairoint.h:422, > from > /var/tmp/portage/x11-libs/cairo-1.14.6/work/cairo-1.14.6/src/cairo-atomic.c:34: > /var/tmp/portage/x11-libs/cairo-1.14.6/work/cairo-1.14.6/src/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; ^ > /var/tmp/portage/x11-libs/cairo-1.14.6/work/cairo-1.14.6/src/cairo-mutex-type-private.h:161:9: > error: unknown type name ‘cairo_mutex_impl_t’ typedef cairo_mutex_impl_t > cairo_mutex_t; ^ > /var/tmp/portage/x11-libs/cairo-1.14.6/work/cairo-1.14.6/src/cairo-botor-scan-converter.c:2076:1: > warning: ‘botor_add_edge’ defined but not used [-Wunused-function] > botor_add_edge (cairo_botor_scan_converter_t *self, ^ make[3]: *** > [Makefile:2352: cairo-botor-scan-converter.lo] Error 1 make[3]: Leaving > directory > '/var/tmp/portage/x11-libs/cairo-1.14.6/work/cairo-1.14.6-abi_x86_64.amd64/src' > make[2]: *** [Makefile:1950: all] Error 2 make[2]: Leaving directory > '/var/tmp/portage/x11-libs/cairo-1.14.6/work/cairo-1.14.6-abi_x86_64.amd64/src' > make[1]: *** [Makefile:906: all-recursive] Error 1 make[1]: Leaving > directory > '/var/tmp/portage/x11-libs/cairo-1.14.6/work/cairo-1.14.6-abi_x86_64.amd64' > make: *** [Makefile:757: all] Error 2 | > > The digging I do online mentions something about custom LDFLAGS, but > since I don’t even know what those are, I’m thinking that’s not it. I’m > not running any special overlays, but I am running a complete ~amd64 > installation. I’ve try running |revdep-rebuild| (nothing to do) and > |emerge @preserved-rebuild| just loops in cairo and explodes again. > > Anyone have some tips to get me through this? Yeah, the tip is you and we get to do some original research :-) It's quite unlikely that the maintainer committed a broken ebuild that simply cannot work, so we have to assume you are running into something fairly uncommon and somewhat unique to your environment. My first choice is your USE flags - you probably selected a combination that doesn't work that the maintainer isn't aware of and so there's no detection for it in the ebuild. cairo-1.14.6 does in fact build on ~amd64,and your problem is related to a lack of mutex support. Here's my USE for cairo, compres it to yours: [I] x11-libs/cairo Available versions: 1.14.2^t (~)1.14.2-r1^t (~)1.14.4^t 1.14.6^t **9999^t {X aqua debug directfb gles2 +glib opengl static-libs +svg valgrind xcb xlib-xcb ABI_MIPS="n32 n64 o32" ABI_PPC="32 64" ABI_S390="32 64" ABI_X86="32 64 x32"} Installed versions: 1.14.6^t(19:08:54 15/11/2016)(X glib opengl svg xcb -aqua -debug -directfb -gles2 -static-libs -valgrind -xlib-xcb ABI_MIPS="-n32 -n64 -o32" ABI_PPC="-32 -64" ABI_S390="-32 -64" ABI_X86="32 64 -x32") Homepage: http://cairographics.org/ Description: A vector graphics library with cross-device output support Also what is your global setting in USE for "threads"? -- Alan McKinnon alan.mckinnon@gmail.com