Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 33256

Summary: libglade emerge failed during compile due to pangoxft not found
Product: Gentoo Linux Reporter: TommyDrum <mycooc>
Component: [OLD] GNOMEAssignee: Gentoo Linux Gnome Desktop Team <gnome>
Status: RESOLVED INVALID    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description TommyDrum 2003-11-11 14:40:13 UTC
Trying to emerge libglade 2.0.1 fails with error message reguarding the non
existence of pangoxft. As expected, pango (1.2.5 in my case) isn't installed, so
has to be manually installed in order to emerge libglade.

Reproducible: Always
Steps to Reproduce:
1.emerge --verbose libglade
2.
3.

Actual Results:  
compiling complains about non finding pangoxft (not remembering the extension,
if any)
Comment 1 foser (RETIRED) gentoo-dev 2003-11-11 15:25:30 UTC
libglade deps on gtk+ deps on pango deps on virtual/xft . So the pango xft
backend  should get built. dunno why this didnt happen for you, but it's
most likely some sort of inreproducable problem on your side.

closing as invalid, becuase i don't see this happening on a clean system.

reopen if you have some valid proof of it being a reproducable problem
Comment 2 Mike Nerone 2004-05-25 14:14:18 UTC
I can vouch that it is, in fact, reproducible, because it just happened to me.

I was trying to merge porthole (which I've added to /etc/portage/package.keywords with ~x86, incidentally) and got the same error. It appears (at first glance, anyway) to be a bug in the ordering logic of portage. Here's the output:

#####################################################################
sagan root # emerge -av porthole

These are the packages that I would merge, in order:

Calculating dependencies ...done!
[ebuild  N    ] dev-libs/atk-1.6.0  -doc  0 kB 
[ebuild  N    ] media-libs/glut-3.7.1   0 kB 
[ebuild  N    ] dev-python/PyOpenGL-2.0.0.44   0 kB 
[ebuild  N    ] gnome-base/libglade-2.3.6  -doc  335 kB 
[ebuild  N    ] x11-libs/gtkglarea-1.99.0   205 kB 
[ebuild  N    ] x11-libs/pango-1.4.0  -doc  0 kB 
[ebuild  N    ] dev-python/pygtk-2.0.0-r1  +gnome +opengl  514 kB 
[ebuild  N    ] dev-python/pyxml-0.8.3   712 kB 
[ebuild  N    ] app-portage/porthole-0.3-r1   65 kB 

Total size of downloads: 1,832 kB

Do you want me to merge these packages? [Yes/No] [Note I said yes]
>>> emerge (1 of 9) dev-libs/atk-1.6.0 to /
<SNIP>
>>> emerge (2 of 9) media-libs/glut-3.7.1 to /
<SNIP>
>>> emerge (3 of 9) dev-python/PyOpenGL-2.0.0.44 to /
<SNIP>
>>> emerge (4 of 9) gnome-base/libglade-2.3.6 to /
>>> Downloading http://gentoo.chem.wisc.edu/gentoo/distfiles/libglade-2.3.6.tar.bz2
--15:42:10--  http://gentoo.chem.wisc.edu/gentoo/distfiles/libglade-2.3.6.tar.bz2
           => `/usr/portage/distfiles/libglade-2.3.6.tar.bz2'
Resolving gentoo.chem.wisc.edu... 128.104.70.13
Connecting to gentoo.chem.wisc.edu[128.104.70.13]:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 343,224 [application/x-tar]

100%[========================================================================================>] 343,224      155.60K/s             

15:42:12 (155.09 KB/s) - `/usr/portage/distfiles/libglade-2.3.6.tar.bz2' saved [343224/343224]

>>> md5 src_uri ;-) libglade-2.3.6.tar.bz2
>>> Unpacking source...
>>> Unpacking libglade-2.3.6.tar.bz2 to /var/tmp/portage/libglade-2.3.6/work
>>> Source unpacked.
patching file Makefile.am
patching file Makefile.in
Hunk #1 succeeded at 771 (offset 135 lines).
 * Patching ${S}/ltmain.sh...
 *   Applying portage-1.4.1.patch...
 *   Applying max_cmd_len-1.5.0.patch...
configure: WARNING: If you wanted to set the --build type, don't use --host.
    If a cross compiler is detected then cross compile mode will be used.
