nano-1.3 fails to compile with either icc7 or icc8 this is the output from icc8 dawikidnezz app-editors # ACCEPT_KEYWORDS="~x86" iccmerge nano Calculating dependencies ...done! >>> emerge (1 of 1) app-editors/nano-1.3.0 to / >>> md5 src_uri ;-) nano-1.3.0.tar.gz >>> Unpacking source... >>> Unpacking nano-1.3.0.tar.gz to /var/tmp/portage/nano-1.3.0/work * Applying 1.3.0-wsconvert.patch... [ ok ]>>> Source unpacked. configure: WARNING: If you wanted to set the --build type, don't use --host. If a cross compiler is detected then cross compile mode will be used. checking for a BSD-compatible install... /bin/install -c checking whether build environment is sane... yes checking for gawk... gawk checking whether make sets $(MAKE)... yes checking for i686-pc-linux-gnu-strip... no checking for strip... strip checking for i686-pc-linux-gnu-gcc... icc checking for C compiler default output... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... no checking whether icc accepts -g... yes checking for icc option to accept ANSI C... none needed checking for style of include used by make... GNU checking dependency style of icc... gcc3 checking for strerror in -lcposix... no checking for special C compiler options needed for large files... no checking for _FILE_OFFSET_BITS value needed for large files... 64 checking for _LARGE_FILES value needed for large files... no checking for msgfmt... /usr/bin/msgfmt checking for gmsgfmt... /usr/bin/msgfmt checking for xgettext... /usr/bin/xgettext checking for msgmerge... /usr/bin/msgmerge checking build system type... i686-pc-linux-gnu checking host system type... i686-pc-linux-gnu checking for non-GNU ld... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for shared library run path origin... ld:conftest.: file format not recognized; treating as linker script ld:conftest.:2: syntax error done checking whether NLS is requested... yes checking for GNU gettext in libc... yes checking how to run the C preprocessor... /lib/cpp checking for egrep... grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking getopt.h usability... yes checking getopt.h presence... yes checking for getopt.h... yes checking libintl.h usability... yes checking libintl.h presence... yes checking for libintl.h... yes checking limits.h usability... yes checking limits.h presence... yes checking for limits.h... yes checking regex.h usability... yes checking regex.h presence... yes checking for regex.h... yes checking termio.h usability... yes checking termio.h presence... yes checking for termio.h... yes checking termios.h usability... yes checking termios.h presence... yes checking for termios.h... yes checking for unistd.h... (cached) yes checking for regex.h... (cached) yes checking for broken regexec... no configure: WARNING: *********************************************************************** *** WARNING: Color support is far from perfect, but functional. *** *** Be careful with syntax in your .nanorc or nano may malfunction. *** *********************************************************************** checking whether to use slang... no checking for snprintf... yes checking for vsnprintf... yes checking for strcasecmp... yes checking for strncasecmp... yes checking return type of signal handlers... void checking for vprintf... yes checking for _doprnt... no checking for getopt_long... yes checking curses.h usability... yes checking curses.h presence... yes checking for curses.h... yes checking ncurses.h usability... yes checking ncurses.h presence... yes checking for ncurses.h... yes checking for tgetent in -lncurses... yes Using ncurses as the termcap library checking for use_default_colors in -lncurses... yes checking for wresize in -lncurses... yes checking for resizeterm in -lncurses... yes configure: creating ./config.status config.status: creating Makefile config.status: creating doc/Makefile config.status: creating doc/man/Makefile config.status: creating doc/man/fr/Makefile config.status: creating doc/texinfo/Makefile config.status: creating m4/Makefile config.status: creating po/Makefile.in config.status: creating src/Makefile config.status: creating nano.spec config.status: creating config.h config.status: executing depfiles commands config.status: executing default-1 commands config.status: creating po/POTFILES config.status: creating po/Makefile make all-recursive make[1]: Entering directory `/var/tmp/portage/nano-1.3.0/work/nano-1.3.0' Making all in doc make[2]: Entering directory `/var/tmp/portage/nano-1.3.0/work/nano-1.3.0/doc' Making all in man make[3]: Entering directory `/var/tmp/portage/nano-1.3.0/work/nano-1.3.0/doc/man' make all-recursive make[4]: Entering directory `/var/tmp/portage/nano-1.3.0/work/nano-1.3.0/doc/man' Making all in fr make[5]: Entering directory `/var/tmp/portage/nano-1.3.0/work/nano-1.3.0/doc/man/fr' make all-am make[6]: Entering directory `/var/tmp/portage/nano-1.3.0/work/nano-1.3.0/doc/man/fr' make[6]: Niets te doen voor `all-am'. make[6]: Leaving directory `/var/tmp/portage/nano-1.3.0/work/nano-1.3.0/doc/man/fr' make[5]: Leaving directory `/var/tmp/portage/nano-1.3.0/work/nano-1.3.0/doc/man/fr' make[5]: Entering directory `/var/tmp/portage/nano-1.3.0/work/nano-1.3.0/doc/man' make[5]: Niets te doen voor `all-am'. make[5]: Leaving directory `/var/tmp/portage/nano-1.3.0/work/nano-1.3.0/doc/man'make[4]: Leaving directory `/var/tmp/portage/nano-1.3.0/work/nano-1.3.0/doc/man'make[3]: Leaving directory `/var/tmp/portage/nano-1.3.0/work/nano-1.3.0/doc/man'Making all in texinfo make[3]: Entering directory `/var/tmp/portage/nano-1.3.0/work/nano-1.3.0/doc/texinfo' make[3]: Niets te doen voor `all'. make[3]: Leaving directory `/var/tmp/portage/nano-1.3.0/work/nano-1.3.0/doc/texinfo' make[3]: Entering directory `/var/tmp/portage/nano-1.3.0/work/nano-1.3.0/doc' make[3]: Niets te doen voor `all-am'. make[3]: Leaving directory `/var/tmp/portage/nano-1.3.0/work/nano-1.3.0/doc' make[2]: Leaving directory `/var/tmp/portage/nano-1.3.0/work/nano-1.3.0/doc' Making all in m4 make[2]: Entering directory `/var/tmp/portage/nano-1.3.0/work/nano-1.3.0/m4' make[2]: Niets te doen voor `all'. make[2]: Leaving directory `/var/tmp/portage/nano-1.3.0/work/nano-1.3.0/m4' Making all in po make[2]: Entering directory `/var/tmp/portage/nano-1.3.0/work/nano-1.3.0/po' make[2]: Niets te doen voor `all'. make[2]: Leaving directory `/var/tmp/portage/nano-1.3.0/work/nano-1.3.0/po' Making all in src make[2]: Entering directory `/var/tmp/portage/nano-1.3.0/work/nano-1.3.0/src' source='color.c' object='color.o' libtool=no \ depfile='.deps/color.Po' tmpdepfile='.deps/color.TPo' \ depmode=gcc3 /bin/sh ../depcomp \ icc -DSYSCONFDIR=\"/etc\" -I. -I. -I.. -Iintl -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include -O2 -xW -tpp7 -c `test -f 'color.c' || echo './'`color.c source='cut.c' object='cut.o' libtool=no \ depfile='.deps/cut.Po' tmpdepfile='.deps/cut.TPo' \ depmode=gcc3 /bin/sh ../depcomp \ icc -DSYSCONFDIR=\"/etc\" -I. -I. -I.. -Iintl -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include -O2 -xW -tpp7 -c `test -f 'cut.c' || echo './'`cut.c iccbin: Command line warning: ignoring option '-M'; no argument required iccbin: Command line warning: ignoring option '-M'; no argument required iccbin: Command line warning: ignoring option '-M'; no argument required iccbin: Command line warning: ignoring option '-M'; no argument required /usr/include/regex.h(551): error: identifier "restrict" is undefined extern int regexec _RE_ARGS ((const regex_t *__restrict __preg, ^ /usr/include/regex.h(551): error: identifier "restrict" is undefined extern int regexec _RE_ARGS ((const regex_t *__restrict __preg, ^ compilation aborted for color.c (code 2) make[2]: *** [color.o] Fout 2 make[2]: *** Wachten op onafgeronde taken... compilation aborted for cut.c (code 2) make[2]: *** [cut.o] Fout 2 make[2]: Leaving directory `/var/tmp/portage/nano-1.3.0/work/nano-1.3.0/src' make[1]: *** [all-recursive] Fout 1 make[1]: Leaving directory `/var/tmp/portage/nano-1.3.0/work/nano-1.3.0' make: *** [all] Fout 2 !!! ERROR: app-editors/nano-1.3.0 failed. !!! Function src_compile, Line 48, Exitcode 2 !!! (no error message) iccmerge is an alias: alias iccmerge='CC=icc CFLAGS="-O2 -xW -tpp7" CXX=icc CXXFLAGS="$CFLAGS" FC=ifc FF=ifc FORTRAN=ifc F77=ifc emerge ' setting or unsetting the icc flag doesn't affect this (and looking at the ebuild i cant see how it could) Reproducible: Always Steps to Reproduce: 1.try to compile nano with icc 2.look how it fails 3. Actual Results: compilation failed Expected Results: compilation should've succeeded, the icc use flag indicates it should compile (even though it is still masked) dabooty@dawikidnezz lame $ emerge info Portage 2.0.49-r18 (default-x86-1.4, gcc-3.3.1, glibc-2.3.2-r1, 2.6.0-gentoo) ================================================================= System uname: 2.6.0-gentoo i686 Intel(R) Pentium(R) 4 CPU 1600MHz Gentoo Base System version 1.4.3.12 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-march=pentium4 -O2 -pipe -fomit-frame-pointer -mfpmath=sse -msse2 -mmmx -pipe -ftracer" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /opt/tomcat/conf /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" CXXFLAGS="-march=pentium4 -O2 -pipe -fomit-frame-pointer -mfpmath=sse -msse2 -mmmx -pipe -ftracer" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache sandbox" GENTOO_MIRRORS="http://212.219.247.15/sites/www.ibiblio.org/gentoo/ http://212.219.247.18/sites/www.ibiblio.org/gentoo/ ftp://ftp.snt.utwente.nl/pub/os/linux/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/home/dabooty/portage_overlay" SYNC="rsync://rsync.nl.gentoo.org/gentoo-portage" USE="X alsa apache2 apm avi cdr crypt cups dga divx doc dvd emacs encode esd ethereal expocity foomaticdb gdbm gif gnome gnomedb gphoto2 gpm gstreamer gtk gtk2 gtkhtml guile icc imlib java jikes jpeg libg++ libwww mad mikmod motif mozilla moznocompose moznoirc moznomail mpeg mysql ncurses nls nptl oav odbc oggvorbis opengl pam pdflib png postgres quicktime readline samba sdl slang snmp spell sqlite sse ssl svga tcpd tetex tiff truetype usb wmf x86 xml2 xv xvid zlib"
*** Bug 39697 has been marked as a duplicate of this bug. ***
I saw in another bug you took out icc support, fair enough, i think it's the best solution until it's fixed
Re-assign a really stale bug, no idea if this is still an issue.
someone try with up-to-date nano and up-to-date icc