Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 428128 - =sys-boot/grub-0.97-r12 USE="static ncurses" - USE=ncurses but curses not found
Summary: =sys-boot/grub-0.97-r12 USE="static ncurses" - USE=ncurses but curses not found
Status: RESOLVED DUPLICATE of bug 427600
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-07-26 04:42 UTC by Yixun Lan
Modified: 2012-07-26 17:25 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
make grub "static" USE aware ncurses (grub-static.patch,614 bytes, text/plain)
2012-07-26 04:51 UTC, Yixun Lan
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Yixun Lan archtester gentoo-dev 2012-07-26 04:42:06 UTC
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
Comment 1 Yixun Lan archtester gentoo-dev 2012-07-26 04:47:37 UTC
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
Comment 2 Yixun Lan archtester gentoo-dev 2012-07-26 04:51:07 UTC
Created attachment 319268 [details]
make grub "static" USE aware ncurses
Comment 3 Samuli Suominen (RETIRED) gentoo-dev 2012-07-26 05:01:03 UTC
(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
Comment 4 Mikle Kolyada (RETIRED) archtester Gentoo Infrastructure gentoo-dev Security 2012-07-26 16:27:38 UTC
Hi, please mark this bug as duplicate. Similar bug was closed some time ago (Bug 427600).
Comment 5 Jeroen Roovers (RETIRED) gentoo-dev 2012-07-26 17:24:51 UTC

*** This bug has been marked as a duplicate of bug 427600 ***