>>> Unpacking source... >>> Unpacking libdrm-2.4.11.tar.gz to /var/tmp/portage/x11-libs/libdrm-2.4.11/work * Running elibtoolize in: libdrm-2.4.11 * Applying portage-2.2.patch ... * Applying sed-1.5.6.patch ... * Applying as-needed-2.2.6.patch ... >>> Source unpacked in /var/tmp/portage/x11-libs/libdrm-2.4.11/work >>> Compiling source in /var/tmp/portage/x11-libs/libdrm-2.4.11/work/libdrm-2.4.11 ... * econf: updating libdrm-2.4.11/config.guess with /usr/share/gnuconfig/config.guess * econf: updating libdrm-2.4.11/config.sub with /usr/share/gnuconfig/config.sub ./configure --prefix=/usr --build=i686-pc-linux-gnu --host=i686-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --prefix=/usr --datadir=/usr/share checking for a BSD-compatible install... /usr/bin/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 build system type... i686-pc-linux-gnu checking host system type... i686-pc-linux-gnu checking for style of include used by make... GNU checking for i686-pc-linux-gnu-gcc... i686-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 i686-pc-linux-gnu-gcc accepts -g... yes checking for i686-pc-linux-gnu-gcc option to accept ISO C89... none needed checking dependency style of i686-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 fgrep... /bin/grep -F checking for ld used by i686-pc-linux-gnu-gcc... /usr/i686-pc-linux-gnu/bin/ld checking if the linker (/usr/i686-pc-linux-gnu/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 1572864 checking whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... yes checking for /usr/i686-pc-linux-gnu/bin/ld option to reload object files... -r checking for i686-pc-linux-gnu-objdump... i686-pc-linux-gnu-objdump checking how to recognize dependent libraries... pass_all checking for i686-pc-linux-gnu-ar... i686-pc-linux-gnu-ar checking for i686-pc-linux-gnu-strip... i686-pc-linux-gnu-strip checking for i686-pc-linux-gnu-ranlib... i686-pc-linux-gnu-ranlib checking command to parse /usr/bin/nm -B output from i686-pc-linux-gnu-gcc object... ok checking how to run the C preprocessor... i686-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 for dlfcn.h... yes checking for objdir... .libs checking if i686-pc-linux-gnu-gcc supports -fno-rtti -fno-exceptions... no checking for i686-pc-linux-gnu-gcc option to produce PIC... -fPIC -DPIC checking if i686-pc-linux-gnu-gcc PIC flag -fPIC -DPIC works... yes checking if i686-pc-linux-gnu-gcc static flag -static works... yes checking if i686-pc-linux-gnu-gcc supports -c -o file.o... yes checking if i686-pc-linux-gnu-gcc supports -c -o file.o... (cached) yes checking whether the i686-pc-linux-gnu-gcc linker (/usr/i686-pc-linux-gnu/bin/ld) 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 checking for i686-pc-linux-gnu-gcc... (cached) i686-pc-linux-gnu-gcc checking whether we are using the GNU C compiler... (cached) yes checking whether i686-pc-linux-gnu-gcc accepts -g... (cached) yes checking for i686-pc-linux-gnu-gcc option to accept ISO C89... (cached) none needed checking dependency style of i686-pc-linux-gnu-gcc... (cached) gcc3 checking for ANSI C header files... (cached) yes checking for special C compiler options needed for large files... no checking for _FILE_OFFSET_BITS value needed for large files... 64 checking for i686-pc-linux-gnu-pkg-config... no checking for pkg-config... /usr/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking for PTHREADSTUBS... yes checking for clock_gettime... no checking for clock_gettime in -lrt... yes checking for supported warning flags... checking whether i686-pc-linux-gnu-gcc supports -Wall... yes checking whether i686-pc-linux-gnu-gcc supports -Wextra... yes checking whether i686-pc-linux-gnu-gcc supports -Wsign-compare... yes checking whether i686-pc-linux-gnu-gcc supports -Werror-implicit-function-declaration... yes checking whether i686-pc-linux-gnu-gcc supports -Wpointer-arith... yes checking whether i686-pc-linux-gnu-gcc supports -Wwrite-strings... yes checking whether i686-pc-linux-gnu-gcc supports -Wstrict-prototypes... yes checking whether i686-pc-linux-gnu-gcc supports -Wmissing-prototypes... yes checking whether i686-pc-linux-gnu-gcc supports -Wmissing-declarations... yes checking whether i686-pc-linux-gnu-gcc supports -Wnested-externs... yes checking whether i686-pc-linux-gnu-gcc supports -Wpacked... yes checking whether i686-pc-linux-gnu-gcc supports -Wswitch-enum... yes checking whether i686-pc-linux-gnu-gcc supports -Wmissing-format-attribute... yes checking whether i686-pc-linux-gnu-gcc supports -Wstrict-aliasing=2... yes checking whether i686-pc-linux-gnu-gcc supports -Winit-self... yes checking whether i686-pc-linux-gnu-gcc supports -Wunsafe-loop-optimizations... yes checking whether i686-pc-linux-gnu-gcc supports -Wdeclaration-after-statement... yes checking whether i686-pc-linux-gnu-gcc supports -Wold-style-definition... yes checking whether i686-pc-linux-gnu-gcc supports -Wno-missing-field-initializers... yes checking whether i686-pc-linux-gnu-gcc supports -Wno-unused-parameter... yes checking whether i686-pc-linux-gnu-gcc supports -Wno-attributes... yes checking whether i686-pc-linux-gnu-gcc supports -Wno-long-long... yes checking whether i686-pc-linux-gnu-gcc supports -Winline... yes checking which warning flags were supported... -Wall -Wextra -Wsign-compare -Werror-implicit-function-declaration -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Wpacked -Wswitch-enum -Wmissing-format-attribute -Wstrict-aliasing=2 -Winit-self -Wunsafe-loop-optimizations -Wdeclaration-after-statement -Wold-style-definition -Wno-missing-field-initializers -Wno-unused-parameter -Wno-attributes -Wno-long-long -Winline checking for CAIRO... yes checking for LIBUDEV... no configure: creating ./config.status config.status: creating Makefile config.status: creating libdrm/Makefile config.status: creating libdrm/intel/Makefile config.status: creating libdrm/nouveau/Makefile config.status: creating libdrm/nouveau/libdrm_nouveau.pc config.status: creating shared-core/Makefile config.status: creating tests/Makefile config.status: creating tests/modeprint/Makefile config.status: creating tests/modetest/Makefile config.status: creating libdrm.pc config.status: creating libdrm_intel.pc config.status: creating libdrm/config.h config.status: executing depfiles commands config.status: executing libtool commands make -j2 --no-print-directory -s Making all in libdrm Making all in . libtool: compile: i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../shared-core -march=core2 -O3 -mmmx -msse -msse2 -msse3 -mfpmath=sse -fweb -pipe -MT xf86drm.lo -MD -MP -MF .deps/xf86drm.Tpo -c xf86drm.c -fPIC -DPIC -o .libs/xf86drm.o libtool: compile: i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../shared-core -march=core2 -O3 -mmmx -msse -msse2 -msse3 -mfpmath=sse -fweb -pipe -MT xf86drmHash.lo -MD -MP -MF .deps/xf86drmHash.Tpo -c xf86drmHash.c -fPIC -DPIC -o .libs/xf86drmHash.o libtool: compile: i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../shared-core -march=core2 -O3 -mmmx -msse -msse2 -msse3 -mfpmath=sse -fweb -pipe -MT xf86drmRandom.lo -MD -MP -MF .deps/xf86drmRandom.Tpo -c xf86drmRandom.c -fPIC -DPIC -o .libs/xf86drmRandom.o xf86drm.c: In function ‘drmOpenDevice’: xf86drm.c:309: warning: ignoring return value of ‘chown’, declared with attribute warn_unused_result xf86drm.c:322: warning: ignoring return value of ‘chown’, declared with attribute warn_unused_result xf86drm.c:365: warning: ignoring return value of ‘chown’, declared with attribute warn_unused_result libtool: compile: i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../shared-core -march=core2 -O3 -mmmx -msse -msse2 -msse3 -mfpmath=sse -fweb -pipe -MT xf86drmSL.lo -MD -MP -MF .deps/xf86drmSL.Tpo -c xf86drmSL.c -fPIC -DPIC -o .libs/xf86drmSL.o libtool: compile: i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../shared-core -march=core2 -O3 -mmmx -msse -msse2 -msse3 -mfpmath=sse -fweb -pipe -MT xf86drmMode.lo -MD -MP -MF .deps/xf86drmMode.Tpo -c xf86drmMode.c -fPIC -DPIC -o .libs/xf86drmMode.o libtool: link: i686-pc-linux-gnu-gcc -shared .libs/xf86drm.o .libs/xf86drmHash.o .libs/xf86drmRandom.o .libs/xf86drmSL.o .libs/xf86drmMode.o -lrt -march=core2 -mmmx -msse -msse2 -msse3 -mfpmath=sse -Wl,-O3 -Wl,--as-needed -Wl,--sort-common -Wl,--enable-new-dtags -Wl,--hash-style=gnu -Wl,-soname -Wl,libdrm.so.2 -o .libs/libdrm.so.2.4.0 libtool: link: (cd ".libs" && rm -f "libdrm.so.2" && ln -s "libdrm.so.2.4.0" "libdrm.so.2") libtool: link: (cd ".libs" && rm -f "libdrm.so" && ln -s "libdrm.so.2.4.0" "libdrm.so") libtool: link: ( cd ".libs" && rm -f "libdrm.la" && ln -s "../libdrm.la" "libdrm.la" ) Making all in intel libtool: compile: i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../../libdrm -Wall -Wextra -Wsign-compare -Werror-implicit-function-declaration -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Wpacked -Wswitch-enum -Wmissing-format-attribute -Wstrict-aliasing=2 -Winit-self -Wunsafe-loop-optimizations -Wdeclaration-after-statement -Wold-style-definition -Wno-missing-field-initializers -Wno-unused-parameter -Wno-attributes -Wno-long-long -Winline -I../../libdrm -I../../libdrm/intel -I../../shared-core -march=core2 -O3 -mmmx -msse -msse2 -msse3 -mfpmath=sse -fweb -pipe -MT intel_bufmgr.lo -MD -MP -MF .deps/intel_bufmgr.Tpo -c intel_bufmgr.c -fPIC -DPIC -o .libs/intel_bufmgr.o libtool: compile: i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../../libdrm -Wall -Wextra -Wsign-compare -Werror-implicit-function-declaration -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Wpacked -Wswitch-enum -Wmissing-format-attribute -Wstrict-aliasing=2 -Winit-self -Wunsafe-loop-optimizations -Wdeclaration-after-statement -Wold-style-definition -Wno-missing-field-initializers -Wno-unused-parameter -Wno-attributes -Wno-long-long -Winline -I../../libdrm -I../../libdrm/intel -I../../shared-core -march=core2 -O3 -mmmx -msse -msse2 -msse3 -mfpmath=sse -fweb -pipe -MT intel_bufmgr_fake.lo -MD -MP -MF .deps/intel_bufmgr_fake.Tpo -c intel_bufmgr_fake.c -fPIC -DPIC -o .libs/intel_bufmgr_fake.o libtool: compile: i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../../libdrm -Wall -Wextra -Wsign-compare -Werror-implicit-function-declaration -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Wpacked -Wswitch-enum -Wmissing-format-attribute -Wstrict-aliasing=2 -Winit-self -Wunsafe-loop-optimizations -Wdeclaration-after-statement -Wold-style-definition -Wno-missing-field-initializers -Wno-unused-parameter -Wno-attributes -Wno-long-long -Winline -I../../libdrm -I../../libdrm/intel -I../../shared-core -march=core2 -O3 -mmmx -msse -msse2 -msse3 -mfpmath=sse -fweb -pipe -MT intel_bufmgr_gem.lo -MD -MP -MF .deps/intel_bufmgr_gem.Tpo -c intel_bufmgr_gem.c -fPIC -DPIC -o .libs/intel_bufmgr_gem.o intel_bufmgr_gem.c: In function ‘drm_intel_gem_bo_unmap_gtt’: intel_bufmgr_gem.c:750: warning: unused variable ‘sw_finish’ libtool: compile: i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../../libdrm -Wall -Wextra -Wsign-compare -Werror-implicit-function-declaration -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Wpacked -Wswitch-enum -Wmissing-format-attribute -Wstrict-aliasing=2 -Winit-self -Wunsafe-loop-optimizations -Wdeclaration-after-statement -Wold-style-definition -Wno-missing-field-initializers -Wno-unused-parameter -Wno-attributes -Wno-long-long -Winline -I../../libdrm -I../../libdrm/intel -I../../shared-core -march=core2 -O3 -mmmx -msse -msse2 -msse3 -mfpmath=sse -fweb -pipe -MT mm.lo -MD -MP -MF .deps/mm.Tpo -c mm.c -fPIC -DPIC -o .libs/mm.o libtool: link: i686-pc-linux-gnu-gcc -shared .libs/intel_bufmgr.o .libs/intel_bufmgr_fake.o .libs/intel_bufmgr_gem.o .libs/mm.o -Wl,-rpath -Wl,/var/tmp/portage/x11-libs/libdrm-2.4.11/work/libdrm-2.4.11/libdrm/.libs ../.libs/libdrm.so -march=core2 -mmmx -msse -msse2 -msse3 -mfpmath=sse -Wl,-O3 -Wl,--as-needed -Wl,--sort-common -Wl,--enable-new-dtags -Wl,--hash-style=gnu -Wl,-soname -Wl,libdrm_intel.so.1 -o .libs/libdrm_intel.so.1.0.0 libtool: link: (cd ".libs" && rm -f "libdrm_intel.so.1" && ln -s "libdrm_intel.so.1.0.0" "libdrm_intel.so.1") libtool: link: (cd ".libs" && rm -f "libdrm_intel.so" && ln -s "libdrm_intel.so.1.0.0" "libdrm_intel.so") libtool: link: ( cd ".libs" && rm -f "libdrm_intel.la" && ln -s "../libdrm_intel.la" "libdrm_intel.la" ) Making all in shared-core Making all in tests Making all in modeprint modeprint.c: In function ‘printConnector’: modeprint.c:172: warning: assignment from incompatible pointer type libtool: link: i686-pc-linux-gnu-gcc -I../../shared-core -I../../libdrm/intel/ -I../../libdrm -march=core2 -O3 -mmmx -msse -msse2 -msse3 -mfpmath=sse -fweb -pipe -Wl,-O3 -Wl,--as-needed -Wl,--sort-common -Wl,--enable-new-dtags -Wl,--hash-style=gnu -o .libs/modeprint modeprint.o ../../libdrm/.libs/libdrm.so ../../libdrm/intel/.libs/libdrm_intel.so Making all in modetest modetest.c: In function ‘dump_framebuffers’: modetest.c:254: warning: too few arguments for format modetest.c: In function ‘main’: modetest.c:570: warning: format ‘%64s’ expects type ‘char *’, but argument 4 has type ‘char (*)[64]’ modetest.c:574: warning: format ‘%64s’ expects type ‘char *’, but argument 5 has type ‘char (*)[64]’ libtool: link: i686-pc-linux-gnu-gcc -I../../shared-core -I../../libdrm/intel/ -I../../libdrm -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -march=core2 -O3 -mmmx -msse -msse2 -msse3 -mfpmath=sse -fweb -pipe -Wl,-O3 -Wl,--as-needed -Wl,--sort-common -Wl,--enable-new-dtags -Wl,--hash-style=gnu -o .libs/modetest modetest.o ../../libdrm/.libs/libdrm.so ../../libdrm/intel/.libs/libdrm_intel.so /usr/lib/libcairo.so drmstat.c: In function ‘main’: drmstat.c:281: warning: format ‘%08lx’ expects type ‘long unsigned int’, but argument 3 has type ‘drm_handle_t’ drmstat.c:118: warning: ignoring return value of ‘dup’, declared with attribute warn_unused_result drmstat.c:222: warning: ignoring return value of ‘system’, declared with attribute warn_unused_result drmstat.c:238: warning: ignoring return value of ‘system’, declared with attribute warn_unused_result drmstat.c:253: warning: ignoring return value of ‘system’, declared with attribute warn_unused_result drmstat.c:270: warning: ignoring return value of ‘system’, declared with attribute warn_unused_result drmstat.c:283: warning: ignoring return value of ‘system’, declared with attribute warn_unused_result drmstat.c:297: warning: ignoring return value of ‘system’, declared with attribute warn_unused_result drmstat.c:301: warning: ignoring return value of ‘system’, declared with attribute warn_unused_result drmstat.c:316: warning: ignoring return value of ‘system’, declared with attribute warn_unused_result drmstat.c:319: warning: ignoring return value of ‘system’, declared with attribute warn_unused_result drmstat.c:322: warning: ignoring return value of ‘system’, declared with attribute warn_unused_result drmstat.c:340: warning: ignoring return value of ‘system’, declared with attribute warn_unused_result In file included from dristat.c:36: ../libdrm/xf86drm.c: In function ‘drmOpenDevice’: ../libdrm/xf86drm.c:309: warning: ignoring return value of ‘chown’, declared with attribute warn_unused_result ../libdrm/xf86drm.c:322: warning: ignoring return value of ‘chown’, declared with attribute warn_unused_result ../libdrm/xf86drm.c:365: warning: ignoring return value of ‘chown’, declared with attribute warn_unused_result dristat.c: In function ‘getvm’: dristat.c:111: warning: format ‘%08lx’ expects type ‘long unsigned int’, but argument 3 has type ‘drm_handle_t’ dristat.c:111: warning: format ‘%08lx’ expects type ‘long unsigned int’, but argument 7 has type ‘drm_handle_t’ dristat.c: In function ‘getclients’: dristat.c:136: warning: ignoring return value of ‘read’, declared with attribute warn_unused_result libtool: link: i686-pc-linux-gnu-gcc -march=core2 -O3 -mmmx -msse -msse2 -msse3 -mfpmath=sse -fweb -pipe -Wl,-O3 -Wl,--as-needed -Wl,--sort-common -Wl,--enable-new-dtags -Wl,--hash-style=gnu -o .libs/drmstat drmstat.o ../libdrm/.libs/libdrm.so libtool: link: i686-pc-linux-gnu-gcc -march=core2 -O3 -mmmx -msse -msse2 -msse3 -mfpmath=sse -fweb -pipe -Wl,-O3 -Wl,--as-needed -Wl,--sort-common -Wl,--enable-new-dtags -Wl,--hash-style=gnu -o .libs/dristat dristat.o ../libdrm/.libs/libdrm.so dristat.o: In function `drmWaitVBlank': dristat.c:(.text+0x6fb): undefined reference to `clock_gettime' dristat.c:(.text+0x75b): undefined reference to `clock_gettime' collect2: ld returned 1 exit status make[2]: *** [dristat] Error 1 make[1]: *** [all-recursive] Error 1 make: *** [all-recursive] Error 1 * * ERROR: x11-libs/libdrm-2.4.11 failed. * Call stack: * ebuild.sh, line 49: Called src_compile * environment, line 3054: Called x-modular_src_compile * environment, line 3834: Called x-modular_src_make * environment, line 3873: Called die * The specific snippet of code: * emake || die "emake failed" * The die message: * emake failed * * If you need support, post the topmost build error, and the call stack if relevant. * A complete build log is located at '/var/tmp/portage/x11-libs/libdrm-2.4.11/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/x11-libs/libdrm-2.4.11/temp/environment'. *