Não consigo instalar o driver xf86-video-intel no Funtoo

1. Não consigo instalar o driver xf86-video-intel no Funtoo

skjdeecedcnfncvnrfcnrncjvnjrnfvjcnjrjvcjrvcj
Londreslondres

(usa Parabola)

Enviado em 14/06/2021 - 16:33h

Olá. Estou sem X pela falta desse driver.

Não consigo instalar o pacote xf86-video-intel pelo Portage (emerge). Dá erro.

Segue o log:

http://ix.io/3pXW

 * Package:    x11-drivers/xf86-video-intel-2.99.917_p20210215
 * Repository: core-gl-kit
 * Maintainer: [email protected]
 * USE: amd64 elibc_glibc kernel_linux udev userland_GNU uxa
 * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox
* Determining the location of the kernel source code
* Found kernel source directory:
* /usr/src/linux
* Found sources for kernel version:
* 5.10.40_p1-debian-sources
>>> Unpacking source...
>>> Unpacking xf86-video-intel-2.99.917_p20210215.tar.bz2 to /var/tmp/portage/x11-drivers/xf86-video-intel-2.99.917_p20210215/work
>>> Source unpacked in /var/tmp/portage/x11-drivers/xf86-video-intel-2.99.917_p20210215/work
>>> Preparing source in /var/tmp/portage/x11-drivers/xf86-video-intel-2.99.917_p20210215/work/xf86-video-intel-31486f40f8e8f8923ca0799aea84b58799754564 ...
* Applying xf86-video-intel-gcc-pr65873.patch ...
 [ ok ]
* Running eautoreconf in '/var/tmp/portage/x11-drivers/xf86-video-intel-2.99.917_p20210215/work/xf86-video-intel-31486f40f8e8f8923ca0799aea84b58799754564' ...
* Running libtoolize --install --copy --force --automake ...
 [ ok ]
* Running aclocal -I m4 ...
 [ ok ]
* Running autoconf --force ...
 [ ok ]
* Running autoheader ...
 [ ok ]
* Running automake --add-missing --copy --foreign --force-missing ...
 [ ok ]
