I've tried to build so much time, but, unfortunately :D two packages are failed to ebuild due to the same issue.
I've attached necessary log to analyze which package causes this error.
I wonder why a kind of below message appeared when I've met an error msg.
foobaz.o: undefined reference to symbol 'keypad'
/lib64/libtinfo.so.5: error adding symbols: DSO missing from command line