summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Korsgaard <peter@korsgaard.com>2018-08-09 14:57:22 (GMT)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>2018-08-09 20:12:01 (GMT)
commitb42fb29048128a432a130c0652e086dfde641d75 (patch)
treebeb7ae24820d73282a3442317634e0c2405b51af
parentd9937b62e0d197644ddf68bde6bcfff6e916ba61 (diff)
downloadbuildroot-b42fb29048128a432a130c0652e086dfde641d75.tar.gz
buildroot-b42fb29048128a432a130c0652e086dfde641d75.tar.bz2
ncurses: disable terminfo database install for host-ncurses
Since commit b35ad5d0b45e (ncurses: make host-ncurses use host terminfo), we are now pointing host-ncurses to the host terminfo (typically) located in /usr/share/terminfo. With this change we are reusing the existing host terminfo database, so there is no point in trying to install our own on top. The user running buildroot typically will have no write access to /usr/share/terminfo, but tic in that case falls back to writing the database to $HOME/.terminfo. Neither of which are desirable. In case $HOME/.terminfo also isn't writable, tic fails, breaking the install step for host-ncurses: ** Building terminfo database, please wait... Running sh ./shlib tic to install /usr/share/terminfo ... You may see messages regarding extended capabilities, e.g., AX. These are extended terminal capabilities which are compiled using tic -x If you have ncurses 4.2 applications, you should read the INSTALL document, and install the terminfo without the -x option. "terminfo.tmp", line 21272, terminal 'v3220': /home/peko/.terminfo: permission denied (errno 30) To fix all of this, simply disable the terminfo database install. Suggested-by: Arnout Vandecappelle <arnout@mind.be> Signed-off-by: Peter Korsgaard <peter@korsgaard.com> Acked-by: Hollis Blanchard <hollis_blanchard@mentor.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
-rw-r--r--package/ncurses/ncurses.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/package/ncurses/ncurses.mk b/package/ncurses/ncurses.mk
index 5b36df5..e27598b 100644
--- a/package/ncurses/ncurses.mk
+++ b/package/ncurses/ncurses.mk
@@ -154,6 +154,7 @@ HOST_NCURSES_CONF_OPTS = \
--without-cxx-binding \
--without-ada \
--with-default-terminfo-dir=/usr/share/terminfo \
+ --disable-db-install \
--without-normal
$(eval $(autotools-package))