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

Bug 258617

Summary: media-libs/libcaca-0.99_beta16 fails to build with pango-1.22.4
Product: Gentoo Linux Reporter: James Ausmus <james.ausmus>
Component: Current packagesAssignee: Gentoo Media-video project <media-video>
Status: RESOLVED WORKSFORME    
Severity: normal CC: gnome
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description James Ausmus 2009-02-11 16:17:30 UTC
Relevant snip of the emerge output:

make[2]: Entering directory `/var/tmp/portage/media-libs/libcaca-0.99_beta16/work/libcaca-0.99.beta16/tools'                                                                                                   
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I..  -I.. -I../caca -I../caca -I../caca -DDATADIR=\"/usr/share/libcaca\" -DOPTIMISE_SLANG_PALETTE=1  -I  -march=native -O2 -pipe -Wall -Wpointer-arith -Wcast-align -Wcast-qual -Wstrict-prototypes -Wshadow -Waggregate-return -Wmissing-prototypes -Wnested-externs -Wsign-compare -MT optipal.o -MD -MP -MF .deps/optipal.Tpo -c -o optipal.o optipal.c                       
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I..  -I.. -I../caca -I../caca -I../caca -DDATADIR=\"/usr/share/libcaca\" -DOPTIMISE_SLANG_PALETTE=1  -I  -march=native -O2 -pipe -Wall -Wpointer-arith -Wcast-align -Wcast-qual -Wstrict-prototypes -Wshadow -Waggregate-return -Wmissing-prototypes -Wnested-externs -Wsign-compare -MT sortchars.o -MD -MP -MF .deps/sortchars.Tpo -c -o sortchars.o sortchars.c               
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I..  -I.. -I../caca -I../caca -I../caca -DDATADIR=\"/usr/share/libcaca\" -DOPTIMISE_SLANG_PALETTE=1  -I -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include   -march=native -O2 -pipe -Wall -Wpointer-arith -Wcast-align -Wcast-qual -Wstrict-prototypes -Wshadow -Waggregate-return -Wmissing-prototypes -Wnested-externs -Wsign-compare -MT makefont-makefont.o -MD -MP -MF .deps/makefont-makefont.Tpo -c -o makefont-makefont.o `test -f 'makefont.c' || echo './'`makefont.c                                                           
makefont.c:30:25: error: pango/pango.h: No such file or directory                                                                                                                                              
makefont.c:31:28: error: pango/pangoft2.h: No such file or directory                                                                                                                                           


libcaca is expecting to include pango.h from /usr/include/pango, but it actually exists under /usr/include/pango-1.0/pango

Reproducible: Always

Steps to Reproduce:
1. emerge pango
2. emerge libcaca
3.
Comment 1 Alexis Ballier gentoo-dev 2009-02-27 13:24:37 UTC
(In reply to comment #0)
> x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I..  -I.. -I../caca -I../caca
> -I../caca -DDATADIR=\"/usr/share/libcaca\" -DOPTIMISE_SLANG_PALETTE=1  -I
> -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/glib-2.0
> -I/usr/lib64/glib-2.0/include   -march=native -O2 -pipe -Wall -Wpointer-arith
> -Wcast-align -Wcast-qual -Wstrict-prototypes -Wshadow -Waggregate-return
> -Wmissing-prototypes -Wnested-externs -Wsign-compare -MT makefont-makefont.o
> -MD -MP -MF .deps/makefont-makefont.Tpo -c -o makefont-makefont.o `test -f
> 'makefont.c' || echo './'`makefont.c                                            
> makefont.c:30:25: error: pango/pango.h: No such file or directory               
> makefont.c:31:28: error: pango/pangoft2.h: No such file or directory            

[ebuild   R   ] x11-libs/pango-1.22.4  USE="X doc -debug" 0 kB

equery files pango | grep include
/usr/include
/usr/include/pango-1.0
/usr/include/pango-1.0/pango
/usr/include/pango-1.0/pango/pango-attributes.h
/usr/include/pango-1.0/pango/pango-bidi-type.h
/usr/include/pango-1.0/pango/pango-break.h
etc.

the compiler command line shows the -I/usr/include/pango-1.0 so your pango install is very likely broken.
Comment 2 Alexis Ballier gentoo-dev 2009-05-15 07:50:16 UTC
(In reply to comment #1)
> equery files pango | grep include
> /usr/include
> /usr/include/pango-1.0
> /usr/include/pango-1.0/pango
> /usr/include/pango-1.0/pango/pango-attributes.h
> /usr/include/pango-1.0/pango/pango-bidi-type.h
> /usr/include/pango-1.0/pango/pango-break.h
> etc.
> 
> the compiler command line shows the -I/usr/include/pango-1.0 so your pango
> install is very likely broken.
> 

closing as worksforme then