Portage 2.1-r1 (default-linux/x86/2006.0, gcc-4.1.1, glibc-2.3.6-r4, 2.6.17-beyond1 i686) ================================================================= System uname: 2.6.17-beyond1 i686 Intel(R) Pentium(R) M processor 1.73GHz Gentoo Base System version 1.6.15 app-admin/eselect-compiler: [Not Present] dev-lang/python: 2.4.3-r1 dev-python/pycrypto: 2.0.1-r5 dev-util/ccache: [Not Present] dev-util/confcache: [Not Present] sys-apps/sandbox: 1.2.17 sys-devel/autoconf: 2.13, 2.59-r7 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2 sys-devel/binutils: 2.16.1-r3 sys-devel/gcc-config: 1.3.13-r3 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i386-pc-linux-gnu" CFLAGS="-O2 -mtune=i686 -pipe" CHOST="i386-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config" CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/splash /etc/terminfo" CXXFLAGS="-O2 -mtune=i686 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict" GENTOO_MIRRORS="ftp://ftp.heanet.ie/pub/gentoo/ http://gentoo.prz.rzeszow.pl http://gentoo.zie.pg.gda.pl http://mirror.switch.ch/ftp/mirror/gentoo/ ftp://mirror.switch.ch/mirror/gentoo/ ftp://ftp.solnet.ch/mirror/Gentoo http://gentoo.mirror.solnet.ch http://gentoo.blueyonder.co.uk ftp://mirrors.blueyonder.co.uk/mirrors/gentoo http://www.mirrorservice.org/sites/www.ibiblio.org/gentoo/ ftp://ftp.mirrorservice.org/sites/www.ibiblio.org/gentoo/ " PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 X aac alsa apm asf avi berkdb bitmap-fonts bzip2 cdparanoia cdr cdrom cjk clamav clamd cli crypt cups dlloader dri dvd dvdr eds emboss encode firefox foomaticdb fortran fuse gdbm gecko-sdk gif gnutls gpm gstreamer gtk gtk2 imlib isdnlog java javascript jpeg libg++ libwww mad mailwrapper mikmod mmx mono motif mp3 mpeg mplayer ncurses nls nptl nptlonly offensive ogg opengl oss pam pcre pdflib perl png pppd qt qt3 qt4 quicktime readline reflection sdl session spell spl sse sse2 ssl tcpd truetype truetype-fonts type1-fonts udev unicode vorbis win32codecs xinerama xml xorg xv zlib elibc_glibc input_devices_evdev input_devices_keyboard input_devices_mouse input_devices_joystick input_devices_synaptics kernel_linux userland_GNU video_cards_ati video_cards_radeon video_cards_vesa video_cards_fbdev" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS, PORTAGE_RSYNC_EXTRA_OPTS *** Worked fine until the I recently had to rebuild my system. So I decided to try out the new, stable gcc4.1 and nvi wouldn't build. Any help appreciated - vim is driving me nuts! *** gcc -DHAVE_CONFIG_H -I. -I../dist -I. -I../dist/../regex -I/usr/include/db3 -D__REGEX_PRIVATE -O -O2 -mtune=i686 -pipe -I. -I../dist/../include -I../dist/../regex -I/usr/include/db3 -DVI=\"/usr/bin/vi-ipc\" -c ../dist/../common/api.c -fPIC -DPIC -o .libs/api.lo ../dist/../common/api.c: In function 'api_opts_set': ../dist/../common/api.c:474: error: invalid lvalue in assignment ../dist/../common/api.c:474: error: invalid lvalue in assignment ../dist/../common/api.c:474: error: invalid lvalue in assignment ../dist/../common/api.c:478: error: invalid lvalue in assignment ../dist/../common/api.c:478: error: invalid lvalue in assignment ../dist/../common/api.c:478: error: invalid lvalue in assignment ../dist/../common/api.c:482: error: invalid lvalue in assignment ../dist/../common/api.c:482: error: invalid lvalue in assignment ../dist/../common/api.c:482: error: invalid lvalue in assignment make[1]: *** [api.lo] Error 1 make[1]: Leaving directory `/var/tmp/portage/nvi-1.81.5-r2/work/nvi-1.81.5/build.unix' make: *** [all] Error 2 !!! ERROR: app-editors/nvi-1.81.5-r2 failed. Call stack: ebuild.sh, line 1539: Called dyn_compile ebuild.sh, line 939: Called src_compile nvi-1.81.5-r2.ebuild, line 42: Called die !!! emake failed !!! If you need support, post the topmost build error, and the call stack if relevant.
I have added an ebuild for the 1.79 version which works with GCC4. I'll try to fix 1.81.5, but at least you have a workaround for now.
Thank you Harald; that seems to work nicely
And it should be fixed now, in 1.81.5-r3.