Hi!

I started reading the Guix manual from the beginning.

I am trying to build an OpenWrt image with OpenWrt Buildroot in a development
environment defined using 'guix shell'. It doesn't work. Some header files are
not detected when I run one of the scripts (./openwrt/scripts/feeds ...).

#+BEGIN_SRC
kevin@GUIX-WORKSTATION ~/Devel/openwrt$ cat manifest.scm
(specifications->manifest
 (list "git"
       "ncurses"
       "unzip"
       "python"
       "cdrtools"
       "perl"
       "emacs"
       "less"
       "coreutils"
       "make"
       "nss-certs"
       "grep"
       "bash"
       "sed"
       "gawk"
       "gcc-toolchain"
       "rsync"
       "tar"
       "findutils"
       "patch"
       "diffutils"
       "util-linux"
       "gzip"
       "bzip2"
       "wget"
       "file"
       "which"
       "glibc"
       "glibc:static"
       "pkg-config"))
kevin@GUIX-WORKSTATION ~/Devel/openwrt$ guix shell -CNF -m manifest.scm -E TERM
kevin@GUIX-WORKSTATION ~/Devel/openwrt [env]$ ls 
${C_INCLUDE_PATH}/{argp,ncurses}.h ${LIBRARY_PATH}/libncurses.so*
/gnu/store/3s810irf2q1x87ma0ypg21lzggsddlwz-profile/include/argp.h     
/gnu/store/3s810irf2q1x87ma0ypg21lzggsddlwz-profile/lib/libncurses.so
/gnu/store/3s810irf2q1x87ma0ypg21lzggsddlwz-profile/include/ncurses.h  
/gnu/store/3s810irf2q1x87ma0ypg21lzggsddlwz-profile/lib/libncurses.so.6
kevin@GUIX-WORKSTATION ~/Devel/openwrt [env]$ ./scripts/feeds update -a
Updating feed 'packages' from 'https://git.openwrt.org/feed/packages.git' ...
Already up to date.
Updating feed 'luci' from 'https://git.openwrt.org/project/luci.git' ...
Already up to date.
Updating feed 'routing' from 'https://git.openwrt.org/feed/routing.git' ...
Already up to date.
Updating feed 'telephony' from 'https://git.openwrt.org/feed/telephony.git' ...
Already up to date.
Updating feed 'video' from 'https://github.com/openwrt/video.git' ...
Already up to date.
Create index file './feeds/packages.index' 
Checking 'true'... ok.
Checking 'false'... ok.
Checking 'working-make'... ok.
Checking 'case-sensitive-fs'... ok.
Checking 'proper-umask'... ok.
Checking 'gcc'... ok.
Checking 'working-gcc'... ok.
Checking 'g++'... ok.
Checking 'working-g++'... ok.
Checking 'ncurses.h'... failed.
Checking 'git'... ok.
Checking 'rsync'... ok.
Checking 'perl-data-dumper'... ok.
Checking 'perl-findbin'... ok.
Checking 'perl-file-copy'... ok.
Checking 'perl-file-compare'... ok.
Checking 'perl-thread-queue'... ok.
Checking 'perl-ipc-cmd'... ok.
Checking 'tar'... ok.
Checking 'find'... ok.
Checking 'bash'... ok.
Checking 'xargs'... ok.
Checking 'patch'... ok.
Checking 'diff'... ok.
Checking 'cp'... ok.
Checking 'seq'... ok.
Checking 'awk'... ok.
Checking 'grep'... ok.
Checking 'egrep'... ok.
Checking 'getopt'... ok.
Checking 'realpath'... ok.
Checking 'stat'... ok.
Checking 'gzip'... ok.
Checking 'unzip'... ok.
Checking 'bzip2'... ok.
Checking 'wget'... ok.
Checking 'install'... ok.
Checking 'perl'... ok.
Checking 'python'... ok.
Checking 'python3'... ok.
Checking 'python3-distutils'... ok.
Checking 'python3-stdlib'... ok.
Checking 'file'... ok.
Checking 'which'... ok.
Checking 'argp.h'... failed.
Checking 'fts.h'... ok.
Checking 'obstack.h'... ok.
Checking 'libintl.h'... ok.
Checking 'ldconfig-stub'... ok.

Build dependency: Please install ncurses. (Missing libncurses.so or ncurses.h)
Build dependency: Missing argp.h Please install the argp-standalone package if 
musl libc

Prerequisite check failed. Use FORCE=1 to override.
make: *** [/home/kevin/Devel/openwrt/include/toplevel.mk:183: 
/home/kevin/Devel/openwrt/staging_dir/host/.prereq-build] Error 1
[...]
#+END_SRC

I don't really see what else I could do.
-- 
Best regards,
Kevin Vigouroux

Reply via email to