>>> Compiling source in /var/tmp/portage/media-gfx/grafx2-2.6/work/grafX2-v2.6 ...
make -j7
make -C src/
make[1]: Entering directory '/var/tmp/portage/media-gfx/grafx2-2.6/work/grafX2-v2.6/src'
fatal: not a git repository (or any parent up to mount point /var/tmp)
Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).
cat: version.c: No such file or directory
gcc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -D__ENABLE_LUA__ -O -I/usr/include/libpng16 -D_XOPEN_SOURCE=700 -DUSE_FC -DENABLE_FILENAMES_ICONV -DUSE_SDL -march=x86-64 -O2 -pipe -c main.c -o ../obj/unix-sdl/main.o
gcc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -D__ENABLE_LUA__ -O -I/usr/include/libpng16 -D_XOPEN_SOURCE=700 -DUSE_FC -DENABLE_FILENAMES_ICONV -DUSE_SDL -march=x86-64 -O2 -pipe -c init.c -o ../obj/unix-sdl/init.o
main.c: In function ‘Error_function’:
main.c:238:81: warning: ‘%s’ directive output may be truncated writing up to 511 bytes into a region of size 416 [-Wformat-truncation=]
case ERROR_GUI_MISSING : snprintf(msg_buffer, sizeof(msg_buffer), "Error: File containing the GUI graphics is missing!\n"
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.c:240:55:
"\n%s", Gui_loading_error_message);
~~~~~~~~~~~~~~~~~~~~~~~~~
main.c:240:50: note: format string is defined here
"\n%s", Gui_loading_error_message);
^~
In file included from /usr/include/stdio.h:867,
from main.c:65:
/usr/include/bits/stdio2.h:67:10: note: ‘__builtin___snprintf_chk’ output between 97 and 608 bytes into a destination of size 512
return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
__bos (__s), __fmt, __va_arg_pack ());
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gcc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -D__ENABLE_LUA__ -O -I/usr/include/libpng16 -D_XOPEN_SOURCE=700 -DUSE_FC -DENABLE_FILENAMES_ICONV -DUSE_SDL -march=x86-64 -O2 -pipe -c graph.c -o ../obj/unix-sdl/graph.o
init.c: In function ‘Load_graphics’:
init.c:676:43: warning: ‘%s’ directive output may be truncated writing 5 bytes into a region of size between 1 and 4096 [-Wformat-truncation=]
snprintf(filename, sizeof(filename), "%s%s%s%s", Data_directory,SKINS_SUBDIRECTORY, PATH_SEPARATOR, skin_file);
^~
In file included from /usr/include/stdio.h:867,
from init.c:37:
/usr/include/bits/stdio2.h:67:10: note: ‘__builtin___snprintf_chk’ output 7 or more bytes (assuming 4102) into a destination of size 4096
return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
__bos (__s), __fmt, __va_arg_pack ());
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
init.c: In function ‘Load_font’:
init.c:761:43: warning: ‘%s’ directive output may be truncated writing 5 bytes into a region of size between 1 and 4096 [-Wformat-truncation=]
snprintf(filename, sizeof(filename), "%s%s%s%s", Data_directory, SKINS_SUBDIRECTORY, PATH_SEPARATOR, font_name);
^~
In file included from /usr/include/stdio.h:867,
from init.c:37:
/usr/include/bits/stdio2.h:67:10: note: ‘__builtin___snprintf_chk’ output 7 or more bytes (assuming 4102) into a destination of size 4096
return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
__bos (__s), __fmt, __va_arg_pack ());
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
init.c: In function ‘Load_Unicode_fonts’:
init.c:804:44: warning: ‘%s’ directive output may be truncated writing 5 bytes into a region of size between 1 and 4096 [-Wformat-truncation=]
snprintf(directory,sizeof(directory), "%s%s", Data_directory, SKINS_SUBDIRECTORY);
^~
In file included from /usr/include/stdio.h:867,
from init.c:37:
/usr/include/bits/stdio2.h:67:10: note: ‘__builtin___snprintf_chk’ output between 6 and 4101 bytes into a destination of size 4096
return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
__bos (__s), __fmt, __va_arg_pack ());
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
init.c: In function ‘Load_CFG’:
init.c:2139:43: warning: ‘%s’ directive output may be truncated writing 8 bytes into a region of size between 1 and 4096 [-Wformat-truncation=]
snprintf(filename, sizeof(filename), "%s%s", Config_directory, CONFIG_FILENAME);
^~
In file included from /usr/include/stdio.h:867,
from init.c:37:
/usr/include/bits/stdio2.h:67:10: note: ‘__builtin___snprintf_chk’ output between 9 and 4104 bytes into a destination of size 4096
return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
__bos (__s), __fmt, __va_arg_pack ());
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gcc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -D__ENABLE_LUA__ -O -I/usr/include/libpng16 -D_XOPEN_SOURCE=700 -DUSE_FC -DENABLE_FILENAMES_ICONV -DUSE_SDL -march=x86-64 -O2 -pipe -c sdlscreen.c -o ../obj/unix-sdl/sdlscreen.o
graph.c: In function ‘Draw_line_preview_xor’:
graph.c:1859:16: warning: cast between incompatible function types from ‘void (*)(short int, short int, byte)’ {aka ‘void (*)(short int, short int, unsigned char)’} to ‘void (*)(word, word, byte)’ {aka ‘void (*)(short unsigned int, short unsigned int, unsigned char)’} [-Wcast-function-type]
Pixel_figure=(Func_pixel)Pixel_figure_preview_xor;
^
gcc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -D__ENABLE_LUA__ -O -I/usr/include/libpng16 -D_XOPEN_SOURCE=700 -DUSE_FC -DENABLE_FILENAMES_ICONV -DUSE_SDL -march=x86-64 -O2 -pipe -c misc.c -o ../obj/unix-sdl/misc.o
sdlscreen.c: In function ‘Define_icon’:
sdlscreen.c:737:27: warning: ‘%s’ directive writing 8 bytes into a region of size between 1 and 4096 [-Wformat-overflow=]
sprintf(icon_path, "%s%s", Data_directory, "gfx2.png"); // 48x48
^~ ~~~~~~~~~~
In file included from /usr/include/stdio.h:867,
from /usr/include/SDL/SDL_stdinc.h:37,
from /usr/include/SDL/SDL_main.h:26,
from /usr/include/SDL/SDL.h:30,
from sdlscreen.c:27:
/usr/include/bits/stdio2.h:36:10: note: ‘__builtin___sprintf_chk’ output between 9 and 4104 bytes into a destination of size 4096
return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
__bos (__s), __fmt, __va_arg_pack ());
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gcc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -D__ENABLE_LUA__ -O -I/usr/include/libpng16 -D_XOPEN_SOURCE=700 -DUSE_FC -DENABLE_FILENAMES_ICONV -DUSE_SDL -march=x86-64 -O2 -pipe -c special.c -o ../obj/unix-sdl/special.o
gcc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -D__ENABLE_LUA__ -O -I/usr/include/libpng16 -D_XOPEN_SOURCE=700 -DUSE_FC -DENABLE_FILENAMES_ICONV -DUSE_SDL -march=x86-64 -O2 -pipe -c buttons.c -o ../obj/unix-sdl/buttons.o
gcc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -D__ENABLE_LUA__ -O -I/usr/include/libpng16 -D_XOPEN_SOURCE=700 -DUSE_FC -DENABLE_FILENAMES_ICONV -DUSE_SDL -march=x86-64 -O2 -pipe -c palette.c -o ../obj/unix-sdl/palette.o
if [ -d ../3rdparty ] ; then make -C ../3rdparty recoil ; fi
In file included from buttons.c:53:
buttons.c: In function ‘Button_Resolution’:
misc.h:137:34: warning: ‘__builtin___sprintf_chk’ may write a terminating nul past the end of the destination [-Wformat-overflow=]
#define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a))
^~~~~~
buttons.c:1997:3: note: in expansion of macro ‘Num2str’
Num2str(chosen_width,str,4);
^~~~~~~
In file included from /usr/include/stdio.h:867,
from buttons.c:32:
/usr/include/bits/stdio2.h:36:10: note: ‘__builtin___sprintf_chk’ output between 5 and 6 bytes into a destination of size 5
return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
__bos (__s), __fmt, __va_arg_pack ());
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from buttons.c:53:
misc.h:137:34: warning: ‘__builtin___sprintf_chk’ may write a terminating nul past the end of the destination [-Wformat-overflow=]
#define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a))
^~~~~~
buttons.c:2001:3: note: in expansion of macro ‘Num2str’
Num2str(chosen_height,str,4);
^~~~~~~
In file included from /usr/include/stdio.h:867,
from buttons.c:32:
/usr/include/bits/stdio2.h:36:10: note: ‘__builtin___sprintf_chk’ output between 5 and 6 bytes into a destination of size 5
return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
__bos (__s), __fmt, __va_arg_pack ());
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from buttons.c:53:
misc.h:137:34: warning: ‘__builtin___sprintf_chk’ may write a terminating nul past the end of the destination [-Wformat-overflow=]
#define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a))
^~~~~~
buttons.c:2062:13: note: in expansion of macro ‘Num2str’
Num2str(chosen_width,str,4);
^~~~~~~
In file included from /usr/include/stdio.h:867,
from buttons.c:32:
/usr/include/bits/stdio2.h:36:10: note: ‘__builtin___sprintf_chk’ output between 5 and 6 bytes into a destination of size 5
return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
__bos (__s), __fmt, __va_arg_pack ());
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from buttons.c:53:
misc.h:137:34: warning: ‘__builtin___sprintf_chk’ may write a terminating nul past the end of the destination [-Wformat-overflow=]
#define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a))
^~~~~~
buttons.c:2066:13: note: in expansion of macro ‘Num2str’
Num2str(chosen_height,str,4);
^~~~~~~
In file included from /usr/include/stdio.h:867,
from buttons.c:32:
/usr/include/bits/stdio2.h:36:10: note: ‘__builtin___sprintf_chk’ output between 5 and 6 bytes into a destination of size 5
return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
__bos (__s), __fmt, __va_arg_pack ());
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from buttons.c:53:
misc.h:137:34: warning: ‘__builtin___sprintf_chk’ may write a terminating nul past the end of the destination [-Wformat-overflow=]
#define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a))
^~~~~~
buttons.c:2033:9: note: in expansion of macro ‘Num2str’
Num2str(chosen_height,str,4);
^~~~~~~
In file included from /usr/include/stdio.h:867,
from buttons.c:32:
/usr/include/bits/stdio2.h:36:10: note: ‘__builtin___sprintf_chk’ output between 5 and 6 bytes into a destination of size 5
return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
__bos (__s), __fmt, __va_arg_pack ());
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from buttons.c:53:
misc.h:137:34: warning: ‘__builtin___sprintf_chk’ may write a terminating nul past the end of the destination [-Wformat-overflow=]
#define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a))
^~~~~~
buttons.c:2019:9: note: in expansion of macro ‘Num2str’
Num2str(chosen_width,str,4);
^~~~~~~
In file included from /usr/include/stdio.h:867,
from buttons.c:32:
/usr/include/bits/stdio2.h:36:10: note: ‘__builtin___sprintf_chk’ output between 5 and 6 bytes into a destination of size 5
return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
__bos (__s), __fmt, __va_arg_pack ());
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from buttons.c:53:
buttons.c: In function ‘Refresh_airbrush_settings’:
misc.h:137:34: warning: ‘__builtin___sprintf_chk’ may write a terminating nul past the end of the destination [-Wformat-overflow=]
#define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a))
^~~~~~
buttons.c:4177:3: note: in expansion of macro ‘Num2str’
Num2str(Airbrush_multi_flow[selected_color],str,2);
^~~~~~~
In file included from /usr/include/stdio.h:867,
from buttons.c:32:
/usr/include/bits/stdio2.h:36:10: note: ‘__builtin___sprintf_chk’ output between 3 and 4 bytes into a destination of size 3
return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
__bos (__s), __fmt, __va_arg_pack ());
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
make[2]: Entering directory '/var/tmp/portage/media-gfx/grafx2-2.6/work/grafX2-v2.6/3rdparty'
gcc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -D__ENABLE_LUA__ -O -I/usr/include/libpng16 -D_XOPEN_SOURCE=700 -DUSE_FC -DENABLE_FILENAMES_ICONV -DUSE_SDL -march=x86-64 -O2 -pipe -c operatio.c -o ../obj/unix-sdl/operatio.o
In file included from palette.c:29:
palette.c: In function ‘Button_Secondary_palette’:
misc.h:137:34: warning: ‘%*lu’ directive writing between 3 and 5 bytes into a region of size 4 [-Wformat-overflow=]
#define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a))
^~~~~~
palette.c:2915:3: note: in expansion of macro ‘Num2str’
Num2str(Config.Palette_cells_X,str,3);
^~~~~~~
misc.h:137:34: note: directive argument in the range [0, 65535]
#define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a))
^~~~~~
palette.c:2915:3: note: in expansion of macro ‘Num2str’
Num2str(Config.Palette_cells_X,str,3);
^~~~~~~
In file included from /usr/include/stdio.h:867,
from palette.c:22:
/usr/include/bits/stdio2.h:36:10: note: ‘__builtin___sprintf_chk’ output between 4 and 6 bytes into a destination of size 4
return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
__bos (__s), __fmt, __va_arg_pack ());
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from palette.c:29:
misc.h:137:34: warning: ‘%*lu’ directive writing between 3 and 5 bytes into a region of size 4 [-Wformat-overflow=]
#define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a))
^~~~~~
palette.c:2919:3: note: in expansion of macro ‘Num2str’
Num2str(Config.Palette_cells_Y,str,3);
^~~~~~~
misc.h:137:34: note: directive argument in the range [0, 65535]
#define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a))
^~~~~~
palette.c:2919:3: note: in expansion of macro ‘Num2str’
Num2str(Config.Palette_cells_Y,str,3);
^~~~~~~
In file included from /usr/include/stdio.h:867,
from palette.c:22:
/usr/include/bits/stdio2.h:36:10: note: ‘__builtin___sprintf_chk’ output between 4 and 6 bytes into a destination of size 4
return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
__bos (__s), __fmt, __va_arg_pack ());
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from palette.c:29:
misc.h:137:34: warning: ‘%*lu’ directive writing between 3 and 5 bytes into a region of size 4 [-Wformat-overflow=]
#define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a))
^~~~~~
palette.c:2998:9: note: in expansion of macro ‘Num2str’
Num2str(rgb_scale_slider->Position,str,3);
^~~~~~~
misc.h:137:34: note: directive argument in the range [1, 32767]
#define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a))
^~~~~~
palette.c:2998:9: note: in expansion of macro ‘Num2str’
Num2str(rgb_scale_slider->Position,str,3);
^~~~~~~
In file included from /usr/include/stdio.h:867,
from palette.c:22:
/usr/include/bits/stdio2.h:36:10: note: ‘__builtin___sprintf_chk’ output between 4 and 6 bytes into a destination of size 4
return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
__bos (__s), __fmt, __va_arg_pack ());
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from palette.c:29:
palette.c: In function ‘Button_Palette’:
misc.h:137:34: warning: ‘__builtin___sprintf_chk’ may write a terminating nul past the end of the destination [-Wformat-overflow=]
#define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a))
^~~~~~
palette.c:2235:13: note: in expansion of macro ‘Num2str’
Num2str( Color_max-red_slider->Position ,str,4);
^~~~~~~
In file included from /usr/include/stdio.h:867,
from palette.c:22:
/usr/include/bits/stdio2.h:36:10: note: ‘__builtin___sprintf_chk’ output between 5 and 11 bytes into a destination of size 10
return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
__bos (__s), __fmt, __va_arg_pack ());
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from palette.c:29:
misc.h:137:34: warning: ‘__builtin___sprintf_chk’ may write a terminating nul past the end of the destination [-Wformat-overflow=]
#define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a))
^~~~~~
palette.c:2229:13: note: in expansion of macro ‘Num2str’
Num2str(-(Color_max-red_slider->Position),str,4);
^~~~~~~
In file included from /usr/include/stdio.h:867,
from palette.c:22:
/usr/include/bits/stdio2.h:36:10: note: ‘__builtin___sprintf_chk’ output between 5 and 11 bytes into a destination of size 10
return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
__bos (__s), __fmt, __va_arg_pack ());
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from palette.c:29:
misc.h:137:34: warning: ‘__builtin___sprintf_chk’ may write a terminating nul past the end of the destination [-Wformat-overflow=]
#define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a))
^~~~~~
palette.c:2256:13: note: in expansion of macro ‘Num2str’
Num2str( Color_max-green_slider->Position ,str,4);
^~~~~~~
In file included from /usr/include/stdio.h:867,
from palette.c:22:
/usr/include/bits/stdio2.h:36:10: note: ‘__builtin___sprintf_chk’ output between 5 and 11 bytes into a destination of size 10
return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
__bos (__s), __fmt, __va_arg_pack ());
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from palette.c:29:
misc.h:137:34: warning: ‘__builtin___sprintf_chk’ may write a terminating nul past the end of the destination [-Wformat-overflow=]
#define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a))
^~~~~~
palette.c:2250:13: note: in expansion of macro ‘Num2str’
Num2str(-(Color_max-green_slider->Position),str,4);
^~~~~~~
In file included from /usr/include/stdio.h:867,
from palette.c:22:
/usr/include/bits/stdio2.h:36:10: note: ‘__builtin___sprintf_chk’ output between 5 and 11 bytes into a destination of size 10
return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
__bos (__s), __fmt, __va_arg_pack ());
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from palette.c:29:
misc.h:137:34: warning: ‘__builtin___sprintf_chk’ may write a terminating nul past the end of the destination [-Wformat-overflow=]
#define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a))
^~~~~~
palette.c:2277:13: note: in expansion of macro ‘Num2str’
Num2str( Color_max-blue_slider->Position ,str,4);
^~~~~~~
In file included from /usr/include/stdio.h:867,
from palette.c:22:
/usr/include/bits/stdio2.h:36:10: note: ‘__builtin___sprintf_chk’ output between 5 and 11 bytes into a destination of size 10
return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
__bos (__s), __fmt, __va_arg_pack ());
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from palette.c:29:
misc.h:137:34: warning: ‘__builtin___sprintf_chk’ may write a terminating nul past the end of the destination [-Wformat-overflow=]
#define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a))
^~~~~~
palette.c:2271:13: note: in expansion of macro ‘Num2str’
Num2str(-(Color_max-blue_slider->Position),str,4);
^~~~~~~
In file included from /usr/include/stdio.h:867,
from palette.c:22:
/usr/include/bits/stdio2.h:36:10: note: ‘__builtin___sprintf_chk’ output between 5 and 11 bytes into a destination of size 10
return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
__bos (__s), __fmt, __va_arg_pack ());
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from palette.c:29:
misc.h:137:34: warning: ‘__builtin___sprintf_chk’ may write a terminating nul past the end of the destination [-Wformat-overflow=]
#define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a))
^~~~~~
palette.c:2109:13: note: in expansion of macro ‘Num2str’
Num2str( Color_max-red_slider->Position ,str,4);
^~~~~~~
In file included from /usr/include/stdio.h:867,
from palette.c:22:
/usr/include/bits/stdio2.h:36:10: note: ‘__builtin___sprintf_chk’ output between 5 and 11 bytes into a destination of size 10
return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
__bos (__s), __fmt, __va_arg_pack ());
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from palette.c:29:
misc.h:137:34: warning: ‘__builtin___sprintf_chk’ may write a terminating nul past the end of the destination [-Wformat-overflow=]
#define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a))
^~~~~~
palette.c:2103:13: note: in expansion of macro ‘Num2str’
Num2str(-(Color_max-red_slider->Position),str,4);
^~~~~~~
In file included from /usr/include/stdio.h:867,
from palette.c:22:
/usr/include/bits/stdio2.h:36:10: note: ‘__builtin___sprintf_chk’ output between 5 and 11 bytes into a destination of size 10
return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
__bos (__s), __fmt, __va_arg_pack ());
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from palette.c:29:
misc.h:137:34: warning: ‘__builtin___sprintf_chk’ may write a terminating nul past the end of the destination [-Wformat-overflow=]
#define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a))
^~~~~~
palette.c:2130:13: note: in expansion of macro ‘Num2str’
Num2str( Color_max-green_slider->Position ,str,4);
^~~~~~~
In file included from /usr/include/stdio.h:867,
from palette.c:22:
/usr/include/bits/stdio2.h:36:10: note: ‘__builtin___sprintf_chk’ output between 5 and 11 bytes into a destination of size 10
return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
__bos (__s), __fmt, __va_arg_pack ());
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from palette.c:29:
misc.h:137:34: warning: ‘__builtin___sprintf_chk’ may write a terminating nul past the end of the destination [-Wformat-overflow=]
#define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a))
^~~~~~
palette.c:2124:13: note: in expansion of macro ‘Num2str’
Num2str(-(Color_max-green_slider->Position),str,4);
^~~~~~~
In file included from /usr/include/stdio.h:867,
from palette.c:22:
/usr/include/bits/stdio2.h:36:10: note: ‘__builtin___sprintf_chk’ output between 5 and 11 bytes into a destination of size 10
return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
__bos (__s), __fmt, __va_arg_pack ());
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from palette.c:29:
misc.h:137:34: warning: ‘__builtin___sprintf_chk’ may write a terminating nul past the end of the destination [-Wformat-overflow=]
#define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a))
^~~~~~
palette.c:2151:13: note: in expansion of macro ‘Num2str’
Num2str( Color_max-blue_slider->Position ,str,4);
^~~~~~~
In file included from /usr/include/stdio.h:867,
from palette.c:22:
/usr/include/bits/stdio2.h:36:10: note: ‘__builtin___sprintf_chk’ output between 5 and 11 bytes into a destination of size 10
return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
__bos (__s), __fmt, __va_arg_pack ());
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from palette.c:29:
misc.h:137:34: warning: ‘__builtin___sprintf_chk’ may write a terminating nul past the end of the destination [-Wformat-overflow=]
#define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a))
^~~~~~
palette.c:2145:13: note: in expansion of macro ‘Num2str’
Num2str(-(Color_max-blue_slider->Position),str,4);
^~~~~~~
In file included from /usr/include/stdio.h:867,
from palette.c:22:
/usr/include/bits/stdio2.h:36:10: note: ‘__builtin___sprintf_chk’ output between 5 and 11 bytes into a destination of size 10
return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
__bos (__s), __fmt, __va_arg_pack ());
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from palette.c:29:
misc.h:137:34: warning: ‘%*lu’ directive writing between 3 and 19 bytes into a region of size 6 [-Wformat-overflow=]
#define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a))
^~~~~~
palette.c:1896:13: note: in expansion of macro ‘Num2str’
Num2str(block_end ,str+4,3);
^~~~~~~
misc.h:137:34: note: directive argument in the range [0, 9223372036854775807]
#define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a))
^~~~~~
palette.c:1896:13: note: in expansion of macro ‘Num2str’
Num2str(block_end ,str+4,3);
^~~~~~~
In file included from /usr/include/stdio.h:867,
from palette.c:22:
/usr/include/bits/stdio2.h:36:10: note: ‘__builtin___sprintf_chk’ output between 4 and 20 bytes into a destination of size 6
return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
__bos (__s), __fmt, __va_arg_pack ());
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from palette.c:29:
misc.h:137:34: warning: ‘%*lu’ directive writing between 3 and 19 bytes into a region of size 10 [-Wformat-overflow=]
#define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a))
^~~~~~
palette.c:1840:13: note: in expansion of macro ‘Num2str’
Num2str(block_start,str ,3);
^~~~~~~
misc.h:137:34: note: directive argument in the range [0, 9223372036854775807]
#define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a))
^~~~~~
palette.c:1840:13: note: in expansion of macro ‘Num2str’
Num2str(block_start,str ,3);
^~~~~~~
In file included from /usr/include/stdio.h:867,
from palette.c:22:
/usr/include/bits/stdio2.h:36:10: note: ‘__builtin___sprintf_chk’ output between 4 and 20 bytes into a destination of size 10
return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
__bos (__s), __fmt, __va_arg_pack ());
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from palette.c:29:
misc.h:137:34: warning: ‘__builtin___sprintf_chk’ may write a terminating nul past the end of the destination [-Wformat-overflow=]
#define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a))
^~~~~~
palette.c:1693:13: note: in expansion of macro ‘Num2str’
Num2str( Color_max-blue_slider->Position ,str,4);
^~~~~~~
In file included from /usr/include/stdio.h:867,
from palette.c:22:
/usr/include/bits/stdio2.h:36:10: note: ‘__builtin___sprintf_chk’ output between 5 and 11 bytes into a destination of size 10
return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
__bos (__s), __fmt, __va_arg_pack ());
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from palette.c:29:
misc.h:137:34: warning: ‘__builtin___sprintf_chk’ may write a terminating nul past the end of the destination [-Wformat-overflow=]
#define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a))
^~~~~~
palette.c:1687:13: note: in expansion of macro ‘Num2str’
Num2str(-(Color_max-blue_slider->Position),str,4);
^~~~~~~
In file included from /usr/include/stdio.h:867,
from palette.c:22:
/usr/include/bits/stdio2.h:36:10: note: ‘__builtin___sprintf_chk’ output between 5 and 11 bytes into a destination of size 10
return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
__bos (__s), __fmt, __va_arg_pack ());
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from palette.c:29:
misc.h:137:34: warning: ‘__builtin___sprintf_chk’ may write a terminating nul past the end of the destination [-Wformat-overflow=]
#define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a))
^~~~~~
palette.c:1612:13: note: in expansion of macro ‘Num2str’
Num2str( Color_max-green_slider->Position ,str,4);
^~~~~~~
In file included from /usr/include/stdio.h:867,
from palette.c:22:
/usr/include/bits/stdio2.h:36:10: note: ‘__builtin___sprintf_chk’ output between 5 and 11 bytes into a destination of size 10
return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
__bos (__s), __fmt, __va_arg_pack ());
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from palette.c:29:
misc.h:137:34: warning: ‘__builtin___sprintf_chk’ may write a terminating nul past the end of the destination [-Wformat-overflow=]
#define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a))
^~~~~~
palette.c:1606:13: note: in expansion of macro ‘Num2str’
Num2str(-(Color_max-green_slider->Position),str,4);
^~~~~~~
In file included from /usr/include/stdio.h:867,
from palette.c:22:
/usr/include/bits/stdio2.h:36:10: note: ‘__builtin___sprintf_chk’ output between 5 and 11 bytes into a destination of size 10
return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
__bos (__s), __fmt, __va_arg_pack ());
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from palette.c:29:
misc.h:137:34: warning: ‘__builtin___sprintf_chk’ may write a terminating nul past the end of the destination [-Wformat-overflow=]
#define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a))
^~~~~~
palette.c:1531:13: note: in expansion of macro ‘Num2str’
Num2str( Color_max-red_slider->Position ,str,4);
^~~~~~~
In file included from /usr/include/stdio.h:867,
from palette.c:22:
/usr/include/bits/stdio2.h:36:10: note: ‘__builtin___sprintf_chk’ output between 5 and 11 bytes into a destination of size 10
return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
__bos (__s), __fmt, __va_arg_pack ());
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from palette.c:29:
misc.h:137:34: warning: ‘__builtin___sprintf_chk’ may write a terminating nul past the end of the destination [-Wformat-overflow=]
#define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a))
^~~~~~
palette.c:1525:13: note: in expansion of macro ‘Num2str’
Num2str(-(Color_max-red_slider->Position),str,4);
^~~~~~~
In file included from /usr/include/stdio.h:867,
from palette.c:22:
/usr/include/bits/stdio2.h:36:10: note: ‘__builtin___sprintf_chk’ output between 5 and 11 bytes into a destination of size 10
return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
__bos (__s), __fmt, __va_arg_pack ());
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gcc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -D__ENABLE_LUA__ -O -I/usr/include/libpng16 -D_XOPEN_SOURCE=700 -DUSE_FC -DENABLE_FILENAMES_ICONV -DUSE_SDL -march=x86-64 -O2 -pipe -c pages.c -o ../obj/unix-sdl/pages.o
cd archives && ( curl -O -L --max-time 120 https://downloads.sourceforge.net/project/recoil/recoil/4.3.1/recoil-4.3.1.tar.gz || curl -O -L --max-time 120 http://nanard.free.fr/grafx2/recoil-4.3.1.tar.gz )
gcc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -D__ENABLE_LUA__ -O -I/usr/include/libpng16 -D_XOPEN_SOURCE=700 -DUSE_FC -DENABLE_FILENAMES_ICONV -DUSE_SDL -march=x86-64 -O2 -pipe -c loadsave.c -o ../obj/unix-sdl/loadsave.o
curl: (6) Couldn't resolve host 'downloads.sourceforge.net'
curl: (6) Couldn't resolve host 'nanard.free.fr'
gcc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -D__ENABLE_LUA__ -O -I/usr/include/libpng16 -D_XOPEN_SOURCE=700 -DUSE_FC -DENABLE_FILENAMES_ICONV -DUSE_SDL -march=x86-64 -O2 -pipe -c readline.c -o ../obj/unix-sdl/readline.o
make[2]: *** [Makefile:335: archives/recoil-4.3.1.tar.gz] Error 6
make[2]: Leaving directory '/var/tmp/portage/media-gfx/grafx2-2.6/work/grafX2-v2.6/3rdparty'
loadsave.c: In function ‘Rotate_safety_backups’:
loadsave.c:2109:32: warning: ‘%6.6d’ directive writing 6 bytes into a region of size between 0 and 4095 [-Wformat-overflow=]
sprintf(deleted_file, "%s%c%6.6d" BACKUP_FILE_EXTENSION,
^~~~~
loadsave.c:2109:27: note: directive argument in the range [0, 999999]
sprintf(deleted_file, "%s%c%6.6d" BACKUP_FILE_EXTENSION,
^~~~~~~~~~~
In file included from /usr/include/stdio.h:867,
from loadsave.c:29:
/usr/include/bits/stdio2.h:36:10: note: ‘__builtin___sprintf_chk’ output between 12 and 4107 bytes into a destination of size 4096
return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
__bos (__s), __fmt, __va_arg_pack ());
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
make[1]: *** [Makefile:930: ../3rdparty/recoil-4.3.1/recoil.c] Error 2
make[1]: *** Waiting for unfinished jobs....
make[1]: Leaving directory '/var/tmp/portage/media-gfx/grafx2-2.6/work/grafX2-v2.6/src'
make: *** [Makefile:16: grafx2] Error 2
* ERROR: media-gfx/grafx2-2.6::linxon failed (compile phase):
* emake failed
*
* If you need support, post the output of `emerge --info '=media-gfx/grafx2-2.6::linxon'`,
* the complete build log and the output of `emerge -pqv '=media-gfx/grafx2-2.6::linxon'`.
* The complete build log is located at '/var/tmp/portage/media-gfx/grafx2-2.6/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/media-gfx/grafx2-2.6/temp/environment'.
* Working directory: '/var/tmp/portage/media-gfx/grafx2-2.6/work/grafX2-v2.6'
* S: '/var/tmp/portage/media-gfx/grafx2-2.6/work/grafX2-v2.6'