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: Mon, 18 Mar 2019 15:05:05 -0400 [thread overview]
Message-ID: <h8c0roke.fsf@yandex.com> (raw)
In-Reply-To: <87wokwxssw.fsf@elephly.net>
Ricardo Wurmus writes:
> mikadoZero <mikadozero@yandex.com> writes:
>
>> I am trying to follow the instruction in the Contributing section of the
>> manual, as I want to submit some patches. Following "14.1 Building from
>> Git" I am getting an error when running `./bootstrap`.
>>
>> `guix describe`
>> guix 19c0cdb
>> repository URL: https://git.savannah.gnu.org/git/guix.git
>> branch: master
>> commit: 19c0cdb9e6271956015232421ef7f63a1ad001ae
>>
>> Here is what I am doing that leads to the error.
>>
>> `git clone https://git.savannah.gnu.org/git/guix.git`
>>
>> `cd guix`
>>
>> `guix environment guix`
>
> Could you try if you get different behaviour with “guix environment
> --pure guix”?
>
>> configure.ac:88: error: possibly undefined macro: PKG_CHECK_MODULES
>> If this token and others are legitimate, please use m4_pattern_allow.
>> See the Autoconf documentation.
>> configure.ac:89: error: possibly undefined macro: GUILE_MODULE_AVAILABLE
>> configure.ac:96: error: possibly undefined macro: GUILE_PKG
>> configure.ac:97: error: possibly undefined macro: GUILE_PROGS
>
> This looks like some environment variables are not set properly. If you
> set variables in ~/.bashrc, for example, (instead of ~/.bash_profile)
> that could interfere with “guix environment”.
>
> Could you please show the output of “env” after you ran “guix
> environment guix”?
Thank you for your help.
Using `guix environment --pure guix`
Removing all the environment variables from .zhsrc allows `./bootstrap`
to finish. It outputs these warnings:
---
...
configure.ac:23: warning: The 'AM_PROG_MKDIR_P' macro is deprecated, and its use is
discouraged.
configure.ac:23: You should use the Autoconf-provided 'AC_PROG_MKDIR_P' macro instea
d,
configure.ac:23: and use '$(MKDIR_P)' instead of '$(mkdir_p)'in your Makefile.am fil
es.
Makefile.am:580: warning: AM_GNU_GETTEXT used but 'po' not in SUBDIRS
...
---
I get an error when I run `./configure --localstatedir=/var/guix/db` it
outputs this:
checking for a BSD-compatible install... /run/current-system/profile/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /run/current-system/profile/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... no
checking whether make supports nested variables... no
checking whether make supports nested variables... (cached) no
checking whether make supports the include directive... no
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking whether gcc understands -c and -o together... yes
checking dependency style of gcc... none
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /run/current-system/profile/bin/
grep
checking for egrep... /run/current-system/profile/bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes
checking whether NLS is requested... yes
checking for msgfmt... /root/.guix-profile/bin/msgfmt
checking for gmsgfmt... /root/.guix-profile/bin/msgfmt
checking for xgettext... /root/.guix-profile/bin/xgettext
checking for msgmerge... /root/.guix-profile/bin/msgmerge
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking for ld used by GCC... /root/.guix-profile/bin/ld
checking if the linker (/root/.guix-profile/bin/ld) is GNU ld... yes
checking for shared library run path origin... done
checking for CFPreferencesCopyAppValue... no
checking for CFLocaleCopyCurrent... no
checking for GNU gettext in libc... yes
checking whether to use NLS... yes
checking where the gettext function comes from... libc
checking for sed... /run/current-system/profile/bin/sed
checking for the Guix system type... x86_64-linux
checking for the store directory... /gnu/store
checking the length of the installed socket file name... 38
checking for unit test root directory... /home/guix/u/guix/guix/test-tmp
checking the length of the socket file name used in tests... 63
checking the length of a typical hash bang line... 73
checking the length of a hash bang line used in tests... 100
checking for pkg-config... no
configure: checking for guile 2.2
configure: error:
No Guile development packages were found.
Please verify that you have Guile installed. If you installed Guile
from a binary distribution, please verify that you have also installed
the development packages. If you installed it yourself, you might need
to adjust your PKG_CONFIG_PATH; see the pkg-config man page for more.
---
`printenv`
USER=root
HOME=/root
TERM=eterm-color
LOGNAME=root
PKG_CONFIG_PATH=/gnu/store/kjmqpchkfy8rvv19jvd14q40shm9fk2p-profile/lib/pkgconfig
ACLOCAL_PATH=/root/.guix-profile/share/aclocal:/run/current-system/profile/share/acl
ocal:/gnu/store/kjmqpchkfy8rvv19jvd14q40shm9fk2p-profile/share/aclocal
INFOPATH=/root/.config/guix/current/share/info:/root/.guix-profile/share/info:/run/c
urrent-system/profile/share/info:/root/.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=/root/.guix-profile/lib:/gnu/store/kjmqpchkfy8rvv19jvd14q40shm9fk2p-pro
file/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:/root/.guix-profile/share/man:/run/cur
rent-system/profile/share/man
XDG_DATA_DIRS=/root/.guix-profile/share:/run/current-system/profile/share
XDG_CONFIG_DIRS=/root/.guix-profile/etc/xdg:/run/current-system/profile/etc/xdg
XCURSOR_PATH=/root/.icons:/root/.guix-profile/share/icons:/run/current-system/profil
e/share/icons
PATH=/run/setuid-programs:/root/.config/guix/current/bin:/root/.guix-profile/bin:/ro
ot/.guix-profile/sbin:/run/current-system/profile/bin:/run/current-system/profile/sb
in
BASH_LOADABLES_PATH=/run/current-system/profile/lib/bash
CPATH=/root/.guix-profile/include
GHC_PACKAGE_PATH=/root/.guix-profile/lib/ghc-8.4.3/package.conf.d
ASPELL_DICT_DIR=/root/.guix-profile/lib/aspell
GIT_SSL_CAINFO=/root/.guix-profile/etc/ssl/certs/ca-certificates.crt
GIT_EXEC_PATH=/root/.guix-profile/libexec/git-core
SSL_CERT_DIR=/root/.guix-profile/etc/ssl/certs
SSL_CERT_FILE=/root/.guix-profile/etc/ssl/certs/ca-certificates.crt
DICPATH=/root/.guix-profile/share/hunspell:/run/current-system/profile/share/hunspel
l
GST_PLUGIN_PATH=/root/.guix-profile/lib/gstreamer-1.0
_=/runu/current-system/profile/bin/printenv
next prev parent reply other threads:[~2019-03-18 19:11 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 [this message]
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
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=h8c0roke.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).