jpr999
Posts: 2
Joined: Sat Feb 07, 2015 5:35 pm

userland on pi2 with Gentoo

Wed Feb 11, 2015 9:54 am

Has anybody managed to get userland to build on a Pi 2
the ebuild gives a compilation error

TIA
Paul

jamesh
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 26660
Joined: Sat Jul 30, 2011 7:41 pm

Re: userland on pi2 with Gentoo

Wed Feb 11, 2015 10:39 am

What error are you seeing?
Principal Software Engineer at Raspberry Pi (Trading) Ltd.
Contrary to popular belief, humorous signatures are allowed.
I've been saying "Mucho" to my Spanish friend a lot more lately. It means a lot to him.

jpr999
Posts: 2
Joined: Sat Feb 07, 2015 5:35 pm

Re: userland on pi2 with Gentoo

Wed Feb 11, 2015 10:47 am

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

myoung008
Posts: 55
Joined: Mon Mar 18, 2013 9:56 pm

Re: userland on pi2 with Gentoo

Thu May 14, 2015 7:34 pm

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

Return to “Advanced users”