* Running elibtoolize in: xf86-video-intel-31486f40f8e8f8923ca0799aea84b58799754564/
* 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-drivers/xf86-video-intel-2.99.917_p20210215/work/xf86-video-intel-31486f40f8e8f8923ca0799aea84b58799754564 ...
* econf: updating xf86-video-intel-31486f40f8e8f8923ca0799aea84b58799754564/config.guess with /usr/share/gnuconfig/config.guess
* econf: updating xf86-video-intel-31486f40f8e8f8923ca0799aea84b58799754564/config.sub with /usr/share/gnuconfig/config.sub
./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 --docdir=/usr/share/doc/xf86-video-intel-2.99.917_p20210215 --htmldir=/usr/share/doc/xf86-video-intel-2.99.917_p20210215/html --with-sysroot=/ --libdir=/usr/lib64 --disable-selective-werror --disable-dri1 --disable-backlight --disable-backlight-helper --disable-debug --disable-dri --disable-dri3 no --disable-sna --disable-tools --enable-udev --enable-uxa --disable-xvmc
configure: WARNING: you should use --build, --host, --target
checking for a BSD-compatible install... /usr/lib/portage/python3.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 make supports nested variables... yes
checking whether make supports the include directive... yes (GNU style)
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 dependency style of x86_64-pc-linux-gnu-gcc... none
checking for x86_64-pc-linux-gnu-gcc option to accept ISO C99... none needed
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 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 whether __clang__ is declared... no
checking whether __INTEL_COMPILER is declared... no
checking whether __SUNPRO_C is declared... 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 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 if x86_64-pc-linux-gnu-gcc supports -Werror=unknown-warning-option... no
checking if x86_64-pc-linux-gnu-gcc supports -Werror=unused-command-line-argument... no
checking if x86_64-pc-linux-gnu-gcc supports -Wall... yes
checking if x86_64-pc-linux-gnu-gcc supports -Wpointer-arith... yes
checking if x86_64-pc-linux-gnu-gcc supports -Wmissing-declarations... yes
checking if x86_64-pc-linux-gnu-gcc supports -Wformat=2... yes
checking if x86_64-pc-linux-gnu-gcc supports -Wstrict-prototypes... yes
checking if x86_64-pc-linux-gnu-gcc supports -Wmissing-prototypes... yes
checking if x86_64-pc-linux-gnu-gcc supports -Wnested-externs... yes
checking if x86_64-pc-linux-gnu-gcc supports -Wbad-function-cast... yes
checking if x86_64-pc-linux-gnu-gcc supports -Wold-style-definition... yes
checking if x86_64-pc-linux-gnu-gcc supports -Wdeclaration-after-statement... yes
checking if x86_64-pc-linux-gnu-gcc supports -Wunused... yes
checking if x86_64-pc-linux-gnu-gcc supports -Wuninitialized... yes
checking if x86_64-pc-linux-gnu-gcc supports -Wshadow... yes
checking if x86_64-pc-linux-gnu-gcc supports -Wmissing-noreturn... yes
checking if x86_64-pc-linux-gnu-gcc supports -Wmissing-format-attribute... yes
checking if x86_64-pc-linux-gnu-gcc supports -Wredundant-decls... yes
checking if x86_64-pc-linux-gnu-gcc supports -Wlogical-op... yes
configure: WARNING: You have chosen not to turn some select compiler warnings into errors. This should not be necessary. Please report why you needed to do so in a bug report at https://gitlab.freedesktop.org/xorg/driver/xf86-video-intel/issues/new
checking if x86_64-pc-linux-gnu-gcc supports -Wimplicit... yes
checking if x86_64-pc-linux-gnu-gcc supports -Wnonnull... yes
checking if x86_64-pc-linux-gnu-gcc supports -Winit-self... yes
checking if x86_64-pc-linux-gnu-gcc supports -Wmain... yes
checking if x86_64-pc-linux-gnu-gcc supports -Wmissing-braces... yes
checking if x86_64-pc-linux-gnu-gcc supports -Wsequence-point... yes
checking if x86_64-pc-linux-gnu-gcc supports -Wreturn-type... yes
checking if x86_64-pc-linux-gnu-gcc supports -Wtrigraphs... yes
checking if x86_64-pc-linux-gnu-gcc supports -Warray-bounds... yes
checking if x86_64-pc-linux-gnu-gcc supports -Wwrite-strings... yes
checking if x86_64-pc-linux-gnu-gcc supports -Waddress... yes
checking if x86_64-pc-linux-gnu-gcc supports -Wint-to-pointer-cast... yes
checking if x86_64-pc-linux-gnu-gcc supports -Wpointer-to-int-cast... yes
checking if x86_64-pc-linux-gnu-gcc supports -pedantic... yes
checking if x86_64-pc-linux-gnu-gcc supports -Werror... yes
checking if x86_64-pc-linux-gnu-gcc supports -Werror=attributes... yes
checking whether make supports nested variables... (cached) yes
checking if x86_64-pc-linux-gnu-gcc supports -Wno-cast-qual... yes
checking if x86_64-pc-linux-gnu-gcc supports -Wno-redundant-decls... yes
checking if x86_64-pc-linux-gnu-gcc supports -Wno-maybe-uninitialized... 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... /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... no
checking for dlltool... no
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 object... ok
checking for sysroot... /
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 supports -fno-rtti -fno-exceptions... no
checking for x86_64-pc-linux-gnu-gcc option to produce PIC... -fPIC -DPIC
checking if x86_64-pc-linux-gnu-gcc PIC flag -fPIC -DPIC 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 if x86_64-pc-linux-gnu-gcc supports -c -o file.o... (cached) 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
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking for strlcpy... no
checking for strlcat... no
checking for strndup... yes
checking for native atomic primitives... Intel
checking for UDEV... yes
checking for sys/stat.h... (cached) yes
checking for X11... yes
X11_CLFAGS= X11_LIBS=-lX11-xcb -lxcb -lxcb-dri2 -lXcomposite -lXdamage -lXrandr -lXfixes -lcairo -lXext -lXrender -lX11 -lpixman-1 -lpng16 -lz
checking sys/ipc.h usability... yes
checking sys/ipc.h presence... yes
checking for sys/ipc.h... yes
checking for sys/ipc.h... (cached) yes
checking for X11/extensions/XShm.h... yes
checking for X11/extensions/shmproto.h... yes
checking for X11/extensions/shmstr.h... yes
checking for X11_DRI3... yes
checking for X11_VM... yes
checking whether to build additional tools... no
checking if RANDR is defined... yes
checking if RENDER is defined... yes
checking if DPMSExtension is defined... yes
checking for DRM... yes
checking for PCIACCESS... yes
checking dev/wscons/wsconsio.h usability... no
checking dev/wscons/wsconsio.h presence... no
checking for dev/wscons/wsconsio.h... no
checking for size_t... yes
checking for working alloca.h... yes
checking for alloca... yes
checking whether sys/types.h defines makedev... no
checking sys/mkdev.h usability... no
checking sys/mkdev.h presence... no
checking for sys/mkdev.h... no
checking sys/sysmacros.h usability... yes
checking sys/sysmacros.h presence... yes
checking for sys/sysmacros.h... yes
checking for DRMINTEL... yes
checking for XORG... yes
checking vgaHW.h usability... yes
checking vgaHW.h presence... yes
checking for vgaHW.h... yes
checking xaa.h usability... no
checking xaa.h presence... no
checking for xaa.h... no
checking whether to include XAA support... no
checking for dgaproc.h... yes
checking whether to include DGA support... yes
checking if XF86DRI is defined... yes
checking whether to include DRI1 support... no
checking whether to include DRI2 support... no
checking whether to include DRI3 support... no
checking default DRI support...
checking X11/extensions/dpmsconst.h usability... yes
checking X11/extensions/dpmsconst.h presence... yes
checking for X11/extensions/dpmsconst.h... yes
checking if PRESENT is defined... yes
checking for PRESENT... yes
checking for present.h... yes
checking whether to include PRESENT support... yes
checking whether to include UXA support... no
checking whether to include SNA support... no
checking whether to include XvMC support... no
checking which acceleration method to use by default... configure: error: No default acceleration option

