* Can't run HOB @ 2012-03-20 2:20 Gary Thomas 2012-03-20 6:25 ` Xu, Dongxiao 0 siblings, 1 reply; 5+ messages in thread From: Gary Thomas @ 2012-03-20 2:20 UTC (permalink / raw) To: Poky Project When I try HOB on my tree, it parses the metadata to around 57% and then brings up what I guess is a warning (sadly, it only shows an empty dialogue with an "OK" button). This seems to happen because I have meta-ti in my bblayers.conf. I also have this statement in my local.conf: # Ignore troublesome TI recipes BBMASK = ".*/meta-ti/recipes-misc/" Maybe HOB is not honouring the BBMASK? -- ------------------------------------------------------------ Gary Thomas | Consulting for the MLB Associates | Embedded world ------------------------------------------------------------ ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Can't run HOB 2012-03-20 2:20 Can't run HOB Gary Thomas @ 2012-03-20 6:25 ` Xu, Dongxiao 2012-03-20 10:03 ` Gary Thomas 2012-03-20 13:18 ` Wang, Shane 0 siblings, 2 replies; 5+ messages in thread From: Xu, Dongxiao @ 2012-03-20 6:25 UTC (permalink / raw) To: Gary Thomas; +Cc: Poky Project On Mon, 2012-03-19 at 20:20 -0600, Gary Thomas wrote: > When I try HOB on my tree, it parses the metadata to around 57% > and then brings up what I guess is a warning (sadly, it only shows > an empty dialogue with an "OK" button). This seems to happen because > I have meta-ti in my bblayers.conf. I also have this statement in > my local.conf: > # Ignore troublesome TI recipes > BBMASK = ".*/meta-ti/recipes-misc/" > > Maybe HOB is not honouring the BBMASK? Variables are still handled in bitbake server side, Hob only acts as a bridge between user and bitbake server. The phenomenon is strange since the code piece will detect if the error msg is None or not. If it is None, it will not pop up the error dialog. ================================================================ def handler_command_failed_cb(self, handler, msg): if msg: lbl = "<b>Error</b>\n" lbl = lbl + "%s\n\n" % msg dialog = CrumbsMessageDialog(self, lbl, gtk.STOCK_DIALOG_WARNING) dialog.add_button(gtk.STOCK_OK, gtk.RESPONSE_OK) response = dialog.run() dialog.destroy() ================================================================ What's does it do if you click the "OK" button? Thanks, Dongxiao > ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Can't run HOB 2012-03-20 6:25 ` Xu, Dongxiao @ 2012-03-20 10:03 ` Gary Thomas 2012-03-20 13:18 ` Wang, Shane 1 sibling, 0 replies; 5+ messages in thread From: Gary Thomas @ 2012-03-20 10:03 UTC (permalink / raw) To: Xu, Dongxiao; +Cc: Poky Project On 2012-03-20 00:25, Xu, Dongxiao wrote: > On Mon, 2012-03-19 at 20:20 -0600, Gary Thomas wrote: >> When I try HOB on my tree, it parses the metadata to around 57% >> and then brings up what I guess is a warning (sadly, it only shows >> an empty dialogue with an "OK" button). This seems to happen because >> I have meta-ti in my bblayers.conf. I also have this statement in >> my local.conf: >> # Ignore troublesome TI recipes >> BBMASK = ".*/meta-ti/recipes-misc/" >> >> Maybe HOB is not honouring the BBMASK? > > Variables are still handled in bitbake server side, Hob only acts as a > bridge between user and bitbake server. > > The phenomenon is strange since the code piece will detect if the error > msg is None or not. If it is None, it will not pop up the error dialog. > > ================================================================ > def handler_command_failed_cb(self, handler, msg): > if msg: > lbl = "<b>Error</b>\n" > lbl = lbl + "%s\n\n" % msg > dialog = CrumbsMessageDialog(self, lbl, > gtk.STOCK_DIALOG_WARNING) > dialog.add_button(gtk.STOCK_OK, gtk.RESPONSE_OK) > response = dialog.run() > dialog.destroy() > ================================================================ > > What's does it do if you click the "OK" button? It seems to stop scanning recipes immediately. There is no text along with the warning dialogue. -- ------------------------------------------------------------ Gary Thomas | Consulting for the MLB Associates | Embedded world ------------------------------------------------------------ ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Can't run HOB 2012-03-20 6:25 ` Xu, Dongxiao 2012-03-20 10:03 ` Gary Thomas @ 2012-03-20 13:18 ` Wang, Shane 2012-03-20 18:42 ` Gary Thomas 1 sibling, 1 reply; 5+ messages in thread From: Wang, Shane @ 2012-03-20 13:18 UTC (permalink / raw) To: Xu, Dongxiao, Gary Thomas; +Cc: Poky Project I suspect msg = "". Can you add print(msg) at the beginning of the function? That's: ========= def handler_command_failed_cb(self, handler, msg): print(msg) if msg: lbl = "<b>Error</b>\n" lbl = lbl + "%s\n\n" % msg dialog = ========= -- Shane Xu, Dongxiao wrote on 2012-03-20: > On Mon, 2012-03-19 at 20:20 -0600, Gary Thomas wrote: >> When I try HOB on my tree, it parses the metadata to around 57% >> and then brings up what I guess is a warning (sadly, it only shows >> an empty dialogue with an "OK" button). This seems to happen because >> I have meta-ti in my bblayers.conf. I also have this statement in >> my local.conf: >> # Ignore troublesome TI recipes >> BBMASK = ".*/meta-ti/recipes-misc/" >> Maybe HOB is not honouring the BBMASK? > > Variables are still handled in bitbake server side, Hob only acts as a > bridge between user and bitbake server. > > The phenomenon is strange since the code piece will detect if the error > msg is None or not. If it is None, it will not pop up the error dialog. > > =============================================================== > = > def handler_command_failed_cb(self, handler, msg): > if msg: > lbl = "<b>Error</b>\n" lbl = lbl + "%s\n\n" % msg dialog = > CrumbsMessageDialog(self, lbl, gtk.STOCK_DIALOG_WARNING) > dialog.add_button(gtk.STOCK_OK, gtk.RESPONSE_OK) response = > dialog.run() dialog.destroy() > =============================================================== = > > What's does it do if you click the "OK" button? > > Thanks, > Dongxiao > >> > > > _______________________________________________ > poky mailing list > poky@yoctoproject.org > https://lists.yoctoproject.org/listinfo/poky ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Can't run HOB 2012-03-20 13:18 ` Wang, Shane @ 2012-03-20 18:42 ` Gary Thomas 0 siblings, 0 replies; 5+ messages in thread From: Gary Thomas @ 2012-03-20 18:42 UTC (permalink / raw) To: Wang, Shane; +Cc: Poky Project [-- Attachment #1: Type: text/plain, Size: 2264 bytes --] On 2012-03-20 07:18, Wang, Shane wrote: > I suspect msg = "". > > Can you add print(msg) at the beginning of the function? That's: > > ========= > def handler_command_failed_cb(self, handler, msg): > print(msg) > if msg: > lbl = "<b>Error</b>\n" lbl = lbl + "%s\n\n" % msg dialog = > ========= Message attached (it's big). Note: this setup (my metadata + meta-ti + yocto core) builds images just fine. > Xu, Dongxiao wrote on 2012-03-20: > >> On Mon, 2012-03-19 at 20:20 -0600, Gary Thomas wrote: >>> When I try HOB on my tree, it parses the metadata to around 57% >>> and then brings up what I guess is a warning (sadly, it only shows >>> an empty dialogue with an "OK" button). This seems to happen because >>> I have meta-ti in my bblayers.conf. I also have this statement in >>> my local.conf: >>> # Ignore troublesome TI recipes >>> BBMASK = ".*/meta-ti/recipes-misc/" >>> Maybe HOB is not honouring the BBMASK? >> >> Variables are still handled in bitbake server side, Hob only acts as a >> bridge between user and bitbake server. >> >> The phenomenon is strange since the code piece will detect if the error >> msg is None or not. If it is None, it will not pop up the error dialog. >> >> =============================================================== >> = >> def handler_command_failed_cb(self, handler, msg): >> if msg: >> lbl = "<b>Error</b>\n" lbl = lbl + "%s\n\n" % msg dialog = >> CrumbsMessageDialog(self, lbl, gtk.STOCK_DIALOG_WARNING) >> dialog.add_button(gtk.STOCK_OK, gtk.RESPONSE_OK) response = >> dialog.run() dialog.destroy() >> =============================================================== = >> >> What's does it do if you click the "OK" button? >> >> Thanks, >> Dongxiao >> >>> >> >> >> _______________________________________________ >> poky mailing list >> poky@yoctoproject.org >> https://lists.yoctoproject.org/listinfo/poky > -- ------------------------------------------------------------ Gary Thomas | Consulting for the MLB Associates | Embedded world ------------------------------------------------------------ [-- Attachment #2: hob.err --] [-- Type: text/plain, Size: 3401 bytes --] Failure expanding variable do_compile, expression was # TODO :: KERNEL_CC, should use for kernel module build? # TODO :: Check the 'unset's unset CFLAGS CPPFLAGS CXXFLAGS LDFLAGS do_make_scripts # Build the gpp (hlos) kernel space cd ${SYSLINK_ROOT}/ti/syslink/utils/hlos/knl/Linux && make \ ARCH="${TARGET_ARCH}" \ CROSS_COMPILE="${TARGET_PREFIX}" \ SYSLINK_PLATFORM="${SYSLINKPLATFORM}" \ SYSLINK_VARIANT="${SYSLINKVARIANT}" \ SYSLINK_LOADER="${SYSLINKLOADER}" \ SYSLINK_PKGPATH="${IPC_INSTALL_DIR}/packages" \ KDIR="${STAGING_KERNEL_DIR}" # # Build the gpp (hlos) kernel space samples. # for sample in ${SYSLINKHLOSSAMPLES}; do # cd ${SYSLINK_ROOT}/ti/syslink/samples/hlos/$sample/knl/Linux && make \ # ARCH="${TARGET_ARCH}" \ # CROSS_COMPILE="${TARGET_PREFIX}" \ # SYSLINK_PLATFORM="${SYSLINKPLATFORM}" \ # SYSLINK_VARIANT="${SYSLINKVARIANT}" \ # SYSLINK_LOADER="${SYSLINKLOADER}" \ # SYSLINK_PKGPATH="${IPC_INSTALL_DIR}/packages" \ # SYSLINK_SDK=EZSDK \ # KDIR="${STAGING_KERNEL_DIR}" # done # Build the gpp (hlos) user space cd ${SYSLINK_ROOT}/ti/syslink/utils/hlos/usr/Linux && make \ ARCH="${TARGET_ARCH}" \ CROSS_COMPILE="${TARGET_PREFIX}" \ TOOLCHAIN_PREFIX="${TOOLCHAIN_PATH}/${TARGET_PREFIX}" \ SYSLINK_PLATFORM="${SYSLINKPLATFORM}" \ SYSLINK_VARIANT="${SYSLINKVARIANT}" \ SYSLINK_LOADER="${SYSLINKLOADER}" \ SYSLINK_PKGPATH="${IPC_INSTALL_DIR}/packages" # Build the gpp (hlos) user space samples # First build the common lib for samples. cd ${SYSLINK_ROOT}/ti/syslink/samples/hlos/common/usr/Linux && make \ ARCH="${TARGET_ARCH}" \ CROSS_COMPILE="${TARGET_PREFIX}" \ TOOLCHAIN_PREFIX="${TOOLCHAIN_PATH}/${TARGET_PREFIX}" \ SYSLINK_PLATFORM="${SYSLINKPLATFORM}" \ SYSLINK_VARIANT="${SYSLINKVARIANT}" \ SYSLINK_LOADER="${SYSLINKLOADER}" \ SYSLINK_SDK=EZSDK \ SYSLINK_PKGPATH="${IPC_INSTALL_DIR}/packages" for sample in ${SYSLINKHLOSSAMPLES}; do cd ${SYSLINK_ROOT}/ti/syslink/samples/hlos/$sample/usr/Linux && make \ ARCH="${TARGET_ARCH}" \ CROSS_COMPILE="${TARGET_PREFIX}" \ TOOLCHAIN_PREFIX="${TOOLCHAIN_PATH}/${TARGET_PREFIX}" \ SYSLINK_PLATFORM="${SYSLINKPLATFORM}" \ SYSLINK_VARIANT="${SYSLINKVARIANT}" \ SYSLINK_LOADER="${SYSLINKLOADER}" \ SYSLINK_SDK=EZSDK \ SYSLINK_PKGPATH="${IPC_INSTALL_DIR}/packages" done # Build the dsp/arm (rtos) code (system and samples) # cd ${SYSLINK_ROOT}/ti/syslink && \ # ${XDC_INSTALL_DIR}/xdc --jobs=${BB_NUMBER_THREADS} -PR . export XDCOPTIONS=v cd ${SYSLINK_ROOT}/ti/syslink && \ ${XDC_INSTALL_DIR}/xdc -P \ `${XDC_INSTALL_DIR}/bin/xdcpkg ${SYSLINK_ROOT}/ti/syslink | grep -v samples` export XDCARGS="profile=debug" cd ${SYSLINK_ROOT}/ti/syslink && \ ${XDC_INSTALL_DIR}/xdc --jobs=${BB_NUMBER_THREADS} -P \ `${XDC_INSTALL_DIR}/bin/xdcpkg ${SYSLINK_ROOT}/ti/syslink | grep samples` which triggered exception TypeError: sequence item 95: expected string, int found ^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2012-03-20 18:42 UTC | newest] Thread overview: 5+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2012-03-20 2:20 Can't run HOB Gary Thomas 2012-03-20 6:25 ` Xu, Dongxiao 2012-03-20 10:03 ` Gary Thomas 2012-03-20 13:18 ` Wang, Shane 2012-03-20 18:42 ` Gary Thomas
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.