checking for a BSD-compatible install... /bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for i686-pc-linux-gnu-strip... no
checking for strip... strip
checking if debuging support was requested... yes
checking for i686-pc-linux-gnu-gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... 
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking for strerror in -lcposix... no
checking how to run the C preprocessor... gcc -E
checking for egrep... grep -E
checking for ANSI C header files... yes
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for a sed that does not truncate output... /bin/sed
checking for ld used by gcc... /usr/i686-pc-linux-gnu/bin/ld
checking if the linker (/usr/i686-pc-linux-gnu/bin/ld) is GNU ld... yes
checking for /usr/i686-pc-linux-gnu/bin/ld option to reload object files... -r
checking for BSD-compatible nm... nm
checking whether ln -s works... yes
checking how to recognise dependent libraries... pass_all
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking for i686-pc-linux-gnu-g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking how to run the C++ preprocessor... g++ -E
checking for i686-pc-linux-gnu-g77... i686-pc-linux-gnu-g77
checking whether we are using the GNU Fortran 77 compiler... yes
checking whether i686-pc-linux-gnu-g77 accepts -g... yes
checking the maximum length of command line arguments... 32768
checking command to parse nm output from gcc object... ok
checking for objdir... .libs
checking for i686-pc-linux-gnu-ar... no
checking for ar... ar
checking for i686-pc-linux-gnu-ranlib... no
checking for ranlib... ranlib
checking for i686-pc-linux-gnu-strip... strip
checking if gcc static flag  works... yes
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc supports -c -o file.o... yes
checking whether the gcc linker (/usr/i686-pc-linux-gnu/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
configure: creating libtool
appending configuration tag "CXX" to libtool
checking for ld used by g++... /usr/i686-pc-linux-gnu/bin/ld
checking if the linker (/usr/i686-pc-linux-gnu/bin/ld) is GNU ld... yes
checking whether the g++ linker (/usr/i686-pc-linux-gnu/bin/ld) supports shared libraries... yes
checking for g++ option to produce PIC... -fPIC
checking if g++ PIC flag -fPIC works... yes
checking if g++ supports -c -o file.o... yes
checking whether the g++ linker (/usr/i686-pc-linux-gnu/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
appending configuration tag "F77" to libtool
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for i686-pc-linux-gnu-g77 option to produce PIC... -fPIC
checking if i686-pc-linux-gnu-g77 PIC flag -fPIC works... yes
checking if i686-pc-linux-gnu-g77 supports -c -o file.o... yes
checking whether the i686-pc-linux-gnu-g77 linker (/usr/i686-pc-linux-gnu/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking for pkg-config... /usr/bin/pkg-config
checking for GTK+ - version >= 2.3.0... no
*** Could not run GTK+ test program, checking why...
*** The test program failed to compile or link. See the file config.log for the
*** exact error that occured. This usually means GTK+ is incorrectly installed.
checking for gtk_plug_get_type... no
checking for pkg-config... (cached) /usr/bin/pkg-config
checking for libxml-2.0 >= 2.4.10 atk >= 1.0.0 gtk+-2.0 >= 2.3.0 glib-2.0 >= 2.3.1... Package pangoxft was not found in the pkg-config search path.
Perhaps you should add the directory containing `pangoxft.pc'
to the PKG_CONFIG_PATH environment variable
Package 'pangoxft', required by 'GDK', not found

configure: error: Library requirements (libxml-2.0 >= 2.4.10 atk >= 1.0.0 gtk+-2.0 >= 2.3.0 glib-2.0 >= 2.3.1) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them.

!!! ERROR: gnome-base/libglade-2.3.6 failed.
!!! Function econf, Line 365, Exitcode 1
!!! econf failed
#####################################################################

As you can see, pango was scheduled to be merged after libglade, even thought libglade has, as you pointed out, a transitive dependency on pango. A simple one-shot emerge of pango fixed the problem, but something is fundamentally wrong here. Perhaps this needs to be reassigned to the portage devs?

Here's my emerge info:

#####################################################################
Portage 2.0.50-r6 (default-x86-2004.0, gcc-3.3.2, glibc-2.3.2-r9, 2.6.5-gentoo-r1)
=================================================================
System uname: 2.6.5-gentoo-r1 i686 Pentium III (Coppermine)
Gentoo Base System version 1.4.10
Autoconf: sys-devel/autoconf-2.58-r1
Automake: sys-devel/automake-1.8.3
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O3 -march=pentium3 -pipe -fomit-frame-pointer -fstack-protector"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O3 -march=pentium3 -pipe -fomit-frame-pointer -fstack-protector"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="http://gentoo.chem.wisc.edu/gentoo/ http://128.213.5.34/gentoo/ http://gentoo.netnitco.net http://mirror.cpsc.ucalgary.ca/mirror/gentoo.org http://cudlug.cudenver.edu/gentoo/ http://gentoo.ccccom.com http://gentoo.binarycompass.org http://adelie.polymtl.ca/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X aalib aavm alsa apache2 apm arts avi crypt cups encode flash foomaticdb gd gif gnome gtk gtk2 imagemagick imap imlib jpeg kde lcms libg++ libwww mad mcal memlimit mikmod mmx motif mpeg mysql ncurses nls oggvorbis opengl oss pam pdflib perl png ppds python qt quicktime readline samba sasl sdl slang slp spell sse ssl svga tcpd threads tiff truetype usb x86 xml xml2 xmms xv zlib"
#####################################################################

Note: no option to reopen the ticket was presented to me. Please do so on my behalf.