When I try to ACCEPT_KEYWORDS="~x86" emerge intel-536ep, I get ERROR: net-dialup/intel-536ep-4.69 failed. Reproducible: Always Steps to Reproduce: 1. GNOME Terminal 2.8.0 2. root 3. ACCEPT_KEYWORDS="~x86" emerge intel-536ep Actual Results: make[2]: *** No rule to make target `modules'. Stop. Expected Results: Install linux x86 modemdrivers for PCI card Intel-536ep. I use: gentoo linux 2.4.28-gentoo-r5 gcc 3.3.5-r1 glibc-2.3.4.20040808-r1 xorg-x11-6.8.0-r4 gnome 2.8.1-r1 portage-2.0.51-r15 ERROR: root@gentoo teun # ACCEPT_KEYWORDS="~x86" emerge intel-536ep Calculating dependencies ...done! >>> emerge (1 of 1) net-dialup/intel-536ep-4.69 to / >>> md5 src_uri ;-) intel-536ep-4.69.tgz * Determining the location of the kernel source code * Found kernel source directory: * /usr/src/linux * Found sources for kernel version: * 2.4.28-gentoo-r5 >>> Unpacking source... >>> Unpacking intel-536ep-4.69.tgz to /var/tmp/portage/intel-536ep-4.69/work>>> Source unpacked. * Preparing Intel536 module make -C /lib/modules/2.4.28-gentoo-r5/build SUBDIRS=/var/tmp/portage/intel-536ep-4.69/work/intel-536EP-2.56.76.0/coredrv modules make[1]: Entering directory `/usr/src/linux-2.4.28-gentoo-r5' make -C /var/tmp/portage/intel-536ep-4.69/work/intel-536EP-2.56.76.0/coredrv CFLAGS="-D__KERNEL__ -I/usr/src/linux-2.4.28-gentoo-r5/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer-pipe -mpreferred-stack-boundary=2 -march=i686 -DMODULE -DMODVERSIONS -include/usr/src/linux-2.4.28-gentoo-r5/include/linux/modversions.h" MAKING_MODULES=1 modules make[2]: Entering directory `/var/tmp/portage/intel-536ep-4.69/work/intel-536EP-2.56.76.0/coredrv' make[2]: *** No rule to make target `modules'. Stop. make[2]: Leaving directory `/var/tmp/portage/intel-536ep-4.69/work/intel-536EP-2.56.76.0/coredrv' make[1]: *** [_mod_/var/tmp/portage/intel-536ep-4.69/work/intel-536EP-2.56.76.0/coredrv] Error 2 make[1]: Leaving directory `/usr/src/linux-2.4.28-gentoo-r5' make: *** [536core_26] Error 2 !!! ERROR: net-dialup/intel-536ep-4.69 failed. !!! Function linux-mod_src_compile, Line 417, Exitcode 2 !!! Unable to make KERNEL_SOURCE_PATH=/usr/src/linux 536core_26. !!! If you need support, post the topmost build error, NOT this status message. root@gentoo teun #
Created attachment 50620 [details] submit emerge info from gomezloper@msn.com to bug #81120
works for me, with 2.6 and 2.4 kernels. I see you have a 2.4 kernel which is correctly detected by ebuild, but for some reason, decides to build the module for 2.6 version. It was supposed to make 536core, not 536core_26! I think you have an old portage tree; maybe emerge --sync will solve your problem.
Created attachment 50809 [details] interaction between mrness@gentoo.org and gomezloper@msn.com
Created attachment 50810 [details] modified the ebuild with an echo in it and did an experiment
Created attachment 50811 [details] results of the modified ebuild with the echo's in it, same bad result: compile error
modified ebuild submitted into cvs. It should work now. Still don't understand how come the old ebuild works on my computer but fails on yours...
Complie now works with kernel-2.4.28-gentoo-r5, many thanks!!! I can fax now!!! But.......unmerge does not work. When I unmerge intel-536ep everything seems to work (see example of this below), it tells you that the packages are slated for removal. When I check the locations of the files e.g. /lib/modules/../misc/536ep.o, /etc/conf.d/intel536ep and /etc/init.d/intel536ep, they all exists! Fortunetly only a few files must be removed, so I did this manually. But is this ok for future upgrades when nothing is to be removed??? Need for a new bug???? root@gentoo teun # ACCEPT_KEYWORDS="~x86" emerge unmerge intel-536ep net-dialup/intel-536ep selected: 4.69 protected: none omitted: none >>> 'Selected' packages are slated for removal. >>> 'Protected' and 'omitted' packages will not be removed. >>> Waiting 5 seconds before starting... >>> (Control-C to abort)... >>> Unmerging in: 5 4 3 2 1 >>> Unmerging net-dialup/intel-536ep-4.69... No package files given... Grabbing a set. <<< obj /usr/sbin/hamregistry --- cfgpro obj /lib/modules/2.4.28-gentoo-r5/misc/Intel536.o --- cfgpro dir /lib/modules/2.4.28-gentoo-r5/misc --- cfgpro dir /lib/modules/2.4.28-gentoo-r5 --- cfgpro obj /etc/init.d/intel536ep --- cfgpro dir /etc/init.d --- cfgpro obj /etc/conf.d/intel536ep --- cfgpro dir /etc/conf.d --- !empty dir /usr/sbin --- !empty dir /usr --- !empty dir /lib/modules --- !empty dir /lib --- !empty dir /etc >>> Regenerating /etc/ld.so.cache... * Caching service dependencies... * GNU info directory index is up-to-date. root@gentoo teun #
this is not a bug! portage uses the concept of "protected dirs" from which it does not remove any files. /etc and /lib/modules are such directories. what did you think it meaned "cfgpro"?
Everything is clear now, I rest my case.... Again thanks for fixing the bug.