checking Pango flags... configure: error: *** Pango not found. Pango built with Cairo support is required *** to build GTK+. See http://www.pango.org for Pango information. !!! Please attach the config.log to your bug report: !!! /var/tmp/portage/gtk+-2.8.8/work/gtk+-2.8.8/config.log !!! ERROR: x11-libs/gtk+-2.8.8 failed. !!! Function econf, Line 495, Exitcode 0 !!! econf failed !!! If you need support, post the topmost build error, NOT this status message. pango and cairo are both installed in the newest versions. idefix ~ # emerge info Portage 2.0.53 (default-linux/ppc/2004.3, gcc-3.4.4, glibc-2.3.5-r2, 2.6.14-gentoo-r5 ppc) ================================================================= System uname: 2.6.14-gentoo-r5 ppc 750FX Gentoo Base System version 1.6.13 ccache version 2.3 [enabled] dev-lang/python: 2.3.5-r2, 2.4.2 sys-apps/sandbox: 1.2.12 sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1 sys-devel/binutils: 2.16.1 sys-devel/libtool: 1.5.20 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="ppc" AUTOCLEAN="yes" CBUILD="powerpc-unknown-linux-gnu" CFLAGS="-O2 -mtune=G3 -fno-strict-aliasing -pipe" CHOST="powerpc-unknown-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -mtune=G3 -fno-strict-aliasing -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig ccache distlocks sandbox sfperms strict" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" LC_ALL="de_DE" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="ppc X alsa apache2 audiofile bash-completion berkdb bitmap-fonts bzip2 cdr crypt cups curl dvd eds emboss esd ethereal exif expat fam font-server fortran gd gdbm gif glut gnome gphoto2 gstreamer gtk gtk2 idn imlib java jpeg junit lcms libwww mad mikmod mng motif mozilla mp3 mpeg ncurses nls ogg oggvorbis opengl pam pcre pdflib perl png python readline recode ruby samba sdl spell ssl tcltk tcpd tiff truetype truetype-fonts type1-fonts udev unicode usb vorbis xine xml xml2 xmms xv zlib video_cards_radeon userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LANG, LDFLAGS, LINGUAS, PORTDIR_OVERLAY Here is a part of my config.log: configure:31241: $? = 0 configure:31244: test -s conftest.o configure:31247: $? = 0 configure:31258: result: yes configure:31484: checking Pango flags configure:31496: error: *** Pango not found. Pango built with Cairo support is required *** to build GTK+. See http://www.pango.org for Pango information. I found out, that configure calls 'pkg-config --exists pango pangocairo', but there is no "pangocairo.pc" installed.
Created attachment 76821 [details] The config.log
Re-emerging cairo then pango corrected the problem when I encountered it before. I started an emerge to see replicate the problem and pango passed. (~ppc system, see emerge --info) checking for Xinerama support on XFree86... yes checking Pango flags... -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/cairo -lpangocairo-1.0 -lpango-1.0 -lcairo -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0 checking ATK flags... -I/usr/include/atk-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -latk-1.0 -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0 checking for db2html... false Portage 2.1_pre3-r1 (default-linux/ppc/2005.1/ppc/G3, gcc-4.0.2, glibc-2.3.6-r2, 2.6.14-gentoo-r7 ppc) ================================================================= System uname: 2.6.14-gentoo-r7 ppc 740/750 Gentoo Base System version 1.12.0_pre13 dev-lang/python: 2.3.5, 2.4.2 sys-apps/sandbox: 1.2.17 sys-devel/autoconf: 2.13, 2.59-r7 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1 sys-devel/binutils: 2.16.1-r1 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.11-r4 ACCEPT_KEYWORDS="ppc ~ppc" AUTOCLEAN="yes" CBUILD="powerpc-unknown-linux-gnu" CFLAGS="-O2 -mtune=750 -mcpu=750 -mpowerpc-gfxopt -mmultiple -mstring -pipe" CHOST="powerpc-unknown-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config /usr/share/X11/xkb /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -mtune=750 -mcpu=750 -mpowerpc-gfxopt -mmultiple -mstring -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig buildpkg ccache digest distlocks sandbox sfperms strict usersandbox" GENTOO_MIRRORS="http://gentoo.osuosl.org/ http://mirrors.acm.cs.rpi.edu/gentoo/ http://mirror.datapipe.net/gentoo " MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage" USE="ppc X aalib acl alsa apache2 apm arts audiofile bash-completion berkdb bitmap-fonts browserplugin bzip2 crypt cups curl dbus dga directfb eds emboss esd expat fam fbcon ffmpeg flac fortran gif glut gmp gnutls gpm gstreamer gtk gtk2 hal idn imagemagick java javascript jpeg kde lcms libcaca libwww lua mad md5sum mng mp3 mpeg ncurses network nptl nptlonly ogg oggvorbis opengl pam pcre pdflib perl png profile python qt readline samba sdl speex spell ssl tcpd threads tiff truetype truetype-fonts type1-fonts udev unicode usb vorbis wmf xine xml xml2 xv xvid zlib elibc_glibc kernel_linux userland_GNU" Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS
(In reply to comment #2) Yes, now it works. Thank you.
Created attachment 76909 [details] config.log from an x86 build of gtk+ that also failed I'm seeing this same problem on x86 as well. I've practically re-emerged my entire installation, and am still not able to get gtk+-2.8.8 to emerge and I'm still getting the pango dependency error even though both are installed and to the latest stable levels x11-libs/pango-1.10.2 and x11-libs/cairo-1.0.2 . I tried re-emerging pango and cairo per advice, and still no joy.
The machine I orriginally encountered this with was an x86 laptop during a stage 1/3 build. During the stage 1 install on ppc I didn't run into this at all. No longer have access to the x86 machine, but the ppc has the same cairo and pango versions as you have. [ebuild R ] x11-libs/pango-1.10.2 USE="-debug -doc" [ebuild R ] x11-libs/cairo-1.0.2 USE="X png -doc -glitz"
if you do: pkg-config --exists pango pangocairo echo $? do you get a 0 or a 1 printed out? if you get a 1, please do the following commands AND post the output of them: pkg-config --cflags pango pkg-config --cflags pangocairo Thanks
Hi John, In followup to your question and my comment #4 with the config.log ~ # pkg-config --exists pango pangocairo ~ # echo $? 1 jake2005 ~ # pkg-config --cflags pango -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include jake2005 ~ # pkg-config --cflags pangocairo Package pangocairo was not found in the pkg-config search path. Perhaps you should add the directory containing `pangocairo.pc' to the PKG_CONFIG_PATH environment variable No package 'pangocairo' found Evidently that's the issue. Why does pkg-config not see what emerge sees? ~ # emerge --search pango Searching... [ Results for search key : pango ] [ Applications found : 4 ] * app-doc/ebook-pango [ Masked ] Latest version available: 1.0 Latest version installed: [ Not Installed ] Size of downloaded files: 90 kB Homepage: http://lidn.sourceforge.net Description: EBook Documentation about Pango. License: OPL * dev-ruby/ruby-pango Latest version available: 0.12.0 Latest version installed: [ Not Installed ] Size of downloaded files: 1,095 kB Homepage: http://ruby-gnome2.sourceforge.jp/ Description: Ruby Pango bindings License: Ruby * media-plugins/gst-plugins-pango Latest version available: 0.8.10 Latest version installed: 0.8.10 Size of downloaded files: 2,341 kB Homepage: http://gstreamer.freedesktop.org/modules/gst-plugins.html Description: plugin for gstreamer License: GPL-2 * x11-libs/pango Latest version available: 1.10.2 Latest version installed: 1.10.2 Size of downloaded files: 1,141 kB Homepage: http://www.pango.org/ Description: Text rendering and layout library License: LGPL-2 FTL emerge --search cairo Searching... [ Results for search key : cairo ] [ Applications found : 5 ] * dev-java/cairo-java [ Masked ] Latest version available: 1.0.2 Latest version installed: [ Not Installed ] Size of downloaded files: 349 kB Homepage: http://java-gnome.sourceforge.net/ Description: Java bindings for cairo License: LGPL-2.1 * dev-python/pycairo [ Masked ] Latest version available: 1.0.2 Latest version installed: [ Not Installed ] Size of downloaded files: 458 kB Homepage: http://cairographics.org/pycairo Description: Python wrapper for cairo vector graphics library License: || ( LGPL-2.1 MPL-1.1 ) * dev-ruby/rcairo [ Masked ] Latest version available: 1.0.0 Latest version installed: [ Not Installed ] Size of downloaded files: 41 kB Homepage: http://cairographics.org Description: Ruby bindings for cairo License: Ruby * x11-libs/cairo Latest version available: 1.0.2 Latest version installed: 1.0.2 Size of downloaded files: 1,424 kB Homepage: http://cairographics.org/ Description: A vector graphics library with cross-device output support License: || ( LGPL-2.1 MPL-1.1 ) * x11-libs/libsvg-cairo Latest version available: 0.1.4 Latest version installed: [ Not Installed ] Size of downloaded files: 295 kB Homepage: http://xsvg.org/ Description: Render SVG content using cairo License: X11
And I couldn't find the referenced file anywhere on the system. ~ $ sudo find / -name "pangocairo.pc" Password: find: /proc/28772/task: No such file or directory find: /proc/28772/fd: No such file or directory find: /proc/18588/task: No such file or directory find: /proc/18588/fd: No such file or directory tdh@jake2005 ~ $
I entered bug 119323 to represent the x86 masses, asI was unable to update the hardware field to ALL here. I'm not sure if this is the right procedure, but wanted to make sure the team was aware of the issue on x86 as well. http://bugs.gentoo.org/show_bug.cgi?id=119323
@Todd H: if you recompile pango now, do you end up with the pangocairo.pc file? ( it should be in /usr/lib/pkgconfig/ ) Thanks
Thank you for looking into this John. FYI--I'm not sure if the hardware field for this bug should be changed from PPC to ALL as I was experiencing this issue on x86. Re-emerging pango a ton of times didn't help a week ago (Jan 11), but for whatever reason, it worked the magic today, which was also a day of several other updates. I've just re-emerged pango again (first time since the sync -uDav world I tried this morning where i ran into the gtk+ issue and it stopped, and which were the first emerge udates I've done since Jan11. This morning's update did include several updates listed below). Not sure what made it happy, but it's now happy. After re-emerging pango just now: $ pkg-config --exists pango pangocairo $ echo $? 0 # find / -name "pangocairo.pc" /usr/lib/pkgconfig/pangocairo.pc gtk+-2.8.8 finally has emerged successfully! w00t. Any idea what changed in the last week that made a pango reemerge fix the issue today, whereas it failed to do so previously per bug #101106 et al? The last pango emerge I see in my logs was from Jan 11, and it was followed by a failed gtk+-2.8.8 emerge. # ls -tlaro /var/log/portage .... -rw-r--r-- 1 root 12333 Jan 10 17:30 4089-gtk+-2.8.8.log -rw-r--r-- 1 root 204877 Jan 10 17:35 4089-pango-1.10.2.log -rw-r--r-- 1 root 204 Jan 10 17:35 4090-pango-1.10.2.log -rw-r--r-- 1 root 24666 Jan 10 17:42 4090-gtk+-2.8.8.log -rw-r--r-- 1 root 157900 Jan 10 18:43 4090-glib-2.8.4.log -rw-r--r-- 1 root 0 Jan 10 18:43 4091-glib-2.8.4.log -rw-r--r-- 1 root 12333 Jan 10 18:48 4091-gtk+-2.8.8.log -rw-r--r-- 1 root 204855 Jan 10 18:52 4091-pango-1.10.2.log -rw-r--r-- 1 root 204 Jan 10 18:52 4092-pango-1.10.2.log -rw-r--r-- 1 root 3238 Jan 10 20:12 4092-vmware-workstation-5.5.1.19175.log -rw-r--r-- 1 root 1248 Jan 10 20:12 4093-vmware-workstation-5.5.1.19175.log -rw-r--r-- 1 root 204855 Jan 11 22:54 4093-pango-1.10.2.log -rw-r--r-- 1 root 204 Jan 11 22:55 4094-pango-1.10.2.log -rw-r--r-- 1 root 94466 Jan 11 22:59 4094-cairo-1.0.2.log -rw-r--r-- 1 root 0 Jan 11 22:59 4095-cairo-1.0.2.log -rw-r--r-- 1 root 218 Jan 11 23:21 4095-gtk+-2.6.10-r1.log -rw-r--r-- 1 root 12333 Jan 11 23:24 4095-gtk+-2.8.8.log drwxr-xr-x 11 root 1352 Jan 17 03:16 .. -rw-r--r-- 1 root 0 Jan 17 11:51 4095-torsmo-0.18-r3.log -rw-r--r-- 1 root 0 Jan 17 11:52 4095-xpdf-3.01-r3.log -rw-r--r-- 1 root 833 Jan 17 11:53 4095-gnuconfig-20051223.log -rw-r--r-- 1 root 0 Jan 17 11:53 4096-gnuconfig-20051223.log -rw-r--r-- 1 root 0 Jan 17 11:53 4096-gnuconfig-20051113.log -rw-r--r-- 1 root 266 Jan 17 11:54 4096-libintl-0.log -rw-r--r-- 1 root 0 Jan 17 11:54 4097-libintl-0.log -rw-r--r-- 1 root 95313 Jan 17 11:55 4097-man-pages-2.20.log -rw-r--r-- 1 root 152 Jan 17 11:55 4098-man-pages-2.20.log -rw-r--r-- 1 root 0 Jan 17 11:55 4098-man-pages-2.18.log -rw-r--r-- 1 root 1941 Jan 17 11:56 4098-Test-Simple-0.62.log -rw-r--r-- 1 root 0 Jan 17 11:56 4099-Test-Simple-0.62.log -rw-r--r-- 1 root 0 Jan 17 11:56 4099-Test-Simple-0.54.log -rw-r--r-- 1 root 2344 Jan 17 11:57 4099-Locale-gettext-1.05.log -rw-r--r-- 1 root 0 Jan 17 11:57 4100-Locale-gettext-1.05.log -rw-r--r-- 1 root 0 Jan 17 11:57 4100-Locale-gettext-1.03.log -rw-r--r-- 1 root 31186 Jan 17 11:58 4100-cracklib-2.8.5.log -rw-r--r-- 1 root 0 Jan 17 11:58 4101-cracklib-2.8.5.log -rw-r--r-- 1 root 0 Jan 17 11:58 4101-cracklib-2.8.3-r1.log -rw-r--r-- 1 root 31629 Jan 17 12:01 4101-libtool-1.5.22.log -rw-r--r-- 1 root 0 Jan 17 12:01 4102-libtool-1.5.22.log -rw-r--r-- 1 root 0 Jan 17 12:01 4102-libtool-1.5.20.log -rw-r--r-- 1 root 24801 Jan 17 12:02 4102-xterm-207.log -rw-r--r-- 1 root 0 Jan 17 12:03 4103-xterm-207.log -rw-r--r-- 1 root 0 Jan 17 12:03 4103-xterm-204.log -rw-r--r-- 1 root 6271 Jan 17 12:03 4103-sysvinit-2.86-r3.log -rw-r--r-- 1 root 0 Jan 17 12:03 4104-sysvinit-2.86-r3.log -rw-r--r-- 1 root 0 Jan 17 12:04 4104-sysvinit-2.86.log -rw-r--r-- 1 root 1466 Jan 17 12:04 4104-baselayout-1.11.14.log -rw-r--r-- 1 root 483 Jan 17 12:04 4105-baselayout-1.11.14.log -rw-r--r-- 1 root 0 Jan 17 12:04 4105-baselayout-1.11.13-r1.log -rw-r--r-- 1 root 39071 Jan 17 12:10 4105-libperl-5.8.7.log -rw-r--r-- 1 root 0 Jan 17 12:10 4106-libperl-5.8.7.log -rw-r--r-- 1 root 0 Jan 17 12:11 4106-libperl-5.8.6-r1.log -rw-r--r-- 1 root 252055 Jan 17 12:23 4106-perl-5.8.7-r3.log -rw-r--r-- 1 root 223537 Jan 17 12:24 4107-perl-5.8.7-r3.log -rw-r--r-- 1 root 0 Jan 17 12:24 4107-perl-5.8.6-r8.log -rw-r--r-- 1 root 2568 Jan 17 12:25 4107-TermReadKey-2.30.log -rw-r--r-- 1 root 0 Jan 17 12:25 4108-TermReadKey-2.30.log -rw-r--r-- 1 root 0 Jan 17 12:25 4108-TermReadKey-2.21.log -rw-r--r-- 1 root 24874 Jan 17 13:44 4108-gtk+-2.8.8.log -rw-r--r-- 1 root 221591 Jan 17 15:40 4108-pango-1.10.2.log -rw-r--r-- 1 root 222510 Jan 17 15:53 4109-pango-1.10.2.log -rw-r--r-- 1 root 204 Jan 17 15:53 4110-pango-1.10.2.log -rw-r--r-- 1 root 933006 Jan 17 16:23 4110-gtk+-2.8.8.log -rw-r--r-- 1 root 218 Jan 17 16:23 4111-gtk+-2.8.8.log -rw-r--r-- 1 root 0 Jan 17 16:23 4111-gtk+-2.6.10-r1.log drwxrws--- 2 portage 56016 Jan 17 16:23 . Dunno what it was, but finally I can do a clean update! Woo hoo!
it definitely affects all archs. Essentially, if you emerge pango *before* you emerge cairo, it will not build the cairo backend( hence you not having pangocairo.pc ). ( and then get the error when trying to emerge gtk+ ) We will be committing a fix for this shortly. Thanks!
Thanks for the confirmation and workaround. I was starting to question the sanity of my gentoo installation!
this is not a blocker for 2.12, package is already stable.
this should be fixed now.
indeed it is fixed now.