[yocto] [poky] Build failure gcc-4.8

2014-04-25 Thread Elvis Dowson
Hi,

I just updated to the latest poky master, and encountered a build failure with 
gcc patch#0030 failing to apply.

Build Configuration:
BB_VERSION= "1.23.0"
BUILD_SYS = "x86_64-linux"
NATIVELSBSTRING   = "Ubuntu-12.10"
TARGET_SYS= "arm-poky-linux-gnueabi"
MACHINE   = "zc706-zynq7"
DISTRO    = "poky"
DISTRO_VERSION= "1.6+snapshot-20140425"
TUNE_FEATURES = " armv7a vfp neon zynq"
TARGET_FPU= "vfp-neon"
meta  
meta-yocto
meta-yocto-bsp= "master:c446d4edca3b4edfcdee48247391bfb306aab4c2"
meta-xilinx   = "master:62c97f8bd8205b0526a1698fe6844266a98f"
meta-xilinx-community = "master:3a03b207084cbbdbd88a5691c3c2c16ad50be7df"

NOTE: Preparing runqueue
NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
ERROR: Command Error: exit status: 1  Output:
File series fully applied, ends at patch 
0029-Define-GLIBC_DYNAMIC_LINKER-and-UCLIBC_DYNAMIC_LINKE.patch
ERROR: Function failed: patch_do_patch
ERROR: Logfile of failure stored in: 
/tool/yocto/build/zc706/tmp/work-shared/gcc-4.8.2-r0/temp/log.do_patch.32469
ERROR: Task 691 (/tool/yocto/poky/meta/recipes-devtools/gcc/libgcc_4.8.bb, 
do_patch) failed with exit code '1'
NOTE: Tasks Summary: Attempted 628 tasks of which 3 didn't need to be rerun and 
1 failed.
Waiting for 0 running tasks to finish:

Summary: 1 task failed:
  /tool/yocto/poky/meta/recipes-devtools/gcc/libgcc_4.8.bb, do_patch
Summary: There was 1 WARNING message shown.
Summary: There were 2 ERROR messages shown, returning a non-zero exit code.

real3m13.888s
user12m59.532s
sys 2m4.204s

Some of the recent commits beyond the following one has caused this breakage, 

http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=7f138d64f093610a03f2333ae31b48edfa3553ff

Regards,

Elvis Dowson


signature.asc
Description: Message signed with OpenPGP using GPGMail
-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


Re: [yocto] [meta-ivi][PATCH] weston: Add weston.ini config file

2014-04-25 Thread Florin Sarbu

Will take it into consideration for next Genivi release. (a.k.a. 6.0.1)

Florin

On 04/25/2014 03:59 PM, sujith h wrote:

Hi,

Any comment for the new patch?


On Thu, Apr 24, 2014 at 6:09 PM, Sujith H > wrote:


Adding weston.ini to /etc/xdg. With this change
user can login and launch weston with ivi-shell.

Signed-off-by: Sujith H mailto:sujith_harida...@mentor.com>>
---
 recipes-graphics/wayland/weston_1.4.0.bbappend | 15 +++
 1 file changed, 15 insertions(+)

diff --git a/recipes-graphics/wayland/weston_1.4.0.bbappend
b/recipes-graphics/wayland/weston_1.4.0.bbappend
index 7a8ba6f..1bcb327 100644
--- a/recipes-graphics/wayland/weston_1.4.0.bbappend
+++ b/recipes-graphics/wayland/weston_1.4.0.bbappend
@@ -12,3 +12,18 @@ PR = "r1"

 FILES_${PN} += "${libdir}/weston/*"
 FILES_${PN}-dbg += "${libdir}/weston/.debug/*"
+
+do_install_append() {
+   WESTON_INI_CONFIG=${sysconfdir}/xdg/weston
+   install -d ${D}${WESTON_INI_CONFIG}
+   install -m 0644 ${S}/ivi-shell/weston.ini.in
 ${D}${WESTON_INI_CONFIG}/weston.ini
+   sed -i -e
's/hmi-controller.so/hmi-controller.so,ivi-controller.so/
' \
+  -e 's|\@libexecdir\@|${libexecdir}|' \
+  -e 's|\@abs_top_builddir\@\/data|${datadir}\/weston|' \
+  -e 's|\@abs_top_builddir\@\/clients|${bindir}|'
${D}${WESTON_INI_CONFIG}/weston.ini
+
+}
+
+PACKAGES += "${PN}-ini"
+
+FILES_${PN}-ini = "${sysconfdir}/xdg"
--
1.8.4




--
സുജിത് ഹരിദാസന്
Bangalore
Contributor to KDE project
http://fci.wikia.com/wiki/Anti-DRM-Campaign
 http://sujithh.info


