From: mikadoZero <mikadozero@yandex.com>
To: Ricardo Wurmus <rekado@elephly.net>
Cc: Help Guix <help-guix@gnu.org>
Subject: Re: 14.1 Building from Git
Date: Tue, 19 Mar 2019 11:34:18 -0400 [thread overview]
Message-ID: <ef72ho91.fsf@yandex.com> (raw)
In-Reply-To: <87imwgx8j5.fsf@elephly.net>
Ricardo Wurmus writes:
> ...
>> ACLOCAL_PATH=/root/.guix-profile/share/aclocal:/run/current-system/profile/share/acl
>> ocal:/gnu/store/kjmqpchkfy8rvv19jvd14q40shm9fk2p-profile/share/aclocal
>
> Why are /root/.guix-profile directories first? Are setting these
> variables in some shell initialization files?
>
>> GUILE_LOAD_PATH=/run/current-system/profile/share/guile/site/2.2:/gnu/store/kjmqpchk
>> fy8rvv19jvd14q40shm9fk2p-profile/share/guile/site/2.2
>
> Same here.
I am using zsh. I only have .zprofile and .zshrc as zsh configuration
files. I have already commented out all the export of environment
variables from .zshrc to get `./bootstrap` to finish.
I did copy the suggested exports that were output when I ran `guix
package --manifest=manifest.scm` into .zprofile and they were:
export PATH="/root/.guix-profile/bin:/root/.guix-profile/sbin${PATH:+:}$PATH"
export CPATH="/root/.guix-profile/include${CPATH:+:}$CPATH"
export LIBRARY_PATH="/root/.guix-profile/lib${LIBRARY_PATH:+:}$LIBRARY_PATH"
export GHC_PACKAGE_PATH="/root/.guix-profile/lib/ghc-8.4.3/package.conf.d${GHC_PACKAGE_PATH:+:}$GHC_PACKAGE_PATH"
export ASPELL_DICT_DIR="/root/.guix-profile/lib/aspell"
export GIT_SSL_CAINFO="/root/.guix-profile/etc/ssl/certs/ca-certificates.crt"
export GIT_EXEC_PATH="/root/.guix-profile/libexec/git-core"
export SSL_CERT_DIR="/root/.guix-profile/etc/ssl/certs"
export SSL_CERT_FILE="/root/.guix-profile/etc/ssl/certs/ca-certificates.crt"
export ACLOCAL_PATH="/root/.guix-profile/share/aclocal${ACLOCAL_PATH:+:}$ACLOCAL_PATH"
export CURL_CA_BUNDLE="/root/.guix-profile/etc/ssl/certs/ca-certificates.crt"
I commented out all of the above export of environment variables in
.zprofile and ran `guix environment --pure guix` then ran `printenv` but
that has not changed the order. /root/.guix-profile directories are
still first.
Then if I continue with:
`./bootstrap`
`./configure --localstatdir=/var`
I still get the same error message.
I had been using the root user. I tried with a non root user and got
the same error message after running:
`guix environment --pure guix`
`./bootstrap`
`./configure --localstatdir=/var`
With that non root user `printenv` outputs:
TERM=eterm-color
HOME=/home/guix
USER=guix
LOGNAME=guix
PKG_CONFIG_PATH=/gnu/store/kjmqpchkfy8rvv19jvd14q40shm9fk2p-profile/lib/pkgconfig
ACLOCAL_PATH=/home/guix/.guix-profile/share/aclocal:/gnu/store/kjmqpchkfy8rvv19jvd14
q40shm9fk2p-profile/share/aclocal
INFOPATH=/home/guix/.config/guix/current/share/info:/home/guix/.guix-profile/share/i
nfo:/run/current-system/profile/share/info:/home/guix/.guix-profile/share/info:/run/
current-system/profile/share/info
C_INCLUDE_PATH=/gnu/store/kjmqpchkfy8rvv19jvd14q40shm9fk2p-profile/include
CPLUS_INCLUDE_PATH=/gnu/store/kjmqpchkfy8rvv19jvd14q40shm9fk2p-profile/include
LIBRARY_PATH=/home/guix/.guix-profile/lib:/gnu/store/kjmqpchkfy8rvv19jvd14q40shm9fk2
p-profile/lib
GUIX_LOCPATH=/gnu/store/kjmqpchkfy8rvv19jvd14q40shm9fk2p-profile/lib/locale
GUILE_LOAD_PATH=/run/current-system/profile/share/guile/site/2.2:/gnu/store/kjmqpchk
fy8rvv19jvd14q40shm9fk2p-profile/share/guile/site/2.2
GUILE_LOAD_COMPILED_PATH=/run/current-system/profile/lib/guile/2.2/site-ccache:/gnu/
store/kjmqpchkfy8rvv19jvd14q40shm9fk2p-profile/lib/guile/2.2/site-ccache
GUIX_ENVIRONMENT=/gnu/store/kjmqpchkfy8rvv19jvd14q40shm9fk2p-profile
SHLVL=1
PWD=/home/guix/u/guix/guix
OLDPWD=/home/guix/u/guix/guix
MANPATH=/run/current-system/profile/share/man:/home/guix/.guix-profile/share/man:/ru
n/current-system/profile/share/man
XDG_DATA_DIRS=/home/guix/.guix-profile/share:/run/current-system/profile/share
XDG_CONFIG_DIRS=/home/guix/.guix-profile/etc/xdg:/run/current-system/profile/etc/xdg
XCURSOR_PATH=/home/guix/.icons:/home/guix/.guix-profile/share/icons:/run/current-sys
tem/profile/share/icons
PATH=/run/setuid-programs:/home/guix/.config/guix/current/bin:/home/guix/.guix-profi
le/bin:/home/guix/.guix-profile/sbin:/run/current-system/profile/bin:/run/current-sy
stem/profile/sbin
BASH_LOADABLES_PATH=/run/current-system/profile/lib/bash
CPATH=/home/guix/.guix-profile/include
GHC_PACKAGE_PATH=/home/guix/.guix-profile/lib/ghc-8.4.3/package.conf.d
ASPELL_DICT_DIR=/home/guix/.guix-profile/lib/aspell
GIT_SSL_CAINFO=/home/guix/.guix-profile/etc/ssl/certs/ca-certificates.crt
GIT_EXEC_PATH=/home/guix/.guix-profile/libexec/git-core
SSL_CERT_DIR=/home/guix/.guix-profile/etc/ssl/certs
SSL_CERT_FILE=/home/guix/.guix-profile/etc/ssl/certs/ca-certificates.crt
CURL_CA_BUNDLE=/home/guix/.guix-profile/etc/ssl/certs/ca-certificates.crt
DICPATH=/home/guix/.guix-profile/share/hunspell:/run/current-system/profile/share/hu
nspell
GST_PLUGIN_PATH=/home/guix/.guix-profile/lib/gstreamer-1.0
_=/run/current-system/profile/bin/printenv
next prev parent reply other threads:[~2019-03-19 15:34 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-03-17 20:50 14.1 Building from Git mikadoZero
2019-03-18 10:08 ` Giovanni Biscuolo
2019-03-18 19:16 ` mikadoZero
2019-03-18 12:37 ` Ricardo Wurmus
2019-03-18 19:05 ` mikadoZero
2019-03-18 19:28 ` Leo Famulari
2019-03-19 15:39 ` mikadoZero
2019-03-18 19:54 ` Ricardo Wurmus
2019-03-19 15:34 ` mikadoZero [this message]
2019-03-19 16:08 ` Ricardo Wurmus
2019-03-20 21:20 ` mikadoZero
2019-03-19 19:17 ` Tobias Geerinckx-Rice
2019-03-20 21:25 ` mikadoZero
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=ef72ho91.fsf@yandex.com \
--to=mikadozero@yandex.com \
--cc=help-guix@gnu.org \
--cc=rekado@elephly.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).