... i686-pc-linux-gnu-gcc -Wall -O2 -march=i686 -m32 -fomit-frame-pointer -pipe -Wl,--as-needed -static -o dash alias.o arith_yacc.o arith_yylex.o cd.o error.o eval.o exec.o expand.o histedit.o input.o jobs.o mail.o main.o memalloc.o miscbltin.o mystring.o options.o parser.o redir.o show.o trap.o output.o printf.o system.o test.o times.o var.o builtins.o init.o nodes.o signames.o syntax.o -ledit -lcurses /usr/lib/gcc/i686-pc-linux-gnu/4.4.4/../../../../i686-pc-linux-gnu/bin/ld: cannot find -lcurses ... Reproducible: Always Steps to Reproduce: 1. USE="-static-libs" emerge ncurses 2. USE="static" emerge dash 3.
you must post full build logs when filing bugs as well as `emerge --info` dash-0.5.5.1.7 doesnt link against curses
Created attachment 252153 [details] build log use-flags: [ebuild R ] app-shells/dash-0.5.5.1.7 USE="libedit static"
not a bug in dash. that -lcurses is coming from libedit.
versions prior libedit-20100424.3.0 has not "static" USE-flag libedit-20100424.3.0 has IUSE="static-libs"
fixed in 20110709.3.0, thx