Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » DSDP - Real-Time Software Components (RTSC) » symbolic links to data not physically present during the release process are ignored in the released
symbolic links to data not physically present during the release process are ignored in the released [message #892214] Wed, 27 June 2012 08:12 Go to next message
Patrick Geremia is currently offline Patrick Geremia
Messages: 79
Registered: July 2009
Member
In the attached example, the lnk.sh (in mypkg/custom/rootfs) points to
/usr/share/dsp/toto.sh
Since /usr/share/dsp/toto.sh does not exists, lnk.sh is ignored during
the release. See released package
mypkg/custom/rootfs/mypkg_custom_src.tar.gz
Is this a known issue of a bug?

I use xdctools_3_22_04_46

--Patrick
  • Attachment: mypkg.tar.gz
    (Size: 17.57KB, Downloaded 90 times)
Re: symbolic links to data not physically present during the release process are ignored in the rele [message #892641 is a reply to message #892214] Thu, 28 June 2012 18:38 Go to previous messageGo to next message
Sasha Slijepcevic is currently offline Sasha Slijepcevic
Messages: 84
Registered: July 2009
Member
Patrick,
somewhere deep in the bowels of RTSC we call stat() on each file. When we reach a soft link to a non-existent file, stat() returns an error status, which we ignore. It does look like a bug because we should be able to recover from it. I'll run some tests to see what happens in various scenarios, and then we'll figure out how urgent the bug is and how risky the fix is. Is it something that you can work around or it's a big problem for you?
Re: symbolic links to data not physically present during the release process are ignored in the rele [message #892771 is a reply to message #892641] Fri, 29 June 2012 10:32 Go to previous messageGo to next message
Patrick Geremia is currently offline Patrick Geremia
Messages: 79
Registered: July 2009
Member
Sasha,

We have a workaround we can live with for now.
I would like a bug report being filed if it turns out to be a bug.

Patrick

----------------------------------------------------------------------
From : Sasha Slijepcevic <forums-noreply@xxxxxxxx>
Date : Fri Jun 29 2012 00:38:09 GMT+0200 (CEST)


> Patrick,
> somewhere deep in the bowels of RTSC we call stat() on each file. When
> we reach a soft link to a non-existent file, stat() returns an error
> status, which we ignore. It does look like a bug because we should be
> able to recover from it. I'll run some tests to see what happens in
> various scenarios, and then we'll figure out how urgent the bug is and
> how risky the fix is. Is it something that you can work around or it's a
> big problem for you?
Re: symbolic links to data not physically present during the release process are ignored in the rele [message #893169 is a reply to message #892771] Mon, 02 July 2012 22:51 Go to previous message
Sasha Slijepcevic is currently offline Sasha Slijepcevic
Messages: 84
Registered: July 2009
Member
Patrick,
I filed a bug: https://bugs.eclipse.org/bugs/show_bug.cgi?id=384098
You can add your email to the CC list, if you want to be updated while the bug's status changes.

[Updated on: Tue, 03 July 2012 12:02]

Report message to a moderator

Previous Topic:symbolic links to data not physically present during the release process are ignored in the released
Next Topic:RTSC XDC Module around SPLINT
Goto Forum:
  


Current Time: Wed Apr 16 00:53:25 EDT 2014

Powered by FUDForum. Page generated in 0.01598 seconds