!!! The issue is valid only for toolchains compiling packages with -D_FORTIFY_SOURCE=2. !!! The problem is caused by the use of vasnprintf. It would use a user supplied format string "%n". FORTIFY_SOURCE blocks the attempt causing a crash. The vasnprintf was taken from gnulib. Upstream suggested a workaround which alsready included in sys-devel/m4. Other solutions: - Mandriva prevents cvs from compiling with -D_FORTIFY_SOURCE=2 - FC8 and FC9 uses and older version of cvs (1.11.22) References: https://issues.rpath.com/browse/RPL-2015 https://qa.mandriva.com/show_bug.cgi?id=31848 http://www.cygwin.com/ml/libc-alpha/2006-02/msg00078.html http://www.nabble.com/vasnprintf%27s-%22-n-in-writable-segment%22-chokes-with-_FORTIFY_SOURCE-%3D%3D-2-td13270892.html Reproducible: Always Steps to Reproduce:
Created attachment 159607 [details, diff] vasnprintf modifications just like in m4 Based on the suggestions of gnulib developers. May cause loss of functionality. Works for me.
Created attachment 159609 [details] Modified ebuild using the above patch Needed until cvs will merge the gnulib changes from upstreams.
*** This bug has been marked as a duplicate of bug 218567 ***