Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 258617 - media-libs/libcaca-0.99_beta16 fails to build with pango-1.22.4
Summary: media-libs/libcaca-0.99_beta16 fails to build with pango-1.22.4
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Media-video project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-02-11 16:17 UTC by James Ausmus
Modified: 2009-05-15 07:50 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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