Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 97133 - dialog depends on ncurses to build
Summary: dialog depends on ncurses to build
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] baselayout (show other bugs)
Hardware: All Other
: High normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-06-26 12:02 UTC by John (EBo) David
Modified: 2005-08-24 16:53 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description John (EBo) David 2005-06-26 12:02:05 UTC
While reinstalling Gentoo (using version 2005.0) the emerge died while trying to build dialog.  I found that for my configuration dialog depends on ncurses.

To reproduce:

1) start with a clean machine.
2) follow the 2005 handbook
4) set your use flags -- mine are:

USE="X Xaw3d a52 aac acpi alsa apache2 apm arts atlas audiofile bash-completion bcmath berkdb bzlib calendar cdr crypt ctype cscope cups db2 dbm dbx dvd dvdr dvdread emacs exif f77 f90 f95 fortran ffmpeg fftw flash flatfile freetype ftp gd gdbm gif gmp gnome gnutils gphoto2 gps gtk gtk2 hal imagemagick imap imlib inifile ipv6 java javascript jpeg junit kde kdeenablefinal kerberos kerb4 lcms ldap lesstif lm_sensors mad mhash mime ming mmap mng motif mozilla mp3 mpeg mpi mysql mule mysqli ncurses netcdf nhc98 nls nptl odbc offensive ofx openal opengl oss pam pcmcia pcre pdflib perl php pic pie plotutils png pnp posix ppds profile python qdbm qt quicktime readline scanner sharedmem slp sockets socks5 spell spl sse ssl svg tcltk tcpd test tetex threads tiff tokenizer truetype trusted unicode usb v4l wmf wxwindows xine xml xml2 xmlrpc xmms xpm xv zlib "

3) get to the end where you emerge kde or gnome

Results: the build died due to ncurses dependency...

Expected: to build...
Comment 1 Paweł Hajdan, Jr. (RETIRED) gentoo-dev 2005-06-26 12:27:58 UTC
What's the exact error message?

dialog always depends on ncurses. From dialog-1.0.20050206.ebuild:

DEPEND=">=app-shells/bash-2.04-r3
    >=sys-libs/ncurses-5.2-r5"
Comment 2 SpanKY gentoo-dev 2005-06-26 13:02:04 UTC
all dialog's already depend on ncurses
Comment 3 Thiago A. M. Delatorre 2005-08-24 14:29:19 UTC
(In reply to comment #1)
> What's the exact error message?
> 
> dialog always depends on ncurses. From dialog-1.0.20050206.ebuild:
> 
> DEPEND=">=app-shells/bash-2.04-r3
>     >=sys-libs/ncurses-5.2-r5"

I'm trying to install Gentoo from the Internet using the handbook, but emerge
does not build dialog.
I think the error is related to the following message:

configure: error: Cannot link ncursesw library

The command I tried was 'emerge dialog' after trying 'emerge -e system' with the
same problem. After the error I receive a message to attach a log file to the
bug report but that file does not exist.

I'm installing from within a Debian system.
This is the output of 'emerge info':

Gentoo Base System version 1.6.13
Portage 2.0.51.22-r2 (default-linux/x86/2005.1, gcc-3.3.5-20050130,
glibc-2.3.5-r1, 2.6.8-2-686 i686)
=================================================================
System uname: 2.6.8-2-686 i686 Intel(R) Pentium(R) 4 CPU 1400MHz
dev-lang/python:     2.3.5
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6
sys-devel/binutils:  2.15.92.0.2-r10
sys-devel/libtool:   1.5.18-r1
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O3 -march=pentium4 -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config
/usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-O3 -march=pentium4 -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
LANG="pt_BR"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X acpi afs aim alsa apm avi berkdb bitmap-fonts bzip2 cdparanoia cdr
crypt cups dbm eds emacs emboss encode ethereal fam ffmpeg fftw foomaticdb
fortran ftp gdbm gif gnome gnustep gpm gstreamer gtk gtk2 icq imagemagick imap
imlib ipv6 jabber java javascript jpeg kde ldap libg++ libwww lm_sensors mad
memlimit mikmod mime mmap mmx motif mozilla mp3 mpeg msn ncurses nis nls nptl
ogg oggvorbis opengl oss pam pcre pdflib perl plotutils png python qt quicktime
readline samba sasl scanner sdl sharedmem slp sockets sox spell ssl svg tcpd
tetex threads tiff truetype truetype-fonts type1-fonts unicode usb vcd vorbis
win32codecs xml xml2 xmms xosd xv yahoo zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY
Comment 4 SpanKY gentoo-dev 2005-08-24 16:53:48 UTC
that is prob because you added USE=unicode but didnt re-emerge ncurses before
trying to emerge dialog