Arch Linux

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!
Tasklist

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
Task Type Bug Report
Category System
Status Closed
Assigned To Jan de Groot (JGC)
Architecture not specified
Severity Medium
Priority Normal
Reported Version 0.7.2 Gimmick
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

I 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

Closed by  Jan de Groot (JGC)
Wednesday, 14 June 2006, 21:11 GMT
Reason for closing:  Won't fix
Comment by Jan de Groot (JGC) - Tuesday, 30 May 2006, 22:17 GMT
Looks like you hit the pacman file move bug again.

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.
Comment by Eugenia Loli-Queru (Eugenia) - Tuesday, 30 May 2006, 22:23 GMT
What do you mean by "protocol" packages? Which are these?
And why don't you fix that pacman bug? It's a known bug for a long time now!
Comment by Jan de Groot (JGC) - Wednesday, 14 June 2006, 21:11 GMT
The protocol packages are the one in the x11-proto category. The fact that you had to pacman -Sf things should indicate that more action is required than just forcing all files. Many workarounds have been documented on the forums, wiki, blog, announcements and mailinglists. Therefore I'll close this bug for 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.

Loading...