all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Andreas Enge <andreas@enge.fr>
To: "Ludovic Courtès" <ludo@gnu.org>
Subject: Re: Pango
Date: Sat, 15 Jun 2013 16:07:11 +0200	[thread overview]
Message-ID: <201306151607.11598.andreas@enge.fr> (raw)
In-Reply-To: <8738sj8ovs.fsf@gnu.org>

Am Samstag, 15. Juni 2013 schrieb Ludovic Courtès:
> Did you pass pkg-config as an input of GTK+?

Yes.

> Normally, if you do so, PKG_CONFIG_PATH gets defined appropriately, and
> then I would expect the build system of GTK+ to use ‘pkg-config pango
> --cflags’ in its CFLAGS.

Hm. In config.log, I see
   BASE_DEPENDENCIES_CFLAGS='... -
I/nix/store/ac9zyl88qyp6gbidcyrzj8rdngbkqppr-
pango-1.34.1/include/pango-1.0'
   GDK_DEP_CFLAGS='... -I/nix/store/ac9zyl88qyp6gbidcyrzj8rdngbkqppr-
pango-1.34.1/include/pango-1.0'
   CFLAGS='-DGDK_PIXBUF_DISABLE_DEPRECATED -g -O2 -Wall'

Then the failing compilation line:
make[4]: Entering directory `/tmp/nix-build-
gtk+-2.24.18.drv-0/gtk+-2.24.18/gtk'
/nix/store/zch43a56qdchdw0xm3lwpr8ydg8ksx25-bash-4.2/bin/bash ../libtool  
--tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -
DG_LOG_DOMAIN=\"Gtk\" -
DGTK_LIBDIR=\"/nix/store/f9mvnb95rwcfp87b4kf45qc3iiz9vpnq-
gtk+-2.24.18/lib\" -
DGTK_DATADIR=\"/nix/store/f9mvnb95rwcfp87b4kf45qc3iiz9vpnq-
gtk+-2.24.18/share\" -
DGTK_DATA_PREFIX=\"/nix/store/f9mvnb95rwcfp87b4kf45qc3iiz9vpnq-
gtk+-2.24.18\" -
DGTK_SYSCONFDIR=\"/nix/store/f9mvnb95rwcfp87b4kf45qc3iiz9vpnq-
gtk+-2.24.18/etc\" -DGTK_VERSION=\"2.24.18\" -
DGTK_BINARY_VERSION=\"2.10.0\" -DGTK_HOST=\"x86_64-unknown-linux-gnu\" -
DGTK_COMPILATION -DGTK_PRINT_BACKENDS=\"file,lpr\" -
DGTK_PRINT_PREVIEW_COMMAND=\""evince --unlink-tempfile --preview --print-
settings %s %f"\" -I.. -I../gtk -I.. -I../gdk -I../gdk -
DGTK_DISABLE_DEPRECATED -DGTK_FILE_SYSTEM_ENABLE_UNSUPPORTED -
DGTK_PRINT_BACKEND_ENABLE_UNSUPPORTED -pthread -
I/nix/store/jda9bn6spp9ixh87g2cqlpkfwr5smmw4-glib-2.37.1/include/glib-2.0 -
I/nix/store/jda9bn6spp9ixh87g2cqlpkfwr5smmw4-
glib-2.37.1/lib/glib-2.0/include   -DG_DISABLE_CAST_CHECKS    -
DG_DISABLE_SINGLE_INCLUDES -DATK_DISABLE_SINGLE_INCLUDES -
DGDK_PIXBUF_DISABLE_SINGLE_INCLUDES -DGTK_DISABLE_SINGLE_INCLUDES -
I/nix/store/p05m0ha92h66bkzsaz9zc3sysz589bsh-libxrender-0.9.7/include -
I/nix/store/5n5f85qs2m5lsfqxvdbjwm2rkglkvs8h-libxext-1.3.1/include -
I/nix/store/mbc9brcb0r21f72cbjjh3bpp9xmdmsl0-libx11-1.5.0/include -
I/nix/store/azrr4hrv699q1zixj26d04b6xjc6xj75-libxcb-1.8.1/include -
I/nix/store/mym5vznalgiwmkhykmwwr4jl9x28pvp0-kbproto-1.0.6/include -
I/nix/store/10c9i456r4b00k3w5lxiw1y8bmw52phw-libxdmcp-1.1.1/include -
I/nix/store/wm8jlg8w5kblgda7ll7nxb9lpybz9r36-libxau-1.0.7/include -
I/nix/store/pp4wxag7rwa3yv50hmfzckmm7lcaxi2d-xproto-7.0.23/include -
I/nix/store/7j61z48dz08jq95s89zyv2scbjxcjsc1-xextproto-7.2.1/include -
I/nix/store/fqmifh67d0kfy0fnzr0g2sc0paxk2ywb-renderproto-0.11.1/include    
-DGDK_PIXBUF_DISABLE_DEPRECATED -g -O2 -Wall -MT gtksearchenginesimple.lo -
MD -MP -MF .deps/gtksearchenginesimple.Tpo -c -o gtksearchenginesimple.lo 
gtksearchenginesimple.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -DG_LOG_DOMAIN=\"Gtk\" -
DGTK_LIBDIR=\"/nix/store/f9mvnb95rwcfp87b4kf45qc3iiz9vpnq-
gtk+-2.24.18/lib\" -
DGTK_DATADIR=\"/nix/store/f9mvnb95rwcfp87b4kf45qc3iiz9vpnq-
gtk+-2.24.18/share\" -
DGTK_DATA_PREFIX=\"/nix/store/f9mvnb95rwcfp87b4kf45qc3iiz9vpnq-
gtk+-2.24.18\" -
DGTK_SYSCONFDIR=\"/nix/store/f9mvnb95rwcfp87b4kf45qc3iiz9vpnq-
gtk+-2.24.18/etc\" -DGTK_VERSION=\"2.24.18\" -
DGTK_BINARY_VERSION=\"2.10.0\" -DGTK_HOST=\"x86_64-unknown-linux-gnu\" -
DGTK_COMPILATION -DGTK_PRINT_BACKENDS=\"file,lpr\" "-
DGTK_PRINT_PREVIEW_COMMAND=\"evince --unlink-tempfile --preview --print-
settings %s %f\"" -I.. -I../gtk -I.. -I../gdk -I../gdk -
DGTK_DISABLE_DEPRECATED -DGTK_FILE_SYSTEM_ENABLE_UNSUPPORTED -
DGTK_PRINT_BACKEND_ENABLE_UNSUPPORTED -pthread -
I/nix/store/jda9bn6spp9ixh87g2cqlpkfwr5smmw4-glib-2.37.1/include/glib-2.0 -
I/nix/store/jda9bn6spp9ixh87g2cqlpkfwr5smmw4-
glib-2.37.1/lib/glib-2.0/include -DG_DISABLE_CAST_CHECKS -
DG_DISABLE_SINGLE_INCLUDES -DATK_DISABLE_SINGLE_INCLUDES -
DGDK_PIXBUF_DISABLE_SINGLE_INCLUDES -DGTK_DISABLE_SINGLE_INCLUDES -
I/nix/store/p05m0ha92h66bkzsaz9zc3sysz589bsh-libxrender-0.9.7/include -
I/nix/store/5n5f85qs2m5lsfqxvdbjwm2rkglkvs8h-libxext-1.3.1/include -
I/nix/store/mbc9brcb0r21f72cbjjh3bpp9xmdmsl0-libx11-1.5.0/include -
I/nix/store/azrr4hrv699q1zixj26d04b6xjc6xj75-libxcb-1.8.1/include -
I/nix/store/mym5vznalgiwmkhykmwwr4jl9x28pvp0-kbproto-1.0.6/include -
I/nix/store/10c9i456r4b00k3w5lxiw1y8bmw52phw-libxdmcp-1.1.1/include -
I/nix/store/wm8jlg8w5kblgda7ll7nxb9lpybz9r36-libxau-1.0.7/include -
I/nix/store/pp4wxag7rwa3yv50hmfzckmm7lcaxi2d-xproto-7.0.23/include -
I/nix/store/7j61z48dz08jq95s89zyv2scbjxcjsc1-xextproto-7.2.1/include -
I/nix/store/fqmifh67d0kfy0fnzr0g2sc0paxk2ywb-renderproto-0.11.1/include -
DGDK_PIXBUF_DISABLE_DEPRECATED -g -O2 -Wall -MT gtksearchenginesimple.lo -
MD -MP -MF .deps/gtksearchenginesimple.Tpo -c gtksearchenginesimple.c  -
fPIC -DPIC -o .libs/gtksearchenginesimple.o
In file included from ../gdk/gdkscreen.h:32:0,
                 from ../gdk/gdkapplaunchcontext.h:31,
                 from ../gdk/gdk.h:32,
                 from ../gtk/gtkwidget.h:34,
                 from gtkprivate.h:30,
                 from gtksearchenginesimple.c:38:
../gdk/gdktypes.h:37:25: fatal error: pango/pango.h: No such file or 
directory
compilation terminated.
make[4]: *** [gtksearchenginesimple.lo] Fehler 1

Here, the pango path is not set explicitly and only searched in the CPATH 
set by guix.

Actually, I grepped the sources for '$GTK_DEP_CFLAGS' and found they are 
not used anywhere.

A bug in gtk?

Andreas

  reply	other threads:[~2013-06-15 14:09 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-06-13 21:19 Demain Andreas Enge
2013-06-13 21:37 ` Demain Andreas Enge
2013-06-13 23:49   ` Demain Cyril Roelandt
2013-06-14  7:52     ` Demain Andreas Enge
2013-06-14 12:29   ` Demain Ludovic Courtès
2013-06-14 21:25     ` Pango Andreas Enge
2013-06-14 21:34       ` Pango Andreas Enge
2013-06-15  8:12         ` Pango Andreas Enge
2013-06-15  8:29           ` Pango Andreas Enge
2013-06-15 13:17           ` Pango Ludovic Courtès
2013-06-15 13:31             ` Pango Andreas Enge
2013-06-15 13:49               ` Pango Ludovic Courtès
2013-06-15 14:07                 ` Andreas Enge [this message]
     [not found]                   ` <87sj0j3yzh.fsf@gnu.org>
2013-06-15 20:55                     ` Pango Andreas Enge
2013-06-15 12:57         ` Pango Ludovic Courtès
2013-06-15  1:58       ` Pango Cyril Roelandt
2013-06-15  7:13         ` Pango Andreas Enge
2013-06-15 13:14           ` Pango Ludovic Courtès
2013-06-15 12:56       ` Pango Ludovic Courtès

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=201306151607.11598.andreas@enge.fr \
    --to=andreas@enge.fr \
    --cc=ludo@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.