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

Bug 383839

Summary: x11-misc/xdg-user-dirs-gtk-0.8-r1 failed to compile
Product: Gentoo Linux Reporter: Marko D <markodevelop>
Component: [OLD] GNOMEAssignee: Gentoo Linux Gnome Desktop Team <gnome>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Marko D 2011-09-20 16:13:17 UTC
x11-misc/xdg-user-dirs-gtk-0.8-r1 would not compile:


if x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I. -I. -I. -DLOCALEDIR=\"/usr/share/locale\" -DXDG_USER_DIRS_UPDATE=\"/usr/bin/xdg-user-dirs-update\"      -march=native -O2 -pipe -MT parse.o -MD -MP -MF ".deps/parse.Tpo" \
  -c -o parse.o `test -f 'parse.c' || echo './'`parse.c; \
then mv -f ".deps/parse.Tpo" ".deps/parse.Po"; \
else rm -f ".deps/parse.Tpo"; exit 1; \
fi
if x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I. -I. -I. -DLOCALEDIR=\"/usr/share/locale\" -DXDG_USER_DIRS_UPDATE=\"/usr/bin/xdg-user-dirs-update\"      -march=native -O2 -pipe -MT update.o -MD -MP -MF ".deps/update.Tpo" \
  -c -o update.o `test -f 'update.c' || echo './'`update.c; \
then mv -f ".deps/update.Tpo" ".deps/update.Po"; \
else rm -f ".deps/update.Tpo"; exit 1; \
fi
LC_ALL=C /usr/bin/intltool-merge -d -u -c ./po/.intltool-merge-cache ./po user-dirs-update-gtk.desktop.in user-dirs-update-gtk.desktop
In file included from parse.c:1:0:
parse.h:1:18: fatal error: glib.h: No such file or directory
compilation terminated.
make[2]: *** [parse.o] Error 1
make[2]: *** Waiting for unfinished jobs....
update.c:9:21: fatal error: gtk/gtk.h: No such file or directory
compilation terminated.
make[2]: *** [update.o] Error 1


qlist -Iv glibc
sys-libs/glibc-2.13-r4


Reproducible: Always
Comment 1 Alexandre Rostovtsev (RETIRED) gentoo-dev 2011-09-20 17:10:24 UTC
This error is caused by an invalid file in /usr/lib/pkgconfig.

The most likely cause is that after upgrading to libpng-1.5, you did not run the revdep-rebuild command that libpng printed in its post-install message.

*** This bug has been marked as a duplicate of bug 383655 ***
Comment 2 Marko D 2011-09-21 20:19:37 UTC
My mistake, revdep-rebuild fixed the issue (but has also introduced new issues, already reported as bugs for upgrading to libpng 1.5 :D )