* Package: media-gfx/mypaint-1.2.1-r5 * Repository: gentoo * USE: abi_x86_64 amd64 elibc_glibc kernel_linux python_single_target_python2_7 userland_GNU * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox * Using python2.7 to build >>> Unpacking source... >>> Unpacking mypaint-1.2.1.tar.xz to /var/tmp/portage/media-gfx/mypaint-1.2.1-r5/work >>> Source unpacked in /var/tmp/portage/media-gfx/mypaint-1.2.1-r5/work >>> Preparing source in /var/tmp/portage/media-gfx/mypaint-1.2.1-r5/work/mypaint-1.2.1 ... >>> Source prepared. >>> Configuring source in /var/tmp/portage/media-gfx/mypaint-1.2.1-r5/work/mypaint-1.2.1 ... >>> Source configured. >>> Compiling source in /var/tmp/portage/media-gfx/mypaint-1.2.1-r5/work/mypaint-1.2.1 ... * strip-flags: CFLAGS: changed '-O2 -pipe -march=native -falign-functions=32:25:16 -Wformat -Werror=format-security' to '-O2 -pipe -march=native -Wformat -Werror=format-security' * strip-flags: CXXFLAGS: changed '-O2 -pipe -march=native -falign-functions=32:25:16 -Wformat -Werror=format-security' to '-O2 -pipe -march=native -Wformat -Werror=format-security' scons -j1 scons: Reading SConscript files ... Gentoo: /etc/gentoo-release exists. Must be on a Gentoo based system. building for 'python2.7' (use scons python_binary=xxx to change) using 'python-config-2.7' (use scons python_config=xxx to change) Delete(["libmypaint-tests.so", "libmypaint-tests.so", "libmypaint.so", "libmypaintlib.so", "libmypaint.a", "libmypaint-tests.a", "lib/_mypaintlib.so"]) Enabling i18n for brushlib in full application build set umask to 0022 (was 0022) scons: done reading SConscript files. scons: Building targets ... Creating 'brushlib/mypaint-config.h' x86_64-pc-linux-gnu-gcc -o brushlib/brushmodes.os -c -O2 -pipe -march=native -Wformat -Werror=format-security -std=c99 -D_POSIX_C_SOURCE=200809L -fopenmp -O3 -O2 -pipe -march=native -Wformat -Werror=format-security -Wall -g -fPIC -DHAVE_JSON_C -DHAVE_GETTEXT -Ibrushlib -I/usr/include/json-c brushlib/brushmodes.c x86_64-pc-linux-gnu-gcc -o brushlib/fifo.os -c -O2 -pipe -march=native -Wformat -Werror=format-security -std=c99 -D_POSIX_C_SOURCE=200809L -fopenmp -O3 -O2 -pipe -march=native -Wformat -Werror=format-security -Wall -g -fPIC -DHAVE_JSON_C -DHAVE_GETTEXT -Ibrushlib -I/usr/include/json-c brushlib/fifo.c x86_64-pc-linux-gnu-gcc -o brushlib/helpers.os -c -O2 -pipe -march=native -Wformat -Werror=format-security -std=c99 -D_POSIX_C_SOURCE=200809L -fopenmp -O3 -O2 -pipe -march=native -Wformat -Werror=format-security -Wall -g -fPIC -DHAVE_JSON_C -DHAVE_GETTEXT -Ibrushlib -I/usr/include/json-c brushlib/helpers.c x86_64-pc-linux-gnu-gcc -o brushlib/mapping.os -c -O2 -pipe -march=native -Wformat -Werror=format-security -std=c99 -D_POSIX_C_SOURCE=200809L -fopenmp -O3 -O2 -pipe -march=native -Wformat -Werror=format-security -Wall -g -fPIC -DHAVE_JSON_C -DHAVE_GETTEXT -Ibrushlib -I/usr/include/json-c brushlib/mapping.c generate_cheaders(["brushlib/mypaint-brush-settings-gen.h", "brushlib/brushsettings-gen.h"], ["brushlib/generate.py", "brushlib/brushsettings.py", "brushlib/brushsettings.json"]) python2.7 brushlib/generate.py brushlib/mypaint-brush-settings-gen.h brushlib/brushsettings-gen.h Writing brushlib/mypaint-brush-settings-gen.h Writing brushlib/brushsettings-gen.h x86_64-pc-linux-gnu-gcc -o brushlib/mypaint-brush-settings.os -c -O2 -pipe -march=native -Wformat -Werror=format-security -std=c99 -D_POSIX_C_SOURCE=200809L -fopenmp -O3 -O2 -pipe -march=native -Wformat -Werror=format-security -Wall -g -fPIC -DHAVE_JSON_C -DHAVE_GETTEXT -Ibrushlib -I/usr/include/json-c brushlib/mypaint-brush-settings.c x86_64-pc-linux-gnu-gcc -o brushlib/mypaint-brush.os -c -O2 -pipe -march=native -Wformat -Werror=format-security -std=c99 -D_POSIX_C_SOURCE=200809L -fopenmp -O3 -O2 -pipe -march=native -Wformat -Werror=format-security -Wall -g -fPIC -DHAVE_JSON_C -DHAVE_GETTEXT -Ibrushlib -I/usr/include/json-c brushlib/mypaint-brush.c brushlib/mypaint-brush.c: In function ‘mypaint_brush_new’: brushlib/mypaint-brush.c:126:26: error: ‘FALSE’ undeclared (first use in this function) 126 | self->print_inputs = FALSE; | ^~~~~ brushlib/mypaint-brush.c:126:26: note: each undeclared identifier is reported only once for each function it appears in brushlib/mypaint-brush.c:135:29: error: ‘TRUE’ undeclared (first use in this function) 135 | self->reset_requested = TRUE; | ^~~~ brushlib/mypaint-brush.c: In function ‘mypaint_brush_reset’: brushlib/mypaint-brush.c:216:29: error: ‘TRUE’ undeclared (first use in this function) 216 | self->reset_requested = TRUE; | ^~~~ brushlib/mypaint-brush.c: In function ‘mypaint_brush_stroke_to’: brushlib/mypaint-brush.c:952:31: error: ‘FALSE’ undeclared (first use in this function) 952 | self->reset_requested = FALSE; | ^~~~~ brushlib/mypaint-brush.c:971:14: error: ‘TRUE’ undeclared (first use in this function) 971 | return TRUE; | ^~~~ brushlib/mypaint-brush.c: In function ‘update_settings_from_json_object’: brushlib/mypaint-brush.c:1107:16: error: ‘FALSE’ undeclared (first use in this function) 1107 | return FALSE; | ^~~~~ brushlib/mypaint-brush.c:1171:12: error: ‘TRUE’ undeclared (first use in this function) 1171 | return TRUE; | ^~~~ brushlib/mypaint-brush.c: In function ‘mypaint_brush_stroke_to’: brushlib/mypaint-brush.c:1082:3: warning: control reaches end of non-void function [-Wreturn-type] 1082 | } | ^ brushlib/mypaint-brush.c: In function ‘update_settings_from_json_object’: brushlib/mypaint-brush.c:1172:1: warning: control reaches end of non-void function [-Wreturn-type] 1172 | } | ^ scons: *** [brushlib/mypaint-brush.os] Error 1 scons: building terminated because of errors. * ERROR: media-gfx/mypaint-1.2.1-r5::gentoo failed (compile phase): * escons failed. * * Call stack: * ebuild.sh, line 125: Called src_compile * environment, line 3725: Called escons * environment, line 1530: Called die * The specific snippet of code: * die -n "escons failed." * * If you need support, post the output of `emerge --info '=media-gfx/mypaint-1.2.1-r5::gentoo'`, * the complete build log and the output of `emerge -pqv '=media-gfx/mypaint-1.2.1-r5::gentoo'`. * The complete build log is located at '/var/log/portage/media-gfx:mypaint-1.2.1-r5:20200507-023705.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/media-gfx/mypaint-1.2.1-r5/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/media-gfx/mypaint-1.2.1-r5/temp/environment'. * Working directory: '/var/tmp/portage/media-gfx/mypaint-1.2.1-r5/work/mypaint-1.2.1' * S: '/var/tmp/portage/media-gfx/mypaint-1.2.1-r5/work/mypaint-1.2.1'