The following message I receive when emerge net-dialup/ltmodem-2.6.9: >>> Compiling source in /var/tmp/portage/net-dialup/ltmodem-2.6.9/work/ltmodem-2.6-alk-9 ... * Preparing ltmodem module make -C /usr/src/linux SUBDIRS=/var/tmp/portage/net-dialup/ltmodem-2.6.9/work/ltmodem-2.6-alk-9 modules make[1]: Entering directory `/usr/src/linux-2.6.25-gentoo-r1' make[1]: warning: jobserver unavailable: using -j1. Add `+' to parent make rule. CC [M] /var/tmp/portage/net-dialup/ltmodem-2.6.9/work/ltmodem-2.6-alk-9/lt_modem.o /var/tmp/portage/net-dialup/ltmodem-2.6.9/work/ltmodem-2.6-alk-9/lt_modem.c: In function ‘lt_pcibios_read_config_byte’: /var/tmp/portage/net-dialup/ltmodem-2.6.9/work/ltmodem-2.6-alk-9/lt_modem.c:68: error: implicit declaration of function ‘pci_find_slot’ /var/tmp/portage/net-dialup/ltmodem-2.6.9/work/ltmodem-2.6-alk-9/lt_modem.c:68: warning: initialization makes pointer from integer without a cast /var/tmp/portage/net-dialup/ltmodem-2.6.9/work/ltmodem-2.6-alk-9/lt_modem.c: In function ‘lt_pcibios_read_config_word’: /var/tmp/portage/net-dialup/ltmodem-2.6.9/work/ltmodem-2.6-alk-9/lt_modem.c:69: warning: initialization makes pointer from integer without a cast /var/tmp/portage/net-dialup/ltmodem-2.6.9/work/ltmodem-2.6-alk-9/lt_modem.c: In function ‘lt_pcibios_read_config_dword’: /var/tmp/portage/net-dialup/ltmodem-2.6.9/work/ltmodem-2.6-alk-9/lt_modem.c:70: warning: initialization makes pointer from integer without a cast /var/tmp/portage/net-dialup/ltmodem-2.6.9/work/ltmodem-2.6-alk-9/lt_modem.c: In function ‘lt_pcibios_write_config_byte’: /var/tmp/portage/net-dialup/ltmodem-2.6.9/work/ltmodem-2.6-alk-9/lt_modem.c:71: warning: initialization makes pointer from integer without a cast /var/tmp/portage/net-dialup/ltmodem-2.6.9/work/ltmodem-2.6-alk-9/lt_modem.c: In function ‘lt_pcibios_write_config_word’: /var/tmp/portage/net-dialup/ltmodem-2.6.9/work/ltmodem-2.6-alk-9/lt_modem.c:72: warning: initialization makes pointer from integer without a cast /var/tmp/portage/net-dialup/ltmodem-2.6.9/work/ltmodem-2.6-alk-9/lt_modem.c: In function ‘lt_pcibios_write_config_dword’: /var/tmp/portage/net-dialup/ltmodem-2.6.9/work/ltmodem-2.6-alk-9/lt_modem.c:73: warning: initialization makes pointer from integer without a cast make[2]: *** [/var/tmp/portage/net-dialup/ltmodem-2.6.9/work/ltmodem-2.6-alk-9/lt_modem.o] Error 1 make[1]: *** [_module_/var/tmp/portage/net-dialup/ltmodem-2.6.9/work/ltmodem-2.6-alk-9] Error 2 make[1]: Leaving directory `/usr/src/linux-2.6.25-gentoo-r1' make: *** [module] Error 2 * * ERROR: net-dialup/ltmodem-2.6.9 failed. * Call stack: * ebuild.sh, line 49: Called src_compile * environment, line 3169: Called linux-mod_src_compile * environment, line 2415: Called die * The specific snippet of code: * eval "emake HOSTCC=\"$(tc-getBUILD_CC)\" CC=\"$(get-KERNEL_CC)\" LDFLAGS=\"$(get_abi_LDFLAGS)\" ${BUILD_FIXES} ${BUILD_PARAMS} ${BUILD_TARGETS} " || die "Unable to emake HOSTCC="$(tc-getBUILD_CC)" CC="$(get-KERNEL_CC)" LDFLAGS="$(get_abi_LDFLAGS)" ${BUILD_FIXES} ${BUILD_PARAMS} ${BUILD_TARGETS}"; * The die message: * Unable to emake HOSTCC=i686-pc-linux-gnu-gcc CC=i686-pc-linux-gnu-gcc LDFLAGS= KERNEL_DIR='/usr/src/linux' module * * 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/net-dialup/ltmodem-2.6.9/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/net-dialup/ltmodem-2.6.9/temp/environment'. * * Messages for package net-dialup/ltmodem-2.6.9: * * ERROR: net-dialup/ltmodem-2.6.9 failed. * Call stack: * ebuild.sh, line 49: Called src_compile * environment, line 3169: Called linux-mod_src_compile * environment, line 2415: Called die * The specific snippet of code: * eval "emake HOSTCC=\"$(tc-getBUILD_CC)\" CC=\"$(get-KERNEL_CC)\" LDFLAGS=\"$(get_abi_LDFLAGS)\" ${BUILD_FIXES} ${BUILD_PARAMS} ${BUILD_TARGETS} " || die "Unable to emake HOSTCC="$(tc-getBUILD_CC)" CC="$(get-KERNEL_CC)" LDFLAGS="$(get_abi_LDFLAGS)" ${BUILD_FIXES} ${BUILD_PARAMS} ${BUILD_TARGETS}"; * The die message: * Unable to emake HOSTCC=i686-pc-linux-gnu-gcc CC=i686-pc-linux-gnu-gcc LDFLAGS= KERNEL_DIR='/usr/src/linux' module * * 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/net-dialup/ltmodem-2.6.9/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/net-dialup/ltmodem-2.6.9/temp/environment'. Reproducible: Always
Created attachment 151590 [details] My emerge --info
Created attachment 151591 [details] My linux kernel .config file
Please, add something like this to pkg_setup() section of ltmodem-2.6.9 ebuild if kernel_is ge 2 6 24 && ! linux_chkconfig_present PCI_LEGACY; then eerror "${P} requires support for pci_find_slot. \ Please enable PCI_LEGACY kernel option." die "${P} requires support for pci_find_slot." fi This driver uses deprecate pci_find_slot function. So without this option or patch to sources it doesn't compile.
Fixed (for real this time) in cvs. @reporter: Next time *please* don't close bugs by yourself. It was a miracle that I saw it.