* bitbake meta-toolchain error @ 2014-08-01 11:36 Nilesh Kokane 2014-08-01 21:10 ` Khem Raj 0 siblings, 1 reply; 11+ messages in thread From: Nilesh Kokane @ 2014-08-01 11:36 UTC (permalink / raw) To: openembedded-devel Hello, I followed http://wiki.wandboard.org/index.php/Building_Qt5_using_yocto_on_Wandboard (newly added) on wandboard solo The DISTRO_FEATURES_remove = "x11 wayland" is removed from the local.conf And after giving the bitbake core-image-minimal I'm logged with the errors as posted on pastebin http://pastebin.com/hsMhT9f8 ERROR: Function failed: do_compile (log file is located at /home/minda/bin/fsl-community-bsp/build/tmp/work/cortexa9hf-vfp-neon-mx6-poky-linux-gnueabi/qtbase/5.2.1-r0/temp/log.do_compile.28369) ERROR: Logfile of failure stored in: /home/minda/bin/fsl-community-bsp/build/tmp/work/cortexa9hf-vfp-neon-mx6-poky-linux-gnueabi/qtbase/5.2.1-r0/temp/log.do_compile.28369 ERROR: Task 655 (/home/minda/bin/fsl-community-bsp/sources/meta-qt5/recipes-qt/qt5/ qtbase_5.2.1.bb, do_compile) failed with exit code '1' can anyone suggest. Thanks Nilesh kokane -- “The contents of this e-mail message and any attachments are confidential and are intended solely for addressee. The information may also be legally privileged. This transmission is sent in trust, for the sole purpose of delivery to the intended recipient. If you have received this transmission in error, any use, reproduction or dissemination of this transmission is strictly prohibited. If you are not the intended recipient, please immediately notify the sender by reply e-mail or phone and delete this message and its attachments, if any.” ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: bitbake meta-toolchain error 2014-08-01 11:36 bitbake meta-toolchain error Nilesh Kokane @ 2014-08-01 21:10 ` Khem Raj 2014-08-02 3:29 ` Nilesh Kokane 0 siblings, 1 reply; 11+ messages in thread From: Khem Raj @ 2014-08-01 21:10 UTC (permalink / raw) To: openembeded-devel On Fri, Aug 1, 2014 at 4:36 AM, Nilesh Kokane <nilesh.kokane@mindastoneridge.com> wrote: > ERROR: Task 655 > (/home/minda/bin/fsl-community-bsp/sources/meta-qt5/recipes-qt/qt5/ > qtbase_5.2.1.bb, do_compile) failed with exit code '1' > > where are the logs ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: bitbake meta-toolchain error 2014-08-01 21:10 ` Khem Raj @ 2014-08-02 3:29 ` Nilesh Kokane 2014-08-02 20:29 ` Khem Raj 0 siblings, 1 reply; 11+ messages in thread From: Nilesh Kokane @ 2014-08-02 3:29 UTC (permalink / raw) To: raj.khem; +Cc: openembedded-devel [-- Attachment #1: Type: text/plain, Size: 1323 bytes --] where are the logs I'm logged with the errors as posted on pastebin http://pastebin.com/hsMhT9f8 Please if you can have alook. Thanks Nilesh Kokane On Sat, Aug 2, 2014 at 2:40 AM, Khem Raj <raj.khem@gmail.com> wrote: > On Fri, Aug 1, 2014 at 4:36 AM, Nilesh Kokane > <nilesh.kokane@mindastoneridge.com> wrote: > > ERROR: Task 655 > > (/home/minda/bin/fsl-community-bsp/sources/meta-qt5/recipes-qt/qt5/ > > qtbase_5.2.1.bb, do_compile) failed with exit code '1' > > > > > > where are the logs > -- > _______________________________________________ > Openembedded-devel mailing list > Openembedded-devel@lists.openembedded.org > http://lists.openembedded.org/mailman/listinfo/openembedded-devel > -- Thanks -- “The contents of this e-mail message and any attachments are confidential and are intended solely for addressee. The information may also be legally privileged. This transmission is sent in trust, for the sole purpose of delivery to the intended recipient. If you have received this transmission in error, any use, reproduction or dissemination of this transmission is strictly prohibited. If you are not the intended recipient, please immediately notify the sender by reply e-mail or phone and delete this message and its attachments, if any.” [-- Attachment #2: image001.png --] [-- Type: image/png, Size: 67631 bytes --] ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: bitbake meta-toolchain error 2014-08-02 3:29 ` Nilesh Kokane @ 2014-08-02 20:29 ` Khem Raj 2014-08-03 4:23 ` Nilesh Kokane 0 siblings, 1 reply; 11+ messages in thread From: Khem Raj @ 2014-08-02 20:29 UTC (permalink / raw) To: Nilesh Kokane; +Cc: openembedded-devel On 14-08-02 08:59:13, Nilesh Kokane wrote: > where are the logs > > I'm logged with the errors as posted on pastebin > http://pastebin.com/hsMhT9f8 > > Please if you can have alook. It seems eglvivante.h might have issues are you compiling Qt with XCB support ? then check if egl defines are OK in that header. you might delete all defines except X11 in eglvivante.h may be that will help. ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: bitbake meta-toolchain error 2014-08-02 20:29 ` Khem Raj @ 2014-08-03 4:23 ` Nilesh Kokane 2014-08-03 7:23 ` Thomas Senyk 0 siblings, 1 reply; 11+ messages in thread From: Nilesh Kokane @ 2014-08-03 4:23 UTC (permalink / raw) To: Khem Raj; +Cc: Sandeep Gound, openembedded-devel [-- Attachment #1: Type: text/plain, Size: 1637 bytes --] Hi Raj, Thanks for your valuable reply first of all. It seems eglvivante.h might have issues are you compiling Qt with XCB support ? Yes , i'm compiling the Qt with the XCB support then check if egl defines are OK in that header. you might delete all defines except X11 in eglvivante.h may be that will help. My eglvivante.h looks something like this http://pastebin.com/DTEDrRkx can you tell me exactly what i need to delete in the header file for circumventing the problem Thanks Nilesh Kokane On Sun, Aug 3, 2014 at 1:59 AM, Khem Raj <raj.khem@gmail.com> wrote: > On 14-08-02 08:59:13, Nilesh Kokane wrote: > > where are the logs > > > > I'm logged with the errors as posted on pastebin > > http://pastebin.com/hsMhT9f8 > > > > Please if you can have alook. > > It seems eglvivante.h might have issues are you compiling > Qt with XCB support ? > then check if egl defines are OK in that header. > you might delete all defines except X11 in eglvivante.h > may be that will help. > > -- Thanks -- “The contents of this e-mail message and any attachments are confidential and are intended solely for addressee. The information may also be legally privileged. This transmission is sent in trust, for the sole purpose of delivery to the intended recipient. If you have received this transmission in error, any use, reproduction or dissemination of this transmission is strictly prohibited. If you are not the intended recipient, please immediately notify the sender by reply e-mail or phone and delete this message and its attachments, if any.” [-- Attachment #2: image001.png --] [-- Type: image/png, Size: 67631 bytes --] ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: bitbake meta-toolchain error 2014-08-03 4:23 ` Nilesh Kokane @ 2014-08-03 7:23 ` Thomas Senyk 2014-08-03 9:09 ` Nilesh Kokane 0 siblings, 1 reply; 11+ messages in thread From: Thomas Senyk @ 2014-08-03 7:23 UTC (permalink / raw) To: openembedded-devel; +Cc: Sandeep Gound On Sunday, August 03, 2014 09:53:24 AM Nilesh Kokane wrote: > Hi Raj, > > > Thanks for your valuable reply first of all. > > > > > > It seems eglvivante.h might have issues are you compiling > Qt with XCB support ? > > Yes , i'm compiling the Qt with the XCB support And that's the problem .. isn't it? From previose mails I understand you trying to get a EGLFS (egl on top of framebuffer) build .. right? (the rest of this mail assume a 'yes' to this answer) You're trying to compile Qt/XCB on top of a sysroot which has no X11 in it. .. and/or you have X11 left overs from previous builds and Qt picks them up although you're building with -DEGL_API_FB=1 > > then check if egl defines are OK in that header. > you might delete all defines except X11 in eglvivante.h > may be that will help. Tinkering your eglvivante.h sound like the wrong thing to do :) This should be solved by qtbase_%.bbappend in meta-fsl-arm. You'll see that there is code for: a. taking the right platform plugin (the line with "-eglfs" in it)* b. setup for eglvivante.h (the lines around -DEGL_API_FB=1 (*this line could be improved by adding -xcb and -no-xcb accordingly...) Open qtbase.inc (from meta-qt5) and remove the "-silent" Then clean your build director* (I usually just delete the complete build folder and start from scratch) Build again, and if it fails then write again to this mail list with links to all logs: bitbake log, qtbase: run.configure, log.do_configure, run.do_compile, log.do_compile (*This is just to make sure the change for DISTRO_FEATURE has no side effects, if already did a clean build after the change then you should be good) > > > My eglvivante.h looks something like this http://pastebin.com/DTEDrRkx > can you tell me exactly what i need to delete in the header file for > circumventing the problem > > > > Thanks > Nilesh Kokane > > On Sun, Aug 3, 2014 at 1:59 AM, Khem Raj <raj.khem@gmail.com> wrote: > > On 14-08-02 08:59:13, Nilesh Kokane wrote: > > > where are the logs > > > > > > I'm logged with the errors as posted on pastebin > > > http://pastebin.com/hsMhT9f8 > > > > > > Please if you can have alook. > > > > It seems eglvivante.h might have issues are you compiling > > Qt with XCB support ? > > then check if egl defines are OK in that header. > > you might delete all defines except X11 in eglvivante.h > > may be that will help. ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: bitbake meta-toolchain error 2014-08-03 7:23 ` Thomas Senyk @ 2014-08-03 9:09 ` Nilesh Kokane 2014-08-04 10:09 ` Nilesh Kokane 0 siblings, 1 reply; 11+ messages in thread From: Nilesh Kokane @ 2014-08-03 9:09 UTC (permalink / raw) To: Thomas Senyk; +Cc: Sandeep Gound, openembedded-devel [-- Attachment #1: Type: text/plain, Size: 5352 bytes --] Hi Thomas Thanks for your reply And that's the problem .. isn't it? From previose mails I understand you trying to get a EGLFS (egl on top of framebuffer) build .. right? (the rest of this mail assume a 'yes' to this answer) Yes, I'm trying to get EGLFS You're trying to compile Qt/XCB on top of a sysroot which has no X11 in it. .. and/or you have X11 left overs from previous builds and Qt picks them up although you're building with -DEGL_API_FB=1 > > then check if egl defines are OK in that header. > you might delete all defines except X11 in eglvivante.h > may be that will help. Tinkering your eglvivante.h sound like the wrong thing to do :) I largely tweaked the eglvivante.h in an attempt to solve the problem without having the backup copy. So just to restore the eglvivante.h back, i derived the file from the reference github ( https://github.com/rogeriorps/gpu-samples-mx6/blob/master/lesson03/include/EGL/eglvivante.h) will that cause a -ve effect in the build? Also, I'll perform the following mentioned experiments and update about the results shortly. This should be solved by qtbase_%.bbappend in meta-fsl-arm. You'll see that there is code for: a. taking the right platform plugin (the line with "-eglfs" in it)* b. setup for eglvivante.h (the lines around -DEGL_API_FB=1 (*this line could be improved by adding -xcb and -no-xcb accordingly...) Open qtbase.inc (from meta-qt5) and remove the "-silent" Then clean your build director* (I usually just delete the complete build folder and start from scratch) Build again, and if it fails then write again to this mail list with links to all logs: bitbake log, qtbase: run.configure, log.do_configure, run.do_compile, log.do_compile (*This is just to make sure the change for DISTRO_FEATURE has no side effects, if already did a clean build after the change then you should be good) On Sun, Aug 3, 2014 at 12:53 PM, Thomas Senyk <thomas.senyk@pelagicore.com> wrote: > On Sunday, August 03, 2014 09:53:24 AM Nilesh Kokane wrote: > > Hi Raj, > > > > > > Thanks for your valuable reply first of all. > > > > > > > > > > > > It seems eglvivante.h might have issues are you compiling > > Qt with XCB support ? > > > > Yes , i'm compiling the Qt with the XCB support > > And that's the problem .. isn't it? From previose mails I understand you > trying to get a EGLFS (egl on top of framebuffer) build .. right? > (the rest of this mail assume a 'yes' to this answer) > > You're trying to compile Qt/XCB on top of a sysroot which has no X11 in it. > > .. and/or you have X11 left overs from previous builds and Qt picks them up > although you're building with -DEGL_API_FB=1 > > > > > then check if egl defines are OK in that header. > > you might delete all defines except X11 in eglvivante.h > > may be that will help. > > Tinkering your eglvivante.h sound like the wrong thing to do :) > > This should be solved by qtbase_%.bbappend in meta-fsl-arm. > You'll see that there is code for: > a. taking the right platform plugin > (the line with "-eglfs" in it)* > b. setup for eglvivante.h > (the lines around -DEGL_API_FB=1 > > (*this line could be improved by adding -xcb and -no-xcb accordingly...) > > > Open qtbase.inc (from meta-qt5) and remove the "-silent" > Then clean your build director* (I usually just delete the complete build > folder and start from scratch) > Build again, and if it fails then write again to this mail list with links > to > all logs: > bitbake log, > qtbase: run.configure, log.do_configure, run.do_compile, > log.do_compile > > > (*This is just to make sure the change for DISTRO_FEATURE has no side > effects, > if already did a clean build after the change then you should be good) > > > > > > > My eglvivante.h looks something like this http://pastebin.com/DTEDrRkx > > can you tell me exactly what i need to delete in the header file for > > circumventing the problem > > > > > > > > Thanks > > Nilesh Kokane > > > > On Sun, Aug 3, 2014 at 1:59 AM, Khem Raj <raj.khem@gmail.com> wrote: > > > On 14-08-02 08:59:13, Nilesh Kokane wrote: > > > > where are the logs > > > > > > > > I'm logged with the errors as posted on pastebin > > > > http://pastebin.com/hsMhT9f8 > > > > > > > > Please if you can have alook. > > > > > > It seems eglvivante.h might have issues are you compiling > > > Qt with XCB support ? > > > then check if egl defines are OK in that header. > > > you might delete all defines except X11 in eglvivante.h > > > may be that will help. > > -- Thanks -- “The contents of this e-mail message and any attachments are confidential and are intended solely for addressee. The information may also be legally privileged. This transmission is sent in trust, for the sole purpose of delivery to the intended recipient. If you have received this transmission in error, any use, reproduction or dissemination of this transmission is strictly prohibited. If you are not the intended recipient, please immediately notify the sender by reply e-mail or phone and delete this message and its attachments, if any.” [-- Attachment #2: image001.png --] [-- Type: image/png, Size: 67631 bytes --] ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: bitbake meta-toolchain error 2014-08-03 9:09 ` Nilesh Kokane @ 2014-08-04 10:09 ` Nilesh Kokane 2014-08-05 6:32 ` Nilesh Kokane 0 siblings, 1 reply; 11+ messages in thread From: Nilesh Kokane @ 2014-08-04 10:09 UTC (permalink / raw) To: Thomas Senyk; +Cc: Sandeep Gound, openembedded-devel [-- Attachment #1: Type: text/plain, Size: 7656 bytes --] Hi Thomas I'd like to update you with the following exp. This should be solved by qtbase_%.bbappend in meta-fsl-arm. You'll see that there is code for: a. taking the right platform plugin (the line with "-eglfs" in it)* In /meta-fsl-arm/qt5-layer/recipes-qt/qt5/qtbase_%.bbappend QT_CONFIG_FLAGS_append_mx6 = "${@base_contains('DISTRO_FEATURES', 'x11', *'-xcb'*, ' -no-eglfs', ' -eglfs', d)}" I added -xcb b. setup for eglvivante.h (the lines around -DEGL_API_FB=1 I didnt got the line -DEGL_API_FB=1 , so i didn't alter this, and left unchanged (*this line could be improved by adding -xcb and -no-xcb accordingly...) Open qtbase.inc (from meta-qt5) and remove the "-silent" In /bin/fsl-community-bsp/sources/meta-qt5/recipes-qt/qt5/qtbase.in QT_CONFIG_FLAGS += " \ -reduce-relocations \ -shared \ * -silent \* -no-pch \ -no-rpath \ -pkg-config \ ${EXTRA_OECONF} \ " -silent was deleted. and was found only in QT_CONFIG_FLAGS Then clean your build director* (I usually just delete the complete build folder and start from scratch) I deleted the Build folder and started right from the scratch Build again, and if it fails then write again to this mail list with links to all logs: With the setup above i got *success*. bitbake log, qtbase: run.configure, log.do_configure, run.do_compile, log.do_compile (*This is just to make sure the change for DISTRO_FEATURE has no side effects, if already did a clean build after the change then you should be good) Now to set up qt http://wiki.wandboard.org/index.php/Building_Qt5_using_yocto_on_Wandboard says to alter the conf/local.conf to be changed according to the contents given in the link and again give a bitbake. so should i alter the local.conf and the /bblayers.conf to set up the qt platform? Please suggest. On Sun, Aug 3, 2014 at 2:39 PM, Nilesh Kokane < nilesh.kokane@mindastoneridge.com> wrote: > Hi Thomas > > > Thanks for your reply > > > And that's the problem .. isn't it? From previose mails I understand you > trying to get a EGLFS (egl on top of framebuffer) build .. right? > (the rest of this mail assume a 'yes' to this answer) > > Yes, I'm trying to get EGLFS > > > You're trying to compile Qt/XCB on top of a sysroot which has no X11 in it. > > .. and/or you have X11 left overs from previous builds and Qt picks them up > although you're building with -DEGL_API_FB=1 > > > > > then check if egl defines are OK in that header. > > you might delete all defines except X11 in eglvivante.h > > may be that will help. > > Tinkering your eglvivante.h sound like the wrong thing to do :) > > I largely tweaked the eglvivante.h in an attempt to solve the problem > without having the backup copy. > So just to restore the eglvivante.h back, i derived the file from the > reference github ( > https://github.com/rogeriorps/gpu-samples-mx6/blob/master/lesson03/include/EGL/eglvivante.h) > will that cause a -ve effect in the build? > > > > > Also, I'll perform the following mentioned experiments and update about > the results shortly. > > > This should be solved by qtbase_%.bbappend in meta-fsl-arm. > You'll see that there is code for: > a. taking the right platform plugin > (the line with "-eglfs" in it)* > b. setup for eglvivante.h > (the lines around -DEGL_API_FB=1 > > (*this line could be improved by adding -xcb and -no-xcb accordingly...) > > > Open qtbase.inc (from meta-qt5) and remove the "-silent" > Then clean your build director* (I usually just delete the complete build > folder and start from scratch) > Build again, and if it fails then write again to this mail list with links > to > all logs: > bitbake log, > qtbase: run.configure, log.do_configure, run.do_compile, > log.do_compile > > > (*This is just to make sure the change for DISTRO_FEATURE has no side > effects, > if already did a clean build after the change then you should be good) > > > On Sun, Aug 3, 2014 at 12:53 PM, Thomas Senyk <thomas.senyk@pelagicore.com > > wrote: > >> On Sunday, August 03, 2014 09:53:24 AM Nilesh Kokane wrote: >> > Hi Raj, >> > >> > >> > Thanks for your valuable reply first of all. >> > >> > >> > >> > >> > >> > It seems eglvivante.h might have issues are you compiling >> > Qt with XCB support ? >> > >> > Yes , i'm compiling the Qt with the XCB support >> >> And that's the problem .. isn't it? From previose mails I understand you >> trying to get a EGLFS (egl on top of framebuffer) build .. right? >> (the rest of this mail assume a 'yes' to this answer) >> >> You're trying to compile Qt/XCB on top of a sysroot which has no X11 in >> it. >> >> .. and/or you have X11 left overs from previous builds and Qt picks them >> up >> although you're building with -DEGL_API_FB=1 >> >> > >> > then check if egl defines are OK in that header. >> > you might delete all defines except X11 in eglvivante.h >> > may be that will help. >> >> Tinkering your eglvivante.h sound like the wrong thing to do :) >> >> This should be solved by qtbase_%.bbappend in meta-fsl-arm. >> You'll see that there is code for: >> a. taking the right platform plugin >> (the line with "-eglfs" in it)* >> b. setup for eglvivante.h >> (the lines around -DEGL_API_FB=1 >> >> (*this line could be improved by adding -xcb and -no-xcb accordingly...) >> >> >> Open qtbase.inc (from meta-qt5) and remove the "-silent" >> Then clean your build director* (I usually just delete the complete build >> folder and start from scratch) >> Build again, and if it fails then write again to this mail list with >> links to >> all logs: >> bitbake log, >> qtbase: run.configure, log.do_configure, run.do_compile, >> log.do_compile >> >> >> (*This is just to make sure the change for DISTRO_FEATURE has no side >> effects, >> if already did a clean build after the change then you should be good) >> >> > >> > >> > My eglvivante.h looks something like this http://pastebin.com/DTEDrRkx >> > can you tell me exactly what i need to delete in the header file for >> > circumventing the problem >> > >> > >> > >> > Thanks >> > Nilesh Kokane >> > >> > On Sun, Aug 3, 2014 at 1:59 AM, Khem Raj <raj.khem@gmail.com> wrote: >> > > On 14-08-02 08:59:13, Nilesh Kokane wrote: >> > > > where are the logs >> > > > >> > > > I'm logged with the errors as posted on pastebin >> > > > http://pastebin.com/hsMhT9f8 >> > > > >> > > > Please if you can have alook. >> > > >> > > It seems eglvivante.h might have issues are you compiling >> > > Qt with XCB support ? >> > > then check if egl defines are OK in that header. >> > > you might delete all defines except X11 in eglvivante.h >> > > may be that will help. >> >> > > > -- > Thanks > > -- Thanks -- “The contents of this e-mail message and any attachments are confidential and are intended solely for addressee. The information may also be legally privileged. This transmission is sent in trust, for the sole purpose of delivery to the intended recipient. If you have received this transmission in error, any use, reproduction or dissemination of this transmission is strictly prohibited. If you are not the intended recipient, please immediately notify the sender by reply e-mail or phone and delete this message and its attachments, if any.” [-- Attachment #2: image001.png --] [-- Type: image/png, Size: 67631 bytes --] ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: bitbake meta-toolchain error 2014-08-04 10:09 ` Nilesh Kokane @ 2014-08-05 6:32 ` Nilesh Kokane 2014-08-05 6:37 ` Nilesh Kokane 0 siblings, 1 reply; 11+ messages in thread From: Nilesh Kokane @ 2014-08-05 6:32 UTC (permalink / raw) To: Thomas Senyk; +Cc: Sandeep Gound, openembedded-devel [-- Attachment #1: Type: text/plain, Size: 8967 bytes --] Hi Thomas, I'd like to update with the following. The local config was altered based on the url mentioned in the previous mail And QT_CONFIG_FLAGS_append_mx6 = "${@base_contains('DISTRO_FEATURES', 'x11', *'-xcb'*, -eglfs', d)}" -no-eglfs was replaced with the -xcb in the base contents as it accepts only 5 args And DISTRO_FEATURE was removed from the local.conf.Also the bblayers.conf was tweaked accordingly. with this the bitbake core-image-minimal failed with the following logs baitbake log :http://pastebin.com/V2fMF785 qtbase: log.do_configure, http://pastebin.com/5wHqWdGD do_compile, http://pastebin.com/ZFCJa8aL With this setup and without DISTRO_FEATURE_remove I gave i bitbake and was encountered with the errors as posted http://pastebin.com/V2fMF785 Please suggest to resolve this issue. On Mon, Aug 4, 2014 at 3:39 PM, Nilesh Kokane < nilesh.kokane@mindastoneridge.com> wrote: > Hi Thomas > > > I'd like to update you with the following exp. > > > > This should be solved by qtbase_%.bbappend in meta-fsl-arm. > You'll see that there is code for: > a. taking the right platform plugin > (the line with "-eglfs" in it)* > > > > In /meta-fsl-arm/qt5-layer/recipes-qt/qt5/qtbase_%.bbappend > > QT_CONFIG_FLAGS_append_mx6 = "${@base_contains('DISTRO_FEATURES', 'x11', > *'-xcb'*, ' -no-eglfs', ' -eglfs', d)}" > > I added -xcb > > b. setup for eglvivante.h > (the lines around -DEGL_API_FB=1 > > I didnt got the line -DEGL_API_FB=1 , so i didn't alter this, and left > unchanged > > (*this line could be improved by adding -xcb and -no-xcb accordingly...) > > Open qtbase.inc (from meta-qt5) and remove the "-silent" > > In /bin/fsl-community-bsp/sources/meta-qt5/recipes-qt/qt5/qtbase.in > > > QT_CONFIG_FLAGS += " \ > -reduce-relocations \ > -shared \ > * -silent \* > -no-pch \ > -no-rpath \ > -pkg-config \ > ${EXTRA_OECONF} \ > " > > -silent was deleted. and was found only in QT_CONFIG_FLAGS > > Then clean your build director* (I usually just delete the complete build > folder and start from scratch) > > I deleted the Build folder and started right from the scratch > > Build again, and if it fails then write again to this mail list with links > to > all logs: > > > With the setup above i got *success*. > > > > bitbake log, > qtbase: run.configure, log.do_configure, run.do_compile, > log.do_compile > > > (*This is just to make sure the change for DISTRO_FEATURE has no side > effects, > if already did a clean build after the change then you should be good) > > > > Now to set up qt > http://wiki.wandboard.org/index.php/Building_Qt5_using_yocto_on_Wandboard > says to alter the conf/local.conf to be changed according to the contents > given in the link and again give a bitbake. > so should i alter the local.conf and the /bblayers.conf to set up the qt > platform? > > > Please suggest. > > > > > > On Sun, Aug 3, 2014 at 2:39 PM, Nilesh Kokane < > nilesh.kokane@mindastoneridge.com> wrote: > >> Hi Thomas >> >> >> Thanks for your reply >> >> >> And that's the problem .. isn't it? From previose mails I understand you >> trying to get a EGLFS (egl on top of framebuffer) build .. right? >> (the rest of this mail assume a 'yes' to this answer) >> >> Yes, I'm trying to get EGLFS >> >> >> You're trying to compile Qt/XCB on top of a sysroot which has no X11 in >> it. >> >> .. and/or you have X11 left overs from previous builds and Qt picks them >> up >> although you're building with -DEGL_API_FB=1 >> >> > >> > then check if egl defines are OK in that header. >> > you might delete all defines except X11 in eglvivante.h >> > may be that will help. >> >> Tinkering your eglvivante.h sound like the wrong thing to do :) >> >> I largely tweaked the eglvivante.h in an attempt to solve the problem >> without having the backup copy. >> So just to restore the eglvivante.h back, i derived the file from the >> reference github ( >> https://github.com/rogeriorps/gpu-samples-mx6/blob/master/lesson03/include/EGL/eglvivante.h) >> will that cause a -ve effect in the build? >> >> >> >> >> Also, I'll perform the following mentioned experiments and update about >> the results shortly. >> >> >> This should be solved by qtbase_%.bbappend in meta-fsl-arm. >> You'll see that there is code for: >> a. taking the right platform plugin >> (the line with "-eglfs" in it)* >> b. setup for eglvivante.h >> (the lines around -DEGL_API_FB=1 >> >> (*this line could be improved by adding -xcb and -no-xcb accordingly...) >> >> >> Open qtbase.inc (from meta-qt5) and remove the "-silent" >> Then clean your build director* (I usually just delete the complete build >> folder and start from scratch) >> Build again, and if it fails then write again to this mail list with >> links to >> all logs: >> bitbake log, >> qtbase: run.configure, log.do_configure, run.do_compile, >> log.do_compile >> >> >> (*This is just to make sure the change for DISTRO_FEATURE has no side >> effects, >> if already did a clean build after the change then you should be good) >> >> >> On Sun, Aug 3, 2014 at 12:53 PM, Thomas Senyk < >> thomas.senyk@pelagicore.com> wrote: >> >>> On Sunday, August 03, 2014 09:53:24 AM Nilesh Kokane wrote: >>> > Hi Raj, >>> > >>> > >>> > Thanks for your valuable reply first of all. >>> > >>> > >>> > >>> > >>> > >>> > It seems eglvivante.h might have issues are you compiling >>> > Qt with XCB support ? >>> > >>> > Yes , i'm compiling the Qt with the XCB support >>> >>> And that's the problem .. isn't it? From previose mails I understand you >>> trying to get a EGLFS (egl on top of framebuffer) build .. right? >>> (the rest of this mail assume a 'yes' to this answer) >>> >>> You're trying to compile Qt/XCB on top of a sysroot which has no X11 in >>> it. >>> >>> .. and/or you have X11 left overs from previous builds and Qt picks them >>> up >>> although you're building with -DEGL_API_FB=1 >>> >>> > >>> > then check if egl defines are OK in that header. >>> > you might delete all defines except X11 in eglvivante.h >>> > may be that will help. >>> >>> Tinkering your eglvivante.h sound like the wrong thing to do :) >>> >>> This should be solved by qtbase_%.bbappend in meta-fsl-arm. >>> You'll see that there is code for: >>> a. taking the right platform plugin >>> (the line with "-eglfs" in it)* >>> b. setup for eglvivante.h >>> (the lines around -DEGL_API_FB=1 >>> >>> (*this line could be improved by adding -xcb and -no-xcb accordingly...) >>> >>> >>> Open qtbase.inc (from meta-qt5) and remove the "-silent" >>> Then clean your build director* (I usually just delete the complete build >>> folder and start from scratch) >>> Build again, and if it fails then write again to this mail list with >>> links to >>> all logs: >>> bitbake log, >>> qtbase: run.configure, log.do_configure, run.do_compile, >>> log.do_compile >>> >>> >>> (*This is just to make sure the change for DISTRO_FEATURE has no side >>> effects, >>> if already did a clean build after the change then you should be good) >>> >>> > >>> > >>> > My eglvivante.h looks something like this >>> http://pastebin.com/DTEDrRkx >>> > can you tell me exactly what i need to delete in the header file for >>> > circumventing the problem >>> > >>> > >>> > >>> > Thanks >>> > Nilesh Kokane >>> > >>> > On Sun, Aug 3, 2014 at 1:59 AM, Khem Raj <raj.khem@gmail.com> wrote: >>> > > On 14-08-02 08:59:13, Nilesh Kokane wrote: >>> > > > where are the logs >>> > > > >>> > > > I'm logged with the errors as posted on pastebin >>> > > > http://pastebin.com/hsMhT9f8 >>> > > > >>> > > > Please if you can have alook. >>> > > >>> > > It seems eglvivante.h might have issues are you compiling >>> > > Qt with XCB support ? >>> > > then check if egl defines are OK in that header. >>> > > you might delete all defines except X11 in eglvivante.h >>> > > may be that will help. >>> >>> >> >> >> -- >> Thanks >> >> > > > -- > Thanks > > -- Thanks -- “The contents of this e-mail message and any attachments are confidential and are intended solely for addressee. The information may also be legally privileged. This transmission is sent in trust, for the sole purpose of delivery to the intended recipient. If you have received this transmission in error, any use, reproduction or dissemination of this transmission is strictly prohibited. If you are not the intended recipient, please immediately notify the sender by reply e-mail or phone and delete this message and its attachments, if any.” [-- Attachment #2: image001.png --] [-- Type: image/png, Size: 67631 bytes --] ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: bitbake meta-toolchain error 2014-08-05 6:32 ` Nilesh Kokane @ 2014-08-05 6:37 ` Nilesh Kokane 0 siblings, 0 replies; 11+ messages in thread From: Nilesh Kokane @ 2014-08-05 6:37 UTC (permalink / raw) To: Thomas Senyk; +Cc: openembedded-devel [-- Attachment #1: Type: text/plain, Size: 10305 bytes --] Hi Thomas, I'd like to update with the following. The local config was altered based on the url mentioned in the previous mail And QT_CONFIG_FLAGS_append_mx6 = "${@base_contains('DISTRO_FEATURES', 'x11', *'-xcb'*, -eglfs', d)}" -no-eglfs was replaced with the -xcb in the base contents as it accepts only 5 args And DISTRO_FEATURE was removed from the local.conf.Also the bblayers.conf was tweaked accordingly. with this the bitbake core-image-minimal failed with the following logs baitbake log :http://pastebin.com/V2fMF785 qtbase: log.do_configure, http://pastebin.com/5wHqWdGD do_compile, http://pastebin.com/ZFCJa8aL With this setup and DISTRO_FEATURE_remove I gave i bitbake and was encountered with the errors as posted http://pastebin.com/V2fMF785 Please suggest to resolve this issue. Thanks Nilesh Kokane On Tue, Aug 5, 2014 at 12:02 PM, Nilesh Kokane < nilesh.kokane@mindastoneridge.com> wrote: > Hi Thomas, > > I'd like to update with the following. > > The local config was altered based on the url mentioned in the previous > mail > > And QT_CONFIG_FLAGS_append_mx6 = "${@base_contains('DISTRO_FEATURES', > 'x11',*'-xcb'*, -eglfs', d)}" > > > -no-eglfs was replaced with the -xcb in the base contents as it accepts > only 5 args > > > And DISTRO_FEATURE was removed from the local.conf.Also the > bblayers.conf was tweaked accordingly. > > > > with this the bitbake core-image-minimal failed with the following logs > > baitbake log :http://pastebin.com/V2fMF785 > > qtbase: > > log.do_configure, http://pastebin.com/5wHqWdGD > do_compile, http://pastebin.com/ZFCJa8aL > > > With this setup and without DISTRO_FEATURE_remove I gave i bitbake and was > encountered with the errors as posted http://pastebin.com/V2fMF785 > > > > Please suggest to resolve this issue. > > > > > > > On Mon, Aug 4, 2014 at 3:39 PM, Nilesh Kokane < > nilesh.kokane@mindastoneridge.com> wrote: > >> Hi Thomas >> >> >> I'd like to update you with the following exp. >> >> >> >> This should be solved by qtbase_%.bbappend in meta-fsl-arm. >> You'll see that there is code for: >> a. taking the right platform plugin >> (the line with "-eglfs" in it)* >> >> >> >> In /meta-fsl-arm/qt5-layer/recipes-qt/qt5/qtbase_%.bbappend >> >> QT_CONFIG_FLAGS_append_mx6 = "${@base_contains('DISTRO_FEATURES', 'x11', >> *'-xcb'*, ' -no-eglfs', ' -eglfs', d)}" >> >> I added -xcb >> >> b. setup for eglvivante.h >> (the lines around -DEGL_API_FB=1 >> >> I didnt got the line -DEGL_API_FB=1 , so i didn't alter this, and left >> unchanged >> >> (*this line could be improved by adding -xcb and -no-xcb accordingly...) >> >> Open qtbase.inc (from meta-qt5) and remove the "-silent" >> >> In /bin/fsl-community-bsp/sources/meta-qt5/recipes-qt/qt5/qtbase.in >> >> >> QT_CONFIG_FLAGS += " \ >> -reduce-relocations \ >> -shared \ >> * -silent \* >> -no-pch \ >> -no-rpath \ >> -pkg-config \ >> ${EXTRA_OECONF} \ >> " >> >> -silent was deleted. and was found only in QT_CONFIG_FLAGS >> >> Then clean your build director* (I usually just delete the complete build >> folder and start from scratch) >> >> I deleted the Build folder and started right from the scratch >> >> Build again, and if it fails then write again to this mail list with >> links to >> all logs: >> >> >> With the setup above i got *success*. >> >> >> >> bitbake log, >> qtbase: run.configure, log.do_configure, run.do_compile, >> log.do_compile >> >> >> (*This is just to make sure the change for DISTRO_FEATURE has no side >> effects, >> if already did a clean build after the change then you should be good) >> >> >> >> Now to set up qt >> http://wiki.wandboard.org/index.php/Building_Qt5_using_yocto_on_Wandboard >> says to alter the conf/local.conf to be changed according to the contents >> given in the link and again give a bitbake. >> so should i alter the local.conf and the /bblayers.conf to set up the qt >> platform? >> >> >> Please suggest. >> >> >> >> >> >> On Sun, Aug 3, 2014 at 2:39 PM, Nilesh Kokane < >> nilesh.kokane@mindastoneridge.com> wrote: >> >>> Hi Thomas >>> >>> >>> Thanks for your reply >>> >>> >>> And that's the problem .. isn't it? From previose mails I understand you >>> trying to get a EGLFS (egl on top of framebuffer) build .. right? >>> (the rest of this mail assume a 'yes' to this answer) >>> >>> Yes, I'm trying to get EGLFS >>> >>> >>> You're trying to compile Qt/XCB on top of a sysroot which has no X11 in >>> it. >>> >>> .. and/or you have X11 left overs from previous builds and Qt picks them >>> up >>> although you're building with -DEGL_API_FB=1 >>> >>> > >>> > then check if egl defines are OK in that header. >>> > you might delete all defines except X11 in eglvivante.h >>> > may be that will help. >>> >>> Tinkering your eglvivante.h sound like the wrong thing to do :) >>> >>> I largely tweaked the eglvivante.h in an attempt to solve the problem >>> without having the backup copy. >>> So just to restore the eglvivante.h back, i derived the file from the >>> reference github ( >>> https://github.com/rogeriorps/gpu-samples-mx6/blob/master/lesson03/include/EGL/eglvivante.h) >>> will that cause a -ve effect in the build? >>> >>> >>> >>> >>> Also, I'll perform the following mentioned experiments and update about >>> the results shortly. >>> >>> >>> This should be solved by qtbase_%.bbappend in meta-fsl-arm. >>> You'll see that there is code for: >>> a. taking the right platform plugin >>> (the line with "-eglfs" in it)* >>> b. setup for eglvivante.h >>> (the lines around -DEGL_API_FB=1 >>> >>> (*this line could be improved by adding -xcb and -no-xcb accordingly...) >>> >>> >>> Open qtbase.inc (from meta-qt5) and remove the "-silent" >>> Then clean your build director* (I usually just delete the complete build >>> folder and start from scratch) >>> Build again, and if it fails then write again to this mail list with >>> links to >>> all logs: >>> bitbake log, >>> qtbase: run.configure, log.do_configure, run.do_compile, >>> log.do_compile >>> >>> >>> (*This is just to make sure the change for DISTRO_FEATURE has no side >>> effects, >>> if already did a clean build after the change then you should be good) >>> >>> >>> On Sun, Aug 3, 2014 at 12:53 PM, Thomas Senyk < >>> thomas.senyk@pelagicore.com> wrote: >>> >>>> On Sunday, August 03, 2014 09:53:24 AM Nilesh Kokane wrote: >>>> > Hi Raj, >>>> > >>>> > >>>> > Thanks for your valuable reply first of all. >>>> > >>>> > >>>> > >>>> > >>>> > >>>> > It seems eglvivante.h might have issues are you compiling >>>> > Qt with XCB support ? >>>> > >>>> > Yes , i'm compiling the Qt with the XCB support >>>> >>>> And that's the problem .. isn't it? From previose mails I understand you >>>> trying to get a EGLFS (egl on top of framebuffer) build .. right? >>>> (the rest of this mail assume a 'yes' to this answer) >>>> >>>> You're trying to compile Qt/XCB on top of a sysroot which has no X11 in >>>> it. >>>> >>>> .. and/or you have X11 left overs from previous builds and Qt picks >>>> them up >>>> although you're building with -DEGL_API_FB=1 >>>> >>>> > >>>> > then check if egl defines are OK in that header. >>>> > you might delete all defines except X11 in eglvivante.h >>>> > may be that will help. >>>> >>>> Tinkering your eglvivante.h sound like the wrong thing to do :) >>>> >>>> This should be solved by qtbase_%.bbappend in meta-fsl-arm. >>>> You'll see that there is code for: >>>> a. taking the right platform plugin >>>> (the line with "-eglfs" in it)* >>>> b. setup for eglvivante.h >>>> (the lines around -DEGL_API_FB=1 >>>> >>>> (*this line could be improved by adding -xcb and -no-xcb accordingly...) >>>> >>>> >>>> Open qtbase.inc (from meta-qt5) and remove the "-silent" >>>> Then clean your build director* (I usually just delete the complete >>>> build >>>> folder and start from scratch) >>>> Build again, and if it fails then write again to this mail list with >>>> links to >>>> all logs: >>>> bitbake log, >>>> qtbase: run.configure, log.do_configure, run.do_compile, >>>> log.do_compile >>>> >>>> >>>> (*This is just to make sure the change for DISTRO_FEATURE has no side >>>> effects, >>>> if already did a clean build after the change then you should be good) >>>> >>>> > >>>> > >>>> > My eglvivante.h looks something like this >>>> http://pastebin.com/DTEDrRkx >>>> > can you tell me exactly what i need to delete in the header file for >>>> > circumventing the problem >>>> > >>>> > >>>> > >>>> > Thanks >>>> > Nilesh Kokane >>>> > >>>> > On Sun, Aug 3, 2014 at 1:59 AM, Khem Raj <raj.khem@gmail.com> wrote: >>>> > > On 14-08-02 08:59:13, Nilesh Kokane wrote: >>>> > > > where are the logs >>>> > > > >>>> > > > I'm logged with the errors as posted on pastebin >>>> > > > http://pastebin.com/hsMhT9f8 >>>> > > > >>>> > > > Please if you can have alook. >>>> > > >>>> > > It seems eglvivante.h might have issues are you compiling >>>> > > Qt with XCB support ? >>>> > > then check if egl defines are OK in that header. >>>> > > you might delete all defines except X11 in eglvivante.h >>>> > > may be that will help. >>>> >>>> >>> >>> >>> -- >>> Thanks >>> >>> >> >> >> -- >> Thanks >> >> > > > -- > Thanks > > -- Thanks -- “The contents of this e-mail message and any attachments are confidential and are intended solely for addressee. The information may also be legally privileged. This transmission is sent in trust, for the sole purpose of delivery to the intended recipient. If you have received this transmission in error, any use, reproduction or dissemination of this transmission is strictly prohibited. If you are not the intended recipient, please immediately notify the sender by reply e-mail or phone and delete this message and its attachments, if any.” [-- Attachment #2: image001.png --] [-- Type: image/png, Size: 67631 bytes --] ^ permalink raw reply [flat|nested] 11+ messages in thread
* bitbake meta-toolchain error @ 2014-08-01 7:46 Nilesh Kokane 0 siblings, 0 replies; 11+ messages in thread From: Nilesh Kokane @ 2014-08-01 7:46 UTC (permalink / raw) To: meta-freescale [-- Attachment #1: Type: text/plain, Size: 1504 bytes --] Hello, I followed http://wiki.wandboard.org/index.php/Building_Qt5_using_yocto_on_Wandboard (newly posted by Alfonso) The DISTRO_FEATURES_remove = "x11 wayland" is removed from the local.conf And after giving the bitbake core-image-minimal I'm logged with the errors as posted on pastebin http://pastebin.com/hsMhT9f8 ERROR: Function failed: do_compile (log file is located at /home/minda/bin/fsl-community-bsp/build/tmp/work/cortexa9hf-vfp-neon-mx6-poky-linux-gnueabi/qtbase/5.2.1-r0/temp/log.do_compile.28369) ERROR: Logfile of failure stored in: /home/minda/bin/fsl-community-bsp/build/tmp/work/cortexa9hf-vfp-neon-mx6-poky-linux-gnueabi/qtbase/5.2.1-r0/temp/log.do_compile.28369 ERROR: Task 655 (/home/minda/bin/fsl-community-bsp/sources/meta-qt5/recipes-qt/qt5/ qtbase_5.2.1.bb, do_compile) failed with exit code '1' can anyone suggest. -- Thanks Nilesh Kokane -- “The contents of this e-mail message and any attachments are confidential and are intended solely for addressee. The information may also be legally privileged. This transmission is sent in trust, for the sole purpose of delivery to the intended recipient. If you have received this transmission in error, any use, reproduction or dissemination of this transmission is strictly prohibited. If you are not the intended recipient, please immediately notify the sender by reply e-mail or phone and delete this message and its attachments, if any.” [-- Attachment #2: Type: text/html, Size: 2427 bytes --] ^ permalink raw reply [flat|nested] 11+ messages in thread
end of thread, other threads:[~2014-08-05 6:37 UTC | newest] Thread overview: 11+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2014-08-01 11:36 bitbake meta-toolchain error Nilesh Kokane 2014-08-01 21:10 ` Khem Raj 2014-08-02 3:29 ` Nilesh Kokane 2014-08-02 20:29 ` Khem Raj 2014-08-03 4:23 ` Nilesh Kokane 2014-08-03 7:23 ` Thomas Senyk 2014-08-03 9:09 ` Nilesh Kokane 2014-08-04 10:09 ` Nilesh Kokane 2014-08-05 6:32 ` Nilesh Kokane 2014-08-05 6:37 ` Nilesh Kokane -- strict thread matches above, loose matches on Subject: below -- 2014-08-01 7:46 Nilesh Kokane
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.