From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andreas Enge Subject: Pango Date: Fri, 14 Jun 2013 23:25:07 +0200 Message-ID: <201306142325.07791.andreas@enge.fr> References: <201306132319.34784.andreas@enge.fr> <201306132337.03991.andreas@enge.fr> <87r4g4dge7.fsf@gnu.org> Mime-Version: 1.0 Content-Type: Text/Plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:55263) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UnbUl-0002n8-45 for bug-guix@gnu.org; Fri, 14 Jun 2013 17:25:21 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UnbUi-00015M-Q9 for bug-guix@gnu.org; Fri, 14 Jun 2013 17:25:19 -0400 In-Reply-To: <87r4g4dge7.fsf@gnu.org> List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org To: Ludovic =?utf-8?q?Court=C3=A8s?= Cc: bug-guix@gnu.org Am Freitag, 14. Juni 2013 schrieb Ludovic Court=C3=A8s: > All this sounds like an indication that we won=E2=80=99t be able to make = much > out of this test suite. I would disable it Okay; I just pushed cairo without tests. Now the problem is pango. It finds cairo, but ends up with checking for pkg-config... /nix/store/jdr6v3aqsy0bw74rwac8g77a2qag81ra-pkg- config-0.27.1/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking for HARFBUZZ... no no checking for CoreText availability... no checking for CAIRO... yes checking which cairo font backends could be used... none configure: Disabling cairo support configure: error: *** Could not enable any backends. *** Must have at least one backend to build Pango. Without saying so, pango seems to depend on harfbuzz on gnu/linux (on=20 macosx it uses quartz, for windows there are other tests); but we need=20 fontconfig/freetype, which is not even searched for without harfbuzz,=20 according to the configure.ac: # # Check for fontconfig # have_fontconfig=3Dfalse if $have_harfbuzz ; then PKG_CHECK_MODULES(FONTCONFIG, fontconfig >=3D 2.10.91,=20 have_fontconfig=3Dtrue, AC_MSG_RESULT([no])) fi # # Checks for FreeType # have_freetype=3Dfalse if $have_fontconfig ; then # The first version of freetype with a .pc file is 2.1.5. That's recent # enough for all the functions we use I guess. No version check needed. PKG_CHECK_MODULES(FREETYPE, freetype2, have_freetype=3Dtrue,=20 AC_MSG_RESULT([no])) fi This dependency is new since pango 1.31; I might go back to version 1.30,=20 for which there is a recipe in nix. Or try to compile harfbuzz; but the current version 0.9.18 fails its tests= =20 with endless error messages such as test_unicode-test-unicode.o:(.rodata+0x1d0): undefined reference to=20 `hb_unicode_script' Version 0.9.4 (for which there is a recipe in nix) compiles and passes its= =20 tests. This looks like a need for bisection... Enough for tonight, Andreas