From mboxrd@z Thu Jan 1 00:00:00 1970 From: Oleg Pykhalov Subject: Re: Errors encountered in building guix from source. Date: Thu, 25 Jan 2018 18:12:27 +0300 Message-ID: <87fu6uezvo.fsf@gmail.com> References: Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:47466) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eejCg-0004CC-Sk for guix-devel@gnu.org; Thu, 25 Jan 2018 10:12:44 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eejCd-000760-KB for guix-devel@gnu.org; Thu, 25 Jan 2018 10:12:38 -0500 Received: from mail-lf0-x230.google.com ([2a00:1450:4010:c07::230]:35177) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eejCd-00073m-CW for guix-devel@gnu.org; Thu, 25 Jan 2018 10:12:35 -0500 Received: by mail-lf0-x230.google.com with SMTP id a204so10218027lfa.2 for ; Thu, 25 Jan 2018 07:12:35 -0800 (PST) In-Reply-To: (Fis Trivial's message of "Sat, 20 Jan 2018 20:16:04 +0000") List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: Fis Trivial Cc: "guix-devel@gnu.org" --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hello Fis, Fis Trivial writes: [...] > * Add --pure option to `guix environment` This is what I do even on GuixSD for Guix's Git repository, too. > Then I tried again the added --pure option to `guix environment`: > $ guix environment guix --ad-hoc help2man git strace --pure > > During the process, following questions were emitted by command-not-found > facility provided by Fedora: > > Install package 'cargo' to provide command 'cargo'? [N/y] n [...] > Even if I answer 'y', those packages won't be successfully installed by F= edora > since I already have them. Installing a missing package by guessing from non-existing command is a Fedora's =E2=80=9Cfeauture=E2=80=9D of Bash. I believe this is a reason of= following failures. You probably could avoid this by starting a Bash process with bash --noprofile [...] > If I ignore the failure and then try: > $ sudo ./pre-inst-env guix-daemon --build-users-group=3Dguixbuild >=20 > I will be told that sudo command is not availabile. > Adding sudo as a dependency in environment will not work, due to this err= or: > > sudo: /gnu/store/p1fgwswygbw0fgbnpajdhxb0ylmqa20i-profile/bin/sudo must b= e owned by uid 0 and have the setuid bit set Please, run 'sudo' not from 'guix environment'. (Press Ctrl+D to exit from an 'guix environment'). [...] Oleg. --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEEc+OyAXw1EaDPCmAPckbhHGm3lWkFAlpp89sACgkQckbhHGm3 lWmd8Q/+JpM+7HsMBPH+tyouOpx0YTUe3K9uvm7+C+hU5Xg2T43Huk79Z0+DsKOg OLWafvy1QHp9sYFmqv4i+Hjf9ImEJGGDVwrl9Nr6eHDwrvw5MTPGNLvsmELkxnYA cONsP2cR3Xe7rozT3Wf4teob9yCPtxJHKLQtLiSUmv/fdygSJjSu7D6iu95UmdQx bt0e8VTEW7+R43unw0a6mEieurVT8LsLPqlypnM1ncode2W1WymBvESOnyh6jjx9 CoqqHtQNkeqSngBSDKdC8lqdY69nq4UDwXm29gcgY0SQyX7IhUmS3boUpZCJZrjo j2MqwlHzdbg5oOtJ71fHbJa3g6JNwJjMHElbi8Sg8UsScLliCY/bPo0vKp9Zl2Bp fssjJgrSCOjCLGtmNTl2weEmcAJZS7Em9ltHz+CtKG7ljs73T3RQbYn4cmL2bq8b L8X9jTLuhjwZ4FWXKuYok2GYlS9LxCx03gYO2uxfnyUPxgGdS37ucmLvg1Uq4Z2O IANQVbdXykwaUI2oHskK4l5a3bgEZtTBj3i5lbFwkHrawySjXEHt+eP+LIfUJ4lT OKsVJv6IPgwbJBsYjM+jtKnqn0gU5YjooglGEgcHJQdsacXEgx4U1idSvwu0bAyn 1PuThmvkghWsE2jbwrsnj9plW5bF2yC8sBqTHsMg8zLvTl67LjM= =zg6y -----END PGP SIGNATURE----- --=-=-=--