When emerging nano-2.1.4, this compilation error occurs : x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -DSYSCONFDIR=\"/etc\" -I/usr/include/ncursesw -march=native -O3 -pipe -msse3 -MT winio.o -MD -MP -MF .deps/winio.Tpo -c -o winio.o winio.c text.c: In function 'do_enter': text.c:652: error: 'xopenfile' undeclared (first use in this function) text.c:652: error: (Each undeclared identifier is reported only once text.c:652: error: for each function it appears in.) make[2]: *** [text.o] Error 1 make[2]: *** Waiting for unfinished jobs.... mv -f .deps/nano.Tpo .deps/nano.Po mv -f .deps/winio.Tpo .deps/winio.Po make[2]: Leaving directory `/var/tmp/paludis/app-editors-nano-2.1.4/work/nano-2.1.4/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/paludis/app-editors-nano-2.1.4/work/nano-2.1.4' make: *** [all] Error 2 /usr/libexec/paludis/utils/emake: emake returned error 2 !!! ERROR in app-editors/nano-2.1.4: !!! In src_compile at line 3403 !!! (no message provided) !!! Call stack: !!! * src_compile (/var/tmp/paludis/app-editors-nano-2.1.4/temp/loadsaveenv:3403) !!! * ebuild_f_compile (/usr/libexec/paludis/0/src_compile.bash:49) !!! * ebuild_main (/usr/libexec/paludis/ebuild.bash:463) !!! * main (/usr/libexec/paludis/ebuild.bash:478) diefunc: making ebuild PID 30698 exit with error die trap: exiting with error. Reproducible: Always
(In reply to comment #0) > When emerging nano-2.1.4, this compilation error occurs : > > x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. > -DLOCALEDIR=\"/usr/share/locale\" -DSYSCONFDIR=\"/etc\" > -I/usr/include/ncursesw -march=native -O3 -pipe -msse3 -MT winio.o -MD -MP > -MF .deps/winio.Tpo -c -o winio.o winio.c > text.c: In function 'do_enter': > text.c:652: error: 'xopenfile' undeclared (first use in this function) > text.c:652: error: (Each undeclared identifier is reported only once > text.c:652: error: for each function it appears in.) > make[2]: *** [text.o] Error 1 > make[2]: *** Waiting for unfinished jobs.... > mv -f .deps/nano.Tpo .deps/nano.Po > mv -f .deps/winio.Tpo .deps/winio.Po > make[2]: Leaving directory > `/var/tmp/paludis/app-editors-nano-2.1.4/work/nano-2.1.4/src' > make[1]: *** [all-recursive] Error 1 > make[1]: Leaving directory > `/var/tmp/paludis/app-editors-nano-2.1.4/work/nano-2.1.4' > make: *** [all] Error 2 > /usr/libexec/paludis/utils/emake: emake returned error 2 > > !!! ERROR in app-editors/nano-2.1.4: > !!! In src_compile at line 3403 > !!! (no message provided) > > !!! Call stack: > !!! * src_compile > (/var/tmp/paludis/app-editors-nano-2.1.4/temp/loadsaveenv:3403) > !!! * ebuild_f_compile (/usr/libexec/paludis/0/src_compile.bash:49) > !!! * ebuild_main (/usr/libexec/paludis/ebuild.bash:463) > !!! * main (/usr/libexec/paludis/ebuild.bash:478) > > diefunc: making ebuild PID 30698 exit with error > die trap: exiting with error. > > Reproducible: Always > The compilation error seems to be related to USE flag "debug", without it the compilation works fine.
Created attachment 163100 [details, diff] There is a simple patch
added to cvs, thanks http://sources.gentoo.org/app-editors/nano/nano-2.1.4.ebuild?r1=1.1&r2=1.2 http://sources.gentoo.org/app-editors/nano/files/nano-2.1.4-debug.patch?rev=1.1