Welcome new user! You can search existing questions and answers without registering, but please register to post new questions and receive answers.
Welcome to JeVois Tech Zone, where you can ask questions and receive answers from other members of the community.

Compiling the jevois-sdk from scratch ERROR

0 votes
Error message:

 /bin/mkdir -p '/home/keen/jevois-sdk/out/sun8iw5p1/linux/common/buildroot/host/usr/bin'
  /bin/bash ./libtool   --mode=install /usr/bin/install -c faked '/home/keen/jevois-sdk/out/sun8iw5p1/linux/common/buildroot/host/usr/bin'
libtool: install: /usr/bin/install -c faked /home/keen/jevois-sdk/out/sun8iw5p1/linux/common/buildroot/host/usr/bin/faked
*** ERROR: package host-fakeroot installs executables without proper RPATH:
***   /home/keen/jevois-sdk/out/sun8iw5p1/linux/common/buildroot/host/usr/bin/cmake
package/pkg-generic.mk:211: recipe for target '/home/keen/jevois-sdk/out/sun8iw5p1/linux/common/buildroot/build/host-fakeroot-1.20.2/.stamp_host_installed' failed
make[1]: *** [/home/keen/jevois-sdk/out/sun8iw5p1/linux/common/buildroot/build/host-fakeroot-1.20.2/.stamp_host_installed] Error 1
Makefile:41: recipe for target '_all' failed
make: *** [_all] Error 2
make: Leaving directory '/home/keen/jevois-sdk/buildroot'
asked Apr 10, 2017 in Misc Questions by polliwog (120 points)

1 Answer

0 votes
hum, have you tried looking up the error in google? maybe a problem related to symlinks in the path of your install?

Are you trying to run the "easy install" or really from scratch (compile the compilers, etc)?
answered Apr 11, 2017 by JeVois (22,960 points)
I tried  running "easy install" with remove "out" directory OR running scratch ,get the same result.
Here are two temporary fixes. As noted here and in other threads, problems arise because the user name (ilab) that we used to precompile many of the files in the jevois-sdk gets hardwired into some scripts, libraries, etc which then fail when another user is attempting to build a microSD image.

Option 1: Create a user named ‘ilab’ on your linux box, and run the easy install in that user’s account. You should be able to follow the EASY INSTALL OPTION of https://github.com/jevois/jevois/blob/master/INSTALL and get everything setup and be able to flash new microSD cards.

Option 2: This takes a while to run and does require some manual intervention, but all steps are outlined and should be easy to follow. Basically, you will rebuild the JeVois operating system partially from scratch, which will eliminate the dependence on the hardcoded user name.

cd ~/jevois-sdk
rm -rf out

and then follow the instructions starting at line 302 of https://github.com/jevois/jevois/blob/master/INSTALL

We just tested it here using a different username and it worked fine. We will try to find a better solution soon. Maybe not all of the out/ directory has to be nuked.
I forgot, make sure you also rebuild jevois and jevoisbase since they got nuked in the process:

cd ~/jevois && git pull && ./rebuild-platform.sh
cd ~/jevoisbase && git pull && ./rebuild-platform.sh -DJEVOIS_MODULES_TO_BUILDROOT=ON
cd ~/jevois-sdk && git pull && ./jevois-build.sh -y /dev/sdX