:: Re: [DNG] yet another case of silly…
Αρχική Σελίδα
Delete this message
Reply to this message
Συντάκτης: KatolaZ
Ημερομηνία:  
Προς: dng
Αντικείμενο: Re: [DNG] yet another case of silly Lennartism :p [Fwd: Our build system may be broken: /bin vs /usr/bin]
On Wed, Nov 21, 2018 at 06:04:01PM +0000, Rowland Penny wrote:

[cut]

> >
> > > Did you read the debian bugreport ?
> >
> >
> >   Yes, I did.
> >
> >   Now you, how would you have a #!/bin/Rscript script work without a
> > filesystem-level link?
> >
> >
>
> I repeat, the problem in the bugreport had nothing to do with a shebang,
> it was a a hardcoded variable for sed, this worked until sed was moved
> to another directory. The script probably would still have worked if,
> instead of hardcoding the sed path, it had used the output from 'which'
> or 'type'
>


It actually wouldn't have worked anyway, because `which` uses PATH,
and in PATH /usr/bin normally comes before /bin. The package was built
in a non-merged-usr env by the maintainer, and worked fine, then it
failed when built in the buildd environment, which had been already
migrated to merged-usr. The migration of the builders to merged-usr
has apparently been reverted (see an email in debian-devel yesterday).

My2Cents

KatolaZ

-- 
[ ~.,_  Enzo Nicosia aka KatolaZ - Devuan -- Freaknet Medialab  ]  
[     "+.  katolaz [at] freaknet.org --- katolaz [at] yahoo.it  ]
[       @)   http://kalos.mine.nu ---  Devuan GNU + Linux User  ]
[     @@)  http://maths.qmul.ac.uk/~vnicosia --  GPG: 0B5F062F  ] 
[ (@@@)  Twitter: @KatolaZ - skype: katolaz -- github: KatolaZ  ]