Cook: tuxpaint 0.9.23 ================================================================================ QA: checking package receipt... Checking build dependencies... Installing (pkg/local): libpng-1.6.36-i486 Installing (pkg/local): zlib-dev-1.2.11-any Installing (pkg/local): libpng-dev-1.6.36-i486 Installing (pkg/local): fribidi-1.0.9-i486 Installing (pkg/local): fribidi-dev-1.0.9-any md5sum: can't open 'librsvg-dev-2.42.2-i486.tazpkg': No such file or directory /usr/libexec/tazpkg/install: line 434: can't open /var/cache/tazpkg/next/packages/librsvg-dev-2.42.2-i486.tazpkg: no such file /usr/libexec/tazpkg/install: .: line 435: can't open './receipt': No such file or directory /usr/libexec/tazpkg/install: line 215: can't open /var/cache/tazpkg/next/packages/librsvg-dev-2.42.2-i486.tazpkg: no such file /usr/libexec/tazpkg/install: .: line 217: can't open '/tmp/tmp.eEWcj6/receipt': No such file or directory /usr/libexec/tazpkg/install: .: line 233: can't open '/tmp/tmp.eEWcj6/receipt.var': No such file or directory md5sum: can't open 'librsvg-2.42.2-i486.tazpkg': No such file or directory /usr/libexec/tazpkg/install: line 434: can't open /var/cache/tazpkg/next/packages/librsvg-2.42.2-i486.tazpkg: no such file /usr/libexec/tazpkg/install: .: line 435: can't open './receipt': No such file or directory /usr/libexec/tazpkg/install: line 215: can't open /var/cache/tazpkg/next/packages/librsvg-2.42.2-i486.tazpkg: no such file /usr/libexec/tazpkg/install: .: line 217: can't open '/tmp/tmp.lgyxqg/receipt': No such file or directory /usr/libexec/tazpkg/install: .: line 233: can't open '/tmp/tmp.lgyxqg/receipt.var': No such file or directory Installing (pkg/local): libpcre-8.42-i486 Installing (pkg/local): util-linux-smartcols-2.33.1-i486 Installing (pkg/local): util-linux-uuid-2.33.1-i486 Installing (pkg/local): util-linux-blkid-2.33.1-i486 Installing (pkg/local): util-linux-mount-2.33.1-i486 Installing (pkg/local): glib-2.64.3-i486 Installing (pkg/local): libharfbuzz-1.8.4-i486 Installing (pkg/local): freetype-2.10.2-i486 Installing (pkg/local): libxml2-2.9.9-i486 Installing (pkg/local): fontconfig-2.13.1-i486 Installing (pkg/local): libxau-1.0.8-i486 Installing (pkg/local): libxdmcp-1.1.2-i486 Installing (pkg/local): libxcb-1.13.1-i486 Installing (pkg/local): libx11-1.6.7-i486 Installing (pkg/local): pixman-0.36.0-i486 Installing (pkg/local): libcairo-1.16.0-i486 Installing (pkg/local): libxrender-0.9.10-i486 Installing (pkg/local): cairo-1.16.0-i486 Installing (pkg/local): bzip2-dev-1.0.8-i486 Installing (pkg/local): harfbuzz-1.8.4-i486 Installing (pkg/local): libpcre16-8.42-i486 Installing (pkg/local): libpcre32-8.42-i486 Installing (pkg/local): libpcrecpp-8.42-i486 Installing (pkg/local): libpcreposix-8.42-i486 Installing (pkg/local): pcre-8.42-any Installing (pkg/local): pcre-apps-8.42-i486 Installing (pkg/local): pcre-dev-8.42-any Installing (pkg/local): libgdbm-1.18.1-i486 Installing (pkg/local): perl-core-5.28.1-i486 Installing (pkg/local): perl-5.28.1-i486 Installing (pkg/local): util-linux-uuid-dev-2.33.1-any Installing (pkg/local): util-linux-blkid-dev-2.33.1-any Installing (pkg/local): util-linux-mount-dev-2.33.1-any Installing (pkg/local): glib-dev-2.64.3-i486 Installing (pkg/local): harfbuzz-dev-1.8.4-i486 Installing (pkg/local): freetype-dev-2.10.2-i486 Installing (pkg/local): xz-tools-5.2.4-i486 Installing (pkg/local): xz-dev-5.2.4-any Installing (pkg/local): libxml2-tools-2.9.9-i486 Installing (pkg/local): libxml2-dev-2.9.9-any Installing (pkg/local): fontconfig-dev-2.13.1-any Installing (pkg/local): xorgproto-2018.4-any Installing (pkg/local): libxau-dev-1.0.8-any Installing (pkg/local): libxdmcp-dev-1.1.2-any Installing (pkg/local): libxcb-dev-1.13.1-any Installing (pkg/local): libx11-dev-1.6.7-any Installing (pkg/local): libxext-1.3.3-i486 Installing (pkg/local): libxext-dev-1.3.3-any Installing (pkg/local): libxrender-dev-0.9.10-any Installing (pkg/local): pixman-dev-0.36.0-any Installing (pkg/local): cairo-dev-1.16.0-any Installing (pkg/local): tslib-1.18-i486 Installing (pkg/local): sdl-1.2.15-i486 Installing (pkg/local): tslib-dev-1.18-any Installing (pkg/local): sdl-dev-1.2.15-i486 Installing (pkg/local): alsa-lib-1.2.3-i486 Installing (pkg/local): dbus-1.12.18-i486 Installing (pkg/local): eudev-3.2.9-i486 Installing (pkg/local): libltdl-2.4.6-i486 Installing (pkg/local): libogg-1.3.3-i486 Installing (pkg/local): flac-1.3.3-i486 Installing (pkg/local): libvorbis-1.3.6-i486 Installing (pkg/local): libsndfile-1.0.28-i486 Installing (pkg/local): speexdsp-1.2rc3-i486 Installing (pkg/local): libice-1.0.9-i486 Installing (pkg/local): libsm-1.2.3-i486 Installing (pkg/local): libxtst-1.2.3-i486 Installing (pkg/local): pulseaudio-12.2-i486 Installing (pkg/local): libdb-6.2.32-i486 Installing (pkg/local): libsamplerate-0.1.9-i486 Installing (pkg/local): jack-0.125.0-i486 Installing (pkg/local): ladspa-1.13-i486 Installing (pkg/local): fluidsynth-1.1.8-i486 Installing (pkg/local): sdl-mixer-1.2.12-i486 Installing (pkg/local): fluidsynth-dev-1.1.8-i486 Installing (pkg/local): sdl-mixer-dev-1.2.12-any Installing (pkg/local): libxft-2.3.2-i486 Installing (pkg/local): pango-1.42.4-i486 Installing (pkg/local): sdl-pango-0.1.2-i486 Installing (pkg/local): libffi-dev-3.2.1-i486 Installing (pkg/local): pango-typelib-1.42.4-i486 Installing (pkg/local): libxft-dev-2.3.2-any Installing (pkg/local): pango-dev-1.42.4-any Installing (pkg/local): sdl-pango-dev-0.1.2-i486 Installing (pkg/local): sdl-image-1.2.12-i486 Installing (pkg/local): sdl-image-dev-1.2.12-any Installing (pkg/local): sdl-ttf-2.0.11-i486 Installing (pkg/local): sdl-ttf-dev-2.0.11-any Installing (pkg/local): libpaper-1.1.24+nmu5-i486 Installing (pkg/local): libpaper-dev-1.1.24+nmu5-any Installing (pkg/local): python-dev-2.7.15-i486 Installing (pkg/local): libcroco-0.6.12-i486 Installing (pkg/local): gettext-0.19.8.1-i486 Installing (pkg/local): gettext-dev-0.19.8.1-i486 Installing (pkg/local): gperf-3.1-i486 Extracting source archive "tuxpaint-0.9.23.tar.gz" Executing: compile_rules CFLAGS : -march=i486 -Os -pipe -mindirect-branch=thunk CXXLAGS : -march=i486 -Os -pipe -mindirect-branch=thunk CPPFLAGS : -D_GLIBCXX_USE_C99_MATH=1 LDFLAGS : -Wl,-Os,--as-needed Package librsvg-2.0 was not found in the pkg-config search path. Perhaps you should add the directory containing `librsvg-2.0.pc' to the PKG_CONFIG_PATH environment variable No package 'librsvg-2.0' found Package libsvg-cairo was not found in the pkg-config search path. Perhaps you should add the directory containing `libsvg-cairo.pc' to the PKG_CONFIG_PATH environment variable No package 'libsvg-cairo' found Package librsvg-2.0 was not found in the pkg-config search path. Perhaps you should add the directory containing `librsvg-2.0.pc' to the PKG_CONFIG_PATH environment variable No package 'librsvg-2.0' found Package libsvg-cairo was not found in the pkg-config search path. Perhaps you should add the directory containing `libsvg-cairo.pc' to the PKG_CONFIG_PATH environment variable No package 'libsvg-cairo' found Makefile:231: No SVG for you! ...Generating 'Magic' tool API development header file... ...Compiling cursor support... ...Compiling i18n support... ...Compiling IM support... ...Compiling pixel functions... ...Compiling RGB to Linear functions... ...Compiling sound playback functions... ...Compiling font support... src/i18n.c: In function 'set_current_language': src/i18n.c:987:7: warning: unused variable 'y_nudge' [-Wunused-variable] int y_nudge = 0; ^~~~~~~ In file included from src/playsound.h:29, from src/playsound.c:25: src/sounds.h:80:20: warning: 'sound_fnames' defined but not used [-Wunused-variable] static const char *sound_fnames[NUM_SOUNDS] = { ^~~~~~~~~~~~ src/im.c: In function 'im_event_zh_tw': src/im.c:907:7: warning: this statement may fall through [-Wimplicit-fallthrough=] charmap_free(&cm); ^~~~~~~~~~~~~~~~~ src/im.c:910:5: note: here case IM_REQ_RESET_FULL: /* Full reset */ ^~~~ src/im.c:912:20: warning: this statement may fall through [-Wimplicit-fallthrough=] im->tip_text = im_tip_text[IM_TIP_ENGLISH]; ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/im.c:915:5: note: here case IM_REQ_RESET_SOFT: /* Soft reset */ ^~~~ src/im.c: In function 'im_event_th': src/im.c:1126:7: warning: this statement may fall through [-Wimplicit-fallthrough=] charmap_free(&cm); ^~~~~~~~~~~~~~~~~ src/im.c:1129:5: note: here case IM_REQ_RESET_FULL: /* Full reset */ ^~~~ src/im.c:1131:20: warning: this statement may fall through [-Wimplicit-fallthrough=] im->tip_text = im_tip_text[IM_TIP_ENGLISH]; ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/im.c:1134:5: note: here case IM_REQ_RESET_SOFT: /* Soft reset */ ^~~~ src/im.c: In function 'im_event_ko': src/im.c:1592:7: warning: this statement may fall through [-Wimplicit-fallthrough=] charmap_free(&cm); ^~~~~~~~~~~~~~~~~ src/im.c:1595:5: note: here case IM_REQ_RESET_FULL: /* Full reset */ ^~~~ src/im.c:1597:20: warning: this statement may fall through [-Wimplicit-fallthrough=] im->tip_text = im_tip_text[IM_TIP_ENGLISH]; ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/im.c:1600:5: note: here case IM_REQ_RESET_SOFT: /* Soft reset */ ^~~~ src/im.c:1677:10: warning: this statement may fall through [-Wimplicit-fallthrough=] if (wcslen(im->buf) > 0) ^ src/im.c:1687:5: note: here default: ^~~~~~~ src/im.c: In function 'im_event_ja': src/im.c:1345:7: warning: this statement may fall through [-Wimplicit-fallthrough=] charmap_free(&cm); ^~~~~~~~~~~~~~~~~ src/im.c:1348:5: note: here case IM_REQ_RESET_FULL: /* Full reset */ ^~~~ src/im.c:1350:20: warning: this statement may fall through [-Wimplicit-fallthrough=] im->tip_text = im_tip_text[IM_TIP_ENGLISH]; ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/im.c:1353:5: note: here case IM_REQ_RESET_SOFT: /* Soft reset */ ^~~~ ...Generating the command-line and config file parser (STEP 1)... ...Compiling progress bar functions... ...Compiling directory-walking support... ...Compiling filename support... ...Compiling on screen keyboard support... ...Compiling PostScript print support... ...Preparing translation files... msgfmt -o trans/ak.mo src/po/ak.po msgfmt -o trans/ar.mo src/po/ar.po src/onscreen_keyboard.c: In function 'load_layout': src/onscreen_keyboard.c:208:7: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(line, 1023, fi); ^~~~~~~~~~~~~~~~~~~~~ src/onscreen_keyboard.c: In function 'load_hlayout': src/onscreen_keyboard.c:345:7: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(line, 1023, fi); ^~~~~~~~~~~~~~~~~~~~~ src/onscreen_keyboard.c: In function 'load_keymap': src/onscreen_keyboard.c:505:7: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(line, 1023, fi); ^~~~~~~~~~~~~~~~~~~~~ src/onscreen_keyboard.c: In function 'load_composemap': src/onscreen_keyboard.c:687:7: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(line, 1023, fi); ^~~~~~~~~~~~~~~~~~~~~ src/onscreen_keyboard.c: In function 'load_keysymdefs': src/onscreen_keyboard.c:792:7: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(line, 1023, fi); ^~~~~~~~~~~~~~~~~~~~~ msgfmt -o trans/ms.mo src/po/ms.po msgfmt -o trans/ml.mo src/po/ml.po msgfmt -o trans/nso.mo src/po/nso.po msgfmt -o trans/ta.mo src/po/ta.po msgfmt -o trans/bg.mo src/po/bg.po msgfmt -o trans/gos.mo src/po/gos.po msgfmt -o trans/be.mo src/po/be.po msgfmt -o trans/nl.mo src/po/nl.po msgfmt -o trans/en_CA.mo src/po/en_CA.po msgfmt -o trans/kn.mo src/po/kn.po msgfmt -o trans/de.mo src/po/de.po msgfmt -o trans/pt_BR.mo src/po/pt_BR.po msgfmt -o trans/ja.mo src/po/ja.po msgfmt -o trans/br.mo src/po/br.po msgfmt -o trans/gd.mo src/po/gd.po msgfmt -o trans/lg.mo src/po/lg.po msgfmt -o trans/nb.mo src/po/nb.po msgfmt -o trans/id.mo src/po/id.po msgfmt -o trans/hr.mo src/po/hr.po msgfmt -o trans/he.mo src/po/he.po msgfmt -o trans/fr.mo src/po/fr.po msgfmt -o trans/en_GB.mo src/po/en_GB.po msgfmt -o trans/bn.mo src/po/bn.po msgfmt -o trans/eu.mo src/po/eu.po msgfmt -o trans/az.mo src/po/az.po msgfmt -o trans/cgg.mo src/po/cgg.po msgfmt -o trans/cy.mo src/po/cy.po msgfmt -o trans/sq.mo src/po/sq.po msgfmt -o trans/hy.mo src/po/hy.po msgfmt -o trans/sw.mo src/po/sw.po msgfmt -o trans/lb.mo src/po/lb.po msgfmt -o trans/en_ZA.mo src/po/en_ZA.po msgfmt -o trans/sr.mo src/po/sr.po msgfmt -o trans/nr.mo src/po/nr.po msgfmt -o trans/wa.mo src/po/wa.po msgfmt -o trans/rw.mo src/po/rw.po msgfmt -o trans/doi.mo src/po/doi.po msgfmt -o trans/or.mo src/po/or.po msgfmt -o trans/it.mo src/po/it.po msgfmt -o trans/lt.mo src/po/lt.po msgfmt -o trans/si.mo src/po/si.po msgfmt -o trans/mk.mo src/po/mk.po msgfmt -o trans/ca.mo src/po/ca.po msgfmt -o trans/da.mo src/po/da.po msgfmt -o trans/vi.mo src/po/vi.po msgfmt -o trans/sat@olchiki.mo src/po/sat@olchiki.po msgfmt -o trans/ff.mo src/po/ff.po msgfmt -o trans/fa.mo src/po/fa.po msgfmt -o trans/sl.mo src/po/sl.po msgfmt -o trans/ga.mo src/po/ga.po msgfmt -o trans/tr.mo src/po/tr.po msgfmt -o trans/tw.mo src/po/tw.po msgfmt -o trans/ur.mo src/po/ur.po msgfmt -o trans/ca@valencia.mo src/po/ca@valencia.po msgfmt -o trans/ka.mo src/po/ka.po msgfmt -o trans/nn.mo src/po/nn.po msgfmt -o trans/oj.mo src/po/oj.po msgfmt -o trans/ku.mo src/po/ku.po msgfmt -o trans/te.mo src/po/te.po msgfmt -o trans/eo.mo src/po/eo.po msgfmt -o trans/en_AU.mo src/po/en_AU.po msgfmt -o trans/gu.mo src/po/gu.po msgfmt -o trans/af.mo src/po/af.po msgfmt -o trans/sa.mo src/po/sa.po msgfmt -o trans/vec.mo src/po/vec.po msgfmt -o trans/el.mo src/po/el.po msgfmt -o trans/sd@devanagari.mo src/po/sd@devanagari.po msgfmt -o trans/zh_TW.mo src/po/zh_TW.po msgfmt -o trans/ru.mo src/po/ru.po msgfmt -o trans/zam.mo src/po/zam.po msgfmt -o trans/sk.mo src/po/sk.po msgfmt -o trans/sat.mo src/po/sat.po msgfmt -o trans/zh_CN.mo src/po/zh_CN.po msgfmt -o trans/mni.mo src/po/mni.po msgfmt -o trans/ve.mo src/po/ve.po msgfmt -o trans/am.mo src/po/am.po msgfmt -o trans/son.mo src/po/son.po msgfmt -o trans/ko.mo src/po/ko.po msgfmt -o trans/bm.mo src/po/bm.po msgfmt -o trans/hi.mo src/po/hi.po msgfmt -o trans/as.mo src/po/as.po msgfmt -o trans/uk.mo src/po/uk.po msgfmt -o trans/hu.mo src/po/hu.po msgfmt -o trans/bs.mo src/po/bs.po msgfmt -o trans/ach.mo src/po/ach.po msgfmt -o trans/mni@meiteimayek.mo src/po/mni@meiteimayek.po msgfmt -o trans/xh.mo src/po/xh.po msgfmt -o trans/mn.mo src/po/mn.po msgfmt -o trans/cs.mo src/po/cs.po msgfmt -o trans/gl.mo src/po/gl.po msgfmt -o trans/lv.mo src/po/lv.po msgfmt -o trans/brx.mo src/po/brx.po msgfmt -o trans/iu.mo src/po/iu.po msgfmt -o trans/th.mo src/po/th.po msgfmt -o trans/ks@devanagari.mo src/po/ks@devanagari.po msgfmt -o trans/sr@latin.mo src/po/sr@latin.po msgfmt -o trans/es_MX.mo src/po/es_MX.po msgfmt -o trans/fo.mo src/po/fo.po msgfmt -o trans/sd.mo src/po/sd.po msgfmt -o trans/es.mo src/po/es.po msgfmt -o trans/ne.mo src/po/ne.po msgfmt -o trans/ast.mo src/po/ast.po msgfmt -o trans/wo.mo src/po/wo.po msgfmt -o trans/pt.mo src/po/pt.po msgfmt -o trans/kok@roman.mo src/po/kok@roman.po msgfmt -o trans/km.mo src/po/km.po msgfmt -o trans/shs.mo src/po/shs.po msgfmt -o trans/ro.mo src/po/ro.po msgfmt -o trans/is.mo src/po/is.po msgfmt -o trans/tlh.mo src/po/tlh.po msgfmt -o trans/pl.mo src/po/pl.po msgfmt -o trans/oc.mo src/po/oc.po msgfmt -o trans/pa.mo src/po/pa.po msgfmt -o trans/et.mo src/po/et.po msgfmt -o trans/tl.mo src/po/tl.po msgfmt -o trans/fi.mo src/po/fi.po msgfmt -o trans/mai.mo src/po/mai.po msgfmt -o trans/kok.mo src/po/kok.po msgfmt -o trans/mr.mo src/po/mr.po msgfmt -o trans/sv.mo src/po/sv.po msgfmt -o trans/ks.mo src/po/ks.po msgfmt -o trans/kab.mo src/po/kab.po msgfmt -o trans/an.mo src/po/an.po msgfmt -o trans/bo.mo src/po/bo.po msgfmt -o trans/su.mo src/po/su.po msgfmt -o trans/zu.mo src/po/zu.po cc -g3 -O2 -fno-common -W -Wstrict-prototypes -Wmissing-prototypes -Wall -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -Isrc/ -shared -fpic -o magic/string.so magic/src/string.c cc -g3 -O2 -fno-common -W -Wstrict-prototypes -Wmissing-prototypes -Wall -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -Isrc/ -shared -fpic -o magic/tint.so magic/src/tint.c cc -g3 -O2 -fno-common -W -Wstrict-prototypes -Wmissing-prototypes -Wall -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -Isrc/ -shared -fpic -o magic/xor.so magic/src/xor.c cc -g3 -O2 -fno-common -W -Wstrict-prototypes -Wmissing-prototypes -Wall -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -Isrc/ -shared -fpic -o magic/fold.so magic/src/fold.c cc -g3 -O2 -fno-common -W -Wstrict-prototypes -Wmissing-prototypes -Wall -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -Isrc/ -shared -fpic -o magic/emboss.so magic/src/emboss.c cc -g3 -O2 -fno-common -W -Wstrict-prototypes -Wmissing-prototypes -Wall -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -Isrc/ -shared -fpic -o magic/sharpen.so magic/src/sharpen.c magic/src/string.c: In function 'string_draw_triangle_preview': magic/src/string.c:356:10: warning: variable 'h' set but not used [-Wunused-but-set-variable] int w, h; ^ magic/src/string.c:356:7: warning: variable 'w' set but not used [-Wunused-but-set-variable] int w, h; ^ magic/src/string.c: In function 'string_draw_angle_preview': magic/src/string.c:390:10: warning: variable 'h' set but not used [-Wunused-but-set-variable] int w, h; ^ magic/src/string.c:390:7: warning: variable 'w' set but not used [-Wunused-but-set-variable] int w, h; ^ magic/src/emboss.c: In function 'do_emboss': magic/src/emboss.c:117:10: warning: variable 'g' set but not used [-Wunused-but-set-variable] int r, g, b; ^ magic/src/fold.c: In function 'fold_draw': magic/src/fold.c:180:9: warning: 'right_x' may be used uninitialized in this function [-Wmaybe-uninitialized] api->line((void *)api, which, canvas, temp, left_arm_x - fold_shadow_value, 0, right_x - fold_shadow_value, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ canvas->h, 1, fold_shadow); ~~~~~~~~~~~~~~~~~~~~~~~~~~ magic/src/fold.c:173:9: warning: 'left_y' may be used uninitialized in this function [-Wmaybe-uninitialized] api->line((void *)api, which, canvas, temp, canvas->w, left_y - fold_shadow_value, 0, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ right_arm_y - fold_shadow_value, 1, fold_shadow); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -g3 -O2 -fno-common -W -Wstrict-prototypes -Wmissing-prototypes -Wall -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -Isrc/ -shared -fpic -o magic/glasstile.so magic/src/glasstile.c cc -g3 -O2 -fno-common -W -Wstrict-prototypes -Wmissing-prototypes -Wall -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -Isrc/ -shared -fpic -o magic/fill.so magic/src/fill.c cc -g3 -O2 -fno-common -W -Wstrict-prototypes -Wmissing-prototypes -Wall -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -Isrc/ -shared -fpic -o magic/smudge.so magic/src/smudge.c cc -g3 -O2 -fno-common -W -Wstrict-prototypes -Wmissing-prototypes -Wall -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -Isrc/ -shared -fpic -o magic/mirror_flip.so magic/src/mirror_flip.c cc -g3 -O2 -fno-common -W -Wstrict-prototypes -Wmissing-prototypes -Wall -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -Isrc/ -shared -fpic -o magic/snow.so magic/src/snow.c cc -g3 -O2 -fno-common -W -Wstrict-prototypes -Wmissing-prototypes -Wall -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -Isrc/ -shared -fpic -o magic/blur.so magic/src/blur.c cc -g3 -O2 -fno-common -W -Wstrict-prototypes -Wmissing-prototypes -Wall -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -Isrc/ -shared -fpic -o magic/realrainbow.so magic/src/realrainbow.c cc -g3 -O2 -fno-common -W -Wstrict-prototypes -Wmissing-prototypes -Wall -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -Isrc/ -shared -fpic -o magic/shift.so magic/src/shift.c cc -g3 -O2 -fno-common -W -Wstrict-prototypes -Wmissing-prototypes -Wall -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -Isrc/ -shared -fpic -o magic/foam.so magic/src/foam.c cc -g3 -O2 -fno-common -W -Wstrict-prototypes -Wmissing-prototypes -Wall -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -Isrc/ -shared -fpic -o magic/bricks.so magic/src/bricks.c cc -g3 -O2 -fno-common -W -Wstrict-prototypes -Wmissing-prototypes -Wall -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -Isrc/ -shared -fpic -o magic/blind.so magic/src/blind.c cc -g3 -O2 -fno-common -W -Wstrict-prototypes -Wmissing-prototypes -Wall -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -Isrc/ -shared -fpic -o magic/tornado.so magic/src/tornado.c cc -g3 -O2 -fno-common -W -Wstrict-prototypes -Wmissing-prototypes -Wall -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -Isrc/ -shared -fpic -o magic/rain.so magic/src/rain.c cc -g3 -O2 -fno-common -W -Wstrict-prototypes -Wmissing-prototypes -Wall -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -Isrc/ -shared -fpic -o magic/confetti.so magic/src/confetti.c cc -g3 -O2 -fno-common -W -Wstrict-prototypes -Wmissing-prototypes -Wall -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -Isrc/ -shared -fpic -o magic/toothpaste.so magic/src/toothpaste.c cc -g3 -O2 -fno-common -W -Wstrict-prototypes -Wmissing-prototypes -Wall -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -Isrc/ -shared -fpic -o magic/rosette.so magic/src/rosette.c cc -g3 -O2 -fno-common -W -Wstrict-prototypes -Wmissing-prototypes -Wall -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -Isrc/ -shared -fpic -o magic/cartoon.so magic/src/cartoon.c cc -g3 -O2 -fno-common -W -Wstrict-prototypes -Wmissing-prototypes -Wall -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -Isrc/ -shared -fpic -o magic/distortion.so magic/src/distortion.c cc -g3 -O2 -fno-common -W -Wstrict-prototypes -Wmissing-prototypes -Wall -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -Isrc/ -shared -fpic -o magic/rails.so magic/src/rails.c cc -g3 -O2 -fno-common -W -Wstrict-prototypes -Wmissing-prototypes -Wall -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -Isrc/ -shared -fpic -o magic/perspective.so magic/src/perspective.c cc -g3 -O2 -fno-common -W -Wstrict-prototypes -Wmissing-prototypes -Wall -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -Isrc/ -shared -fpic -o magic/halftone.so magic/src/halftone.c magic/src/rails.c:215:8: warning: 'rails_math_ceil' is static but used in inline function 'rails_get_segment' which is not static yy = rails_math_ceil(y, img_h); ^~~~~~~~~~~~~~~ magic/src/rails.c:214:8: warning: 'rails_math_ceil' is static but used in inline function 'rails_get_segment' which is not static xx = rails_math_ceil(x, img_w); ^~~~~~~~~~~~~~~ cc -g3 -O2 -fno-common -W -Wstrict-prototypes -Wmissing-prototypes -Wall -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -Isrc/ -shared -fpic -o magic/fretwork.so magic/src/fretwork.c cc -g3 -O2 -fno-common -W -Wstrict-prototypes -Wmissing-prototypes -Wall -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -Isrc/ -shared -fpic -o magic/flower.so magic/src/flower.c magic/src/perspective.c: In function 'perspective_release': magic/src/perspective.c:399:24: warning: variable 'aux_y' set but not used [-Wunused-but-set-variable] int aux_x, aux_y, aux_h, aux_w; ^~~~~ magic/src/perspective.c:399:17: warning: variable 'aux_x' set but not used [-Wunused-but-set-variable] int aux_x, aux_y, aux_h, aux_w; ^~~~~ At top level: magic/src/perspective.c:91:21: warning: 'perspective_SHARPEN' defined but not used [-Wunused-const-variable=] static const double perspective_SHARPEN = 1.0; ^~~~~~~~~~~~~~~~~~~ magic/src/perspective.c:90:18: warning: 'perspective_RADIUS' defined but not used [-Wunused-const-variable=] static const int perspective_RADIUS = 16; ^~~~~~~~~~~~~~~~~~ magic/src/perspective.c:89:18: warning: 'perspective_AMOUNT' defined but not used [-Wunused-const-variable=] static const int perspective_AMOUNT = 300; ^~~~~~~~~~~~~~~~~~ magic/src/fretwork.c:260:8: warning: 'fretwork_math_ceil' is static but used in inline function 'fretwork_get_segment' which is not static yy = fretwork_math_ceil(y, img_h); ^~~~~~~~~~~~~~~~~~ magic/src/fretwork.c:259:8: warning: 'fretwork_math_ceil' is static but used in inline function 'fretwork_get_segment' which is not static xx = fretwork_math_ceil(x, img_w); ^~~~~~~~~~~~~~~~~~ cc -g3 -O2 -fno-common -W -Wstrict-prototypes -Wmissing-prototypes -Wall -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -Isrc/ -shared -fpic -o magic/fisheye.so magic/src/fisheye.c cc -g3 -O2 -fno-common -W -Wstrict-prototypes -Wmissing-prototypes -Wall -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -Isrc/ -shared -fpic -o magic/fade_darken.so magic/src/fade_darken.c cc -g3 -O2 -fno-common -W -Wstrict-prototypes -Wmissing-prototypes -Wall -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -Isrc/ -shared -fpic -o magic/tv.so magic/src/tv.c cc -g3 -O2 -fno-common -W -Wstrict-prototypes -Wmissing-prototypes -Wall -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -Isrc/ -shared -fpic -o magic/light.so magic/src/light.c cc -g3 -O2 -fno-common -W -Wstrict-prototypes -Wmissing-prototypes -Wall -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -Isrc/ -shared -fpic -o magic/ripples.so magic/src/ripples.c cc -g3 -O2 -fno-common -W -Wstrict-prototypes -Wmissing-prototypes -Wall -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -Isrc/ -shared -fpic -o magic/metalpaint.so magic/src/metalpaint.c cc -g3 -O2 -fno-common -W -Wstrict-prototypes -Wmissing-prototypes -Wall -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -Isrc/ -shared -fpic -o magic/grass.so magic/src/grass.c cc -g3 -O2 -fno-common -W -Wstrict-prototypes -Wmissing-prototypes -Wall -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -Isrc/ -shared -fpic -o magic/blocks_chalk_drip.so magic/src/blocks_chalk_drip.c cc -g3 -O2 -fno-common -W -Wstrict-prototypes -Wmissing-prototypes -Wall -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -Isrc/ -shared -fpic -o magic/kalidescope.so magic/src/kalidescope.c cc -g3 -O2 -fno-common -W -Wstrict-prototypes -Wmissing-prototypes -Wall -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -Isrc/ -shared -fpic -o magic/waves.so magic/src/waves.c cc -g3 -O2 -fno-common -W -Wstrict-prototypes -Wmissing-prototypes -Wall -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -Isrc/ -shared -fpic -o magic/rainbow.so magic/src/rainbow.c cc -g3 -O2 -fno-common -W -Wstrict-prototypes -Wmissing-prototypes -Wall -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -Isrc/ -shared -fpic -o magic/negative.so magic/src/negative.c cc -g3 -O2 -fno-common -W -Wstrict-prototypes -Wmissing-prototypes -Wall -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -Isrc/ -shared -fpic -o magic/mosaic_shaped.so magic/src/mosaic_shaped.c cc -g3 -O2 -fno-common -W -Wstrict-prototypes -Wmissing-prototypes -Wall -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -Isrc/ -shared -fpic -o magic/alien.so magic/src/alien.c cc -g3 -O2 -fno-common -W -Wstrict-prototypes -Wmissing-prototypes -Wall -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -Isrc/ -shared -fpic -o magic/mosaic.so magic/src/mosaic.c cc -g3 -O2 -fno-common -W -Wstrict-prototypes -Wmissing-prototypes -Wall -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -Isrc/ -shared -fpic -o magic/calligraphy.so magic/src/calligraphy.c cc -g3 -O2 -fno-common -W -Wstrict-prototypes -Wmissing-prototypes -Wall -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -Isrc/ -shared -fpic -o magic/noise.so magic/src/noise.c magic/src/alien.c: In function 'do_alien_full': magic/src/alien.c:172:14: warning: unused variable 'api' [-Wunused-variable] magic_api *api = (magic_api *) ptr; ^~~ magic/src/calligraphy.c: In function 'calligraphy_drag': magic/src/calligraphy.c:140:10: warning: variable 'colr' set but not used [-Wunused-but-set-variable] Uint32 colr; ^~~~ cc -g3 -O2 -fno-common -W -Wstrict-prototypes -Wmissing-prototypes -Wall -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -Isrc/ -shared -fpic -o magic/puzzle.so magic/src/puzzle.c ...Generating 'Magic' tool API configuration script... ...Compiling Tux Paint from source... cc -D_GLIBCXX_USE_C99_MATH=1 -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 -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/fribidi -Isrc/mouse -DLARGE_CURSOR_SHAPES -DVER_DATE=\"2020-09-13\" -DVER_VERSION=\"0.9.23\" -DDATA_PREFIX=\"/usr/share/tuxpaint/\" -DDOC_PREFIX=\"/usr/share/doc/tuxpaint-0.9.23/\" -DLOCALEDIR=\"/usr/share/locale/\" -DIMDIR=\"/usr/share/tuxpaint/im/\" -DCONFDIR=\"/etc/tuxpaint/\" -DMAGIC_PREFIX=\"/usr/lib/tuxpaint/plugins/\" -DNOSVG \ -c src/tuxpaint.c -o obj/tuxpaint.o ...Generating the command-line and config file parser (STEP 2)... ...Compiling the command-line and config file parser... src/parse.gperf: In function 'imm_version': src/parse.gperf:42:3: warning: implicit declaration of function 'show_version'; did you mean 'imm_version'? [-Wimplicit-function-declaration] show_version(0); ^~~~~~~~~~~~ imm_version src/parse.gperf: In function 'imm_usage': src/parse.gperf:52:3: warning: implicit declaration of function 'show_usage'; did you mean 'imm_usage'? [-Wimplicit-function-declaration] show_usage(0); ^~~~~~~~~~ imm_usage src/parse.gperf: In function 'parse_one_option': src/parse.gperf:295: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] memcpy(offset+(char*)tmpcfg, &opt, sizeof(char*)); ^~~~ src/tuxpaint.c:1255:39: error: 'FALSE' undeclared here (not in a function); did you mean 'FILE'? static int coming_from_undo_or_redo = FALSE; ^~~~~ FILE src/tuxpaint.c: In function 'mainloop': src/tuxpaint.c:2393:56: error: 'TRUE' undeclared (first use in this function) have_to_rec_label_node = TRUE; ^~~~ src/tuxpaint.c:2393:56: note: each undeclared identifier is reported only once for each function it appears in src/tuxpaint.c: At top level: src/tuxpaint.c:7605:5: warning: no previous prototype for 'generate_fontconfig_cache_spinner' [-Wmissing-prototypes] int generate_fontconfig_cache_spinner(SDL_Surface * screen) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/tuxpaint.c: In function 'generate_fontconfig_cache': src/tuxpaint.c:7688:44: warning: unused parameter 'vp' [-Wunused-parameter] static int generate_fontconfig_cache(void *vp) ~~~~~~^~ src/tuxpaint.c: In function 'thumbnail2': src/tuxpaint.c:9295:17: warning: unused variable 'gamma_invert' [-Wunused-variable] float gamma_invert = 1.0 / gamma; ^~~~~~~~~~~~ src/tuxpaint.c: In function 'load_starter_id': src/tuxpaint.c:11290:19: warning: assignment to 'int' from 'char *' makes integer from pointer without a cast [-Wint-conversion] tmp = fgets(template_id, sizeof(template_id), fi); ^ src/tuxpaint.c:11232:16: warning: variable 'tmp' set but not used [-Wunused-but-set-variable] int r, g, b, tmp; ^~~ src/tuxpaint.c: In function 'load_starter_helper': src/tuxpaint.c:11331:21: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] for (i = 0; i < strlen(ext); i++) ^ src/tuxpaint.c: In function 'load_starter': src/tuxpaint.c:11381:45: warning: passing argument 2 of 'load_starter_helper' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] tmp_surf = load_starter_helper(fname, "png", &IMG_Load); ^~~~~ src/tuxpaint.c:11318:72: note: expected 'char *' but argument is of type 'const char *' static SDL_Surface *load_starter_helper(char *path_and_basename, char *extension, SDL_Surface * (*load_func) (char *)) ~~~~~~^~~~~~~~~ src/tuxpaint.c:11381:52: warning: passing argument 3 of 'load_starter_helper' from incompatible pointer type [-Wincompatible-pointer-types] tmp_surf = load_starter_helper(fname, "png", &IMG_Load); ^~~~~~~~~ src/tuxpaint.c:11318:99: note: expected 'SDL_Surface * (*)(char *)' {aka 'struct SDL_Surface * (*)(char *)'} but argument is of type 'SDL_Surface * (*)(const char *)' {aka 'struct SDL_Surface * (*)(const char *)'} static SDL_Surface *load_starter_helper(char *path_and_basename, char *extension, SDL_Surface * (*load_func) (char *)) ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ src/tuxpaint.c:11388:45: warning: passing argument 2 of 'load_starter_helper' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] tmp_surf = load_starter_helper(fname, "kpx", &myIMG_Load); ^~~~~ src/tuxpaint.c:11318:72: note: expected 'char *' but argument is of type 'const char *' static SDL_Surface *load_starter_helper(char *path_and_basename, char *extension, SDL_Surface * (*load_func) (char *)) ~~~~~~^~~~~~~~~ src/tuxpaint.c:11415:45: warning: passing argument 2 of 'load_starter_helper' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] tmp_surf = load_starter_helper(fname, "jpeg", &IMG_Load); ^~~~~~ src/tuxpaint.c:11318:72: note: expected 'char *' but argument is of type 'const char *' static SDL_Surface *load_starter_helper(char *path_and_basename, char *extension, SDL_Surface * (*load_func) (char *)) ~~~~~~^~~~~~~~~ src/tuxpaint.c:11415:53: warning: passing argument 3 of 'load_starter_helper' from incompatible pointer type [-Wincompatible-pointer-types] tmp_surf = load_starter_helper(fname, "jpeg", &IMG_Load); ^~~~~~~~~ src/tuxpaint.c:11318:99: note: expected 'SDL_Surface * (*)(char *)' {aka 'struct SDL_Surface * (*)(char *)'} but argument is of type 'SDL_Surface * (*)(const char *)' {aka 'struct SDL_Surface * (*)(const char *)'} static SDL_Surface *load_starter_helper(char *path_and_basename, char *extension, SDL_Surface * (*load_func) (char *)) ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ src/tuxpaint.c:11422:45: warning: passing argument 2 of 'load_starter_helper' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] tmp_surf = load_starter_helper(fname, "jpg", &IMG_Load); ^~~~~ src/tuxpaint.c:11318:72: note: expected 'char *' but argument is of type 'const char *' static SDL_Surface *load_starter_helper(char *path_and_basename, char *extension, SDL_Surface * (*load_func) (char *)) ~~~~~~^~~~~~~~~ src/tuxpaint.c:11422:52: warning: passing argument 3 of 'load_starter_helper' from incompatible pointer type [-Wincompatible-pointer-types] tmp_surf = load_starter_helper(fname, "jpg", &IMG_Load); ^~~~~~~~~ src/tuxpaint.c:11318:99: note: expected 'SDL_Surface * (*)(char *)' {aka 'struct SDL_Surface * (*)(char *)'} but argument is of type 'SDL_Surface * (*)(const char *)' {aka 'struct SDL_Surface * (*)(const char *)'} static SDL_Surface *load_starter_helper(char *path_and_basename, char *extension, SDL_Surface * (*load_func) (char *)) ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ src/tuxpaint.c:11429:45: warning: passing argument 2 of 'load_starter_helper' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] tmp_surf = load_starter_helper(fname, "png", &IMG_Load); ^~~~~ src/tuxpaint.c:11318:72: note: expected 'char *' but argument is of type 'const char *' static SDL_Surface *load_starter_helper(char *path_and_basename, char *extension, SDL_Surface * (*load_func) (char *)) ~~~~~~^~~~~~~~~ src/tuxpaint.c:11429:52: warning: passing argument 3 of 'load_starter_helper' from incompatible pointer type [-Wincompatible-pointer-types] tmp_surf = load_starter_helper(fname, "png", &IMG_Load); ^~~~~~~~~ src/tuxpaint.c:11318:99: note: expected 'SDL_Surface * (*)(char *)' {aka 'struct SDL_Surface * (*)(char *)'} but argument is of type 'SDL_Surface * (*)(const char *)' {aka 'struct SDL_Surface * (*)(const char *)'} static SDL_Surface *load_starter_helper(char *path_and_basename, char *extension, SDL_Surface * (*load_func) (char *)) ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ src/tuxpaint.c: In function 'load_template': src/tuxpaint.c:11549:41: warning: passing argument 2 of 'load_starter_helper' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] tmp_surf = load_starter_helper(fname, "kpx", &myIMG_Load); ^~~~~ src/tuxpaint.c:11318:72: note: expected 'char *' but argument is of type 'const char *' static SDL_Surface *load_starter_helper(char *path_and_basename, char *extension, SDL_Surface * (*load_func) (char *)) ~~~~~~^~~~~~~~~ src/tuxpaint.c:11564:45: warning: passing argument 2 of 'load_starter_helper' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] tmp_surf = load_starter_helper(fname, "jpeg", &IMG_Load); ^~~~~~ src/tuxpaint.c:11318:72: note: expected 'char *' but argument is of type 'const char *' static SDL_Surface *load_starter_helper(char *path_and_basename, char *extension, SDL_Surface * (*load_func) (char *)) ~~~~~~^~~~~~~~~ src/tuxpaint.c:11564:53: warning: passing argument 3 of 'load_starter_helper' from incompatible pointer type [-Wincompatible-pointer-types] tmp_surf = load_starter_helper(fname, "jpeg", &IMG_Load); ^~~~~~~~~ src/tuxpaint.c:11318:99: note: expected 'SDL_Surface * (*)(char *)' {aka 'struct SDL_Surface * (*)(char *)'} but argument is of type 'SDL_Surface * (*)(const char *)' {aka 'struct SDL_Surface * (*)(const char *)'} static SDL_Surface *load_starter_helper(char *path_and_basename, char *extension, SDL_Surface * (*load_func) (char *)) ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ src/tuxpaint.c:11570:45: warning: passing argument 2 of 'load_starter_helper' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] tmp_surf = load_starter_helper(fname, "jpg", &IMG_Load); ^~~~~ src/tuxpaint.c:11318:72: note: expected 'char *' but argument is of type 'const char *' static SDL_Surface *load_starter_helper(char *path_and_basename, char *extension, SDL_Surface * (*load_func) (char *)) ~~~~~~^~~~~~~~~ src/tuxpaint.c:11570:52: warning: passing argument 3 of 'load_starter_helper' from incompatible pointer type [-Wincompatible-pointer-types] tmp_surf = load_starter_helper(fname, "jpg", &IMG_Load); ^~~~~~~~~ src/tuxpaint.c:11318:99: note: expected 'SDL_Surface * (*)(char *)' {aka 'struct SDL_Surface * (*)(char *)'} but argument is of type 'SDL_Surface * (*)(const char *)' {aka 'struct SDL_Surface * (*)(const char *)'} static SDL_Surface *load_starter_helper(char *path_and_basename, char *extension, SDL_Surface * (*load_func) (char *)) ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ src/tuxpaint.c:11577:45: warning: passing argument 2 of 'load_starter_helper' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] tmp_surf = load_starter_helper(fname, "png", &IMG_Load); ^~~~~ src/tuxpaint.c:11318:72: note: expected 'char *' but argument is of type 'const char *' static SDL_Surface *load_starter_helper(char *path_and_basename, char *extension, SDL_Surface * (*load_func) (char *)) ~~~~~~^~~~~~~~~ src/tuxpaint.c:11577:52: warning: passing argument 3 of 'load_starter_helper' from incompatible pointer type [-Wincompatible-pointer-types] tmp_surf = load_starter_helper(fname, "png", &IMG_Load); ^~~~~~~~~ src/tuxpaint.c:11318:99: note: expected 'SDL_Surface * (*)(char *)' {aka 'struct SDL_Surface * (*)(char *)'} but argument is of type 'SDL_Surface * (*)(const char *)' {aka 'struct SDL_Surface * (*)(const char *)'} static SDL_Surface *load_starter_helper(char *path_and_basename, char *extension, SDL_Surface * (*load_func) (char *)) ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ src/tuxpaint.c: In function 'do_prompt_image_flash_snd': src/tuxpaint.c:11837:42: warning: variable 'img_x' set but not used [-Wunused-but-set-variable] int img1_w, img2_w, img3_w, max_img_w, img_x, img_y, offset; ^~~~~ src/tuxpaint.c: In function 'do_png_embed_data': src/tuxpaint.c:13472:43: error: 'TRUE' undeclared (first use in this function) if (current_node->is_enabled == TRUE && current_node->save_texttool_len > 0) ^~~~ src/tuxpaint.c: In function 'do_render_cur_text': src/tuxpaint.c:16526:40: error: 'TRUE' undeclared (first use in this function) have_to_rec_label_node = TRUE; ^~~~ src/tuxpaint.c: In function 'handle_active': src/tuxpaint.c:17137:27: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] if (event->active.state & SDL_APPINPUTFOCUS | SDL_APPACTIVE) src/tuxpaint.c: In function 'do_new_dialog': src/tuxpaint.c:18889:64: warning: passing argument 2 of 'load_starter_helper' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] img = load_starter_helper(fname, "jpeg", &IMG_Load); ^~~~~~ src/tuxpaint.c:11318:72: note: expected 'char *' but argument is of type 'const char *' static SDL_Surface *load_starter_helper(char *path_and_basename, char *extension, SDL_Surface * (*load_func) (char *)) ~~~~~~^~~~~~~~~ src/tuxpaint.c:18889:72: warning: passing argument 3 of 'load_starter_helper' from incompatible pointer type [-Wincompatible-pointer-types] img = load_starter_helper(fname, "jpeg", &IMG_Load); ^~~~~~~~~ src/tuxpaint.c:11318:99: note: expected 'SDL_Surface * (*)(char *)' {aka 'struct SDL_Surface * (*)(char *)'} but argument is of type 'SDL_Surface * (*)(const char *)' {aka 'struct SDL_Surface * (*)(const char *)'} static SDL_Surface *load_starter_helper(char *path_and_basename, char *extension, SDL_Surface * (*load_func) (char *)) ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ src/tuxpaint.c:18894:68: warning: passing argument 2 of 'load_starter_helper' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] img = load_starter_helper(fname, "jpg", &IMG_Load); ^~~~~ src/tuxpaint.c:11318:72: note: expected 'char *' but argument is of type 'const char *' static SDL_Surface *load_starter_helper(char *path_and_basename, char *extension, SDL_Surface * (*load_func) (char *)) ~~~~~~^~~~~~~~~ src/tuxpaint.c:18894:75: warning: passing argument 3 of 'load_starter_helper' from incompatible pointer type [-Wincompatible-pointer-types] img = load_starter_helper(fname, "jpg", &IMG_Load); ^~~~~~~~~ src/tuxpaint.c:11318:99: note: expected 'SDL_Surface * (*)(char *)' {aka 'struct SDL_Surface * (*)(char *)'} but argument is of type 'SDL_Surface * (*)(const char *)' {aka 'struct SDL_Surface * (*)(const char *)'} static SDL_Surface *load_starter_helper(char *path_and_basename, char *extension, SDL_Surface * (*load_func) (char *)) ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ src/tuxpaint.c:18912:68: warning: passing argument 2 of 'load_starter_helper' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] img = load_starter_helper(fname, "png", &IMG_Load); ^~~~~ src/tuxpaint.c:11318:72: note: expected 'char *' but argument is of type 'const char *' static SDL_Surface *load_starter_helper(char *path_and_basename, char *extension, SDL_Surface * (*load_func) (char *)) ~~~~~~^~~~~~~~~ src/tuxpaint.c:18912:75: warning: passing argument 3 of 'load_starter_helper' from incompatible pointer type [-Wincompatible-pointer-types] img = load_starter_helper(fname, "png", &IMG_Load); ^~~~~~~~~ src/tuxpaint.c:11318:99: note: expected 'SDL_Surface * (*)(char *)' {aka 'struct SDL_Surface * (*)(char *)'} but argument is of type 'SDL_Surface * (*)(const char *)' {aka 'struct SDL_Surface * (*)(const char *)'} static SDL_Surface *load_starter_helper(char *path_and_basename, char *extension, SDL_Surface * (*load_func) (char *)) ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ src/tuxpaint.c:18548:13: warning: unused variable 'k' [-Wunused-variable] int skip, k; ^ src/tuxpaint.c: In function 'add_label_node': src/tuxpaint.c:20656:30: error: 'TRUE' undeclared (first use in this function) new_node->is_enabled = TRUE; ^~~~ src/tuxpaint.c: In function 'search_label_list': src/tuxpaint.c:20719:18: error: 'TRUE' undeclared (first use in this function) while (done != TRUE) ^~~~ src/tuxpaint.c: In function 'do_undo_label_node': src/tuxpaint.c:20872:58: error: 'TRUE' undeclared (first use in this function) current_label_node->disables->is_enabled = TRUE; ^~~~ src/tuxpaint.c: In function 'do_redo_label_node': src/tuxpaint.c:20912:38: error: 'TRUE' undeclared (first use in this function) coming_from_undo_or_redo = TRUE; ^~~~ src/tuxpaint.c: In function 'render_all_nodes_starting_at': src/tuxpaint.c:21009:43: error: 'TRUE' undeclared (first use in this function) if (current_node->is_enabled == TRUE) ^~~~ src/tuxpaint.c: In function 'derender_node': src/tuxpaint.c:21024:47: warning: unused parameter 'ref_head' [-Wunused-parameter] static void derender_node(struct label_node **ref_head) ~~~~~~~~~~~~~~~~~~~~^~~~~~~~ src/tuxpaint.c: In function 'load_info_about_label_surface': src/tuxpaint.c:21273:30: error: 'TRUE' undeclared (first use in this function) new_node->is_enabled = TRUE; ^~~~ src/tuxpaint.c: In function 'are_labels': src/tuxpaint.c:21564:21: error: 'TRUE' undeclared (first use in this function) return (TRUE); ^~~~ src/tuxpaint.c: In function 'chunk_is_valid': src/tuxpaint.c:21613:29: error: 'TRUE' undeclared (first use in this function) return (TRUE); ^~~~ src/tuxpaint.c: In function 'load_embedded_data': src/tuxpaint.c:21880:35: error: 'TRUE' undeclared (first use in this function) have_background = TRUE; ^~~~ src/tuxpaint.c:21758:28: warning: variable 'bgnd' set but not used [-Wunused-but-set-variable] int ldelta, ldata, fgnd, bgnd; ^~~~ src/tuxpaint.c:21758:22: warning: variable 'fgnd' set but not used [-Wunused-but-set-variable] int ldelta, ldata, fgnd, bgnd; ^~~~ src/tuxpaint.c: In function 'setup_config': src/tuxpaint.c:22782:28: warning: passing argument 1 of 'strtok' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] token = strtok(tmpcfg.joystick_buttons_ignore, ","); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ In file included from src/tuxpaint.c:182: /usr/include/string.h:335:14: note: expected 'char * restrict' but argument is of type 'const char *' extern char *strtok (char *__restrict __s, const char *__restrict __delim) ^~~~~~ src/tuxpaint.c:22801:27: error: 'TRUE' undeclared (first use in this function) onscreen_keyboard = TRUE; ^~~~ src/tuxpaint.c: In function 'handle_joyaxismotion': src/tuxpaint.c:24573:23: error: 'TRUE' undeclared (first use in this function) *motioner = TRUE; ^~~~ src/tuxpaint.c: In function 'are_labels': src/tuxpaint.c:21569:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ src/tuxpaint.c: In function 'chunk_is_valid': src/tuxpaint.c:21640:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ make: *** [Makefile:1065: obj/tuxpaint.o] Error 1 Build dependencies to remove: 100 Removing: alsa-lib bzip2-dev cairo cairo-dev dbus eudev flac fluidsynth fluidsynth-dev fontconfig fontconfig-dev freetype freetype-dev fribidi fribidi-dev gettext gettext-dev glib glib-dev gperf harfbuzz harfbuzz-dev jack ladspa libcairo libcroco libdb libffi-dev libgdbm libharfbuzz libice libltdl libogg libpaper libpaper-dev libpcre libpcre16 libpcre32 libpcrecpp libpcreposix libpng libpng-dev libsamplerate libsm libsndfile libvorbis libx11 libx11-dev libxau libxau-dev libxcb libxcb-dev libxdmcp libxdmcp-dev libxext libxext-dev libxft libxft-dev libxml2 libxml2-dev libxml2-tools libxrender libxrender-dev libxtst pango pango-dev pango-typelib pcre pcre-apps pcre-dev perl perl-core pixman pixman-dev pulseaudio python-dev sdl sdl-dev sdl-image sdl-image-dev sdl-mixer sdl-mixer-dev sdl-pango sdl-pango-dev sdl-ttf sdl-ttf-dev speexdsp tslib tslib-dev util-linux-blkid util-linux-blkid-dev util-linux-mount util-linux-mount-dev util-linux-smartcols util-linux-uuid util-linux-uuid-dev xorgproto xz-dev xz-tools zlib-dev Debug information ret1. ================================================================================ Cook date: 2020-09-13 06:11 Wasted time : 53s 11:md5sum: can't open 'librsvg-dev-2.42.2-i486.tazpkg': No such file or directory 12:/usr/libexec/tazpkg/install: line 434: can't open /var/cache/tazpkg/next/packages/librsvg-dev-2.42.2-i486.tazpkg: no such file 13:/usr/libexec/tazpkg/install: .: line 435: can't open './receipt': No such file or directory 14:/usr/libexec/tazpkg/install: line 215: can't open /var/cache/tazpkg/next/packages/librsvg-dev-2.42.2-i486.tazpkg: no such file 15:/usr/libexec/tazpkg/install: .: line 217: can't open '/tmp/tmp.eEWcj6/receipt': No such file or directory 16:/usr/libexec/tazpkg/install: .: line 233: can't open '/tmp/tmp.eEWcj6/receipt.var': No such file or directory 17:md5sum: can't open 'librsvg-2.42.2-i486.tazpkg': No such file or directory 18:/usr/libexec/tazpkg/install: line 434: can't open /var/cache/tazpkg/next/packages/librsvg-2.42.2-i486.tazpkg: no such file 19:/usr/libexec/tazpkg/install: .: line 435: can't open './receipt': No such file or directory 20:/usr/libexec/tazpkg/install: line 215: can't open /var/cache/tazpkg/next/packages/librsvg-2.42.2-i486.tazpkg: no such file 21:/usr/libexec/tazpkg/install: .: line 217: can't open '/tmp/tmp.lgyxqg/receipt': No such file or directory 22:/usr/libexec/tazpkg/install: .: line 233: can't open '/tmp/tmp.lgyxqg/receipt.var': No such file or directory 129:No package 'librsvg-2.0' found 133:No package 'libsvg-cairo' found 137:No package 'librsvg-2.0' found 141:No package 'libsvg-cairo' found 525:src/tuxpaint.c:1255:39: error: 'FALSE' undeclared here (not in a function); did you mean 'FILE'? 530:src/tuxpaint.c:2393:56: error: 'TRUE' undeclared (first use in this function) 660:src/tuxpaint.c:13472:43: error: 'TRUE' undeclared (first use in this function) 664:src/tuxpaint.c:16526:40: error: 'TRUE' undeclared (first use in this function) 711:src/tuxpaint.c:20656:30: error: 'TRUE' undeclared (first use in this function) 715:src/tuxpaint.c:20719:18: error: 'TRUE' undeclared (first use in this function) 719:src/tuxpaint.c:20872:58: error: 'TRUE' undeclared (first use in this function) 723:src/tuxpaint.c:20912:38: error: 'TRUE' undeclared (first use in this function) 727:src/tuxpaint.c:21009:43: error: 'TRUE' undeclared (first use in this function) 735:src/tuxpaint.c:21273:30: error: 'TRUE' undeclared (first use in this function) 739:src/tuxpaint.c:21564:21: error: 'TRUE' undeclared (first use in this function) 743:src/tuxpaint.c:21613:29: error: 'TRUE' undeclared (first use in this function) 747:src/tuxpaint.c:21880:35: error: 'TRUE' undeclared (first use in this function) 764:src/tuxpaint.c:22801:27: error: 'TRUE' undeclared (first use in this function) 768:src/tuxpaint.c:24573:23: error: 'TRUE' undeclared (first use in this function) ================================================================================ Post-check ================================================================================ Checking build... Failed Updating activity log... Done ================================================================================