* gpm-1.20.1.tar.bz2 RMD160 SHA1 SHA256 size ;-) ... [ ok ] * gpm-1.20.1-patches-1.5.tar.bz2 RMD160 SHA1 SHA256 size ;-) ... [ ok ] * checking ebuild checksums ;-) ... [ ok ] * checking auxfile checksums ;-) ... [ ok ] * checking miscfile checksums ;-) ... [ ok ] * checking gpm-1.20.1.tar.bz2 ;-) ... [ ok ] * checking gpm-1.20.1-patches-1.5.tar.bz2 ;-) ... [ ok ] >>> Unpacking source... >>> Unpacking gpm-1.20.1.tar.bz2 to /var/tmp/portage/cross-i586/portage/sys-libs/gpm-1.20.1-r6/work >>> Unpacking gpm-1.20.1-patches-1.5.tar.bz2 to /var/tmp/portage/cross-i586/portage/sys-libs/gpm-1.20.1-r6/work * Applying various patches (bugfixes/updates) ... * 01_all_info.patch ... [ ok ] * 03_all_DESTDIR.patch ... [ ok ] * 04_all_root.patch ... [ ok ] * 05_all_serialconsole.patch ... [ ok ] * 08_all_nodebug.patch ... [ ok ] * 09_all_logfillup.patch ... [ ok ] * 10_all_link.patch ... [ ok ] * 11_all_lib_segv.patch ... [ ok ] * 12_all_linux26-dependcache.patch ... [ ok ] * 20_all_gpm-1.20.1-subscript.patch ... [ ok ] * 21_all_synps2-four-way-button.patch ... [ ok ] * 25_all_gpm-mousewheel-support.patch ... [ ok ] * 28_all_gpm-OPEN_MAX.patch ... [ ok ] * 30_all_gpm-1.20.1-weak-wgetch.patch ... [ ok ] * 40_all_gpm-daemon.patch ... [ ok ] * 60_all_parallel-build.patch ... [ ok ] * Done with patching * Applying gpm-configure-LANG.patch ... [ ok ] >>> Source unpacked. >>> Compiling source in /var/tmp/portage/cross-i586/portage/sys-libs/gpm-1.20.1-r6/work/gpm-1.20.1 ... ./configure --prefix=/usr --host=i586-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --libdir=/lib --sysconfdir=/etc/gpm --build=x86_64-pc-linux-gnu creating cache ./config.cache checking for gcc... gcc checking whether the C compiler (gcc -Os -march=i586 -mno-tls-direct-seg-refs -mmmx -m32 -Wl,-O1 -Wl,--enable-new-dtags -Wl,--sort-common -s) works... no configure: error: installation or configuration problem: C compiler cannot create executables. !!! Please attach the following file when seeking support: !!! /var/tmp/portage/cross-i586/portage/sys-libs/gpm-1.20.1-r6/work/gpm-1.20.1/config.log * * ERROR: sys-libs/gpm-1.20.1-r6 failed. * Call stack: * ebuild.sh, line 49: Called src_compile * environment, line 2085: Called econf 'src_compile' 'src_compile' * ebuild.sh, line 513: Called die * The specific snippet of code: * die "econf failed" * The die message: * econf 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/cross-i586/portage/sys-libs/gpm-1.20.1-r6/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/cross-i586/portage/sys-libs/gpm-1.20.1-r6/temp/environment'. * ############################################################ /var/tmp/portage/cross-i586/portage/sys-libs/gpm-1.20.1-r6/work/gpm-1.20.1/config.log This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. configure:563: checking for gcc configure:676: checking whether the C compiler (gcc -Os -march=i586 -mno-tls-direct-seg-refs -mmmx -m32 -Wl,-O1 -Wl,--enable-new-dtags -Wl,--sort-common -s) works configure:692: gcc -o conftest -Os -march=i586 -mno-tls-direct-seg-refs -mmmx -m32 -Wl,-O1 -Wl,--enable-new-dtags -Wl,--sort-common -s conftest.c 1>&5 /usr/lib/gcc/x86_64-pc-linux-gnu/4.2.3/../../../../x86_64-pc-linux-gnu/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-pc-linux-gnu/4.2.3/libgcc.a when searching for -lgcc /usr/lib/gcc/x86_64-pc-linux-gnu/4.2.3/../../../../x86_64-pc-linux-gnu/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-pc-linux-gnu/4.2.3/libgcc.a when searching for -lgcc /usr/lib/gcc/x86_64-pc-linux-gnu/4.2.3/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lgcc collect2: ld returned 1 exit status configure: failed program was: #line 687 "configure" #include "confdefs.h" main(){return(0);} Reproducible: Always dirty-fix: adding autoconf at the begin of src_compile fixes the problem for me.
it just needs autotools rebuilt
gpm-1.20.4 should work