From patchwork Thu Aug 2 14:25:18 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: latest updates make kernel menuconfig unusable Date: Thu, 02 Aug 2012 14:25:18 -0000 From: Liang Li X-Patchwork-Id: 33675 Message-Id: <20120802142510.GA6025@localhost> To: On 2012-08-02 19:07, Andreas M?ller wrote: > On Thu, Jun 21, 2012 at 2:29 AM, Khem Raj wrote: > > On Wed, Jun 20, 2012 at 11:55 AM, Martin Jansa wrote: > >> On Wed, Jun 20, 2012 at 04:20:03PM +0200, Andreas M?ler wrote: > >>> Hi, > >>> > >>> since > >>> > >>> commit fe417e8a4d625c6933de72163d2fee52ac47f571 > >>> Author: Richard Purdie > >>> Date: Thu May 31 13:22:34 2012 +0000 > >>> > >>> cmd1.bbclass: Ensure ncurses is built and used for menuconfig tasks > >>> > >>> Currently, the task just exits if something goes wrong. This adds the > >>> ncurses-native dependency. It also adds a small delay before closing the > >>> window so any messages displayed there can be seen. > >>> > >>> Trying to get the kernel build system to correctly find and link with > >>> our copy of ncurses is some kind of nightmare. I ended up having to add > >>> it to HOST_LOADLIBES globally for this task which is rather nasty but I > >>> couldn't find any other way. > >>> > >>> [YOCTO #2513] > >>> > >>> Signed-off-by: Richard Purdie > >>> > >>> my menuconfig is unusable (see screenshot attached). I reverted it and > >>> can work as before. > >>> > >>> I am working on Fedora 15 and set in my local.conf > >>> > >>> TERMCMD = "${GNOME_TERMCMD}" > >>> TERMCMDRUN = "${GNOME_TERMCMDRUN}" > >> > >> I can confirm the same look&feel with > >> TERMCMD = "${SCREEN_TERMCMD}" > >> TERMCMDRUN = "${SCREEN_TERMCMDRUN}" > >> > > > > seems like a locale issue. > > > FYI > > Still have this behaviour and can work around it by commenting out > > OE_TERMINAL_EXPORTS += "HOST_EXTRACFLAGS HOSTLDFLAGS HOST_LOADLIBES" > > in cml1.bbclass. > I have same issue on fedora 17, make it works for my host with below temporary tweak: do_menuconfig[depends] += "ncurses-native:do_populate_sysroot" --- FYI. Regards, Liang Li > Andreas > > _______________________________________________ > Openembedded-core mailing list > Openembedded-core@lists.openembedded.org > http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core diff --git meta/classes/cml1.bbclass meta/classes/cml1.bbclass index bd25311..948cfad 100644 --- meta/classes/cml1.bbclass +++ meta/classes/cml1.bbclass @@ -15,6 +15,7 @@ HOSTLDFLAGS = "${BUILD_LDFLAGS}" HOST_LOADLIBES = "-lncurses" python do_menuconfig() { + d.setVar("HOSTLDFLAGS", "") oe_terminal("${SHELL} -c \"make menuconfig; echo 'Pausing for 5 seconds'; sleep 5\"", '${PN} Configuration', d) }