-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


Re: [yocto] [meta-ivi][PATCH] weston: Add weston.ini config file

2014-04-25 Thread sujith h
Hi,

Any comment for the new patch?


On Thu, Apr 24, 2014 at 6:09 PM, Sujith H  wrote:

> Adding weston.ini to /etc/xdg. With this change
> user can login and launch weston with ivi-shell.
>
> Signed-off-by: Sujith H 
> ---
>  recipes-graphics/wayland/weston_1.4.0.bbappend | 15 +++
>  1 file changed, 15 insertions(+)
>
> diff --git a/recipes-graphics/wayland/weston_1.4.0.bbappend
> b/recipes-graphics/wayland/weston_1.4.0.bbappend
> index 7a8ba6f..1bcb327 100644
> --- a/recipes-graphics/wayland/weston_1.4.0.bbappend
> +++ b/recipes-graphics/wayland/weston_1.4.0.bbappend
> @@ -12,3 +12,18 @@ PR = "r1"
>
>  FILES_${PN} += "${libdir}/weston/*"
>  FILES_${PN}-dbg += "${libdir}/weston/.debug/*"
> +
> +do_install_append() {
> +   WESTON_INI_CONFIG=${sysconfdir}/xdg/weston
> +   install -d ${D}${WESTON_INI_CONFIG}
> +   install -m 0644 
> ${S}/ivi-shell/weston.ini.in${D}${WESTON_INI_CONFIG}/weston.ini
> +   sed -i -e 's/hmi-controller.so/hmi-controller.so,ivi-controller.so/' \
> +  -e 's|\@libexecdir\@|${libexecdir}|' \
> +  -e 's|\@abs_top_builddir\@\/data|${datadir}\/weston|' \
> +  -e 's|\@abs_top_builddir\@\/clients|${bindir}|'
> ${D}${WESTON_INI_CONFIG}/weston.ini
> +
> +}
> +
> +PACKAGES += "${PN}-ini"
> +
> +FILES_${PN}-ini = "${sysconfdir}/xdg"
> --
> 1.8.4
>
>


-- 
സുജിത് ഹരിദാസന്
Bangalore
Contributor to KDE project
http://fci.wikia.com/wiki/Anti-DRM-Campaign
 http://sujithh.info
-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


Re: [yocto] New recipe writing documentation

2014-04-25 Thread Jerrod Peach
This was actually intended to go to an internal mailing list for my
company. Anyone on yocto@yoctoproject.org can safely ignore this (although
that documentation is useful!).


On Fri, Apr 25, 2014 at 8:46 AM, Jerrod Peach  wrote:

> If you've ever struggled with writing a recipe, the Yocto Project has
> some new documentation that extensively covers the 
> topic.
> Do note that this is from the Yocto 1.6 documentation which was just
> formally released yesterday, so there is a slim chance they'll mention
> something that isn't applicable to our current 1.4 (headed to 1.5) release,
> but I think overall it could be handy to some folks.
>
-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


[yocto] New recipe writing documentation

2014-04-25 Thread Jerrod Peach
If you've ever struggled with writing a recipe, the Yocto Project has some
new documentation that extensively covers the
topic.
Do note that this is from the Yocto 1.6 documentation which was just
formally released yesterday, so there is a slim chance they'll mention
something that isn't applicable to our current 1.4 (headed to 1.5) release,
but I think overall it could be handy to some folks.
-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


[yocto] building qtbase for raspberry pi fails

2014-04-25 Thread Felix01 Fischer
Hello everybody,
first, I hope I have choosen the right mailing list for my problem. If 
not, please tell me.

I have problems getting Qt5 building and running on a raspberry pi (512 Mb 
Version).
I'm using today's master branch from yocto & meta-raspberrypi ( 
git.yoctoproject.org ) and meta-qt5 ( github.com/meta-qt5/meta-qt5 ).
Building without a change in qtbase doesn't work because the OpenGL Test 
fails ( the raspberry pi only suppports GLESv2).
When building with a qtbase_X.Y.Z.bbappend and "PACKAGECCONFIG_append = " 
gles2" in order to use eglfs the mess beginns.
First, building qtbase fails because 
qtbase-opensource-src-5.2.1/config.tests/qpa/egl/egl.cpp cannot find 
"vcos_types.h"
After including this manually in "meta-qt5/recipes-qt/qt5/qtbase.inc" by 
adding the last line to configure
do_configure() {
 
[.]

${S}/configure -v \
-I${STAGING_DIR_TARGET}/usr/include/interface/vcos/pthreads/ \

[.]

}

 
the next error is the following:
| EGL auto-detection... ()
| arm-poky-linux-gnueabi-g++  -march=armv6 -mthumb-interwork 
-mfloat-abi=softfp  -mfpu=vfp 
--sysroot=/media/yocto_build/qt5-raspb/build/tmp/sysroots/raspberrypi -c 
-pipe  -O2 -pipe -g -feliminate-unused-debug-types 
-fvisibility-inlines-hidden -O2 -Wall -W -fPIE 
-I../../../../qtbase-opensource-src-5.2.1/mkspecs/linux-oe-g++ 
-I../../../../qtbase-opensource-src-5.2.1/config.tests/qpa/egl 
-I../../../../../../../../sysroots/raspberrypi/usr/include/interface/vcos/pthreads
 
