On Fri, Sep 23, 2016 at 10:14 AM,  <meino.cra...@gmx.de> wrote:
> Hi,
>
> may be bash is missing a lib?
>
> 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
> ./lib/sh/libsh.a(tmpfile.o): In function `sh_mktmpname':
> /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'
> /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'
> /usr/lib64/libtinfo.so.5: error adding symbols: DSO missing from command line
> collect2: error: ld returned 1 exit status
> Makefile:553: recipe for target 'bash' failed
> make: *** [bash] Error 1

I had a solution for this.  Study the second patch, then apply it to a
copy of app-shells/bash in a local overlay.

https://bugs.gentoo.org/show_bug.cgi?id=588486

-- 
konsolebox

Reply via email to