Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 461636 - =app-shells/zsh-5.0.2 fails to compile
Summary: =app-shells/zsh-5.0.2 fails to compile
Status: RESOLVED DUPLICATE of bug 457570
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-03-13 13:43 UTC by Andrew
Modified: 2013-03-13 16:54 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 Andrew 2013-03-13 13:43:05 UTC
I had zsh 4.3.17, after update zsh 5.0.2 won't compile complaining it is unable to find ncurses:

checking for library containing tgetent... no
configure: error: in `/var/tmp/portage/app-shells/zsh-5.0.2/work/zsh-5.0.2':
configure: error: "No terminal handling library was found on your system.
This is probably a library called 'curses' or 'ncurses'.  You may
need to install a package called 'curses-devel' or 'ncurses-devel' on your
system."

But I do have ncurses installed:

$ eix ncurses
[I] sys-libs/ncurses
     Available versions:  (5) 5.7-r7 5.9 ~5.9-r1 5.9-r2
	{{ada +cxx debug doc gpm minimal profile static-libs tinfo trace unicode}}
     Installed versions:  5.9-r2(5)(00:27:50 24.01.2013)(cxx tinfo unicode -ada -debug -doc -gpm -minimal -profile -static-libs -trace)
     Homepage:            http://www.gnu.org/software/ncurses/ http://dickey.his.com/ncurses/
     Description:         console display library

Relevant section in config.log:

| /* Override any GCC internal prototype to avoid an error.
|    Use char because int might match the return type of a GCC
|    builtin and then its argument prototype would still apply.  */
| #ifdef __cplusplus
| extern "C"
| #endif
| char tgetent ();
| int
| main ()
| {
| return tgetent ();
|   ;
|   return 0;
| }
configure:6331: x86_64-pc-linux-gnu-gcc -o conftest -march=native -O2 -fomit-frame-pointer -pipe   -Wl,-O1 -Wl,--as-needed 
conftest.c -lncurses  -lrt -lm  -lc >&5
/var/tmp/portage/app-shells/zsh-5.0.2/temp/ccsm3Xqv.o: In function `main':
conftest.c:(.text.startup+0x7): undefined reference to `tgetent'
collect2: ld returned 1 exit status
Comment 1 Andrew 2013-03-13 13:47:59 UTC
$ emerge --info
Portage 2.1.11.52 (default/linux/amd64/13.0/desktop, gcc-4.6.3, glibc-2.15-r3, 3.7.9-gentoo x86_64)
=================================================================
System uname: Linux-3.7.9-gentoo-x86_64-Intel-R-_Core-TM-_i3-2100_CPU_@_3.10GHz-with-gentoo-2.1
KiB Mem:     4028476 total,    611644 free
KiB Swap:    5116696 total,   4766360 free
Timestamp of tree: Wed, 13 Mar 2013 12:45:01 +0000
ld GNU ld (GNU Binutils) 2.22
app-shells/bash:          4.2_p37
dev-java/java-config:     2.1.12-r1
dev-lang/python:          2.7.3-r2, 3.2.3
dev-util/cmake:           2.8.9
dev-util/pkgconfig:       0.28
sys-apps/baselayout:      2.1-r1
sys-apps/openrc:          0.11.8
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.9.6-r3, 1.11.6
sys-devel/binutils:       2.22-r1
sys-devel/gcc:            4.6.3
sys-devel/gcc-config:     1.7.3
sys-devel/libtool:        2.4-r1
sys-devel/make:           3.82-r4
sys-kernel/linux-headers: 3.6 (virtual/os-headers)
sys-libs/glibc:           2.15-r3
Repositories: gentoo lcd-filtering foo-overlay arcon asux flora sunrise mv local
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -fomit-frame-pointer -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt /usr/share/openvpn/easy-rsa /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=native -O2 -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch protect-owned sandbox sfperms splitdebug strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://mirror.yandex.ru/gentoo-distfiles/"
LANG="ru_RU.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/var/lib/layman/lcd-filtering /var/lib/layman/foo-overlay /var/lib/layman/arcon /var/lib/layman/asux /var/lib/layman/flora /var/lib/layman/sunrise /var/lib/layman/mv /usr/local/portage"
SYNC="rsync://rsync2.ru.gentoo.org/gentoo-portage"
USE="X a52 aac acpi alsa amd64 auto-hinter avx bash-completion berkdb branding bzip2 cairo cdda cdr cg cli clisp consolekit cracklib crypt cscope cups curl cxx darcs dbus dirac djvu dri dts dvd dvdr dvi emboss encode exif faac fam ffmpeg fftw firefox flac fontconfig fortran g3dvl gdbm geoip gif git gnuplot graphviz gtk gtkstyle hddtemp hscolour iconv id3tag idn ipv6 jpeg latex lcdfilter lcms ldb libass libnotify lua lxde lzma mad math mercurial mmx mng modules mp3 mp4 mpeg mudflap multilib natspec ncurses nls nptl nsplugin numpy nvidia offensive ogg ois openal opengl openmp pam pango pch pcre pdf png policykit ppds python qt3support qt4 readline rtmp sdl session sndfile spell sqlite sse sse2 sse3 ssl ssse3 startup-notification subversion svg t1lib tcpd theora threads tiff toolkit-scroll-bars truetype twolame udev udisks unicode upower usb vaapi vamp vde vdpau vim-pager vim-syntax vorbis vpx webkit wxwidgets x264 xcb xft xml xpm xv xvid xvmc zlib zsh-completion" ABI_X86="64" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="evdev keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="ru ru_RU en en_GB" PHP_TARGETS="php5-3" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_2" QEMU_SOFTMMU_TARGETS="x86_64" QEMU_USER_TARGETS="x86_64" RUBY_TARGETS="ruby18 ruby19" USERLAND="GNU" VIDEO_CARDS="nvidia nouveau vesa" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Comment 2 Tim Harder gentoo-dev 2013-03-13 16:43:19 UTC
*** Bug 457570 has been marked as a duplicate of this bug. ***
Comment 3 Tim Harder gentoo-dev 2013-03-13 16:45:08 UTC
Sorry, marked the wrong bug duplicate the first time.

*** This bug has been marked as a duplicate of bug 457570 ***
Comment 4 Andrew 2013-03-13 16:54:58 UTC
Oh thanks.
(how come I've missed it in search)