Gentoo Archives: gentoo-user

From: David Haller <gentoo@×××××××.de>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Bash failed to compile
Date: Fri, 23 Sep 2016 10:44:15
Message-Id: 20160923070438.y3kzhq7gqn4yarvl@grusum.endjinn.de
In Reply to: [gentoo-user] Bash failed to compile by Meino.Cramer@gmx.de
1 Hello,
2
3 On Fri, 23 Sep 2016, Meino.Cramer@×××.de wrote:
4 >may be bash is missing a lib?
5 >
6 >x86_64-pc-linux-gnu-gcc -L./builtins -L./lib -L./lib -L./lib/glob -L./lib/tilde -L./lib/sh -Wl,-O1 -Wl,--as-needed -march=native -O2 -pipe -msse3 -ggdb -o bash shell.o eval.o y.tab.o general.o make_cmd.o print_cmd.o dispose_cmd.o execute_cmd.o variables.o copy_cmd.o error.o expr.o flags.o jobs.o subst.o hashcmd.o hashlib.o mailcheck.o trap.o input.o unwind_prot.o pathexp.o sig.o test.o version.o alias.o array.o arrayfunc.o assoc.o braces.o bracecomp.o bashhist.o bashline.o list.o stringlib.o locale.o findcmd.o redir.o pcomplete.o pcomplib.o syntax.o xmalloc.o -lbuiltins -lglob -lsh -lreadline -lhistory -lcurses -ltilde
7 >./lib/sh/libsh.a(tmpfile.o): In function `sh_mktmpname':
8 >/var/tmp/portage/app-shells/bash-4.3_p46-r1/work/bash-4.3/lib/sh/tmpfile.c:129: warning: the use of `mktemp' is dangerous, better use `mkstemp'
9 >/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3/../../../../x86_64-pc-linux-gnu/bin/ld: bashline.o: undefined reference to symbol 'tputs'
10 >/usr/lib64/libtinfo.so.5: error adding symbols: DSO missing from command line
11 ^^^^^^^^^^^^^^^^^^^^^^^^
12
13 But AFAIR it's better to rebuild sys-libs/ncurses:0 without the tinfo
14 useflag.
15
16 HTH,
17 -dnh
18
19 --
20 Words fail me. Thank goodness I can make gestures. -- Mark Hughes