config.status: creating util/grub-image config.status: creating util/grub-install config.status: creating util/grub-md5-crypt config.status: creating util/grub-terminfo config.status: creating util/grub-set-default config.status: creating config.h config.status: executing depfiles commands * ERROR: sys-boot/grub-0.97-r12 failed (compile phase): * USE=ncurses but curses not found * * Call stack: * ebuild.sh, line 85: Called src_compile * environment, line 4033: Called die * The specific snippet of code: * use ncurses && ! grep -qs "HAVE_LIBCURSES.*1" config.h && die "USE=ncur ses but curses not found"; Reproducible: Always Steps to Reproduce: 1. USE="-static-libs" emerge ncurses 2. USE="ncurses static" emerge =sys-boot/grub-0.97-r12 3. Actual Results: to merge =sys-boot/grub-0.97-r12 with "ncurses static" USEs, we must aware the dependency. to fix the problem, either 1) merge the ncurses with "static-libs" USE enabled manually 2) or honor the USE dependency in grub ebuild
build ncurses without "static-libs" tobox sys-boot # qlist ncurses |grep "\.a" /usr/lib/libncurses++w.a /usr/lib/libncurses++.a /usr/share/terminfo/i/iTerm.app build ncurses with "static-libs" (chroot) # qlist ncurses |grep "\.a" /usr/lib/libncurses.a /usr/lib/libncursesw.a /usr/lib/libformw.a /usr/lib/libform.a /usr/lib/libpanel.a /usr/lib/libmenu.a /usr/lib/libmenuw.a /usr/lib/libncurses++.a /usr/lib/libpanelw.a /usr/lib/libncurses++w.a /usr/lib/libcurses.a /usr/share/terminfo/i/iTerm.app
Created attachment 319268 [details] make grub "static" USE aware ncurses
(In reply to comment #2) > Created attachment 319268 [details] > make grub "static" USE aware ncurses The .a files are not runtime dependencies, so you should be using DEPEND instead of RDEPEND for the [static-libs] dep
Hi, please mark this bug as duplicate. Similar bug was closed some time ago (Bug 427600).
*** This bug has been marked as a duplicate of bug 427600 ***