Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 143103 - net-wireless/rtl8187 fails to build, deleting its own source in the tmp build dir
Summary: net-wireless/rtl8187 fails to build, deleting its own source in the tmp build...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Mobile Herd (OBSOLETE)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-08-07 09:30 UTC by Jack Eids_no_google_me_ness
Modified: 2006-12-31 06:42 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jack Eids_no_google_me_ness 2006-08-07 09:30:57 UTC
This ebuild doesn't get very far before self destructing.  I don't actually understand what's going on in its makefile or the one from the kernel source that it is borrowing, but I suspect there is some specific kernel version dependancy . . . but I'm just assuming that when this was originally released with some particular kernel source tree in mind, it didn't delete itself.

# emerge -atv rtl8187

These are the packages that would be merged, in reverse order:

Calculating dependencies... done!
[ebuild N ] net-wireless/rtl8187-1.10 0 kB

Total size of downloads: 0 kB

Would you like to merge these packages? [Yes/No] y
>>> Emerging (1 of 1) net-wireless/rtl8187-1.10 to /
>>> checking ebuild checksums ;-)
>>> checking auxfile checksums ;-)
>>> checking miscfile checksums ;-)
>>> checking rtl8187-1.10.zip ;-)
* Determining the location of the kernel source code
* Found kernel source directory:
* /usr/src/linux
* Found sources for kernel version:
* 2.6.17-gentoo-r4jee20060807
* Checking for suitable kernel configuration options... [ ok ]
>>> Unpacking source...
>>> Unpacking rtl8187-1.10.zip to /var/tmp/portage/rtl8187-1.10/work
>>> Source unpacked.
>>> Compiling source in /var/tmp/portage/rtl8187-1.10/work/rtl8187_linuxdrv_V1.1 ...
* Preparing ieee80211_crypt-rtl module
make -C /usr/src/linux SUBDIRS=/var/tmp/portage/rtl8187-1.10/work/rtl8187_linuxdrv_V1.1/ieee80211 MODVERDIR=/var/tmp/portage/rtl8187-1.10/work/rtl8187_linuxdrv_V1.1/ieee80211 modules
make[1]: Entering directory `/usr/src/linux-2.6.17-gentoo-r4'
scripts/Makefile.build:17: /var/tmp/portage/rtl8187-1.10/work/rtl8187_linuxdrv_V1.1/ieee80211/Makefile: No such file or directory
make[2]: *** No rule to make target `/var/tmp/portage/rtl8187-1.10/work/rtl8187_linuxdrv_V1.1/ieee80211/Makefile'. Stop.
make[1]: *** [_module_/var/tmp/portage/rtl8187-1.10/work/rtl8187_linuxdrv_V1.1/ieee80211] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.17-gentoo-r4'
make: *** [modules] Error 2

!!! ERROR: net-wireless/rtl8187-1.10 failed.
Call stack:
ebuild.sh, line 1539: Called dyn_compile
ebuild.sh, line 939: Called src_compile
ebuild.sh, line 1248: Called linux-mod_src_compile
linux-mod.eclass, line 469: Called die

!!! Unable to make KSRC=/usr/src/linux .
!!! If you need support, post the topmost build error, and the call stack if relevant.




# emerge --info
Portage 2.1-r1 (default-linux/x86/2006.0, gcc-3.4.6, glibc-2.3.6-r4, 2.6.17-gentoo-r4jee20060807 i686)
=================================================================
System uname: 2.6.17-gentoo-r4jee20060807 i686 Pentium III (Coppermine)
Gentoo Base System version 1.6.15
ccache version 2.3 [enabled]
app-admin/eselect-compiler: [Not Present]
dev-lang/python:     2.3.5-r2, 2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.3
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.13-r2
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=i686 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /var/bind"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-O2 -march=i686 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 alsa apache2 apm arts avi bash-completion berkdb bitmap-fonts bzip2 cli crypt dlloader dri eds emboss encode esd fortran gd gdbm gpm gstreamer imagemagick imap imlib innodb ipv6 isdnlog jpeg libg++ libwww lm_sensors mbox mp3 mpm-prefork mysql ncurses nls nptl ogg oss pam pcre pdflib perl php png posix pppd python readline reflection session slang spell spl sse ssl svga tcpd tiff udev usb vorbis xml xorg xv zlib elibc_glibc input_devices_keyboard input_devices_mouse input_devices_evdev kernel_linux userland_GNU"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 1 Jack Eids_no_google_me_ness 2006-08-07 09:31:57 UTC
See also http://forums.gentoo.org/viewtopic.php?p=3497766#3497766
Comment 2 Stefan Schweizer (RETIRED) gentoo-dev 2006-08-08 01:41:19 UTC
thanks, I fixed this.
Comment 3 Sven Wünschmann 2006-10-24 07:22:09 UTC
I wrote the necessacry Makefiles for kernel >=2.6.18.

Postings can be found here:
http://forums.gentoo.org/viewtopic-t-508210-highlight-rtl8187.html

Can anyone confirm their correctness?
Comment 4 Luke Bratch 2006-12-31 06:42:55 UTC
This works fine for me.

I've posted some more info on the forum too:

http://forums.gentoo.org/viewtopic-p-3812533.html#3812533