tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Wrappers don't transform @file syntax



On Fri, Jan 17, 2020 at 10:36:06AM +0000, Jonathan Perkin wrote:
> * On 2020-01-17 at 10:02 GMT, Patrick Welche wrote:
> 
> > On Wed, Jan 15, 2020 at 03:42:17PM +0100, Joerg Sonnenberger wrote:
> > > Please do not use $ORIGIN. It's a constant source of issues.
> > 
> > My view is that the indescriminate removal of $ORIGIN at several stages
> > of cwrappers operation is a constant source of issues.
> 
> It's very important to consider the context of when issues will arise
> when debating $ORIGIN.
> 
> We've chosen to ensure that the issues are exposed at build time, in a
> controlled environment, where a solution can be found that may take a
> little longer, but will ensure that once fixed we can have confidence
> that the binaries will function correctly and in an orderly manner
> without being affected by changes to the environment.
> 
> Allowing $ORIGIN moves the exposure to run time.  In production.  When
> something is going wrong that you're struggling to figure out, the
> site is down, and customers are screaming at you to get things up and
> running again.
> 
> I know which I'd prefer.

I'm happy with removing $ORIGIN at the end, so you don't install a binary
containing it, but cwrappers keeps removing it no matter what stage you
are at. Your argument just applies in the case I'm already happy with.


Home | Main Index | Thread Index | Old Index