* Package: x11-libs/libdrm-2.4.67 * Repository: gentoo * Maintainer: x11@gentoo.org * USE: abi_x86_64 amd64 elibc_glibc kernel_linux libkms userland_GNU video_cards_intel * FEATURES: preserve-libs sandbox userpriv usersandbox >>> Unpacking source... >>> Unpacking libdrm-2.4.67.tar.bz2 to /var/tmp/portage/x11-libs/libdrm-2.4.67/work >>> Source unpacked in /var/tmp/portage/x11-libs/libdrm-2.4.67/work >>> Preparing source in /var/tmp/portage/x11-libs/libdrm-2.4.67/work/libdrm-2.4.67 ... * Running elibtoolize in: libdrm-2.4.67/ * Running elibtoolize in: libdrm-2.4.67/build-aux/ * Applying portage/1.2.0 patch ... * Applying sed/1.5.6 patch ... * Applying as-needed/2.4.3 patch ... >>> Source prepared. >>> Configuring source in /var/tmp/portage/x11-libs/libdrm-2.4.67/work/libdrm-2.4.67 ... * abi_x86_64.amd64: running multilib-minimal_abi_src_configure >>> Working in BUILD_DIR: "/var/tmp/portage/x11-libs/libdrm-2.4.67/work/libdrm-2.4.67-abi_x86_64.amd64" * econf: updating libdrm-2.4.67/build-aux/config.sub with /usr/share/gnuconfig/config.sub * econf: updating libdrm-2.4.67/build-aux/config.guess with /usr/share/gnuconfig/config.guess /var/tmp/portage/x11-libs/libdrm-2.4.67/work/libdrm-2.4.67/configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --disable-dependency-tracking --disable-silent-rules --libdir=/usr/lib64 --docdir=/usr/share/doc/libdrm-2.4.67 --enable-shared --disable-static --disable-udev --disable-cairo-tests --disable-amdgpu --disable-exynos-experimental-api --disable-freedreno --enable-intel --disable-nouveau --disable-omap-experimental-api --disable-radeon --disable-tegra-experimental-api --disable-vmwgfx --enable-libkms --enable-valgrind=no checking for xsltproc... /usr/bin/xsltproc 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 a BSD-compatible install... /var/tmp/portage/._portage_reinstall_.l8ui54zu/bin/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 make supports nested variables... yes checking whether make supports nested variables... (cached) yes checking for x86_64-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no 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 whether x86_64-pc-linux-gnu-gcc understands -c and -o together... yes checking for style of include used by make... GNU checking dependency style of x86_64-pc-linux-gnu-gcc... none checking for x86_64-pc-linux-gnu-gcc option to accept ISO C99... -std=gnu99 checking how to run the C preprocessor... x86_64-pc-linux-gnu-gcc -std=gnu99 -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 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 minix/config.h usability... no checking minix/config.h presence... no checking for minix/config.h... no checking whether it is safe to define __EXTENSIONS__... yes checking for special C compiler options needed for large files... no checking for _FILE_OFFSET_BITS value needed for large files... no checking for size_t... yes checking for working alloca.h... yes checking for alloca... yes checking sys/mkdev.h usability... no checking sys/mkdev.h presence... no checking for sys/mkdev.h... no checking sys/sysctl.h usability... yes checking sys/sysctl.h presence... yes checking for sys/sysctl.h... yes checking sys/select.h usability... yes checking sys/select.h presence... yes checking for sys/select.h... yes checking how to print strings... printf checking for a sed that does not truncate output... (cached) /bin/sed checking for fgrep... /bin/grep -F checking for ld used by x86_64-pc-linux-gnu-gcc -std=gnu99... /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 BSD- or MS-compatible name lister (nm)... /usr/bin/x86_64-pc-linux-gnu-nm -B checking the name lister (/usr/bin/x86_64-pc-linux-gnu-nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 1572864 checking how to convert x86_64-pc-linux-gnu file names to x86_64-pc-linux-gnu format... func_convert_file_noop checking how to convert x86_64-pc-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/x86_64-pc-linux-gnu/bin/ld option to reload object files... -r checking for x86_64-pc-linux-gnu-objdump... x86_64-pc-linux-gnu-objdump checking how to recognize dependent libraries... pass_all checking for x86_64-pc-linux-gnu-dlltool... x86_64-pc-linux-gnu-dlltool checking how to associate runtime and link libraries... printf %s\n checking for x86_64-pc-linux-gnu-ar... x86_64-pc-linux-gnu-ar checking for archiver @FILE support... @ checking for x86_64-pc-linux-gnu-strip... x86_64-pc-linux-gnu-strip checking for x86_64-pc-linux-gnu-ranlib... x86_64-pc-linux-gnu-ranlib checking command to parse /usr/bin/x86_64-pc-linux-gnu-nm -B output from x86_64-pc-linux-gnu-gcc -std=gnu99 object... ok checking for sysroot... no checking for a working dd... /bin/dd checking how to truncate binary pipes... /bin/dd bs=4096 count=1 checking for x86_64-pc-linux-gnu-mt... no checking for mt... no checking if : is a manifest tool... no checking for dlfcn.h... yes checking for objdir... .libs checking if x86_64-pc-linux-gnu-gcc -std=gnu99 supports -fno-rtti -fno-exceptions... no checking for x86_64-pc-linux-gnu-gcc -std=gnu99 option to produce PIC... -fPIC -DPIC checking if x86_64-pc-linux-gnu-gcc -std=gnu99 PIC flag -fPIC -DPIC works... yes checking if x86_64-pc-linux-gnu-gcc -std=gnu99 static flag -static works... yes checking if x86_64-pc-linux-gnu-gcc -std=gnu99 supports -c -o file.o... yes checking if x86_64-pc-linux-gnu-gcc -std=gnu99 supports -c -o file.o... (cached) yes checking whether the x86_64-pc-linux-gnu-gcc -std=gnu99 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 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 PTHREADSTUBS... yes checking for clock_gettime... yes checking for open_memstream... yes checking for supported warning flags... checking whether x86_64-pc-linux-gnu-gcc -std=gnu99 supports -Wall... yes checking whether x86_64-pc-linux-gnu-gcc -std=gnu99 supports -Wextra... yes checking whether x86_64-pc-linux-gnu-gcc -std=gnu99 supports -Wsign-compare... yes checking whether x86_64-pc-linux-gnu-gcc -std=gnu99 supports -Werror-implicit-function-declaration... yes checking whether x86_64-pc-linux-gnu-gcc -std=gnu99 supports -Wpointer-arith... yes checking whether x86_64-pc-linux-gnu-gcc -std=gnu99 supports -Wwrite-strings... yes checking whether x86_64-pc-linux-gnu-gcc -std=gnu99 supports -Wstrict-prototypes... yes checking whether x86_64-pc-linux-gnu-gcc -std=gnu99 supports -Wmissing-prototypes... yes checking whether x86_64-pc-linux-gnu-gcc -std=gnu99 supports -Wmissing-declarations... yes checking whether x86_64-pc-linux-gnu-gcc -std=gnu99 supports -Wnested-externs... yes checking whether x86_64-pc-linux-gnu-gcc -std=gnu99 supports -Wpacked... yes checking whether x86_64-pc-linux-gnu-gcc -std=gnu99 supports -Wswitch-enum... yes checking whether x86_64-pc-linux-gnu-gcc -std=gnu99 supports -Wmissing-format-attribute... yes checking whether x86_64-pc-linux-gnu-gcc -std=gnu99 supports -Wstrict-aliasing=2... yes checking whether x86_64-pc-linux-gnu-gcc -std=gnu99 supports -Winit-self... yes checking whether x86_64-pc-linux-gnu-gcc -std=gnu99 supports -Wdeclaration-after-statement... yes checking whether x86_64-pc-linux-gnu-gcc -std=gnu99 supports -Wold-style-definition... yes checking whether x86_64-pc-linux-gnu-gcc -std=gnu99 supports -Wno-unused-parameter... yes checking whether x86_64-pc-linux-gnu-gcc -std=gnu99 supports -Wno-attributes... yes checking whether x86_64-pc-linux-gnu-gcc -std=gnu99 supports -Wno-long-long... yes checking whether x86_64-pc-linux-gnu-gcc -std=gnu99 supports -Winline... yes checking whether x86_64-pc-linux-gnu-gcc -std=gnu99 supports -Wshadow... yes checking whether x86_64-pc-linux-gnu-gcc -std=gnu99 supports -Wno-missing-field-initializers... 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 -Wdeclaration-after-statement -Wold-style-definition -Wno-unused-parameter -Wno-attributes -Wno-long-long -Winline -Wshadow -Wno-missing-field-initializers checking for native atomic primitives... Intel checking for PCIACCESS... yes checking whether to enable Cairo tests... no checking for LIBUDEV... yes checking for docbook manpages stylesheet... yes checking whether to enable Valgrind support... no checking whether x86_64-pc-linux-gnu-gcc -std=gnu99 supports __attribute__(("hidden"))... yes checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating libkms/Makefile config.status: creating libkms/libkms.pc config.status: creating intel/Makefile config.status: creating intel/libdrm_intel.pc config.status: creating radeon/Makefile config.status: creating radeon/libdrm_radeon.pc config.status: creating amdgpu/Makefile config.status: creating amdgpu/libdrm_amdgpu.pc config.status: creating nouveau/Makefile config.status: creating nouveau/libdrm_nouveau.pc config.status: creating omap/Makefile config.status: creating omap/libdrm_omap.pc config.status: creating exynos/Makefile config.status: creating exynos/libdrm_exynos.pc config.status: creating freedreno/Makefile config.status: creating freedreno/libdrm_freedreno.pc config.status: creating tegra/Makefile config.status: creating tegra/libdrm_tegra.pc config.status: creating vc4/Makefile config.status: creating vc4/libdrm_vc4.pc config.status: creating tests/Makefile config.status: creating tests/modeprint/Makefile config.status: creating tests/modetest/Makefile config.status: creating tests/kms/Makefile config.status: creating tests/kmstest/Makefile config.status: creating tests/proptest/Makefile config.status: creating tests/radeon/Makefile config.status: creating tests/amdgpu/Makefile config.status: creating tests/vbltest/Makefile config.status: creating tests/exynos/Makefile config.status: creating tests/tegra/Makefile config.status: creating tests/nouveau/Makefile config.status: creating tests/util/Makefile config.status: creating man/Makefile config.status: creating libdrm.pc config.status: creating config.h config.status: executing depfiles commands config.status: executing libtool commands libdrm 2.4.67 will be compiled with: libkms yes Intel API yes vmwgfx API no Radeon API no AMDGPU API no Nouveau API no OMAP API no EXYNOS API no Freedreno API no (kgsl: no) Tegra API no VC4 API no >>> Source configured. >>> Compiling source in /var/tmp/portage/x11-libs/libdrm-2.4.67/work/libdrm-2.4.67 ... * abi_x86_64.amd64: running multilib-minimal_abi_src_compile make -j1 make all-recursive make[1]: Entering directory '/var/tmp/portage/x11-libs/libdrm-2.4.67/work/libdrm-2.4.67-abi_x86_64.amd64' Making all in . make[2]: Entering directory '/var/tmp/portage/x11-libs/libdrm-2.4.67/work/libdrm-2.4.67-abi_x86_64.amd64' /bin/sh ./libtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I/var/tmp/portage/x11-libs/libdrm-2.4.67/work/libdrm-2.4.67 -I/var/tmp/portage/x11-libs/libdrm-2.4.67/work/libdrm-2.4.67/include/drm -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 -Wdeclaration-after-statement -Wold-style-definition -Wno-unused-parameter -Wno-attributes -Wno-long-long -Winline -Wshadow -Wno-missing-field-initializers -march=native -O2 -pipe -c -o libdrm_la-xf86drm.lo `test -f 'xf86drm.c' || echo '/var/tmp/portage/x11-libs/libdrm-2.4.67/work/libdrm-2.4.67/'`xf86drm.c libtool: compile: x86_64-pc-linux-gnu-gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I/var/tmp/portage/x11-libs/libdrm-2.4.67/work/libdrm-2.4.67 -I/var/tmp/portage/x11-libs/libdrm-2.4.67/work/libdrm-2.4.67/include/drm -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 -Wdeclaration-after-statement -Wold-style-definition -Wno-unused-parameter -Wno-attributes -Wno-long-long -Winline -Wshadow -Wno-missing-field-initializers -march=native -O2 -pipe -c /var/tmp/portage/x11-libs/libdrm-2.4.67/work/libdrm-2.4.67/xf86drm.c -fPIC -DPIC -o .libs/libdrm_la-xf86drm.o /var/tmp/portage/x11-libs/libdrm-2.4.67/work/libdrm-2.4.67/xf86drm.c: In function ‘drmOpenMinor’: /var/tmp/portage/x11-libs/libdrm-2.4.67/work/libdrm-2.4.67/xf86drm.c:444:2: error: implicit declaration of function ‘makedev’ [-Werror=implicit-function-declaration] return drmOpenDevice(makedev(DRM_MAJOR, minor), minor, type); ^ /var/tmp/portage/x11-libs/libdrm-2.4.67/work/libdrm-2.4.67/xf86drm.c:444:2: warning: nested extern declaration of ‘makedev’ [-Wnested-externs] /var/tmp/portage/x11-libs/libdrm-2.4.67/work/libdrm-2.4.67/xf86drm.c: In function ‘drmGetNodeTypeFromFd’: /var/tmp/portage/x11-libs/libdrm-2.4.67/work/libdrm-2.4.67/xf86drm.c:2717:2: error: implicit declaration of function ‘major’ [-Werror=implicit-function-declaration] maj = major(sbuf.st_rdev); ^ /var/tmp/portage/x11-libs/libdrm-2.4.67/work/libdrm-2.4.67/xf86drm.c:2717:2: warning: nested extern declaration of ‘major’ [-Wnested-externs] /var/tmp/portage/x11-libs/libdrm-2.4.67/work/libdrm-2.4.67/xf86drm.c:2718:2: error: implicit declaration of function ‘minor’ [-Werror=implicit-function-declaration] min = minor(sbuf.st_rdev); ^ /var/tmp/portage/x11-libs/libdrm-2.4.67/work/libdrm-2.4.67/xf86drm.c:2718:2: warning: nested extern declaration of ‘minor’ [-Wnested-externs] cc1: some warnings being treated as errors Makefile:706: recipe for target 'libdrm_la-xf86drm.lo' failed make[2]: *** [libdrm_la-xf86drm.lo] Error 1 make[2]: Leaving directory '/var/tmp/portage/x11-libs/libdrm-2.4.67/work/libdrm-2.4.67-abi_x86_64.amd64' Makefile:815: recipe for target 'all-recursive' failed make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory '/var/tmp/portage/x11-libs/libdrm-2.4.67/work/libdrm-2.4.67-abi_x86_64.amd64' Makefile:574: recipe for target 'all' failed make: *** [all] Error 2 * ERROR: x11-libs/libdrm-2.4.67::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=x11-libs/libdrm-2.4.67::gentoo'`, * the complete build log and the output of `emerge -pqv '=x11-libs/libdrm-2.4.67::gentoo'`. * The complete build log is located at '/var/log/portage/x11-libs:libdrm-2.4.67:20160415-134654.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/x11-libs/libdrm-2.4.67/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/x11-libs/libdrm-2.4.67/temp/environment'. * Working directory: '/var/tmp/portage/x11-libs/libdrm-2.4.67/work/libdrm-2.4.67-abi_x86_64.amd64' * S: '/var/tmp/portage/x11-libs/libdrm-2.4.67/work/libdrm-2.4.67'