Hello.
I mean, strip these from the environment upon startup, so that the
diagnostic
>>> ERROR: s-postgray*: Has /home/... in rpath
>>> ERROR: s-postgray*: prepare_package failed
>>> ERROR: s-postgray: rootpkg failed
would only come into play if the package itself mangles the stuff?
--steffen
|
|Der Kragenbaer, The moon bear,
|der holt sich munter he cheerfully and one by one
|einen nach dem anderen runter wa.ks himself off
|(By Robert Gernhardt)
On Fri Apr 21, 2023 at 12:28 AM CEST, Steffen Nurpmeso wrote:
> Hello.>> I mean, strip these from the environment upon startup, so that the> diagnostic>> >>> ERROR: s-postgray*: Has /home/... in rpath> >>> ERROR: s-postgray*: prepare_package failed> >>> ERROR: s-postgray: rootpkg failed>> would only come into play if the package itself mangles the stuff?
`abuild rootbld` strips the env already (in the recent release).
regular abuild doesn't clear any env vars (iirc).
>> --steffen> |> |Der Kragenbaer, The moon bear,> |der holt sich munter he cheerfully and one by one> |einen nach dem anderen runter wa.ks himself off> |(By Robert Gernhardt)
alice wrote in
<CS1Y2V6FNWIJ.2KKN61M3TCZ2T@sumire>:
|On Fri Apr 21, 2023 at 12:28 AM CEST, Steffen Nurpmeso wrote:
|> Hello.
|>
|> I mean, strip these from the environment upon startup, so that the
|> diagnostic
|>
|>>>> ERROR: s-postgray*: Has /home/... in rpath
|>>>> ERROR: s-postgray*: prepare_package failed
|>>>> ERROR: s-postgray: rootpkg failed
|>
|> would only come into play if the package itself mangles the stuff?
|
|`abuild rootbld` strips the env already (in the recent release).
|
|regular abuild doesn't clear any env vars (iirc).
Thank you alice, i will use this instead next time.
--steffen
|
|Der Kragenbaer, The moon bear,
|der holt sich munter he cheerfully and one by one
|einen nach dem anderen runter wa.ks himself off
|(By Robert Gernhardt)
Steffen Nurpmeso wrote in
<20230421211437.dAfLD%steffen@sdaoden.eu>:
|alice wrote in
| <CS1Y2V6FNWIJ.2KKN61M3TCZ2T@sumire>:
||On Fri Apr 21, 2023 at 12:28 AM CEST, Steffen Nurpmeso wrote:
||> I mean, strip these from the environment upon startup, so that the
||> diagnostic
||>
||>>>> ERROR: s-postgray*: Has /home/... in rpath
||>>>> ERROR: s-postgray*: prepare_package failed
||>>>> ERROR: s-postgray: rootpkg failed
||>
||> would only come into play if the package itself mangles the stuff?
||
||`abuild rootbld` strips the env already (in the recent release).
||
||regular abuild doesn't clear any env vars (iirc).
|
|Thank you alice, i will use this instead next time.
Uh! That is tough! I better write a little script instead.
(But great it works, i first was afraid i have to be root.)
--steffen
|
|Der Kragenbaer, The moon bear,
|der holt sich munter he cheerfully and one by one
|einen nach dem anderen runter wa.ks himself off
|(By Robert Gernhardt)
On Fri Apr 21, 2023 at 11:38 PM CEST, Steffen Nurpmeso wrote:
> Steffen Nurpmeso wrote in> <20230421211437.dAfLD%steffen@sdaoden.eu>:> |alice wrote in> | <CS1Y2V6FNWIJ.2KKN61M3TCZ2T@sumire>:> ||On Fri Apr 21, 2023 at 12:28 AM CEST, Steffen Nurpmeso wrote:> ||> I mean, strip these from the environment upon startup, so that the> ||> diagnostic> ||>> ||>>>> ERROR: s-postgray*: Has /home/... in rpath> ||>>>> ERROR: s-postgray*: prepare_package failed> ||>>>> ERROR: s-postgray: rootpkg failed> ||>> ||> would only come into play if the package itself mangles the stuff?> ||> ||`abuild rootbld` strips the env already (in the recent release).> ||> ||regular abuild doesn't clear any env vars (iirc).> |> |Thank you alice, i will use this instead next time.>> Uh! That is tough! I better write a little script instead.> (But great it works, i first was afraid i have to be root.)
in my general testing
#!/bin/sh
if [ -z "$_CLEAN" ]; then
exec env -i \
_CLEAN=1 \
HOME="$HOME" \
PATH="$PATH" \
USER="$USER" \
TERM="xterm" \
${ENV_YOU_KEEP:+ENV_YOU_KEEP="$ENV_YOU_KEEP"} \
"$0" "$@"
fi
.... your commands here
is all you need to have a 'clean clean' environment for building most things