Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#4733 - X11 headers not found?
Attached to Project:
Arch Linux
Opened by Eugenia Loli-Queru (Eugenia) - Tuesday, 30 May 2006, 08:18 GMT
Last edited by Tobias Powalowski (tpowa) - Tuesday, 30 May 2006, 14:34 GMT
Opened by Eugenia Loli-Queru (Eugenia) - Tuesday, 30 May 2006, 08:18 GMT
Last edited by Tobias Powalowski (tpowa) - Tuesday, 30 May 2006, 14:34 GMT
|
DetailsI haven't upgraded one of my two laptops for 2 months now, so I did it tonight. After the upgrade, I also downloaded Gnome Power Manager (why is this not part of Arch??) and tried to compile it. It configures correctly, but then gdk.h spits an error saying that it can't find X11/x11.h. I am not sure this is Gnome Power Manager's bug, but GDK's, that's why I report this here.
|
This task depends upon
What happens is this:
/usr/include/X11 is a symlink to /usr/X11R6/include/X11 in the XFree86 and Xorg packages.
you install the new Xorg and have to force-overwrite files, because these files exist in /usr/include/X11/* already, and pacman doesn't know about it. You force the package and pacman overwrites the files. These files get written in /usr/X11R6/include/X11, but pacman doesn't know about it because of the symlink.
Then your xorg package gets replaced by a dummy package that only has dependencies, resulting in the removal of all includefiles in /usr/X11R6/include/X11.
This is what is causing your error. You will have to reinstall most of the Xorg libraries and protocol packages to get them back.
And why don't you fix that pacman bug? It's a known bug for a long time now!
The file conflict bug isn't something pacman can handle very easy because directory symlinks are involved. This case of file movements is very rare, so I don't think it will get fixed ever in pacman. The normal file conflict bug that used to be in pacman has been fixed a few releases ago and doesn't demolish your system anymore.