* Package: media-gfx/tuxpaint-0.9.24 * Repository: gentoo * USE: abi_x86_64 amd64 elibc_glibc kernel_linux userland_GNU * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox >>> Unpacking source... >>> Unpacking tuxpaint-0.9.24.tar.gz to /var/tmp/portage/media-gfx/tuxpaint-0.9.24/work >>> Source unpacked in /var/tmp/portage/media-gfx/tuxpaint-0.9.24/work >>> Preparing source in /var/tmp/portage/media-gfx/tuxpaint-0.9.24/work/tuxpaint-0.9.24 ... >>> Source prepared. >>> Configuring source in /var/tmp/portage/media-gfx/tuxpaint-0.9.24/work/tuxpaint-0.9.24 ... >>> Source configured. >>> Compiling source in /var/tmp/portage/media-gfx/tuxpaint-0.9.24/work/tuxpaint-0.9.24 ... make -j3 -j1 CC=x86_64-pc-linux-gnu-gcc ...Generating 'Magic' tool API development header file... ...Compiling Tux Paint from source... x86_64-pc-linux-gnu-gcc -O2 -W -Wall -fno-common -ffloat-store -fvisibility=hidden -Wcast-align -Wredundant-decls -Wbad-function-cast -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -Wstrict-aliasing=2 -pipe -march=native -fno-diagnostics-color -O2 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/fribidi -I/usr/include/librsvg-2.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/lib64/libffi/include -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -pthread -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/uuid -Isrc/mouse -DLARGE_CURSOR_SHAPES -DVER_DATE=\"2021-08-14\" -DVER_VERSION=\"0.9.24\" -DDATA_PREFIX=\"/usr/share/tuxpaint/\" -DDOC_PREFIX=\"/usr/share/doc/tuxpaint-0.9.24/\" -DLOCALEDIR=\"/usr/share/locale/\" -DIMDIR=\"/usr/share/tuxpaint/im/\" -DCONFDIR=\"/etc/tuxpaint/\" -DMAGIC_PREFIX=\"/usr/lib/tuxpaint/plugins/\" \ -c src/tuxpaint.c -o obj/tuxpaint.o src/tuxpaint.c: In function ‘trash’: src/tuxpaint.c:24593:20: warning: ‘/files’ directive writing 6 bytes into a region of size between 1 and 256 [-Wformat-overflow=] 24593 | sprintf(dest, "%s/files", trashpath); | ^~~~~~ In file included from /usr/include/stdio.h:888, from src/tuxpaint.c:181: /usr/include/bits/stdio2.h:38:10: note: ‘__builtin___sprintf_chk’ output between 7 and 262 bytes into a destination of size 256 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 40 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ src/tuxpaint.c:24595:20: warning: ‘/info’ directive writing 5 bytes into a region of size between 1 and 256 [-Wformat-overflow=] 24595 | sprintf(dest, "%s/info", trashpath); | ^~~~~ In file included from /usr/include/stdio.h:888, from src/tuxpaint.c:181: /usr/include/bits/stdio2.h:38:10: note: ‘__builtin___sprintf_chk’ output between 6 and 261 bytes into a destination of size 256 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 40 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ src/tuxpaint.c:24598:20: warning: ‘/files/’ directive writing 7 bytes into a region of size between 1 and 256 [-Wformat-overflow=] 24598 | sprintf(dest, "%s/files/%s", trashpath, fname); | ^~~~~~~ In file included from /usr/include/stdio.h:888, from src/tuxpaint.c:181: /usr/include/bits/stdio2.h:38:10: note: ‘__builtin___sprintf_chk’ output 8 or more bytes (assuming 263) into a destination of size 256 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 40 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ src/tuxpaint.c:24612:24: warning: ‘/info/’ directive writing 6 bytes into a region of size between 1 and 256 [-Wformat-overflow=] 24612 | sprintf(infoname, "%s/info/%s.trashinfo", trashpath, fname); | ^~~~~~ In file included from /usr/include/stdio.h:888, from src/tuxpaint.c:181: /usr/include/bits/stdio2.h:38:10: note: ‘__builtin___sprintf_chk’ output 17 or more bytes (assuming 272) into a destination of size 256 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 40 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ src/tuxpaint.c:24619:24: warning: ‘/files/’ directive writing 7 bytes into a region of size between 1 and 256 [-Wformat-overflow=] 24619 | sprintf(dest, "%s/files/%s", trashpath, fname); | ^~~~~~~ In file included from /usr/include/stdio.h:888, from src/tuxpaint.c:181: /usr/include/bits/stdio2.h:38:10: note: ‘__builtin___sprintf_chk’ output 8 or more bytes (assuming 263) into a destination of size 256 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 40 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ src/tuxpaint.c:24620:28: warning: ‘/info/’ directive writing 6 bytes into a region of size between 1 and 256 [-Wformat-overflow=] 24620 | sprintf(infoname, "%s/info/%s.trashinfo", trashpath, fname); | ^~~~~~ In file included from /usr/include/stdio.h:888, from src/tuxpaint.c:181: /usr/include/bits/stdio2.h:38:10: note: ‘__builtin___sprintf_chk’ output 17 or more bytes (assuming 272) into a destination of size 256 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 40 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ src/tuxpaint.c: In function ‘load_starter.constprop’: src/tuxpaint.c:11461:42: warning: ‘%s’ directive output may be truncated writing up to 4095 bytes into a region of size 255 [-Wformat-truncation=] 11461 | snprintf(fname, sizeof(fname), "%s/%s", dirname, img_id); | ^~ In file included from /usr/include/stdio.h:888, from src/tuxpaint.c:181: /usr/include/bits/stdio2.h:71:10: note: ‘__builtin___snprintf_chk’ output 2 or more bytes (assuming 4097) into a destination of size 256 71 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 72 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 73 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ src/tuxpaint.c:11468:42: warning: ‘%s’ directive output may be truncated writing up to 4095 bytes into a region of size 255 [-Wformat-truncation=] 11468 | snprintf(fname, sizeof(fname), "%s/%s", dirname, img_id); | ^~ In file included from /usr/include/stdio.h:888, from src/tuxpaint.c:181: /usr/include/bits/stdio2.h:71:10: note: ‘__builtin___snprintf_chk’ output 2 or more bytes (assuming 4097) into a destination of size 256 71 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 72 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 73 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ src/tuxpaint.c:11475:42: warning: ‘%s’ directive output may be truncated writing up to 4095 bytes into a region of size 255 [-Wformat-truncation=] 11475 | snprintf(fname, sizeof(fname), "%s/%s", dirname, img_id); | ^~ In file included from /usr/include/stdio.h:888, from src/tuxpaint.c:181: /usr/include/bits/stdio2.h:71:10: note: ‘__builtin___snprintf_chk’ output 2 or more bytes (assuming 4097) into a destination of size 256 71 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 72 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 73 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ src/tuxpaint.c:11494:42: warning: ‘%s’ directive output may be truncated writing up to 4095 bytes into a region of size 255 [-Wformat-truncation=] 11494 | snprintf(fname, sizeof(fname), "%s/%s-back", dirname, img_id); | ^~ In file included from /usr/include/stdio.h:888, from src/tuxpaint.c:181: /usr/include/bits/stdio2.h:71:10: note: ‘__builtin___snprintf_chk’ output 7 or more bytes (assuming 4102) into a destination of size 256 71 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 72 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 73 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ src/tuxpaint.c:11502:42: warning: ‘%s’ directive output may be truncated writing up to 4095 bytes into a region of size 255 [-Wformat-truncation=] 11502 | snprintf(fname, sizeof(fname), "%s/%s-back", dirname, img_id); | ^~ In file included from /usr/include/stdio.h:888, from src/tuxpaint.c:181: /usr/include/bits/stdio2.h:71:10: note: ‘__builtin___snprintf_chk’ output 7 or more bytes (assuming 4102) into a destination of size 256 71 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 72 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 73 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ src/tuxpaint.c:11509:42: warning: ‘%s’ directive output may be truncated writing up to 4095 bytes into a region of size 255 [-Wformat-truncation=] 11509 | snprintf(fname, sizeof(fname), "%s/%s-back", dirname, img_id); | ^~ In file included from /usr/include/stdio.h:888, from src/tuxpaint.c:181: /usr/include/bits/stdio2.h:71:10: note: ‘__builtin___snprintf_chk’ output 7 or more bytes (assuming 4102) into a destination of size 256 71 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 72 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 73 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ src/tuxpaint.c:11516:42: warning: ‘%s’ directive output may be truncated writing up to 4095 bytes into a region of size 255 [-Wformat-truncation=] 11516 | snprintf(fname, sizeof(fname), "%s/%s-back", dirname, img_id); | ^~ In file included from /usr/include/stdio.h:888, from src/tuxpaint.c:181: /usr/include/bits/stdio2.h:71:10: note: ‘__builtin___snprintf_chk’ output 7 or more bytes (assuming 4102) into a destination of size 256 71 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 72 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 73 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ src/tuxpaint.c: In function ‘load_template.constprop’: src/tuxpaint.c:11636:38: warning: ‘%s’ directive output may be truncated writing up to 4095 bytes into a region of size 255 [-Wformat-truncation=] 11636 | snprintf(fname, sizeof(fname), "%s/%s", dirname, img_id); | ^~ In file included from /usr/include/stdio.h:888, from src/tuxpaint.c:181: /usr/include/bits/stdio2.h:71:10: note: ‘__builtin___snprintf_chk’ output 2 or more bytes (assuming 4097) into a destination of size 256 71 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 72 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 73 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ src/tuxpaint.c:11643:42: warning: ‘%s’ directive output may be truncated writing up to 4095 bytes into a region of size 255 [-Wformat-truncation=] 11643 | snprintf(fname, sizeof(fname), "%s/%s", dirname, img_id); | ^~ In file included from /usr/include/stdio.h:888, from src/tuxpaint.c:181: /usr/include/bits/stdio2.h:71:10: note: ‘__builtin___snprintf_chk’ output 2 or more bytes (assuming 4097) into a destination of size 256 71 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 72 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 73 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ src/tuxpaint.c:11651:42: warning: ‘%s’ directive output may be truncated writing up to 4095 bytes into a region of size 255 [-Wformat-truncation=] 11651 | snprintf(fname, sizeof(fname), "%s/%s", dirname, img_id); | ^~ In file included from /usr/include/stdio.h:888, from src/tuxpaint.c:181: /usr/include/bits/stdio2.h:71:10: note: ‘__builtin___snprintf_chk’ output 2 or more bytes (assuming 4097) into a destination of size 256 71 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 72 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 73 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ src/tuxpaint.c:11657:42: warning: ‘%s’ directive output may be truncated writing up to 4095 bytes into a region of size 255 [-Wformat-truncation=] 11657 | snprintf(fname, sizeof(fname), "%s/%s", dirname, img_id); | ^~ In file included from /usr/include/stdio.h:888, from src/tuxpaint.c:181: /usr/include/bits/stdio2.h:71:10: note: ‘__builtin___snprintf_chk’ output 2 or more bytes (assuming 4097) into a destination of size 256 71 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 72 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 73 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ src/tuxpaint.c:11664:42: warning: ‘%s’ directive output may be truncated writing up to 4095 bytes into a region of size 255 [-Wformat-truncation=] 11664 | snprintf(fname, sizeof(fname), "%s/%s", dirname, img_id); | ^~ In file included from /usr/include/stdio.h:888, from src/tuxpaint.c:181: /usr/include/bits/stdio2.h:71:10: note: ‘__builtin___snprintf_chk’ output 2 or more bytes (assuming 4097) into a destination of size 256 71 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 72 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 73 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ src/tuxpaint.c: In function ‘do_png_save’: src/tuxpaint.c:13693:23: warning: ‘%s’ directive writing up to 4095 bytes into a region of size 255 [-Wformat-overflow=] 13693 | sprintf(line, "T%s\n", template_id); | ^~ ~~~~~~~~~~~ In file included from /usr/include/stdio.h:888, from src/tuxpaint.c:181: /usr/include/bits/stdio2.h:38:10: note: ‘__builtin___sprintf_chk’ output between 3 and 4098 bytes into a destination of size 256 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 40 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ src/tuxpaint.c: In function ‘do_save.part.0’: src/tuxpaint.c:13150:37: warning: ‘%s’ directive output may be truncated writing up to 4095 bytes into a region of size 1018 [-Wformat-truncation=] 13150 | snprintf(tmp, sizeof(tmp), "saved/%s%s", file_id, FNAME_EXTENSION); | ^~ ~~~~~~~ In file included from /usr/include/stdio.h:888, from src/tuxpaint.c:181: /usr/include/bits/stdio2.h:71:10: note: ‘__builtin___snprintf_chk’ output between 11 and 4106 bytes into a destination of size 1024 71 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 72 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 73 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ src/tuxpaint.c:13182:37: warning: ‘%s’ directive output may be truncated writing up to 4095 bytes into a region of size 1018 [-Wformat-truncation=] 13182 | snprintf(tmp, sizeof(tmp), "saved/%s-t%s", file_id, FNAME_EXTENSION); | ^~ ~~~~~~~ In file included from /usr/include/stdio.h:888, from src/tuxpaint.c:181: /usr/include/bits/stdio2.h:71:10: note: ‘__builtin___snprintf_chk’ output between 13 and 4108 bytes into a destination of size 1024 71 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 72 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 73 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ src/tuxpaint.c:13194:49: warning: ‘%s’ directive output may be truncated writing up to 4095 bytes into a region of size 1010 [-Wformat-truncation=] 13194 | snprintf(tmp, sizeof(tmp), "saved/.thumbs/%s-t%s", file_id, FNAME_EXTENSION); | ^~ ~~~~~~~ In file included from /usr/include/stdio.h:888, from src/tuxpaint.c:181: /usr/include/bits/stdio2.h:71:10: note: ‘__builtin___snprintf_chk’ output between 21 and 4116 bytes into a destination of size 1024 71 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 72 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 73 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ ...Compiling i18n support... ...Compiling IM support... ...Compiling cursor support... ...Compiling pixel functions... ...Compiling RGB to Linear functions... ...Compiling sound playback functions... In file included from src/playsound.h:29, from src/playsound.c:25: src/sounds.h:81:20: warning: ‘sound_fnames’ defined but not used [-Wunused-variable] 81 | static const char *sound_fnames[NUM_SOUNDS] = { | ^~~~~~~~~~~~ ...Compiling font support... ...Generating the command-line and config file parser (STEP 1)... ...Generating the command-line and config file parser (STEP 2)... ...Compiling the command-line and config file parser... src/parse.gperf: In function ‘parse_one_option’: src/parse.gperf:302:45: warning: argument to ‘sizeof’ in ‘memcpy’ call is the same pointer type ‘char *’ as the destination; expected ‘char’ or an explicit length [-Wsizeof-pointer-memaccess] 302 | memcpy(offset+(char*)tmpcfg, &opt, sizeof(char*)); | ^~~~ ...Compiling flood fill tool... In file included from src/playsound.h:29, from src/fill.c:38: src/sounds.h:81:20: warning: ‘sound_fnames’ defined but not used [-Wunused-variable] 81 | static const char *sound_fnames[NUM_SOUNDS] = { | ^~~~~~~~~~~~ ...Compiling progress bar functions... ...Compiling directory-walking support... ...Compiling filename support... ...Compiling on screen keyboard support... ...Compiling PostScript print support... ...Linking Tux Paint... x86_64-pc-linux-gnu-gcc -O2 -W -Wall -fno-common -ffloat-store -fvisibility=hidden -Wcast-align -Wredundant-decls -Wbad-function-cast -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -Wstrict-aliasing=2 -pipe -march=native -fno-diagnostics-color -O2 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/fribidi -DVER_DATE=\"2021-08-14\" -DVER_VERSION=\"0.9.24\" -DDATA_PREFIX=\"/usr/share/tuxpaint/\" -DDOC_PREFIX=\"/usr/share/doc/tuxpaint-0.9.24/\" -DLOCALEDIR=\"/usr/share/locale/\" -DIMDIR=\"/usr/share/tuxpaint/im/\" -DCONFDIR=\"/etc/tuxpaint/\" -DMAGIC_PREFIX=\"/usr/lib/tuxpaint/plugins/\" \ -o tuxpaint obj/tuxpaint.o obj/i18n.o obj/im.o obj/cursor.o obj/pixels.o obj/rgblinear.o obj/playsound.o obj/fonts.o obj/parse.o obj/fill.o obj/progressbar.o obj/dirwalk.o obj/get_fname.o obj/onscreen_keyboard.o obj/postscript_print.o \ -lSDL -lpthread -lSDL_image -lSDL_ttf -lz -lpng -lSDL_mixer -lSDL_Pango -lrsvg-2 -lm -lgio-2.0 -lgdk_pixbuf-2.0 -lgobject-2.0 -lglib-2.0 -lcairo -lpaper -lfribidi /usr/lib/gcc/x86_64-pc-linux-gnu/11.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: obj/tuxpaint.o: in function `handle_joyaxismotion.part.0': tuxpaint.c:(.text+0x6a8b): undefined reference to `SDL_JoystickGetAxis' /usr/lib/gcc/x86_64-pc-linux-gnu/11.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: tuxpaint.c:(.text+0x6aa0): undefined reference to `SDL_JoystickGetAxis' /usr/lib/gcc/x86_64-pc-linux-gnu/11.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: obj/tuxpaint.o: in function `do_quit': tuxpaint.c:(.text+0x1294f): undefined reference to `SDL_JoystickClose' /usr/lib/gcc/x86_64-pc-linux-gnu/11.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: obj/tuxpaint.o: in function `main': tuxpaint.c:(.text.startup+0x114): undefined reference to `SDL_JoystickOpen' /usr/lib/gcc/x86_64-pc-linux-gnu/11.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: tuxpaint.c:(.text.startup+0x12e): undefined reference to `SDL_JoystickEventState' /usr/lib/gcc/x86_64-pc-linux-gnu/11.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: tuxpaint.c:(.text.startup+0x25ed): undefined reference to `SDL_NumJoysticks' /usr/lib/gcc/x86_64-pc-linux-gnu/11.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: tuxpaint.c:(.text.startup+0x261b): undefined reference to `SDL_JoystickName' /usr/lib/gcc/x86_64-pc-linux-gnu/11.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: tuxpaint.c:(.text.startup+0x263d): undefined reference to `SDL_NumJoysticks' collect2: error: ld returned 1 exit status make: *** [Makefile:1033: tuxpaint] Error 1 * ERROR: media-gfx/tuxpaint-0.9.24::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=media-gfx/tuxpaint-0.9.24::gentoo'`, * the complete build log and the output of `emerge -pqv '=media-gfx/tuxpaint-0.9.24::gentoo'`. * The complete build log is located at '/var/log/portage/media-gfx:tuxpaint-0.9.24:20210813-232130.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/media-gfx/tuxpaint-0.9.24/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/media-gfx/tuxpaint-0.9.24/temp/environment'. * Working directory: '/var/tmp/portage/media-gfx/tuxpaint-0.9.24/work/tuxpaint-0.9.24' * S: '/var/tmp/portage/media-gfx/tuxpaint-0.9.24/work/tuxpaint-0.9.24'