Welcome new user! You can search existing questions and answers without registering, but please register to post new questions and receive answers. Note that due to large amounts of spam attempts, your first three posts will be manually moderated, so please be patient.
Because of un-manageable amounts of spam despite our use of CAPTCHAs, email authorization, and other tools, we have discontinued this forum (see the 700k+ registered users with validated email addresses at right?). Please email us any questions or post bug reports and feature requests on GitHub at https://github.com/jevois -- The content below remains available for future reference.

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 (46,580 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
...