ncurses fails to compile on my new ~amd64 gentoo 2005.0 stage1 install error message: Reproducible: Always Steps to Reproduce: 1.emerge --emptytree system 2. Thats all! Fails on ncurses 3 Actual Results: x86_64-pc-linux-gnu-gcc -O2 -march=athlon64 -pipe -o blue ../obj_s/blue.o -Wl,-rpath,/var/tmp/portage/ncurses-5.4.20050319/work/narrowc/lib -I../test -I/var/tmp/portage/ncurses-5.4.20050319/work/ncurses-5.4/test -DHAVE_CONFIG_H -I/var/tmp/portage/ncurses-5.4.20050319/work/ncurses-5.4/test/../include -I. -I../include -D_GNU_SOURCE -DNDEBUG -O2 -march=athlon64 -pipe -fPIC `echo "-L../lib -lform -lmenu -lpanel -lncurses -ldl " | sed -e 's/-lform.*-lpanel[^ ]*//'` x86_64-pc-linux-gnu-gcc -O2 -march=athlon64 -pipe -o bs ../obj_s/bs.o -Wl,-rpath,/var/tmp/portage/ncurses-5.4.20050319/work/narrowc/lib -I../test -I/var/tmp/portage/ncurses-5.4.20050319/work/ncurses-5.4/test -DHAVE_CONFIG_H -I/var/tmp/portage/ncurses-5.4.20050319/work/ncurses-5.4/test/../include -I. -I../include -D_GNU_SOURCE -DNDEBUG -O2 -march=athlon64 -pipe -fPIC `echo "-L../lib -lform -lmenu -lpanel -lncurses -ldl " | sed -e 's/-lform.*-lpanel[^ ]*//'` x86_64-pc-linux-gnu-gcc -O2 -march=athlon64 -pipe -o cardfile ../obj_s/cardfile.o -Wl,-rpath,/var/tmp/portage/ncurses-5.4.20050319/work/narrowc/lib -I../test -I/var/tmp/portage/ncurses-5.4.20050319/work/ncurses-5.4/test -DHAVE_CONFIG_H -I/var/tmp/portage/ncurses-5.4.20050319/work/ncurses-5.4/test/../include -I. -I../include -D_GNU_SOURCE -DNDEBUG -O2 -march=athlon64 -pipe -fPIC -L../lib -lform -lmenu -lpanel -lncurses -ldl ../obj_s/cardfile.o(.text+0x6e4): In function `cardfile': : undefined reference to `panel_window' collect2: ld returned 1 exit status make[1]: *** [cardfile] Error 1 make[1]: *** Waiting for unfinished jobs.... make[1]: Leaving directory `/var/tmp/portage/ncurses-5.4.20050319/work/narrowc/test' make: *** [all] Error 2 !!! ERROR: sys-libs/ncurses-5.4.20050319 failed. !!! Function do_compile, Line 94, Exitcode 2 !!! make failed !!! If you need support, post the topmost build error, NOT this status message. (this happened during stage 2) Expected Results: hoping it would compile cleanly :) Portage 2.0.51.22-r2 (default-linux/amd64/2005.0, gcc-3.4.3, glibc-2.3.4.20041102-r0, 2.6.10-5-amd64-generic x86_64) ================================================================= System uname: 2.6.10-5-amd64-generic x86_64 AMD Athlon(tm) 64 Processor 3000+ Gentoo Base System version 1.4.16 dev-lang/python: 2.3.4-r1 sys-apps/sandbox: 1.2.11 sys-devel/autoconf: [Not Present] sys-devel/automake: [Not Present] sys-devel/binutils: 2.15.92.0.2-r1 sys-devel/libtool: [Not Present] virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="amd64 ~amd64" AUTOCLEAN="yes" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -mtune=athlon64 -march=athlon64 -pipe" CHOST="x86_64-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/terminfo /etc/env.d" CXXFLAGS="-O2 -mtune=athlon64 -march=athlon64 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks nostrip sandbox sfperms strict" GENTOO_MIRRORS="http://gentoo.chem.wisc.edu/gentoo/ http://gentoo.cites.uiuc.edu/pub/gentoo/" LANG="en_US.UTF-8" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage" USE="X a52 aac aalib acpi aim alsa amd64 apm arts audiofile avi bash-completion berkdb bitmap-fonts bzip2 calendar cdparanoia cdr clibpdf crypt cups dbus debug dga dio directfb dv dvd dvdr dvdread eds emul-linux-x86 encode exif fam fbcon ffmpeg flac flash foomaticdb fortran ftp gd gif glut gnome gphoto2 gpm gstreamer gtk gtk2 hal icq ieee1394 imagemagick imlib ipv6 java javascript jpeg jpg kde kdeenablefinal lcms libcaca libwww lm_sensors lzw lzw-tiff mad mime ming mng mp3 mpeg mpi ncurses nls nptl nvidia offensive ogg openal opengl oscar pam pdflib perl png python qt quicktime readline scanner sdl spell ssl svg symlink tcltk tcpd theora tiff truetype truetype-fonts type1-fonts usb userlocales v4l vcd vorbis wmf wxwindows xine xpm xv xvid yahoo zlib userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY
I tried to compile stable ncurses and I get a similar problem (note, i've also tried getting rid of the "debug" USE value, i've tried getting rid of "-mtune=athlon64" and I tried getting rid of the "doc" use value.): x86_64-pc-linux-gnu-gcc ../obj_s/ansi.o ../obj_s/charset.o ../obj_s/color.o ../obj_s/control.o ../obj_s/crum.o ../obj_s/edit.o ../obj_s/fun.o ../obj_s/init.o ../obj_s/menu.o ../obj_s/modes.o ../obj_s/output.o ../obj_s/pad.o ../obj_s/scan.o ../obj_s/sync.o ../obj_s/sysdep.o ../obj_s/tack.o -L../lib -lncurses -lgpm -lncurses -DHAVE_CONFIG_H -I../tack -I/var/tmp/portage/ncurses-5.4-r6/work/ncurses-5.4/tack -I/var/tmp/portage/ncurses-5.4-r6/work/ncurses-5.4/tack/../include -I. -I../include -D_GNU_SOURCE -DNDEBUG -O2 -mtune=athlon64 -march=athlon64 -pipe -fPIC -o tack ../obj_s/charset.o(.text+0xb98): In function `test_acs': : undefined reference to `_nc_init_acs' collect2: ld returned 1 exit status make[1]: *** [tack] Error 1 make[1]: Leaving directory `/var/tmp/portage/ncurses-5.4-r6/work/narrowc/tack' make: *** [all] Error 2 !!! ERROR: sys-libs/ncurses-5.4-r6 failed. !!! Function do_compile, Line 86, Exitcode 2 !!! make failed !!! If you need support, post the topmost build error, NOT this status message.
Here is some additional info (using stable amd64 branch now): ubuntu portage # emerge -pv --emptytree ncurses These are the packages that I would merge, in order: Calculating dependencies ...done! [ebuild N ] sys-devel/patch-2.5.9-r1 -build -static 0 kB [ebuild N ] sys-libs/gpm-1.20.1-r4 -emacs (-selinux) 0 kB [ebuild N ] sys-libs/ncurses-5.4-r6 -bootstrap -build +debug -doc +gpm -minimal -nocxx -unicode 0 kB Total size of downloads: 0 kB I have also tried USE="-gpm" to no avail.
try doing it from a 2005.1 stage3
Ok, Im closing my own bug to CANTFIX status. There doesn't seem to be enough information going about to actually fix the bug, so i'll try stage3 and hope it all works out later. CLOSED