Bug 207391 - security.h includes Xauth.h which is in libXau
security.h includes Xauth.h which is in libXau
Product: Fedora
Classification: Fedora
Component: xorg-x11-proto-devel (Show other bugs)
All Linux
medium Severity medium
: ---
: ---
Assigned To: Søren Sandmann Pedersen
Depends On:
  Show dependency treegraph
Reported: 2006-09-20 17:58 EDT by Søren Sandmann Pedersen
Modified: 2014-06-18 05:08 EDT (History)
5 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2007-09-27 16:57:09 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

External Trackers
Tracker ID Priority Status Summary Last Updated
FreeDesktop.org 12645 None None None Never

  None (edit)
Description Søren Sandmann Pedersen 2006-09-20 17:58:23 EDT
The file security.h includes Xauth.h which is in the libXau-devel package; we
can't add a dependency on libXau devel though, as that would produce cycles in
the dependency graph.
Comment 1 Adam Jackson 2007-06-06 18:14:13 EDT
Sure you can.  Just means you get either neither package, or both.  Right?
Comment 2 Patrice Dumas 2007-06-07 02:12:38 EDT
Is it only a runtime dependency cycle? In that case it isn't
problematic, but if it is a build-time dependency cycle, then
it is an issue.
Comment 3 Adam Jackson 2007-09-27 16:57:09 EDT
Okay, I see the problem.  This would be an issue for arch bootstrap, because:

- you need to build xorg-x11-proto-devel first, to build the rest of the X stack
- but if you made proto-devel Require: libXau-devel, you wouldn't be able to
satisfy the builddeps for libXau.

No big deal though, we'll just hide it behind %if build_bootstrap like we
already do for libGL-devel.  Fixed in proto-devel 7.3-2.
Comment 4 Patrice Dumas 2007-09-30 08:58:10 EDT
I think that this issue should be reported upstream. In the
mean time your solution seems to be the best one.
Comment 5 Matěj Cepl 2007-10-01 17:56:44 EDT
Filed upstream -- https://bugs.freedesktop.org/show_bug.cgi?id=12645
Please check, that I haven't screwed up that upstream report.
Comment 6 Patrice Dumas 2007-10-02 02:43:32 EDT
(In reply to comment #5)
> Filed upstream -- https://bugs.freedesktop.org/show_bug.cgi?id=12645
> Please check, that I haven't screwed up that upstream report.

The upstream bug report is not very clear. There are mentions to
the rpms, it is not very clean. In my opinion it should be something 
like (replace <foo> with the Xorg package name that contains security.h):

The file security.h in package <foo> includes Xauth.h which is in the 
libXau package. But libXau also requires security.h. Therefore there
is a build-time dependency cycle that complicates bootstraping builds
of those packages.
Comment 7 Matěj Cepl 2007-10-02 05:40:13 EDT
Just go ahead and put there a comment, please.
Comment 8 Patrice Dumas 2007-10-02 06:06:01 EDT
What should I put instead of <foo>? Otherwise said what is the
upstream package containing security.h?

I don't have an account in the Xorg bugzilla, so I'd prefer not
to put it myself, but if I have to I'll create an account.
Comment 9 Matěj Cepl 2007-10-02 06:29:26 EDT
Better -- https://bugs.freedesktop.org/show_bug.cgi?id=12645#c1 ???
Comment 10 Patrice Dumas 2007-10-02 06:37:18 EDT

Note You need to log in before you can comment on or make changes to this bug.