Received: from sdaoden.eu (sdaoden.eu [217.144.132.164]) by gbr-app-1.alpinelinux.org (Postfix) with ESMTPS id CFD012235CE for <~alpine/users@lists.alpinelinux.org>; Fri, 21 Apr 2023 21:38:30 +0000 (UTC) Date: Fri, 21 Apr 2023 23:38:29 +0200 Author: Steffen Nurpmeso From: Steffen Nurpmeso To: "alice" Cc: <~alpine/users@lists.alpinelinux.org>, Steffen Nurpmeso Subject: Re: [edge] abuild: could it reset LD_{RUN_PATH,LIBRARY_PATH}? Message-ID: <20230421213829.uWz9z%steffen@sdaoden.eu> In-Reply-To: <20230421211437.dAfLD%steffen@sdaoden.eu> References: <20230420222850.MNmre%steffen@sdaoden.eu> <20230421211437.dAfLD%steffen@sdaoden.eu> Mail-Followup-To: "alice" , <~alpine/users@lists.alpinelinux.org>, Steffen Nurpmeso User-Agent: s-nail v14.9.24-450-g9589f04a75 OpenPGP: id=EE19E1C1F2F7054F8D3954D8308964B51883A0DD; url=https://ftp.sdaoden.eu/steffen.asc; preference=signencrypt BlahBlahBlah: Any stupid boy can crush a beetle. But all the professors in the world can make no bugs. Steffen Nurpmeso wrote in <20230421211437.dAfLD%steffen@sdaoden.eu>: |alice wrote in | : ||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)