I want to re-compile xf86-input-keyboard package, failed. below is the package build log: ------------------------------------------------------------------------------ >>> Unpacking source... >>> Unpacking xf86-input-keyboard-1.3.2.tar.bz2 to /var/tmp/portage/x11-drivers/xf86-input-keyboard-1.3.2/work [32;01m*[0m Running elibtoolize in: xf86-input-keyboard-1.3.2 [32;01m*[0m Applying portage-1.5.10.patch ... [32;01m*[0m Applying sed-1.5.6.patch ... [32;01m*[0m Applying as-needed-1.5.26.patch ... >>> Source unpacked in /var/tmp/portage/x11-drivers/xf86-input-keyboard-1.3.2/work >>> Compiling source in /var/tmp/portage/x11-drivers/xf86-input-keyboard-1.3.2/work/xf86-input-keyboard-1.3.2 ... * econf: updating xf86-input-keyboard-1.3.2/config.guess with /usr/share/gnuconfig/config.guess * econf: updating xf86-input-keyboard-1.3.2/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 --libdir=/usr/lib64 --prefix=/usr --datadir=/usr/share checking if xorg-macros used to generate configure is at least 1.2... yes, 1.2.1 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 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... no checking for x86_64-pc-linux-gnu-g95... no checking for x86_64-pc-linux-gnu-xlf95... no checking for x86_64-pc-linux-gnu-f95... no checking for x86_64-pc-linux-gnu-fort... no checking for x86_64-pc-linux-gnu-ifort... no checking for x86_64-pc-linux-gnu-ifc... no checking for x86_64-pc-linux-gnu-efc... no checking for x86_64-pc-linux-gnu-pgf95... no checking for x86_64-pc-linux-gnu-lf95... no checking for x86_64-pc-linux-gnu-ftn... no checking for g77... no checking for xlf... no checking for f77... no checking for frt... no checking for pgf77... no checking for cf77... no checking for fort77... no checking for fl32... no checking for af77... no checking for xlf90... no checking for f90... no checking for pgf90... no checking for pghpf... no checking for epcf90... no checking for gfortran... no checking for g95... no checking for xlf95... no checking for f95... no checking for fort... no checking for ifort... no checking for ifc... no checking for efc... no checking for pgf95... no checking for lf95... no checking for ftn... no checking whether we are using the GNU Fortran 77 compiler... no checking whether accepts -g... no 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 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 if RANDR is defined... yes checking if XINPUT is defined... yes checking if XKB is defined... yes checking for x86_64-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 XORG... yes checking for ANSI C header files... (cached) yes configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating man/Makefile config.status: creating config.h config.status: executing depfiles commands make -j3 make all-recursive make[1]: Entering directory `/var/tmp/portage/x11-drivers/xf86-input-keyboard-1.3.2/work/xf86-input-keyboard-1.3.2' Making all in src make[2]: Entering directory `/var/tmp/portage/x11-drivers/xf86-input-keyboard-1.3.2/work/xf86-input-keyboard-1.3.2/src' /bin/sh ../libtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -fno-strict-aliasing -Wbad-function-cast -Wold-style-definition -Wdeclaration-after-statement -I/usr/include/xorg -I/usr/include/pixman-1 -O2 -march=nocona -fomit-frame-pointer -pipe -MT kbd.lo -MD -MP -MF .deps/kbd.Tpo -c -o kbd.lo kbd.c /bin/sh ../libtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -fno-strict-aliasing -Wbad-function-cast -Wold-style-definition -Wdeclaration-after-statement -I/usr/include/xorg -I/usr/include/pixman-1 -O2 -march=nocona -fomit-frame-pointer -pipe -MT lnx_KbdMap.lo -MD -MP -MF .deps/lnx_KbdMap.Tpo -c -o lnx_KbdMap.lo lnx_KbdMap.c /bin/sh ../libtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -fno-strict-aliasing -Wbad-function-cast -Wold-style-definition -Wdeclaration-after-statement -I/usr/include/xorg -I/usr/include/pixman-1 -O2 -march=nocona -fomit-frame-pointer -pipe -MT lnx_kbd.lo -MD -MP -MF .deps/lnx_kbd.Tpo -c -o lnx_kbd.lo lnx_kbd.c mkdir .libs x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -fno-strict-aliasing -Wbad-function-cast -Wold-style-definition -Wdeclaration-after-statement -I/usr/include/xorg -I/usr/include/pixman-1 -O2 -march=nocona -fomit-frame-pointer -pipe -MT lnx_KbdMap.lo -MD -MP -MF .deps/lnx_KbdMap.Tpo -c lnx_KbdMap.c -fPIC -DPIC -o .libs/lnx_KbdMap.o x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -fno-strict-aliasing -Wbad-function-cast -Wold-style-definition -Wdeclaration-after-statement -I/usr/include/xorg -I/usr/include/pixman-1 -O2 -march=nocona -fomit-frame-pointer -pipe -MT kbd.lo -MD -MP -MF .deps/kbd.Tpo -c kbd.c -fPIC -DPIC -o .libs/kbd.o x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -fno-strict-aliasing -Wbad-function-cast -Wold-style-definition -Wdeclaration-after-statement -I/usr/include/xorg -I/usr/include/pixman-1 -O2 -march=nocona -fomit-frame-pointer -pipe -MT lnx_kbd.lo -MD -MP -MF .deps/lnx_kbd.Tpo -c lnx_kbd.c -fPIC -DPIC -o .libs/lnx_kbd.o ts for this package should be sent. */ #undef PACKmv -f .deps/kbd.Tpo .deps/kbd.Plo /bin/sh ../libtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -fno-strict-aliasing -Wbad-function-cast -Wold-style-definition -Wdeclaration-after-statement -I/usr/include/xorg -I/usr/include/pixman-1 -O2 -march=nocona -fomit-frame-pointer -pipe -MT at_scancode.lo -MD -MP -MF .deps/at_scancode.Tpo -c -o at_scancode.lo at_scancode.c IR}"; fi } declare -x ABI="amd64" declare -x ALSA_CARDS="" declare -x ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" declare -x APACHE2_MODULES="acmv -f .deps/lnx_kbd.Tpo .deps/lnx_kbd.Plo x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -fno-strict-aliasing -Wbad-function-cast -Wold-style-definition -Wdeclaration-after-statement -I/usr/include/xorg -I/usr/include/pixman-1 -O2 -march=nocona -fomit-frame-pointer -pipe -MT at_scancode.lo -MD -MP -MF .deps/at_scancode.Tpo -c at_scancode.c -fPIC -DPIC -o .libs/at_scancode.o mv -f .deps/lnx_KbdMap.Tpo .deps/lnx_KbdMap.Plo mv -f .deps/at_scancode.Tpo .deps/at_scancode.Plo /bin/sh ../libtool --tag=CC --mode=link x86_64-pc-linux-gnu-gcc -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -fno-strict-aliasing -Wbad-function-cast -Wold-style-definition -Wdeclaration-after-statement -I/usr/include/xorg -I/usr/include/pixman-1 -O2 -march=nocona -fomit-frame-pointer -pipe -avoid-version -module -Wl,-O1 -Wl,-z,lazy -o kbd_drv.la -rpath /usr/lib64/xorg/modules/input kbd.lo lnx_KbdMap.lo lnx_kbd.lo at_scancode.lo x86_64-pc-linux-gnu-gcc -shared .libs/kbd.o .libs/lnx_KbdMap.o .libs/lnx_kbd.o .libs/at_scancode.o -march=nocona -Wl,-O1 -Wl,-z -Wl,lazy -Wl,-soname -Wl,kbd_drv.so -o .libs/kbd_drv.so /usr/lib/gcc/x86_64-pc-linux-gnu/4.3.2/../../../../x86_64-pc-linux-gnu/bin/ld:.libs/kbd.o: file format not recognized; treating as linker script /usr/lib/gcc/x86_64-pc-linux-gnu/4.3.2/../../../../x86_64-pc-linux-gnu/bin/ld:.libs/kbd.o:1: syntax error collect2: ld returned 1 exit status make[2]: *** [kbd_drv.la] Error 1 make[2]: Leaving directory `/var/tmp/portage/x11-drivers/xf86-input-keyboard-1.3.2/work/xf86-input-keyboard-1.3.2/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/x11-drivers/xf86-input-keyboard-1.3.2/work/xf86-input-keyboard-1.3.2' make: *** [all] Error 2 [31;01m*[0m [31;01m*[0m ERROR: x11-drivers/xf86-input-keyboard-1.3.2 failed. [31;01m*[0m Call stack: [31;01m*[0m ebuild.sh, line 49: Called src_compile [31;01m*[0m environment, line 3160: Called x-modular_src_compile [31;01m*[0m environment, line 3945: Called x-modular_src_make [31;01m*[0m environment, line 3985: Called die [31;01m*[0m The specific snippet of code: [31;01m*[0m emake || die "emake failed" [31;01m*[0m The die message: [31;01m*[0m emake failed [31;01m*[0m [31;01m*[0m If you need support, post the topmost build error, and the call stack if relevant. [31;01m*[0m A complete build log is located at '/var/tmp/portage/x11-drivers/xf86-input-keyboard-1.3.2/temp/build.log'. [31;01m*[0m The ebuild environment file is located at '/var/tmp/portage/x11-drivers/xf86-input-keyboard-1.3.2/temp/environment'. [31;01m*[0m Reproducible: Always
ccache issues?
Why gnome... ?
Please provide your full emerge --info. Thanks