mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: Alexander Aring <alex.aring@gmail.com>
To: ptxdist@pengutronix.de
Subject: [ptxdist] External Kconfig menuconfig/nconfig failed
Date: Sun, 13 Sep 2015 14:17:59 +0200	[thread overview]
Message-ID: <20150913121758.GA899@omega> (raw)

Hi,

several weeks I have the following issue by calling:

ptxdist menuconfig kernel

or

ptxdist menuconfig barebox

Both failed, here is the ptxdist -v menuconfig kernel output:

ptxdist: Checking dependencies. This may take some seconds.

make[1]: Entering directory '/home/alex/devel/bluetooth-next'
make -f ./scripts/Makefile.build obj=scripts/basic
rm -f .tmp_quiet_recordmcount
make -f ./scripts/Makefile.build obj=scripts/kconfig menuconfig
/bin/sh ./scripts/kconfig/lxdialog/check-lxdialog.sh -check gcc -DCURSES_LOC="<ncurses.h>" -DLOCALE  -lncursesw
scripts/kconfig/mconf  Kconfig
Error opening terminal: rxvt-unicode-256color.
scripts/kconfig/Makefile:28: recipe for target 'menuconfig' failed
make[2]: *** [menuconfig] Error 1
Makefile:531: recipe for target 'menuconfig' failed
make[1]: *** [menuconfig] Error 2
make[1]: Leaving directory '/home/alex/devel/bluetooth-next'
/home/alex/local/lib/ptxdist-2015.08.0-00001-g8a15fd6a660b/rules/kernel.make:267: recipe for target 'kernel_menuconfig' failed
make: *** [kernel_menuconfig] Error 2

ptxdist: 'kernel menuconfig' returned with an error


---

I thought the reason was some "stupid" $TERM declartion. But when I try to use
some great terminal implementation like "xterm", I got the same issue.

Checking earlier ptxdist versions or kernels doesn't help. My
distribution "ArchLinux" updated some sofware which seems that they
introduced some API change, like the glibc change for setenv (Maybe it
is this issue also, I don't know exactly).

What works is calling "ptxdist menuconfig" inside my BSP. When I go into
my external kernel directory and calling "scripts/kconfig/mconf
Kconfig" or "make ARCH=arm CROSS_COMPILE=arm-cortexa8-linux-gnueabihf-'
menuconfig" - it works.

I also tried to call "nconfig" which ends in the same result.

My debugging efforts ends in the function [0] which I still try to
figure out what it does. :-)

At the moment I am stucked there and I need to workaround by "do some
manual config changes" this issue. Any help what I should try to
downgrade packages or changes into my lib/ptxdist-$FOOBAR directory are
welcome.

I also tried to look into libncurses if this was upgraded at my
distribution but this wasn't.

- Alex

[0] http://git.pengutronix.de/?p=ptxdist.git;a=blob;f=scripts/libptxdist.sh;hb=c64b6acacced5b643b8bb4d2be90262a73a39725#l356

-- 
ptxdist mailing list
ptxdist@pengutronix.de

             reply	other threads:[~2015-09-13 12:18 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-09-13 12:17 Alexander Aring [this message]
2015-10-21 13:58 ` Wim Vinckier
2015-10-21 17:08   ` Alexander Aring
2015-10-22  6:43     ` Wim Vinckier
2015-10-22  7:40       ` Alexander Aring
2015-10-23 14:54         ` Wim Vinckier
2015-10-29  8:26           ` Alexander Aring

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20150913121758.GA899@omega \
    --to=alex.aring@gmail.com \
    --cc=ptxdist@pengutronix.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox