Skip to content

Instantly share code, notes, and snippets.

@therealromster
Created June 18, 2016 04:11
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save therealromster/c7690d314e1439979a19970a8d9a0b99 to your computer and use it in GitHub Desktop.
Save therealromster/c7690d314e1439979a19970a8d9a0b99 to your computer and use it in GitHub Desktop.
newuser@5d2ad59242b2:~/source$ make menuconfig
Checking 'working-make'... ok.
Checking 'case-sensitive-fs'... ok.
Checking 'gcc'... ok.
Checking 'working-gcc'... ok.
Checking 'g++'... ok.
Checking 'working-g++'... ok.
Checking 'ncurses'... failed.
Checking 'zlib'... ok.
Checking 'libssl'... ok.
Checking 'perl-thread-queue'... ok.
Checking 'tar'... ok.
Checking 'find'... ok.
Checking 'bash'... ok.
Checking 'patch'... ok.
Checking 'diff'... ok.
Checking 'cp'... ok.
Checking 'seq'... ok.
Checking 'awk'... ok.
Checking 'grep'... ok.
Checking 'getopt'... ok.
Checking 'stat'... ok.
Checking 'md5sum'... ok.
Checking 'unzip'... ok.
Checking 'bzip2'... ok.
Checking 'wget'... ok.
Checking 'perl'... ok.
Checking 'python'... ok.
Checking 'svn'... ok.
Checking 'git'... ok.
Checking 'file'... ok.
Checking 'openssl'... ok.
Checking 'ldconfig-stub'... ok.
Build dependency: Please install ncurses. (Missing libncurses.so or ncurses.h)
/home/newuser/source/include/prereq.mk:12: recipe for target 'prereq' failed
Prerequisite check failed. Use FORCE=1 to override.
/home/newuser/source/include/toplevel.mk:149: recipe for target 'staging_dir/host/.prereq-build' failed
make: *** [staging_dir/host/.prereq-build] Error 1
newuser@5d2ad59242b2:~/source$ exit
exit
root@5d2ad59242b2:/# apt-get install libncurses-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
Note, selecting 'libncurses5-dev' instead of 'libncurses-dev'
The following extra packages will be installed:
libtinfo-dev
Suggested packages:
ncurses-doc
The following NEW packages will be installed:
libncurses5-dev libtinfo-dev
0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
Need to get 252 kB of archives.
After this operation, 1526 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://httpredir.debian.org/debian/ jessie/main libtinfo-dev amd64 5.9+20140913-1+b1 [77.1 kB]
Get:2 http://httpredir.debian.org/debian/ jessie/main libncurses5-dev amd64 5.9+20140913-1+b1 [175 kB]
Fetched 252 kB in 1s (178 kB/s)
debconf: delaying package configuration, since apt-utils is not installed
Selecting previously unselected package libtinfo-dev:amd64.
(Reading database ... 18640 files and directories currently installed.)
Preparing to unpack .../libtinfo-dev_5.9+20140913-1+b1_amd64.deb ...
Unpacking libtinfo-dev:amd64 (5.9+20140913-1+b1) ...
Selecting previously unselected package libncurses5-dev:amd64.
Preparing to unpack .../libncurses5-dev_5.9+20140913-1+b1_amd64.deb ...
Unpacking libncurses5-dev:amd64 (5.9+20140913-1+b1) ...
Setting up libtinfo-dev:amd64 (5.9+20140913-1+b1) ...
Setting up libncurses5-dev:amd64 (5.9+20140913-1+b1) ...
root@5d2ad59242b2:/# su newuser
newuser@5d2ad59242b2:/$ cd ~/source/
newuser@5d2ad59242b2:~/source$ make menuconfig
Checking 'working-make'... ok.
Checking 'case-sensitive-fs'... ok.
Checking 'gcc'... ok.
Checking 'working-gcc'... ok.
Checking 'g++'... ok.
Checking 'working-g++'... ok.
Checking 'ncurses'... ok.
Checking 'zlib'... ok.
Checking 'libssl'... ok.
Checking 'perl-thread-queue'... ok.
Checking 'tar'... ok.
Checking 'find'... ok.
Checking 'bash'... ok.
Checking 'patch'... ok.
Checking 'diff'... ok.
Checking 'cp'... ok.
Checking 'seq'... ok.
Checking 'awk'... ok.
Checking 'grep'... ok.
Checking 'getopt'... ok.
Checking 'stat'... ok.
Checking 'md5sum'... ok.
Checking 'unzip'... ok.
Checking 'bzip2'... ok.
Checking 'wget'... ok.
Checking 'perl'... ok.
Checking 'python'... ok.
Checking 'svn'... ok.
Checking 'git'... ok.
Checking 'file'... ok.
Checking 'openssl'... ok.
Checking 'ldconfig-stub'... ok.
Collecting package info: done
Collecting target info: done
configuration written to .config
*** End of the configuration.
*** Execute 'make' to start the build or try 'make help'.
mnewuser@5d2ad59242b2:~/source$ make -j4
make[1] world
make[2] tools/install
make[2] package/cleanup
make[3] -C tools/flock compile
make[3] -C tools/flock install
make[3] -C tools/tar compile
make -r world: build failed. Please re-run make with -j1 V=s to see what's going on
/home/newuser/source/include/toplevel.mk:193: recipe for target 'world' failed
make: *** [world] Error 1
newuser@5d2ad59242b2:~/source$ make -j1 V=s
make[1]: Entering directory '/home/newuser/source'
make[2]: Entering directory '/home/newuser/source'
+ mkdir -p /home/newuser/source/staging_dir/target-arm_cortex-a9+neon-vfpv4_musl-1.1.14_eabi
+ cd /home/newuser/source/staging_dir/target-arm_cortex-a9+neon-vfpv4_musl-1.1.14_eabi
+ mkdir -p bin lib include stamp
mkdir -p /home/newuser/source/build_dir/target-arm_cortex-a9+neon-vfpv4_musl-1.1.14_eabi/stamp
touch /home/newuser/source/staging_dir/target-arm_cortex-a9+neon-vfpv4_musl-1.1.14_eabi/.prepared
+ mkdir -p /home/newuser/source/staging_dir/host
+ cd /home/newuser/source/staging_dir/host
+ mkdir -p bin lib include stamp
mkdir -p /home/newuser/source/build_dir/host/stamp /home/newuser/source/staging_dir/host/include/sys
install -m0644 /home/newuser/source/tools/include/*.h /home/newuser/source/staging_dir/host/include/
install -m0644 /home/newuser/source/tools/include/sys/*.h /home/newuser/source/staging_dir/host/include/sys/
ln -sf lib /home/newuser/source/staging_dir/host/lib64
touch /home/newuser/source/staging_dir/host/.prepared
make[3]: Entering directory '/home/newuser/source/tools/flock'
make[3]: Leaving directory '/home/newuser/source/tools/flock'
make[3]: Entering directory '/home/newuser/source/tools/flock'
make[3]: Leaving directory '/home/newuser/source/tools/flock'
make[3]: Entering directory '/home/newuser/source/tools/tar'
. /home/newuser/source/include/shell.sh; xzcat /home/newuser/source/dl/tar-1.28.tar.xz | tar -C /home/newuser/source/build_dir/host/tar-1.28/.. -xf -
bash: xzcat: command not found
tar: This does not look like a tar archive
tar: Exiting with failure status due to previous errors
Makefile:30: recipe for target '/home/newuser/source/build_dir/host/tar-1.28/.prepared48304c7f899573a81c03aa121f02e767' failed
make[3]: *** [/home/newuser/source/build_dir/host/tar-1.28/.prepared48304c7f899573a81c03aa121f02e767] Error 2
make[3]: Leaving directory '/home/newuser/source/tools/tar'
tools/Makefile:139: recipe for target 'tools/tar/compile' failed
make[2]: *** [tools/tar/compile] Error 2
make[2]: Leaving directory '/home/newuser/source'
tools/Makefile:138: recipe for target '/home/newuser/source/staging_dir/target-arm_cortex-a9+neon-vfpv4_musl-1.1.14_eabi/stamp/.tools_install_yynyynynynyyyyyyynyyynyyyyyyyyynyyyyynnyynynnyyynnnyy' failed
make[1]: *** [/home/newuser/source/staging_dir/target-arm_cortex-a9+neon-vfpv4_musl-1.1.14_eabi/stamp/.tools_install_yynyynynynyyyyyyynyyynyyyyyyyyynyyyyynnyynynnyyynnnyy] Error 2
make[1]: Leaving directory '/home/newuser/source'
/home/newuser/source/include/toplevel.mk:193: recipe for target 'world' failed
make: *** [world] Error 2
newuser@5d2ad59242b2:~/source$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment