Page 1 of 1

userland on pi2 with Gentoo

Posted: Wed Feb 11, 2015 9:54 am
by jpr999
Has anybody managed to get userland to build on a Pi 2
the ebuild gives a compilation error

TIA
Paul

Re: userland on pi2 with Gentoo

Posted: Wed Feb 11, 2015 10:39 am
by jamesh
What error are you seeing?

Re: userland on pi2 with Gentoo

Posted: Wed Feb 11, 2015 10:47 am
by jpr999
Hi James

This is the last few lines of the build

[ 68%] Building C object interface/khronos/CMakeFiles/khrn_static.dir/common/khrn_client_pointermap.c.o
cd /var/tmp/portage/media-libs/raspberrypi-userland-0_pre20140117/work/raspberrypi-userland-0_pre20140117_build/interface/khronos && /usr/bin/armv7a-hardfloat$
/usr/bin/cmake -E cmake_progress_report /var/tmp/portage/media-libs/raspberrypi-userland-0_pre20140117/work/raspberrypi-userland-0_pre20140117_build/CMakeFile$
[ 69%] Building C object interface/khronos/CMakeFiles/khrn_static.dir/common/khrn_client_vector.c.o
cd /var/tmp/portage/media-libs/raspberrypi-userland-0_pre20140117/work/raspberrypi-userland-0_pre20140117_build/interface/khronos && /usr/bin/armv7a-hardfloat$
/usr/bin/cmake -E cmake_progress_report /var/tmp/portage/media-libs/raspberrypi-userland-0_pre20140117/work/raspberrypi-userland-0_pre20140117_build/CMakeFile$
[ 69%] Building C object interface/khronos/CMakeFiles/khrn_static.dir/common/khrn_int_hash.c.o
cd /var/tmp/portage/media-libs/raspberrypi-userland-0_pre20140117/work/raspberrypi-userland-0_pre20140117_build/interface/khronos && /usr/bin/armv7a-hardfloat$
/usr/bin/cmake -E cmake_progress_report /var/tmp/portage/media-libs/raspberrypi-userland-0_pre20140117/work/raspberrypi-userland-0_pre20140117_build/CMakeFile$
[ 70%] Building ASM object interface/khronos/CMakeFiles/khrn_static.dir/common/khrn_int_hash_asm.s.o
cd /var/tmp/portage/media-libs/raspberrypi-userland-0_pre20140117/work/raspberrypi-userland-0_pre20140117_build/interface/khronos && /usr/bin/armv7a-hardfloat$
/usr/bin/cmake -E cmake_progress_report /var/tmp/portage/media-libs/raspberrypi-userland-0_pre20140117/work/raspberrypi-userland-0_pre20140117_build/CMakeFile$
[ 70%] Building C object interface/khronos/CMakeFiles/khrn_static.dir/common/khrn_client_cache.c.o
cd /var/tmp/portage/media-libs/raspberrypi-userland-0_pre20140117/work/raspberrypi-userland-0_pre20140117_build/interface/khronos && /usr/bin/armv7a-hardfloat$
Linking C static library /var/tmp/portage/media-libs/raspberrypi-userland-0_pre20140117/work/raspberrypi-userland-0_pre20140117/build/lib/libkhrn_static.a
cd /var/tmp/portage/media-libs/raspberrypi-userland-0_pre20140117/work/raspberrypi-userland-0_pre20140117_build/interface/khronos && /usr/bin/cmake -P CMakeFi$
cd /var/tmp/portage/media-libs/raspberrypi-userland-0_pre20140117/work/raspberrypi-userland-0_pre20140117_build/interface/khronos && /usr/bin/cmake -E cmake_l$
/usr/bin/armv7a-hardfloat-linux-gnueabi-ar cr /var/tmp/portage/media-libs/raspberrypi-userland-0_pre20140117/work/raspberrypi-userland-0_pre20140117/build/lib$
/usr/bin/armv7a-hardfloat-linux-gnueabi-ranlib /var/tmp/portage/media-libs/raspberrypi-userland-0_pre20140117/work/raspberrypi-userland-0_pre20140117/build/li$
make[2]: Leaving directory '/var/tmp/portage/media-libs/raspberrypi-userland-0_pre20140117/work/raspberrypi-userland-0_pre20140117_build'
/usr/bin/cmake -E cmake_progress_report /var/tmp/portage/media-libs/raspberrypi-userland-0_pre20140117/work/raspberrypi-userland-0_pre20140117_build/CMakeFile$
[ 70%] Built target khrn_static
make[1]: Leaving directory '/var/tmp/portage/media-libs/raspberrypi-userland-0_pre20140117/work/raspberrypi-userland-0_pre20140117_build'
Makefile:136: recipe for target 'all' failed
make: *** [all] Error 2
* ERROR: media-libs/raspberrypi-userland-0_pre20140117::gentoo failed (compile phase):
* emake failed


Thanks
Paul

Re: userland on pi2 with Gentoo

Posted: Thu May 14, 2015 7:34 pm
by myoung008
I realize I'm a few months late to the game with this post. The ebuild you're using 20140117 (as well as 20140830) both pre-date the pi2.

Your post containing the last few lines of the compile didn't go back far enough to show the error, but I was able to see a failure for both 20140117 and 20140830 on my build.

I unmasked the live git ebuild and it builds fine as of a few minutes ago:

echo "=media-libs/raspberrypi-userland-9999 **" >> /etc/portage/package.accept_keywords
or
echo "=media-libs/raspberrypi-userland-9999 **" >> /etc/portage/package.accept_keywords/rpi-userland