Bug 171011 - Include files in wrong directory
Summary: Include files in wrong directory
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Fedora
Classification: Fedora
Component: synce
Version: rawhide
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Andreas Bierfert
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
: 185465 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2005-10-17 12:21 UTC by Pierre Ossman
Modified: 2007-11-30 22:11 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2005-11-28 20:49:51 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Pierre Ossman 2005-10-17 12:21:36 UTC
The included header files get placed directly in /usr/include when some of them
should be in /usr/include/rra. (There might be more errors but this is the one
causing problems for me.)

The makefile seems correct and the spec does nothing magic to move the files
around. I'm guessing the problem is that the makefile moves the headers by
changing the automake includedir variable (instead of defining a new one). I get
other build errors when trying to rebuild the package on my machine (up to date
rawhide) so I haven't confirmed this.

Comment 1 Andreas Bierfert 2005-10-17 14:08:07 UTC
I fail to see why this is a problem. Putting include files in /usr/include or a
subdir of /usr/include is a mere matter of taste an usefullness and when I took
over the includes had been in /usr/include and I don't see why this should be
changed. 

What Problems do you have? (the current version does not work on rawhide due to
some gcc issues). I am working on this as I finally got a replacement for my old
rawhide box.

Comment 2 Pierre Ossman 2005-10-17 14:26:33 UTC
This would not be a problem if not for the fact that:

a) The included .m4 look for the headers in a rra/ subdir.
b) synce seems to promote using #include <rra/header.h> (as seen from a)).

Putting the files in something other than */rra breaks existing programs
(opensync in my case).

Comment 3 Andreas Bierfert 2005-11-28 20:49:51 UTC
As I will put up opensync for review in a short while (just patching
libopensyncs rpath stuff) I will close this. Putting them in %{_includedir}
should be fine...

Comment 4 Andreas Bierfert 2006-03-15 08:53:10 UTC
*** Bug 185465 has been marked as a duplicate of this bug. ***

Comment 5 quintesse 2006-07-26 20:36:32 UTC
I have to second Pierre Ossman (#2) that other code around the net, in my case
the opensync synce plugin, seems to expect these includes to be in an rra/ sub
folder.

Don't know who is right and who is wrong though.


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