Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 22005 - no support gpm in ncurses during bootstrap
Summary: no support gpm in ncurses during bootstrap
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
: 47069 (view as bug list)
Depends on:
Blocks:
 
Reported: 2003-05-31 11:17 UTC by Sander Sweers
Modified: 2005-01-30 03:43 UTC (History)
2 users (show)

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


Attachments
ncurses gpm patch (patch,709 bytes, patch)
2004-02-06 22:42 UTC, aethyr
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Sander Sweers 2003-05-31 11:17:29 UTC
When the use flag gpm is used ncurses will not build with gpm support. Simply
because the ebuild does't check.

Reproducible: Always
Steps to Reproduce:
1.merge ncurses
2.
3.

Actual Results:  
no gpm support

Expected Results:  
enable gpm support
Comment 1 Michael M Nazaroff (RETIRED) gentoo-dev 2003-06-11 15:14:19 UTC
Ok I will check into that soon, running little short in time at the moment 

Naz
Comment 2 aethyr 2004-02-06 22:42:37 UTC
Created attachment 25122 [details, diff]
ncurses gpm patch

ncurses does indeed support gpm.  I have posted an attachment with a patch to
get it working.
Comment 3 Jon Portnoy (RETIRED) gentoo-dev 2004-03-29 14:37:16 UTC
Added, sorry for the excessive delay.
Comment 4 Jon Portnoy (RETIRED) gentoo-dev 2004-04-02 17:10:27 UTC
Unfortunately, rac tells me gpm support in ncurses currently breaks bootstrap due to autoconf issues. Reverting this for now until it can be investigated further.
Comment 5 Sascha Silbe 2004-04-07 05:06:48 UTC
Currently ncurses seems to unconditionally add gpm support, but it does not depend on it, so "emerge depclean" breaks it:

aero root # ldd /lib/libncurses.so.5.4
        libc.so.6 => /lib/libc.so.6 (0x40044000)
        /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x80000000)
        libgpm.so.1 => not found
aero root # qpkg -v -f /lib/libncurses.so.5.4
sys-libs/ncurses-5.4-r1 *
aero root # grep gpm /usr/portage/sys-libs/ncurses/ncurses-5.4-r1.ebuild 
#       !bootstrap? ( gpm? ( sys-libs/gpm ) )"
#       use gpm && myconf="${myconf} --with-gpm"

Comment 6 Jon Portnoy (RETIRED) gentoo-dev 2004-04-07 07:31:12 UTC
Most likely you built ncurses with gpm support while it was enabled; now that it's commented out, depclean borks. There really isn't anything anyone can do about that.
Comment 7 Sascha Silbe 2004-04-09 08:28:07 UTC
*** Bug 47069 has been marked as a duplicate of this bug. ***
Comment 8 Sascha Silbe 2004-04-09 08:29:09 UTC
Using a newer stage3 tarball it works fine, so I guess you're right.

Comment 9 SpanKY gentoo-dev 2005-01-30 03:43:44 UTC
should be all set now