!!! Please attach the following file when seeking support:
!!! /var/tmp/portage/x11-drivers/xf86-video-intel-2.99.917_p20210215/work/xf86-video-intel-31486f40f8e8f8923ca0799aea84b58799754564/config.log
* ERROR: x11-drivers/xf86-video-intel-2.99.917_p20210215::core-gl-kit failed (configure phase):
* econf failed
*
* Call stack:
* ebuild.sh, line 93: Called src_configure
* environment, line 2617: Called xorg-3_src_configure
* environment, line 3598: Called econf '--disable-selective-werror' '--disable-dri1' '--disable-backlight' '--disable-backlight-helper' '--disable-debug' '--disable-dri' '--disable-dri3' 'no' '--disable-sna' '--disable-tools' '--enable-udev' '--enable-uxa' '--disable-xvmc'
* phase-helpers.sh, line 680: Called __helpers_die 'econf failed'
* isolated-functions.sh, line 112: Called die
* The specific snippet of code:
* die "[email protected]"
*
* If you need support, post the output of `emerge --info '=x11-drivers/xf86-video-intel-2.99.917_p20210215::core-gl-kit'`,
* the complete build log and the output of `emerge -pqv '=x11-drivers/xf86-video-intel-2.99.917_p20210215::core-gl-kit'`.
* The complete build log is located at '/var/tmp/portage/x11-drivers/xf86-video-intel-2.99.917_p20210215/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/x11-drivers/xf86-video-intel-2.99.917_p20210215/temp/environment'.
* Working directory: '/var/tmp/portage/x11-drivers/xf86-video-intel-2.99.917_p20210215/work/xf86-video-intel-31486f40f8e8f8923ca0799aea84b58799754564'
* S: '/var/tmp/portage/x11-drivers/xf86-video-intel-2.99.917_p20210215/work/xf86-video-intel-31486f40f8e8f8923ca0799aea84b58799754564'


Meu make.conf:
COMMON_FLAGS="-O2 -fomit-frame-pointer -march=atom -pipe"
CFLAGS="${COMMON_FLAGS}"
CXXFLAGS="${COMMON_FLAGS}"
CHOST="x86_64-pc-linux-gnu"
LINGUAS="pt_BR en en_US"
VIDEO_CARDS="intel i965 i915"