Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 81120 - net-dialup/intel-536ep compile failed
Summary: net-dialup/intel-536ep compile failed
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Dialup Developers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-02-07 07:35 UTC by Teun Blok
Modified: 2005-02-11 02:15 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
submit emerge info from gomezloper@msn.com to bug #81120 (emerge_info,2.07 KB, text/plain)
2005-02-07 07:43 UTC, Teun Blok
Details
interaction between mrness@gentoo.org and gomezloper@msn.com (net-dialup_intel-536ep.eml.txt,5.28 KB, text/plain)
2005-02-09 03:38 UTC, Teun Blok
Details
modified the ebuild with an echo in it and did an experiment (modified_intel-536ep-4.69.ebuild,1.32 KB, text/plain)
2005-02-09 03:40 UTC, Teun Blok
Details
results of the modified ebuild with the echo's in it, same bad result: compile error (results_modified_intel-536ep-4.69.ebuild,2.58 KB, text/plain)
2005-02-09 03:41 UTC, Teun Blok
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Teun Blok 2005-02-07 07:35:13 UTC
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 #
Comment 1 Teun Blok 2005-02-07 07:43:46 UTC
Created attachment 50620 [details]
submit emerge info from gomezloper@msn.com to bug #81120
Comment 2 Alin Năstac (RETIRED) gentoo-dev 2005-02-07 12:44:44 UTC
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.
Comment 3 Teun Blok 2005-02-09 03:38:54 UTC
Created attachment 50809 [details]
interaction between mrness@gentoo.org and gomezloper@msn.com
Comment 4 Teun Blok 2005-02-09 03:40:10 UTC
Created attachment 50810 [details]
modified the ebuild with an echo in it and did an experiment
Comment 5 Teun Blok 2005-02-09 03:41:08 UTC
Created attachment 50811 [details]
results of the modified ebuild with the echo's in it, same bad result: compile error
Comment 6 Alin Năstac (RETIRED) gentoo-dev 2005-02-09 14:34:27 UTC
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...
Comment 7 Teun Blok 2005-02-10 08:12:05 UTC
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 #
Comment 8 Alin Năstac (RETIRED) gentoo-dev 2005-02-10 23:38:32 UTC
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"?
Comment 9 Teun Blok 2005-02-11 02:15:24 UTC
Everything is clear now, I rest my case....
Again thanks for fixing the bug.