* [Xenomai-core] Debian lintian warning: symlink-is-self-recursive
@ 2008-04-19 20:01 Roland Stigge
2008-04-22 9:36 ` [Xenomai-core] " Roland Stigge
0 siblings, 1 reply; 4+ messages in thread
From: Roland Stigge @ 2008-04-19 20:01 UTC (permalink / raw)
To: xenomai
Hi,
Debian's lintian(1), the package checker, tells me:
=========================================================================
W: libxenomai-dev: symlink-is-self-recursive
usr/include/xenomai/asm-generic/xenomai .
N:
N: The symbolic link is recursive to a higher directory of the symlink
N: itself. This means, that you can infinitely chdir with this symlink.
N: This is usually not okay, but sometimes wanted behaviour.
N:
W: libxenomai-dev: symlink-is-self-recursive
usr/include/xenomai/asm-sim/asm .
W: libxenomai-dev: symlink-is-self-recursive
usr/include/xenomai/asm-sim/xenomai .
W: libxenomai-dev: symlink-is-self-recursive
usr/include/xenomai/asm-x86/xenomai .
W: libxenomai-dev: symlink-is-self-recursive usr/include/xenomai/xenomai .
=========================================================================
I.e. installing Xenomai created those recursive links which might be
there for source compatibility reasons. Can they be removed at some
point or should I accept the above issue as intended for the future?
Thanks,
Roland
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [Xenomai-core] warning: symlink-is-self-recursive
2008-04-19 20:01 [Xenomai-core] Debian lintian warning: symlink-is-self-recursive Roland Stigge
@ 2008-04-22 9:36 ` Roland Stigge
2008-04-22 9:49 ` Philippe Gerum
0 siblings, 1 reply; 4+ messages in thread
From: Roland Stigge @ 2008-04-22 9:36 UTC (permalink / raw)
To: xenomai
Hi,
Roland Stigge wrote:
> =========================================================================
> W: libxenomai-dev: symlink-is-self-recursive
> usr/include/xenomai/asm-generic/xenomai .
> N:
> N: The symbolic link is recursive to a higher directory of the symlink
> N: itself. This means, that you can infinitely chdir with this symlink.
> N: This is usually not okay, but sometimes wanted behaviour.
> N:
> W: libxenomai-dev: symlink-is-self-recursive
> usr/include/xenomai/asm-sim/asm .
> W: libxenomai-dev: symlink-is-self-recursive
> usr/include/xenomai/asm-sim/xenomai .
> W: libxenomai-dev: symlink-is-self-recursive
> usr/include/xenomai/asm-x86/xenomai .
> W: libxenomai-dev: symlink-is-self-recursive usr/include/xenomai/xenomai .
> =========================================================================
>
> I.e. installing Xenomai created those recursive links which might be
> there for source compatibility reasons. Can they be removed at some
> point or should I accept the above issue as intended for the future?
No comment from anyone? Maybe I should detect the necessity for those
links by removing and seeing if anyone complains? ;-)
bye,
Roland
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [Xenomai-core] warning: symlink-is-self-recursive
2008-04-22 9:36 ` [Xenomai-core] " Roland Stigge
@ 2008-04-22 9:49 ` Philippe Gerum
2008-04-22 22:13 ` Gilles Chanteperdrix
0 siblings, 1 reply; 4+ messages in thread
From: Philippe Gerum @ 2008-04-22 9:49 UTC (permalink / raw)
To: Roland Stigge; +Cc: xenomai
Roland Stigge wrote:
> Hi,
>
> Roland Stigge wrote:
>> =========================================================================
>> W: libxenomai-dev: symlink-is-self-recursive
>> usr/include/xenomai/asm-generic/xenomai .
>> N:
>> N: The symbolic link is recursive to a higher directory of the symlink
>> N: itself. This means, that you can infinitely chdir with this symlink.
>> N: This is usually not okay, but sometimes wanted behaviour.
>> N:
>> W: libxenomai-dev: symlink-is-self-recursive
>> usr/include/xenomai/asm-sim/asm .
>> W: libxenomai-dev: symlink-is-self-recursive
>> usr/include/xenomai/asm-sim/xenomai .
>> W: libxenomai-dev: symlink-is-self-recursive
>> usr/include/xenomai/asm-x86/xenomai .
>> W: libxenomai-dev: symlink-is-self-recursive usr/include/xenomai/xenomai .
>> =========================================================================
>>
>> I.e. installing Xenomai created those recursive links which might be
>> there for source compatibility reasons. Can they be removed at some
>> point or should I accept the above issue as intended for the future?
>
> No comment from anyone? Maybe I should detect the necessity for those
> links by removing and seeing if anyone complains? ;-)
>
Those links are intended. We need them to build applications, so that the
include paths in userland look like the kernel ones, since we share header files
between both environments.
> bye,
> Roland
>
> _______________________________________________
> Xenomai-core mailing list
> Xenomai-core@domain.hid
> https://mail.gna.org/listinfo/xenomai-core
>
--
Philippe.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [Xenomai-core] warning: symlink-is-self-recursive
2008-04-22 9:49 ` Philippe Gerum
@ 2008-04-22 22:13 ` Gilles Chanteperdrix
0 siblings, 0 replies; 4+ messages in thread
From: Gilles Chanteperdrix @ 2008-04-22 22:13 UTC (permalink / raw)
To: rpm; +Cc: xenomai
Philippe Gerum wrote:
> Roland Stigge wrote:
> > Hi,
> >
> > Roland Stigge wrote:
> >> =========================================================================
> >> W: libxenomai-dev: symlink-is-self-recursive
> >> usr/include/xenomai/asm-generic/xenomai .
> >> N:
> >> N: The symbolic link is recursive to a higher directory of the symlink
> >> N: itself. This means, that you can infinitely chdir with this symlink.
> >> N: This is usually not okay, but sometimes wanted behaviour.
> >> N:
> >> W: libxenomai-dev: symlink-is-self-recursive
> >> usr/include/xenomai/asm-sim/asm .
> >> W: libxenomai-dev: symlink-is-self-recursive
> >> usr/include/xenomai/asm-sim/xenomai .
> >> W: libxenomai-dev: symlink-is-self-recursive
> >> usr/include/xenomai/asm-x86/xenomai .
> >> W: libxenomai-dev: symlink-is-self-recursive usr/include/xenomai/xenomai .
> >> =========================================================================
> >>
> >> I.e. installing Xenomai created those recursive links which might be
> >> there for source compatibility reasons. Can they be removed at some
> >> point or should I accept the above issue as intended for the future?
> >
> > No comment from anyone? Maybe I should detect the necessity for those
> > links by removing and seeing if anyone complains? ;-)
> >
>
> Those links are intended. We need them to build applications, so that the
> include paths in userland look like the kernel ones, since we share header files
> between both environments.
If we really wanted to remove the recursive symlinks (I do not advocate
this, in fact I have no opinion about it, for instance are there really
tools that go wild with such links ?), we could move include/asm-* to
include/xenomai/asm-* and use #include <xenomai/asm/foo.h> everywhere.
--
Gilles.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2008-04-22 22:13 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-04-19 20:01 [Xenomai-core] Debian lintian warning: symlink-is-self-recursive Roland Stigge
2008-04-22 9:36 ` [Xenomai-core] " Roland Stigge
2008-04-22 9:49 ` Philippe Gerum
2008-04-22 22:13 ` Gilles Chanteperdrix
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.