* Package: dev-libs/DFB++-1.2.0 * Repository: gentoo * Maintainer: games@gentoo.org * USE: abi_x86_64 amd64 elibc_glibc kernel_linux userland_GNU * FEATURES: preserve-libs sandbox userpriv usersandbox * Applying DFB++-1.2.0-directfb-api.patch ... [ ok ] 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 build system type... x86_64-pc-linux-gnu checking host system type... x86_64-pc-linux-gnu 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... gcc3 checking for a sed that does not truncate output... /bin/sed checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E 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/nm -B checking whether ln -s works... yes checking how to recognize dependent libraries... pass_all checking how to run the C preprocessor... x86_64-pc-linux-gnu-gcc -E checking for ANSI C header files... yes 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 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++... gcc3 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/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... no 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... no 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 whether build environment is sane... yes 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) gcc3 checking for a BSD-compatible install... /usr/lib/portage/python2.7/ebuild-helpers/xattr/install -c checking whether make sets $(MAKE)... (cached) yes checking for ANSI C header files... (cached) yes checking how to run the C preprocessor... x86_64-pc-linux-gnu-gcc -E checking whether we are using the GNU C++ compiler... (cached) yes checking whether x86_64-pc-linux-gnu-g++ accepts -g... (cached) yes checking dependency style of x86_64-pc-linux-gnu-g++... (cached) gcc3 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 DIRECTFB... yes configure: creating ./config.status config.status: creating dfb++-config config.status: creating dfb++.pc config.status: creating Makefile config.status: creating dfb++/Makefile config.status: creating examples/Makefile config.status: creating include/Makefile config.status: creating config.h config.status: executing depfiles commands config.status: executing default commands make all-recursive make[1]: Entering directory '/var/tmp/portage/dev-libs/DFB++-1.2.0/work/DFB++-1.2.0' Making all in dfb++ make[2]: Entering directory '/var/tmp/portage/dev-libs/DFB++-1.2.0/work/DFB++-1.2.0/dfb++' /bin/sh ../libtool --tag=CXX --mode=compile x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I../include -D_REENTRANT -I/usr/include/directfb -Wall -march=native -O2 -pipe -Wformat -Werror=format-security -MT dfb++.lo -MD -MP -MF .deps/dfb++.Tpo -c -o dfb++.lo dfb++.cpp mkdir .libs x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I../include -D_REENTRANT -I/usr/include/directfb -Wall -march=native -O2 -pipe -Wformat -Werror=format-security -MT dfb++.lo -MD -MP -MF .deps/dfb++.Tpo -c dfb++.cpp -fPIC -DPIC -o .libs/dfb++.o In file included from dfb++.cpp:28:0: ../include/dfb++.h:90:0: warning: "DFB_ADD_SURFACE_DESC" redefined #define DFB_ADD_SURFACE_DESC(d,f) (d) = (DFBSurfaceDescriptionFlags) ((d) |  ^ In file included from /usr/include/directfb/directfb.h:32:0, from ../include/dfb++.h:47, from dfb++.cpp:28: /usr/include/directfb/directfb++.h:391:0: note: this is the location of the previous definition #define DFB_ADD_SURFACE_DESC(d,f) (d) = static_cast  ^ In file included from dfb++.cpp:28:0: ../include/dfb++.h:92:0: warning: "DFB_ADD_DRAWING_FLAG" redefined #define DFB_ADD_DRAWING_FLAG(d,f) (d) = (DFBSurfaceDrawingFlags) ((d) |  ^ In file included from /usr/include/directfb/directfb.h:32:0, from ../include/dfb++.h:47, from dfb++.cpp:28: /usr/include/directfb/directfb++.h:393:0: note: this is the location of the previous definition #define DFB_ADD_DRAWING_FLAG(d,f) (d) = static_cast  ^ In file included from dfb++.cpp:28:0: ../include/dfb++.h:93:0: warning: "DFB_ADD_BLITTING_FLAG" redefined #define DFB_ADD_BLITTING_FLAG(b,f) (b) = (DFBSurfaceBlittingFlags) ((b) |  ^ In file included from /usr/include/directfb/directfb.h:32:0, from ../include/dfb++.h:47, from dfb++.cpp:28: /usr/include/directfb/directfb++.h:394:0: note: this is the location of the previous definition #define DFB_ADD_BLITTING_FLAG(b,f) (b) = static_cast  ^ mv -f .deps/dfb++.Tpo .deps/dfb++.Plo /bin/sh ../libtool --tag=CXX --mode=compile x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I../include -D_REENTRANT -I/usr/include/directfb -Wall -march=native -O2 -pipe -Wformat -Werror=format-security -MT idirectfb.lo -MD -MP -MF .deps/idirectfb.Tpo -c -o idirectfb.lo idirectfb.cpp x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I../include -D_REENTRANT -I/usr/include/directfb -Wall -march=native -O2 -pipe -Wformat -Werror=format-security -MT idirectfb.lo -MD -MP -MF .deps/idirectfb.Tpo -c idirectfb.cpp -fPIC -DPIC -o .libs/idirectfb.o In file included from idirectfb.cpp:25:0: ../include/dfb++.h:90:0: warning: "DFB_ADD_SURFACE_DESC" redefined #define DFB_ADD_SURFACE_DESC(d,f) (d) = (DFBSurfaceDescriptionFlags) ((d) |  ^ In file included from /usr/include/directfb/directfb.h:32:0, from ../include/dfb++.h:47, from idirectfb.cpp:25: /usr/include/directfb/directfb++.h:391:0: note: this is the location of the previous definition #define DFB_ADD_SURFACE_DESC(d,f) (d) = static_cast  ^ In file included from idirectfb.cpp:25:0: ../include/dfb++.h:92:0: warning: "DFB_ADD_DRAWING_FLAG" redefined #define DFB_ADD_DRAWING_FLAG(d,f) (d) = (DFBSurfaceDrawingFlags) ((d) |  ^ In file included from /usr/include/directfb/directfb.h:32:0, from ../include/dfb++.h:47, from idirectfb.cpp:25: /usr/include/directfb/directfb++.h:393:0: note: this is the location of the previous definition #define DFB_ADD_DRAWING_FLAG(d,f) (d) = static_cast  ^ In file included from idirectfb.cpp:25:0: ../include/dfb++.h:93:0: warning: "DFB_ADD_BLITTING_FLAG" redefined #define DFB_ADD_BLITTING_FLAG(b,f) (b) = (DFBSurfaceBlittingFlags) ((b) |  ^ In file included from /usr/include/directfb/directfb.h:32:0, from ../include/dfb++.h:47, from idirectfb.cpp:25: /usr/include/directfb/directfb++.h:394:0: note: this is the location of the previous definition #define DFB_ADD_BLITTING_FLAG(b,f) (b) = static_cast  ^ mv -f .deps/idirectfb.Tpo .deps/idirectfb.Plo /bin/sh ../libtool --tag=CXX --mode=compile x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I../include -D_REENTRANT -I/usr/include/directfb -Wall -march=native -O2 -pipe -Wformat -Werror=format-security -MT idirectfbdatabuffer.lo -MD -MP -MF .deps/idirectfbdatabuffer.Tpo -c -o idirectfbdatabuffer.lo idirectfbdatabuffer.cpp x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I../include -D_REENTRANT -I/usr/include/directfb -Wall -march=native -O2 -pipe -Wformat -Werror=format-security -MT idirectfbdatabuffer.lo -MD -MP -MF .deps/idirectfbdatabuffer.Tpo -c idirectfbdatabuffer.cpp -fPIC -DPIC -o .libs/idirectfbdatabuffer.o In file included from idirectfbdatabuffer.cpp:25:0: ../include/dfb++.h:90:0: warning: "DFB_ADD_SURFACE_DESC" redefined #define DFB_ADD_SURFACE_DESC(d,f) (d) = (DFBSurfaceDescriptionFlags) ((d) |  ^ In file included from /usr/include/directfb/directfb.h:32:0, from ../include/dfb++.h:47, from idirectfbdatabuffer.cpp:25: /usr/include/directfb/directfb++.h:391:0: note: this is the location of the previous definition #define DFB_ADD_SURFACE_DESC(d,f) (d) = static_cast  ^ In file included from idirectfbdatabuffer.cpp:25:0: ../include/dfb++.h:92:0: warning: "DFB_ADD_DRAWING_FLAG" redefined #define DFB_ADD_DRAWING_FLAG(d,f) (d) = (DFBSurfaceDrawingFlags) ((d) |  ^ In file included from /usr/include/directfb/directfb.h:32:0, from ../include/dfb++.h:47, from idirectfbdatabuffer.cpp:25: /usr/include/directfb/directfb++.h:393:0: note: this is the location of the previous definition #define DFB_ADD_DRAWING_FLAG(d,f) (d) = static_cast  ^ In file included from idirectfbdatabuffer.cpp:25:0: ../include/dfb++.h:93:0: warning: "DFB_ADD_BLITTING_FLAG" redefined #define DFB_ADD_BLITTING_FLAG(b,f) (b) = (DFBSurfaceBlittingFlags) ((b) |  ^ In file included from /usr/include/directfb/directfb.h:32:0, from ../include/dfb++.h:47, from idirectfbdatabuffer.cpp:25: /usr/include/directfb/directfb++.h:394:0: note: this is the location of the previous definition #define DFB_ADD_BLITTING_FLAG(b,f) (b) = static_cast  ^ mv -f .deps/idirectfbdatabuffer.Tpo .deps/idirectfbdatabuffer.Plo /bin/sh ../libtool --tag=CXX --mode=compile x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I../include -D_REENTRANT -I/usr/include/directfb -Wall -march=native -O2 -pipe -Wformat -Werror=format-security -MT idirectfbdisplaylayer.lo -MD -MP -MF .deps/idirectfbdisplaylayer.Tpo -c -o idirectfbdisplaylayer.lo idirectfbdisplaylayer.cpp x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I../include -D_REENTRANT -I/usr/include/directfb -Wall -march=native -O2 -pipe -Wformat -Werror=format-security -MT idirectfbdisplaylayer.lo -MD -MP -MF .deps/idirectfbdisplaylayer.Tpo -c idirectfbdisplaylayer.cpp -fPIC -DPIC -o .libs/idirectfbdisplaylayer.o In file included from idirectfbdisplaylayer.cpp:25:0: ../include/dfb++.h:90:0: warning: "DFB_ADD_SURFACE_DESC" redefined #define DFB_ADD_SURFACE_DESC(d,f) (d) = (DFBSurfaceDescriptionFlags) ((d) |  ^ In file included from /usr/include/directfb/directfb.h:32:0, from ../include/dfb++.h:47, from idirectfbdisplaylayer.cpp:25: /usr/include/directfb/directfb++.h:391:0: note: this is the location of the previous definition #define DFB_ADD_SURFACE_DESC(d,f) (d) = static_cast  ^ In file included from idirectfbdisplaylayer.cpp:25:0: ../include/dfb++.h:92:0: warning: "DFB_ADD_DRAWING_FLAG" redefined #define DFB_ADD_DRAWING_FLAG(d,f) (d) = (DFBSurfaceDrawingFlags) ((d) |  ^ In file included from /usr/include/directfb/directfb.h:32:0, from ../include/dfb++.h:47, from idirectfbdisplaylayer.cpp:25: /usr/include/directfb/directfb++.h:393:0: note: this is the location of the previous definition #define DFB_ADD_DRAWING_FLAG(d,f) (d) = static_cast  ^ In file included from idirectfbdisplaylayer.cpp:25:0: ../include/dfb++.h:93:0: warning: "DFB_ADD_BLITTING_FLAG" redefined #define DFB_ADD_BLITTING_FLAG(b,f) (b) = (DFBSurfaceBlittingFlags) ((b) |  ^ In file included from /usr/include/directfb/directfb.h:32:0, from ../include/dfb++.h:47, from idirectfbdisplaylayer.cpp:25: /usr/include/directfb/directfb++.h:394:0: note: this is the location of the previous definition #define DFB_ADD_BLITTING_FLAG(b,f) (b) = static_cast  ^ mv -f .deps/idirectfbdisplaylayer.Tpo .deps/idirectfbdisplaylayer.Plo /bin/sh ../libtool --tag=CXX --mode=compile x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I../include -D_REENTRANT -I/usr/include/directfb -Wall -march=native -O2 -pipe -Wformat -Werror=format-security -MT idirectfbeventbuffer.lo -MD -MP -MF .deps/idirectfbeventbuffer.Tpo -c -o idirectfbeventbuffer.lo idirectfbeventbuffer.cpp x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I../include -D_REENTRANT -I/usr/include/directfb -Wall -march=native -O2 -pipe -Wformat -Werror=format-security -MT idirectfbeventbuffer.lo -MD -MP -MF .deps/idirectfbeventbuffer.Tpo -c idirectfbeventbuffer.cpp -fPIC -DPIC -o .libs/idirectfbeventbuffer.o In file included from idirectfbeventbuffer.cpp:25:0: ../include/dfb++.h:90:0: warning: "DFB_ADD_SURFACE_DESC" redefined #define DFB_ADD_SURFACE_DESC(d,f) (d) = (DFBSurfaceDescriptionFlags) ((d) |  ^ In file included from /usr/include/directfb/directfb.h:32:0, from ../include/dfb++.h:47, from idirectfbeventbuffer.cpp:25: /usr/include/directfb/directfb++.h:391:0: note: this is the location of the previous definition #define DFB_ADD_SURFACE_DESC(d,f) (d) = static_cast  ^ In file included from idirectfbeventbuffer.cpp:25:0: ../include/dfb++.h:92:0: warning: "DFB_ADD_DRAWING_FLAG" redefined #define DFB_ADD_DRAWING_FLAG(d,f) (d) = (DFBSurfaceDrawingFlags) ((d) |  ^ In file included from /usr/include/directfb/directfb.h:32:0, from ../include/dfb++.h:47, from idirectfbeventbuffer.cpp:25: /usr/include/directfb/directfb++.h:393:0: note: this is the location of the previous definition #define DFB_ADD_DRAWING_FLAG(d,f) (d) = static_cast  ^ In file included from idirectfbeventbuffer.cpp:25:0: ../include/dfb++.h:93:0: warning: "DFB_ADD_BLITTING_FLAG" redefined #define DFB_ADD_BLITTING_FLAG(b,f) (b) = (DFBSurfaceBlittingFlags) ((b) |  ^ In file included from /usr/include/directfb/directfb.h:32:0, from ../include/dfb++.h:47, from idirectfbeventbuffer.cpp:25: /usr/include/directfb/directfb++.h:394:0: note: this is the location of the previous definition #define DFB_ADD_BLITTING_FLAG(b,f) (b) = static_cast  ^ mv -f .deps/idirectfbeventbuffer.Tpo .deps/idirectfbeventbuffer.Plo /bin/sh ../libtool --tag=CXX --mode=compile x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I../include -D_REENTRANT -I/usr/include/directfb -Wall -march=native -O2 -pipe -Wformat -Werror=format-security -MT idirectfbfont.lo -MD -MP -MF .deps/idirectfbfont.Tpo -c -o idirectfbfont.lo idirectfbfont.cpp x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I../include -D_REENTRANT -I/usr/include/directfb -Wall -march=native -O2 -pipe -Wformat -Werror=format-security -MT idirectfbfont.lo -MD -MP -MF .deps/idirectfbfont.Tpo -c idirectfbfont.cpp -fPIC -DPIC -o .libs/idirectfbfont.o In file included from idirectfbfont.cpp:25:0: ../include/dfb++.h:90:0: warning: "DFB_ADD_SURFACE_DESC" redefined #define DFB_ADD_SURFACE_DESC(d,f) (d) = (DFBSurfaceDescriptionFlags) ((d) |  ^ In file included from /usr/include/directfb/directfb.h:32:0, from ../include/dfb++.h:47, from idirectfbfont.cpp:25: /usr/include/directfb/directfb++.h:391:0: note: this is the location of the previous definition #define DFB_ADD_SURFACE_DESC(d,f) (d) = static_cast  ^ In file included from idirectfbfont.cpp:25:0: ../include/dfb++.h:92:0: warning: "DFB_ADD_DRAWING_FLAG" redefined #define DFB_ADD_DRAWING_FLAG(d,f) (d) = (DFBSurfaceDrawingFlags) ((d) |  ^ In file included from /usr/include/directfb/directfb.h:32:0, from ../include/dfb++.h:47, from idirectfbfont.cpp:25: /usr/include/directfb/directfb++.h:393:0: note: this is the location of the previous definition #define DFB_ADD_DRAWING_FLAG(d,f) (d) = static_cast  ^ In file included from idirectfbfont.cpp:25:0: ../include/dfb++.h:93:0: warning: "DFB_ADD_BLITTING_FLAG" redefined #define DFB_ADD_BLITTING_FLAG(b,f) (b) = (DFBSurfaceBlittingFlags) ((b) |  ^ In file included from /usr/include/directfb/directfb.h:32:0, from ../include/dfb++.h:47, from idirectfbfont.cpp:25: /usr/include/directfb/directfb++.h:394:0: note: this is the location of the previous definition #define DFB_ADD_BLITTING_FLAG(b,f) (b) = static_cast  ^ mv -f .deps/idirectfbfont.Tpo .deps/idirectfbfont.Plo /bin/sh ../libtool --tag=CXX --mode=compile x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I../include -D_REENTRANT -I/usr/include/directfb -Wall -march=native -O2 -pipe -Wformat -Werror=format-security -MT idirectfbimageprovider.lo -MD -MP -MF .deps/idirectfbimageprovider.Tpo -c -o idirectfbimageprovider.lo idirectfbimageprovider.cpp x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I../include -D_REENTRANT -I/usr/include/directfb -Wall -march=native -O2 -pipe -Wformat -Werror=format-security -MT idirectfbimageprovider.lo -MD -MP -MF .deps/idirectfbimageprovider.Tpo -c idirectfbimageprovider.cpp -fPIC -DPIC -o .libs/idirectfbimageprovider.o In file included from idirectfbimageprovider.cpp:25:0: ../include/dfb++.h:90:0: warning: "DFB_ADD_SURFACE_DESC" redefined #define DFB_ADD_SURFACE_DESC(d,f) (d) = (DFBSurfaceDescriptionFlags) ((d) |  ^ In file included from /usr/include/directfb/directfb.h:32:0, from ../include/dfb++.h:47, from idirectfbimageprovider.cpp:25: /usr/include/directfb/directfb++.h:391:0: note: this is the location of the previous definition #define DFB_ADD_SURFACE_DESC(d,f) (d) = static_cast  ^ In file included from idirectfbimageprovider.cpp:25:0: ../include/dfb++.h:92:0: warning: "DFB_ADD_DRAWING_FLAG" redefined #define DFB_ADD_DRAWING_FLAG(d,f) (d) = (DFBSurfaceDrawingFlags) ((d) |  ^ In file included from /usr/include/directfb/directfb.h:32:0, from ../include/dfb++.h:47, from idirectfbimageprovider.cpp:25: /usr/include/directfb/directfb++.h:393:0: note: this is the location of the previous definition #define DFB_ADD_DRAWING_FLAG(d,f) (d) = static_cast  ^ In file included from idirectfbimageprovider.cpp:25:0: ../include/dfb++.h:93:0: warning: "DFB_ADD_BLITTING_FLAG" redefined #define DFB_ADD_BLITTING_FLAG(b,f) (b) = (DFBSurfaceBlittingFlags) ((b) |  ^ In file included from /usr/include/directfb/directfb.h:32:0, from ../include/dfb++.h:47, from idirectfbimageprovider.cpp:25: /usr/include/directfb/directfb++.h:394:0: note: this is the location of the previous definition #define DFB_ADD_BLITTING_FLAG(b,f) (b) = static_cast  ^ mv -f .deps/idirectfbimageprovider.Tpo .deps/idirectfbimageprovider.Plo /bin/sh ../libtool --tag=CXX --mode=compile x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I../include -D_REENTRANT -I/usr/include/directfb -Wall -march=native -O2 -pipe -Wformat -Werror=format-security -MT idirectfbinputdevice.lo -MD -MP -MF .deps/idirectfbinputdevice.Tpo -c -o idirectfbinputdevice.lo idirectfbinputdevice.cpp x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I../include -D_REENTRANT -I/usr/include/directfb -Wall -march=native -O2 -pipe -Wformat -Werror=format-security -MT idirectfbinputdevice.lo -MD -MP -MF .deps/idirectfbinputdevice.Tpo -c idirectfbinputdevice.cpp -fPIC -DPIC -o .libs/idirectfbinputdevice.o In file included from idirectfbinputdevice.cpp:25:0: ../include/dfb++.h:90:0: warning: "DFB_ADD_SURFACE_DESC" redefined #define DFB_ADD_SURFACE_DESC(d,f) (d) = (DFBSurfaceDescriptionFlags) ((d) |  ^ In file included from /usr/include/directfb/directfb.h:32:0, from ../include/dfb++.h:47, from idirectfbinputdevice.cpp:25: /usr/include/directfb/directfb++.h:391:0: note: this is the location of the previous definition #define DFB_ADD_SURFACE_DESC(d,f) (d) = static_cast  ^ In file included from idirectfbinputdevice.cpp:25:0: ../include/dfb++.h:92:0: warning: "DFB_ADD_DRAWING_FLAG" redefined #define DFB_ADD_DRAWING_FLAG(d,f) (d) = (DFBSurfaceDrawingFlags) ((d) |  ^ In file included from /usr/include/directfb/directfb.h:32:0, from ../include/dfb++.h:47, from idirectfbinputdevice.cpp:25: /usr/include/directfb/directfb++.h:393:0: note: this is the location of the previous definition #define DFB_ADD_DRAWING_FLAG(d,f) (d) = static_cast  ^ In file included from idirectfbinputdevice.cpp:25:0: ../include/dfb++.h:93:0: warning: "DFB_ADD_BLITTING_FLAG" redefined #define DFB_ADD_BLITTING_FLAG(b,f) (b) = (DFBSurfaceBlittingFlags) ((b) |  ^ In file included from /usr/include/directfb/directfb.h:32:0, from ../include/dfb++.h:47, from idirectfbinputdevice.cpp:25: /usr/include/directfb/directfb++.h:394:0: note: this is the location of the previous definition #define DFB_ADD_BLITTING_FLAG(b,f) (b) = static_cast  ^ mv -f .deps/idirectfbinputdevice.Tpo .deps/idirectfbinputdevice.Plo /bin/sh ../libtool --tag=CXX --mode=compile x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I../include -D_REENTRANT -I/usr/include/directfb -Wall -march=native -O2 -pipe -Wformat -Werror=format-security -MT idirectfbpalette.lo -MD -MP -MF .deps/idirectfbpalette.Tpo -c -o idirectfbpalette.lo idirectfbpalette.cpp x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I../include -D_REENTRANT -I/usr/include/directfb -Wall -march=native -O2 -pipe -Wformat -Werror=format-security -MT idirectfbpalette.lo -MD -MP -MF .deps/idirectfbpalette.Tpo -c idirectfbpalette.cpp -fPIC -DPIC -o .libs/idirectfbpalette.o In file included from idirectfbpalette.cpp:25:0: ../include/dfb++.h:90:0: warning: "DFB_ADD_SURFACE_DESC" redefined #define DFB_ADD_SURFACE_DESC(d,f) (d) = (DFBSurfaceDescriptionFlags) ((d) |  ^ In file included from /usr/include/directfb/directfb.h:32:0, from ../include/dfb++.h:47, from idirectfbpalette.cpp:25: /usr/include/directfb/directfb++.h:391:0: note: this is the location of the previous definition #define DFB_ADD_SURFACE_DESC(d,f) (d) = static_cast  ^ In file included from idirectfbpalette.cpp:25:0: ../include/dfb++.h:92:0: warning: "DFB_ADD_DRAWING_FLAG" redefined #define DFB_ADD_DRAWING_FLAG(d,f) (d) = (DFBSurfaceDrawingFlags) ((d) |  ^ In file included from /usr/include/directfb/directfb.h:32:0, from ../include/dfb++.h:47, from idirectfbpalette.cpp:25: /usr/include/directfb/directfb++.h:393:0: note: this is the location of the previous definition #define DFB_ADD_DRAWING_FLAG(d,f) (d) = static_cast  ^ In file included from idirectfbpalette.cpp:25:0: ../include/dfb++.h:93:0: warning: "DFB_ADD_BLITTING_FLAG" redefined #define DFB_ADD_BLITTING_FLAG(b,f) (b) = (DFBSurfaceBlittingFlags) ((b) |  ^ In file included from /usr/include/directfb/directfb.h:32:0, from ../include/dfb++.h:47, from idirectfbpalette.cpp:25: /usr/include/directfb/directfb++.h:394:0: note: this is the location of the previous definition #define DFB_ADD_BLITTING_FLAG(b,f) (b) = static_cast  ^ mv -f .deps/idirectfbpalette.Tpo .deps/idirectfbpalette.Plo /bin/sh ../libtool --tag=CXX --mode=compile x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I../include -D_REENTRANT -I/usr/include/directfb -Wall -march=native -O2 -pipe -Wformat -Werror=format-security -MT idirectfbscreen.lo -MD -MP -MF .deps/idirectfbscreen.Tpo -c -o idirectfbscreen.lo idirectfbscreen.cpp x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I../include -D_REENTRANT -I/usr/include/directfb -Wall -march=native -O2 -pipe -Wformat -Werror=format-security -MT idirectfbscreen.lo -MD -MP -MF .deps/idirectfbscreen.Tpo -c idirectfbscreen.cpp -fPIC -DPIC -o .libs/idirectfbscreen.o In file included from idirectfbscreen.cpp:25:0: ../include/dfb++.h:90:0: warning: "DFB_ADD_SURFACE_DESC" redefined #define DFB_ADD_SURFACE_DESC(d,f) (d) = (DFBSurfaceDescriptionFlags) ((d) |  ^ In file included from /usr/include/directfb/directfb.h:32:0, from ../include/dfb++.h:47, from idirectfbscreen.cpp:25: /usr/include/directfb/directfb++.h:391:0: note: this is the location of the previous definition #define DFB_ADD_SURFACE_DESC(d,f) (d) = static_cast  ^ In file included from idirectfbscreen.cpp:25:0: ../include/dfb++.h:92:0: warning: "DFB_ADD_DRAWING_FLAG" redefined #define DFB_ADD_DRAWING_FLAG(d,f) (d) = (DFBSurfaceDrawingFlags) ((d) |  ^ In file included from /usr/include/directfb/directfb.h:32:0, from ../include/dfb++.h:47, from idirectfbscreen.cpp:25: /usr/include/directfb/directfb++.h:393:0: note: this is the location of the previous definition #define DFB_ADD_DRAWING_FLAG(d,f) (d) = static_cast  ^ In file included from idirectfbscreen.cpp:25:0: ../include/dfb++.h:93:0: warning: "DFB_ADD_BLITTING_FLAG" redefined #define DFB_ADD_BLITTING_FLAG(b,f) (b) = (DFBSurfaceBlittingFlags) ((b) |  ^ In file included from /usr/include/directfb/directfb.h:32:0, from ../include/dfb++.h:47, from idirectfbscreen.cpp:25: /usr/include/directfb/directfb++.h:394:0: note: this is the location of the previous definition #define DFB_ADD_BLITTING_FLAG(b,f) (b) = static_cast  ^ mv -f .deps/idirectfbscreen.Tpo .deps/idirectfbscreen.Plo /bin/sh ../libtool --tag=CXX --mode=compile x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I../include -D_REENTRANT -I/usr/include/directfb -Wall -march=native -O2 -pipe -Wformat -Werror=format-security -MT idirectfbsurface.lo -MD -MP -MF .deps/idirectfbsurface.Tpo -c -o idirectfbsurface.lo idirectfbsurface.cpp x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I../include -D_REENTRANT -I/usr/include/directfb -Wall -march=native -O2 -pipe -Wformat -Werror=format-security -MT idirectfbsurface.lo -MD -MP -MF .deps/idirectfbsurface.Tpo -c idirectfbsurface.cpp -fPIC -DPIC -o .libs/idirectfbsurface.o In file included from idirectfbsurface.cpp:25:0: ../include/dfb++.h:90:0: warning: "DFB_ADD_SURFACE_DESC" redefined #define DFB_ADD_SURFACE_DESC(d,f) (d) = (DFBSurfaceDescriptionFlags) ((d) |  ^ In file included from /usr/include/directfb/directfb.h:32:0, from ../include/dfb++.h:47, from idirectfbsurface.cpp:25: /usr/include/directfb/directfb++.h:391:0: note: this is the location of the previous definition #define DFB_ADD_SURFACE_DESC(d,f) (d) = static_cast  ^ In file included from idirectfbsurface.cpp:25:0: ../include/dfb++.h:92:0: warning: "DFB_ADD_DRAWING_FLAG" redefined #define DFB_ADD_DRAWING_FLAG(d,f) (d) = (DFBSurfaceDrawingFlags) ((d) |  ^ In file included from /usr/include/directfb/directfb.h:32:0, from ../include/dfb++.h:47, from idirectfbsurface.cpp:25: /usr/include/directfb/directfb++.h:393:0: note: this is the location of the previous definition #define DFB_ADD_DRAWING_FLAG(d,f) (d) = static_cast  ^ In file included from idirectfbsurface.cpp:25:0: ../include/dfb++.h:93:0: warning: "DFB_ADD_BLITTING_FLAG" redefined #define DFB_ADD_BLITTING_FLAG(b,f) (b) = (DFBSurfaceBlittingFlags) ((b) |  ^ In file included from /usr/include/directfb/directfb.h:32:0, from ../include/dfb++.h:47, from idirectfbsurface.cpp:25: /usr/include/directfb/directfb++.h:394:0: note: this is the location of the previous definition #define DFB_ADD_BLITTING_FLAG(b,f) (b) = static_cast  ^ idirectfbsurface.cpp: In member function ‘IDirectFBSurface* IDirectFBSurface::GetSubSurface(int, int, int, int)’: idirectfbsurface.cpp:382:48: error: in C++98 ‘rect’ must be initialized by constructor, not by ‘{...}’ DFBRectangle rect = { x, y, width, height };  ^ Makefile:336: recipe for target 'idirectfbsurface.lo' failed make[2]: *** [idirectfbsurface.lo] Error 1 make[2]: Leaving directory '/var/tmp/portage/dev-libs/DFB++-1.2.0/work/DFB++-1.2.0/dfb++' Makefile:324: recipe for target 'all-recursive' failed make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory '/var/tmp/portage/dev-libs/DFB++-1.2.0/work/DFB++-1.2.0' Makefile:214: recipe for target 'all' failed make: *** [all] Error 2 emake failed * ERROR: dev-libs/DFB++-1.2.0::gentoo failed (compile phase): * emake failed * * Call stack: * ebuild.sh, line 93: Called src_compile * environment, line 1882: Called __eapi0_src_compile * phase-helpers.sh, line 655: Called __eapi2_src_compile * phase-helpers.sh, line 697: Called die * The specific snippet of code: * emake || die "emake failed" * * If you need support, post the output of `emerge --info '=dev-libs/DFB++-1.2.0::gentoo'`, * the complete build log and the output of `emerge -pqv '=dev-libs/DFB++-1.2.0::gentoo'`. * The complete build log is located at '/var/log/portage/dev-libs:DFB++-1.2.0:20150303-171831.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/dev-libs/DFB++-1.2.0/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/dev-libs/DFB++-1.2.0/temp/environment'. * Working directory: '/var/tmp/portage/dev-libs/DFB++-1.2.0/work/DFB++-1.2.0' * S: '/var/tmp/portage/dev-libs/DFB++-1.2.0/work/DFB++-1.2.0'