* Package: sci-calculators/qalculate-gtk-0.9.7 * Repository: gentoo * Maintainer: sci@gentoo.org * USE: abi_x86_64 amd64 elibc_glibc kernel_linux userland_GNU * FEATURES: preserve-libs sandbox userpriv usersandbox * Applying qalculate-gtk-0.9.7-entry.patch ... [ ok ] * Fixing OMF Makefiles ... [ ok ] * Disabling deprecation warnings ... [ ok ] * Running elibtoolize in: qalculate-gtk-0.9.7/ * Applying portage/1.5.10 patch ... * Applying sed/1.5.6 patch ... * Applying as-needed/1.5.26 patch ... * Applying target-nm/2.4.2 patch ... checking for a BSD-compatible install... /usr/lib/portage/python2.7/ebuild-helpers/xattr/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether to enable maintainer-specific portions of Makefiles... no checking for style of include used by make... GNU checking for x86_64-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether x86_64-pc-linux-gnu-gcc accepts -g... yes checking for x86_64-pc-linux-gnu-gcc option to accept ISO C89... none needed checking dependency style of x86_64-pc-linux-gnu-gcc... none checking for library containing strerror... none required checking for x86_64-pc-linux-gnu-gcc... (cached) x86_64-pc-linux-gnu-gcc checking whether we are using the GNU C compiler... (cached) yes checking whether x86_64-pc-linux-gnu-gcc accepts -g... (cached) yes checking for x86_64-pc-linux-gnu-gcc option to accept ISO C89... (cached) none needed checking dependency style of x86_64-pc-linux-gnu-gcc... (cached) none checking for x86_64-pc-linux-gnu-g++... x86_64-pc-linux-gnu-g++ checking whether we are using the GNU C++ compiler... yes checking whether x86_64-pc-linux-gnu-g++ accepts -g... yes checking dependency style of x86_64-pc-linux-gnu-g++... none checking for x86_64-pc-linux-gnu-gcc... (cached) x86_64-pc-linux-gnu-gcc checking whether we are using the GNU C compiler... (cached) yes checking whether x86_64-pc-linux-gnu-gcc accepts -g... (cached) yes checking for x86_64-pc-linux-gnu-gcc option to accept ISO C89... (cached) none needed checking dependency style of x86_64-pc-linux-gnu-gcc... (cached) none checking whether ln -s works... yes checking how to run the C preprocessor... x86_64-pc-linux-gnu-gcc -E checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for ANSI C header files... yes checking for xgettext... /usr/bin/xgettext checking for msgmerge... /usr/bin/msgmerge checking for msgfmt... /usr/bin/msgfmt checking for perl... /usr/bin/perl checking for XML::Parser... ok checking build system type... x86_64-pc-linux-gnu checking host system type... x86_64-pc-linux-gnu checking for a sed that does not truncate output... /bin/sed checking for ld used by x86_64-pc-linux-gnu-gcc... /usr/x86_64-pc-linux-gnu/bin/ld checking if the linker (/usr/x86_64-pc-linux-gnu/bin/ld) is GNU ld... yes checking for /usr/x86_64-pc-linux-gnu/bin/ld option to reload object files... -r checking for BSD-compatible nm... /usr/bin/x86_64-pc-linux-gnu-nm -B checking how to recognize dependent libraries... pass_all checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking dlfcn.h usability... yes checking dlfcn.h presence... yes checking for dlfcn.h... yes checking how to run the C++ preprocessor... x86_64-pc-linux-gnu-g++ -E checking for x86_64-pc-linux-gnu-g77... no checking for x86_64-pc-linux-gnu-xlf... no checking for x86_64-pc-linux-gnu-f77... no checking for x86_64-pc-linux-gnu-frt... no checking for x86_64-pc-linux-gnu-pgf77... no checking for x86_64-pc-linux-gnu-cf77... no checking for x86_64-pc-linux-gnu-fort77... no checking for x86_64-pc-linux-gnu-fl32... no checking for x86_64-pc-linux-gnu-af77... no checking for x86_64-pc-linux-gnu-xlf90... no checking for x86_64-pc-linux-gnu-f90... no checking for x86_64-pc-linux-gnu-pgf90... no checking for x86_64-pc-linux-gnu-pghpf... no checking for x86_64-pc-linux-gnu-epcf90... no checking for x86_64-pc-linux-gnu-gfortran... x86_64-pc-linux-gnu-gfortran checking whether we are using the GNU Fortran 77 compiler... yes checking whether x86_64-pc-linux-gnu-gfortran accepts -g... yes checking the maximum length of command line arguments... 1572864 checking command to parse /usr/bin/x86_64-pc-linux-gnu-nm -B output from x86_64-pc-linux-gnu-gcc object... ok checking for objdir... .libs checking for x86_64-pc-linux-gnu-ar... x86_64-pc-linux-gnu-ar checking for x86_64-pc-linux-gnu-ranlib... x86_64-pc-linux-gnu-ranlib checking for x86_64-pc-linux-gnu-strip... x86_64-pc-linux-gnu-strip checking if x86_64-pc-linux-gnu-gcc supports -fno-rtti -fno-exceptions... no checking for x86_64-pc-linux-gnu-gcc option to produce PIC... -fPIC checking if x86_64-pc-linux-gnu-gcc PIC flag -fPIC works... yes checking if x86_64-pc-linux-gnu-gcc static flag -static works... yes checking if x86_64-pc-linux-gnu-gcc supports -c -o file.o... yes checking whether the x86_64-pc-linux-gnu-gcc linker (/usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes configure: creating libtool appending configuration tag "CXX" to libtool checking for ld used by x86_64-pc-linux-gnu-g++... /usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64 checking if the linker (/usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64) is GNU ld... yes checking whether the x86_64-pc-linux-gnu-g++ linker (/usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64) supports shared libraries... yes checking for x86_64-pc-linux-gnu-g++ option to produce PIC... -fPIC checking if x86_64-pc-linux-gnu-g++ PIC flag -fPIC works... yes checking if x86_64-pc-linux-gnu-g++ static flag -static works... yes checking if x86_64-pc-linux-gnu-g++ supports -c -o file.o... yes checking whether the x86_64-pc-linux-gnu-g++ linker (/usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64) supports shared libraries... yes checking dynamic linker characteristics... GNU/Linux ld.so (cached) (cached) checking how to hardcode library paths into programs... immediate appending configuration tag "F77" to libtool checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes checking for x86_64-pc-linux-gnu-gfortran option to produce PIC... -fPIC checking if x86_64-pc-linux-gnu-gfortran PIC flag -fPIC works... yes checking if x86_64-pc-linux-gnu-gfortran static flag -static works... yes checking if x86_64-pc-linux-gnu-gfortran supports -c -o file.o... yes checking whether the x86_64-pc-linux-gnu-gfortran linker (/usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64) supports shared libraries... yes checking dynamic linker characteristics... GNU/Linux ld.so (cached) (cached) checking how to hardcode library paths into programs... immediate checking for pthread_create in -lpthread... yes checking for x86_64-pc-linux-gnu-pkg-config... /usr/bin/x86_64-pc-linux-gnu-pkg-config checking pkg-config is at least version 0.9.0... yes checking for GLIB... yes checking for GTK... yes checking for QALCULATE... yes checking for CLN... yes checking whether to use libgnome... no checking for scrollkeeper-config... /usr/bin/scrollkeeper-config checking locale.h usability... yes checking locale.h presence... yes checking for locale.h... yes checking for LC_MESSAGES... yes checking libintl.h usability... yes checking libintl.h presence... yes checking for libintl.h... yes checking for ngettext in libc... yes checking for dgettext in libc... yes checking for bind_textdomain_codeset... yes checking for msgfmt... (cached) /usr/bin/msgfmt checking for dcgettext... yes checking if msgfmt accepts -c... yes checking for gmsgfmt... /usr/bin/gmsgfmt checking for xgettext... (cached) /usr/bin/xgettext checking for catalogs to be installed... checking locale directory... "/usr/share/locale" configure: creating ./config.status config.status: creating Makefile config.status: creating data/Makefile config.status: creating doc/Makefile config.status: creating doc/C/Makefile config.status: creating src/Makefile config.status: creating po/Makefile.in config.status: creating config.h config.status: executing depfiles commands config.status: executing intltool commands config.status: executing default-1 commands config.status: executing po/stamp-it commands make all-recursive make[1]: Entering directory '/var/tmp/portage/sci-calculators/qalculate-gtk-0.9.7/work/qalculate-gtk-0.9.7' Making all in data make[2]: Entering directory '/var/tmp/portage/sci-calculators/qalculate-gtk-0.9.7/work/qalculate-gtk-0.9.7/data' LC_ALL=C ../intltool-merge -d -u -c ../po/.intltool-merge-cache ../po qalculate-gtk.desktop.in qalculate-gtk.desktop Generating and caching the translation database Merging translations into qalculate-gtk.desktop. make[2]: Leaving directory '/var/tmp/portage/sci-calculators/qalculate-gtk-0.9.7/work/qalculate-gtk-0.9.7/data' Making all in src make[2]: Entering directory '/var/tmp/portage/sci-calculators/qalculate-gtk-0.9.7/work/qalculate-gtk-0.9.7/src' x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -DPACKAGE_DATA_DIR=\""/usr/share"\" -DPACKAGE_LOCALE_DIR=\""/usr/share/locale"\" -pthread -I/usr/include/libglade-2.0 -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libdrm -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libxml2 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/libxml2 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/libxml2 -march=native -O2 -pipe -Wformat -Werror=format-security -c -o main.o main.cc In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/4.8.3/include/g++-v4/ext/hash_map:60:0, from /usr/include/libqalculate/includes.h:40, from /usr/include/libqalculate/qalculate.h:15, from main.h:33, from callbacks.h:24, from main.cc:27: /usr/lib/gcc/x86_64-pc-linux-gnu/4.8.3/include/g++-v4/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated. [-Wcpp] #warning \ ^ main.cc: In function ‘int main(int, char**)’: main.cc:271:15: warning: ignoring return value of ‘int pipe(int*)’, declared with attribute warn_unused_result [-Wunused-result] pipe(pipe_wr); ^ main.cc:278:16: warning: ignoring return value of ‘int pipe(int*)’, declared with attribute warn_unused_result [-Wunused-result] pipe(pipe_wr2); ^ x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -DPACKAGE_DATA_DIR=\""/usr/share"\" -DPACKAGE_LOCALE_DIR=\""/usr/share/locale"\" -pthread -I/usr/include/libglade-2.0 -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libdrm -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libxml2 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/libxml2 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/libxml2 -march=native -O2 -pipe -Wformat -Werror=format-security -c -o interface.o interface.cc In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/4.8.3/include/g++-v4/ext/hash_map:60:0, from /usr/include/libqalculate/includes.h:40, from /usr/include/libqalculate/qalculate.h:15, from main.h:33, from callbacks.h:24, from interface.cc:28: /usr/lib/gcc/x86_64-pc-linux-gnu/4.8.3/include/g++-v4/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated. [-Wcpp] #warning \ ^ x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -DPACKAGE_DATA_DIR=\""/usr/share"\" -DPACKAGE_LOCALE_DIR=\""/usr/share/locale"\" -pthread -I/usr/include/libglade-2.0 -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libdrm -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libxml2 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/libxml2 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/libxml2 -march=native -O2 -pipe -Wformat -Werror=format-security -c -o callbacks.o callbacks.cc In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/4.8.3/include/g++-v4/ext/hash_map:60:0, from /usr/include/libqalculate/includes.h:40, from /usr/include/libqalculate/qalculate.h:15, from main.h:33, from callbacks.h:24, from callbacks.cc:30: /usr/lib/gcc/x86_64-pc-linux-gnu/4.8.3/include/g++-v4/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated. [-Wcpp] #warning \ ^ callbacks.cc: In function ‘void clear_parenthesis_pix()’: callbacks.cc:231:3: warning: ‘void gdk_pixbuf_unref(GdkPixbuf*)’ is deprecated (declared at /usr/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-core.h:226): Use 'g_object_unref' instead [-Wdeprecated-declarations] gdk_pixbuf_unref(pixbuf_left_par); ^ callbacks.cc:231:35: warning: ‘void gdk_pixbuf_unref(GdkPixbuf*)’ is deprecated (declared at /usr/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-core.h:226): Use 'g_object_unref' instead [-Wdeprecated-declarations] gdk_pixbuf_unref(pixbuf_left_par); ^ callbacks.cc:235:3: warning: ‘void gdk_pixbuf_unref(GdkPixbuf*)’ is deprecated (declared at /usr/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-core.h:226): Use 'g_object_unref' instead [-Wdeprecated-declarations] gdk_pixbuf_unref(pixbuf_right_par); ^ callbacks.cc:235:36: warning: ‘void gdk_pixbuf_unref(GdkPixbuf*)’ is deprecated (declared at /usr/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-core.h:226): Use 'g_object_unref' instead [-Wdeprecated-declarations] gdk_pixbuf_unref(pixbuf_right_par); ^ callbacks.cc:239:3: warning: ‘void gdk_pixbuf_unref(GdkPixbuf*)’ is deprecated (declared at /usr/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-core.h:226): Use 'g_object_unref' instead [-Wdeprecated-declarations] gdk_pixbuf_unref(it->second); ^ callbacks.cc:239:30: warning: ‘void gdk_pixbuf_unref(GdkPixbuf*)’ is deprecated (declared at /usr/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-core.h:226): Use 'g_object_unref' instead [-Wdeprecated-declarations] gdk_pixbuf_unref(it->second); ^ callbacks.cc:243:3: warning: ‘void gdk_pixbuf_unref(GdkPixbuf*)’ is deprecated (declared at /usr/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-core.h:226): Use 'g_object_unref' instead [-Wdeprecated-declarations] gdk_pixbuf_unref(it->second); ^ callbacks.cc:243:30: warning: ‘void gdk_pixbuf_unref(GdkPixbuf*)’ is deprecated (declared at /usr/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-core.h:226): Use 'g_object_unref' instead [-Wdeprecated-declarations] gdk_pixbuf_unref(it->second); ^ callbacks.cc: In function ‘void show_message(const gchar*, GtkWidget*)’: callbacks.cc:391:137: error: format not a string literal and no format arguments [-Werror=format-security] ), GTK_DIALOG_DESTROY_WITH_PARENT, GTK_MESSAGE_ERROR, GTK_BUTTONS_CLOSE, text); ^ callbacks.cc: In function ‘bool ask_question(const gchar*, GtkWidget*)’: callbacks.cc:396:138: error: format not a string literal and no format arguments [-Werror=format-security] , GTK_DIALOG_DESTROY_WITH_PARENT, GTK_MESSAGE_ERROR, GTK_BUTTONS_YES_NO, text); ^ callbacks.cc: In function ‘void display_errors(GtkTextIter*, GtkWidget*, int*)’: callbacks.cc:657:46: error: format not a string literal and no format arguments [-Werror=format-security] CALCULATOR->message()->message().c_str()); ^ callbacks.cc:670:17: error: format not a string literal and no format arguments [-Werror=format-security] str.c_str()); ^ callbacks.cc:677:17: error: format not a string literal and no format arguments [-Werror=format-security] str.c_str()); ^ callbacks.cc: In function ‘void clearresult()’: callbacks.cc:4554:3: warning: ‘void gdk_pixbuf_unref(GdkPixbuf*)’ is deprecated (declared at /usr/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-core.h:226): Use 'g_object_unref' instead [-Wdeprecated-declarations] gdk_pixbuf_unref(pixbuf_result); ^ callbacks.cc:4554:33: warning: ‘void gdk_pixbuf_unref(GdkPixbuf*)’ is deprecated (declared at /usr/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-core.h:226): Use 'g_object_unref' instead [-Wdeprecated-declarations] gdk_pixbuf_unref(pixbuf_result); ^ callbacks.cc: In function ‘void setResult(Prefix*, bool, bool, bool, std::string, size_t, bool)’: callbacks.cc:4789:5: warning: ‘void gdk_pixbuf_unref(GdkPixbuf*)’ is deprecated (declared at /usr/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-core.h:226): Use 'g_object_unref' instead [-Wdeprecated-declarations] gdk_pixbuf_unref(pixbuf_result); ^ callbacks.cc:4789:35: warning: ‘void gdk_pixbuf_unref(GdkPixbuf*)’ is deprecated (declared at /usr/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-core.h:226): Use 'g_object_unref' instead [-Wdeprecated-declarations] gdk_pixbuf_unref(pixbuf_result); ^ callbacks.cc:4906:4: warning: ‘void gdk_pixbuf_unref(GdkPixbuf*)’ is deprecated (declared at /usr/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-core.h:226): Use 'g_object_unref' instead [-Wdeprecated-declarations] gdk_pixbuf_unref(pixbuf_result_tmp); ^ callbacks.cc:4906:38: warning: ‘void gdk_pixbuf_unref(GdkPixbuf*)’ is deprecated (declared at /usr/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-core.h:226): Use 'g_object_unref' instead [-Wdeprecated-declarations] gdk_pixbuf_unref(pixbuf_result_tmp); ^ callbacks.cc: In function ‘gboolean on_tMatrixEdit_cursor_changed(GtkTreeView*, gpointer)’: callbacks.cc:12498:116: warning: format ‘%i’ expects argument of type ‘int’, but argument 2 has type ‘std::vector<_GtkTreeViewColumn*>::size_type {aka long unsigned int}’ [-Wformat=] _column + 1 + matrix_edit_columns.size() * gtk_tree_path_get_indices(path)[0]); ^ callbacks.cc: In function ‘gboolean on_tMatrix_cursor_changed(GtkTreeView*, gpointer)’: callbacks.cc:12662:111: warning: format ‘%i’ expects argument of type ‘int’, but argument 2 has type ‘std::vector<_GtkTreeViewColumn*>::size_type {aka long unsigned int}’ [-Wformat=] i", i_column + 1 + matrix_columns.size() * gtk_tree_path_get_indices(path)[0]); ^ callbacks.cc: In function ‘void* view_proc(void*)’: callbacks.cc:4579:45: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] fread(&scale_n, sizeof(int), 1, view_pipe); ^ callbacks.cc:4580:41: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] fread(&x, sizeof(void*), 1, view_pipe); ^ callbacks.cc:4583:46: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] fread(&b_stack, sizeof(bool), 1, view_pipe); ^ callbacks.cc:4584:41: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] fread(&x, sizeof(void*), 1, view_pipe); ^ callbacks.cc:4587:42: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] fread(&x, sizeof(void*), 1, view_pipe); ^ callbacks.cc:4608:59: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] fread(&po.is_approximate, sizeof(bool*), 1, view_pipe); ^ callbacks.cc:4611:43: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] fread(&x, sizeof(void*), 1, view_pipe); ^ callbacks.cc: In function ‘void* command_proc(void*)’: callbacks.cc:5028:53: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] fread(&command_type, sizeof(int), 1, command_pipe); ^ callbacks.cc:5029:44: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] fread(&x, sizeof(void*), 1, command_pipe); ^ cc1plus: some warnings being treated as errors Makefile:350: recipe for target 'callbacks.o' failed make[2]: *** [callbacks.o] Error 1 make[2]: Leaving directory '/var/tmp/portage/sci-calculators/qalculate-gtk-0.9.7/work/qalculate-gtk-0.9.7/src' Makefile:322: recipe for target 'all-recursive' failed make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory '/var/tmp/portage/sci-calculators/qalculate-gtk-0.9.7/work/qalculate-gtk-0.9.7' Makefile:252: recipe for target 'all' failed make: *** [all] Error 2 * ERROR: sci-calculators/qalculate-gtk-0.9.7::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=sci-calculators/qalculate-gtk-0.9.7::gentoo'`, * the complete build log and the output of `emerge -pqv '=sci-calculators/qalculate-gtk-0.9.7::gentoo'`. * The complete build log is located at '/var/log/portage/sci-calculators:qalculate-gtk-0.9.7:20150303-041800.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/sci-calculators/qalculate-gtk-0.9.7/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/sci-calculators/qalculate-gtk-0.9.7/temp/environment'. * Working directory: '/var/tmp/portage/sci-calculators/qalculate-gtk-0.9.7/work/qalculate-gtk-0.9.7' * S: '/var/tmp/portage/sci-calculators/qalculate-gtk-0.9.7/work/qalculate-gtk-0.9.7'