-I. -o egl.o 
../../../../qtbase-opensource-src-5.2.1/config.tests/qpa/egl/egl.cpp
| ../../../../qtbase-opensource-src-5.2.1/config.tests/qpa/egl/egl.cpp: In 
function 'int main(int, char**)':
| 
../../../../qtbase-opensource-src-5.2.1/config.tests/qpa/egl/egl.cpp:46:12: 
warning: unused variable 'x' [-Wunused-variable]
|  EGLint x = 0;
| ^
| arm-poky-linux-gnueabi-g++  -march=armv6 -mthumb-interwork 
-mfloat-abi=softfp  -mfpu=vfp 
--sysroot=/media/yocto_build/qt5-raspb/build/tmp/sysroots/raspberrypi 
-Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed -Wl,-O1 -o egl egl.o   -lEGL
| 
/media/yocto_build/qt5-raspb/build/tmp/sysroots/raspberrypi/usr/lib/libEGL.so: 
undefined reference to `glxx_client_GetRenderbufferParameteriv'
| 
/media/yocto_build/qt5-raspb/build/tmp/sysroots/raspberrypi/usr/lib/libEGL.so: 
undefined reference to `gl20_client_state_init'
| 
/media/yocto_build/qt5-raspb/build/tmp/sysroots/raspberrypi/usr/lib/libEGL.so: 
undefined reference to `gl11_client_state_init'
| 
/media/yocto_build/qt5-raspb/build/tmp/sysroots/raspberrypi/usr/lib/libEGL.so: 
undefined reference to `glintAttribPointer'
| 
/media/yocto_build/qt5-raspb/build/tmp/sysroots/raspberrypi/usr/lib/libEGL.so: 
undefined reference to `glxx_client_GenFramebuffers'
| 
/media/yocto_build/qt5-raspb/build/tmp/sysroots/raspberrypi/usr/lib/libEGL.so: 
undefined reference to `glxx_buffer_info_get'
| 
/media/yocto_build/qt5-raspb/build/tmp/sysroots/raspberrypi/usr/lib/libEGL.so: 
undefined reference to `glDiscardFramebufferEXT'
| 
/media/yocto_build/qt5-raspb/build/tmp/sysroots/raspberrypi/usr/lib/libEGL.so: 
undefined reference to `glxx_client_FramebufferTexture2D'
| 
/media/yocto_build/qt5-raspb/build/tmp/sysroots/raspberrypi/usr/lib/libEGL.so: 
undefined reference to `glxx_client_IsRenderbuffer'
| 
/media/yocto_build/qt5-raspb/build/tmp/sysroots/raspberrypi/usr/lib/libEGL.so: 
undefined reference to `glxx_set_error'
| 
/media/yocto_build/qt5-raspb/build/tmp/sysroots/raspberrypi/usr/lib/libEGL.so: 
undefined reference to `glxx_client_BindFramebuffer'
| 
/media/yocto_build/qt5-raspb/build/tmp/sysroots/raspberrypi/usr/lib/libEGL.so: 
undefined reference to `glxx_client_GenRenderbuffers'
| 
/media/yocto_build/qt5-raspb/build/tmp/sysroots/raspberrypi/usr/lib/libEGL.so: 
undefined reference to `glxx_set_error_api'
| 
/media/yocto_build/qt5-raspb/build/tmp/sysroots/raspberrypi/usr/lib/libEGL.so: 
undefined reference to `glxx_client_BindRenderbuffer'
| 
/media/yocto_build/qt5-raspb/build/tmp/sysroots/raspberrypi/usr/lib/libEGL.so: 
undefined reference to `glBufferSubData'
| 
/media/yocto_build/qt5-raspb/build/tmp/sysroots/raspberrypi/usr/lib/libEGL.so: 
undefined reference to `glxx_client_GetFramebufferAttachmentParameteriv'
| 
/media/yocto_build/qt5-raspb/build/tmp/sysroots/raspberrypi/usr/lib/libEGL.so: 
undefined reference to `glxx_client_CheckFramebufferStatus'
| 
/media/yocto_build/qt5-raspb/build/tmp/sysroots/raspberrypi/usr/lib/libEGL.so: 
undefined reference to `glxx_client_FramebufferRenderbuffer'
| 
/media/yocto_build/qt5-raspb/build/tmp/sysroots/raspberrypi/usr/lib/libEGL.so: 
undefined reference to `glxx_client_RenderbufferStorage'
| 
/media/yocto_build/qt5-raspb/build/tmp/sysroots/raspberrypi/usr/lib/libEGL.so: 
undefined reference to `glxx_client_DeleteRenderbuffers'
| 
/media/yocto_build/qt5-raspb/build/tmp/sysroots/raspberrypi/usr/lib/libEGL.so: 
undefined reference to `glxx_client_GenerateMipmap'
| 
/media/yocto_build/qt5-raspb/build/tmp/sysroots/raspbe

Re: [yocto] Modify RFS before final image is created

2014-04-25 Thread Tobias Blom
Hi all,

I’ll answer my own question. It seem ROOTFS_POSTPROCESS_COMMAND or 
ROOTFS_POSTINSTALL_COMMAND is the way to go.

I did however run into a problem when running my script. Using variable ${D} in 
my ROOTFS_POSTINSTALL_COMMAND gives the “wrong” path - it points to …/image and 
I’d expect it to contain the path to …/rootfs. It seem the variable is replaced 
before my function is executed.

I solved this by using variable ${IMAGE_ROOTFS} instead.

/Toby

On 25 apr 2014, at 09:22, Tobias Blom  wrote:

> Hi all,
> 
> I have run into a problem that I’m not able to figure out how to solve, and 
> turn to the list to ask for general directions.
> 
> I need to modify my root FS just before the final image is created. The 
> problem is that I do now know where to implement my code.
> 
> More specific, I want to copy a couple of RPM-packages to the final RFS, 
> packages that have just been installed. The reason is to be able to perform a 
> rollback later on.
> 
> Any help and general pointing in the right direction would be much 
> appreciated.
> 
> Kind regards,
> Toby



signature.asc
Description: Message signed with OpenPGP using GPGMail
-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


Re: [yocto] ROOTFS_POSTPROCESS_COMMAND warning

2014-04-25 Thread Erik Botö
Ok, I got it working now.

Just create a function that does what you want, e.g.:
function fix_my_rootfs() {
echo "foo"
}

Then run this function from ROOTFS_POSTPROCESS_COMMAND, e.g.
ROOTFS_POSTPROCESS_COMMAND += "fix_my_rootfs; "

That works for me. When I first tried it I accidentally added () when
calling the function from ROOTFS_POSTPROCESS_COMMAND which does not
work.

Cheers,
Erik

On Fri, Apr 25, 2014 at 8:56 AM, Erik Botö  wrote:
> Hi,
>
> On Fri, Apr 18, 2014 at 1:48 AM, Mahyar Yaghmaee
>  wrote:
>> Hi,
>>
>> I'm trying to run a post processing shell command using
>> ROOTFS_POSTPROCESS_COMMAND by adding ROOTFS_POSTPROCESS_COMMAND +=
>> "shell_command;" at the end of an image recipe.
>> I get:
>> WARNING: Function shell_command doesn't exist
>>
>> Any ideas what's the problem here?
>
> Nope, but I do see the same issue since a while back. I'm also curious
> on how to solve this. I tried moving the commands into a separate
> function in the image recipe and to call that from
> ROOTFS_POSTPROCESS_COMMAND but still see the issues.
>
> Cheers,
> Erik
>
>>
>> Regards,
>> Mahyar
>>
>> --
>> ___
>> yocto mailing list
>> yocto@yoctoproject.org
>> https://lists.yoctoproject.org/listinfo/yocto
>>
-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


[yocto] Porting yocto to Gentoo

2014-04-25 Thread Kai Ulrich
Hi,

Thanks to the yocto and gentoo community I am able to use yocto on gentoo
now.

The result is documented at the Gentoo Wiki

https://wiki.gentoo.org/wiki/Yocto

If you have any remarks to improve the Wiki or the porting please let me
know.

fr
Kai
-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


[yocto] Modify RFS before final image is created

2014-04-25 Thread Tobias Blom
Hi all,

I have run into a problem that I’m not able to figure out how to solve, and 
turn to the list to ask for general directions.

I need to modify my root FS just before the final image is created. The problem 
is that I do now know where to implement my code.

More specific, I want to copy a couple of RPM-packages to the final RFS, 
packages that have just been installed. The reason is to be able to perform a 
rollback later on.

Any help and general pointing in the right direction would be much appreciated.

Kind regards,
Toby


signature.asc
Description: Message signed with OpenPGP using GPGMail
-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto