<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "http://bugs.gentoo.org/bugzilla.dtd">

<bugzilla version="2.22.7"
          urlbase="http://bugs.gentoo.org/"
          maintainer="bugzilla@gentoo.org"
>

    <bug>
          <bug_id>68537</bug_id>
          
          <creation_ts>2004-10-22 05:52 0000</creation_ts>
          <short_desc>emerge net-wireless/hostap-driver-0.2.4 fails to compile</short_desc>
          <delta_ts>2005-07-17 13:06:51 0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Gentoo Linux</product>
          <component>Unspecified</component>
          <version>unspecified</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          
          
          
          <priority>P2</priority>
          <bug_severity>blocker</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>nils@marving.dk</reporter>
          <assigned_to>mobile@gentoo.org</assigned_to>
          <cc>schiotz@fysik.dtu.dk</cc>

      

      
          <long_desc isprivate="0">
            <who>nils@marving.dk</who>
            <bug_when>2004-10-22 05:52:41 0000</bug_when>
            <thetext>When emerging net-wireless/hostap-driver-0.2.4, emerge fails during compilation as described below. The kernel is development-sources-2.6.8.1 and -2.6.9, both return the same failure. The /usr/src/linux symlink is verified correctly. The machine is runnning ~x86.

Reproducible: Always
Steps to Reproduce:
1.emerge net-wireless/hostap-driver
Actual Results:  
 * Building hostap-driver for kernel version: 2.6.9 
Makefile:42: WARNING: No kernel PCMCIA support found and PCMCIA_PATH is not 
defined 
/bin/sh: -I/usr/src/linux/include: No such file or directory 
*** Can&apos;t build for 2.6 with a non-2.6 source! 
make: *** [2.6] Error 1 
 
!!! ERROR: net-wireless/hostap-driver-0.2.4 failed. 
!!! Function src_compile, Line 65, Exitcode 2 
!!! make failed 
 

Expected Results:  
Emerged correctly. 

Portage 2.0.51-r2 (default-x86-2004.2, gcc-3.4.2, glibc-2.3.4.20041006-r0, 
2.6.8.1 i686) 
================================================================= 
System uname: 2.6.8.1 i686 Celeron (Coppermine) 
Gentoo Base System version 1.5.3 
Autoconf: sys-devel/autoconf-2.59-r5 
Automake: sys-devel/automake-1.8.5-r1 
Binutils: sys-devel/binutils-2.15.92.0.2-r1 
Headers:  sys-kernel/linux26-headers-2.6.8.1-r1 
Libtools: sys-devel/libtool-1.5.2-r5 
ACCEPT_KEYWORDS=&quot;x86 ~x86&quot; 
ACCEPT_LICENSE=&quot;&quot; 
ARCH=&quot;x86&quot; 
AUTOCLEAN=&quot;yes&quot; 
BASH_ENV=&quot;/etc/spork/is/not/valid/profile.env&quot; 
CFLAGS=&quot;-Os -march=pentium3 -pipe -fomit-frame-pointer&quot; 
CHOST=&quot;i686-pc-linux-gnu&quot; 
CLEAN_DELAY=&quot;5&quot; 
CONFIG_PROTECT=&quot;/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control&quot; 
CONFIG_PROTECT_MASK=&quot;/etc/gconf /etc/terminfo /etc/env.d&quot; 
CVS_RSH=&quot;ssh&quot; 
CXXFLAGS=&quot;-Os -march=pentium3 -pipe -fomit-frame-pointer&quot; 
DISPLAY=&quot;localhost:10.0&quot; 
DISTDIR=&quot;/usr/portage/distfiles&quot; 
EDITOR=&quot;/usr/bin/vim&quot; 
FEATURES=&quot;autoaddcvs ccache distlocks sandbox&quot; 
FETCHCOMMAND=&quot;/usr/bin/wget -t 5 --passive-ftp -P ${DISTDIR} ${URI}&quot; 
GCC_SPECS=&quot;/usr/lib/gcc-lib/i686-pc-linux-gnu/3.4.2/specs&quot; 
GDK_USE_XFT=&quot;1&quot; 
GENTOO_MIRRORS=&quot;http://mirror.switch.ch/mirror/gentoo/ 
ftp://ftp.easynet.nl/mirror/gentoo/ ftp://mirror.switch.ch/mirror/gentoo/ 
http://ftp.easynet.nl/mirror/gentoo/ 
ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror/ http://gentoo.mirror.icd.hu/ 
ftp://ftp.du.se/pub/os/gentoo http://mir.zyrianes.net/gentoo/ 
ftp://mir.zyrianes.net/gentoo/&quot; 
GRP_STAGE23_USE=&quot;ipv6 pam tcpd readline nls ssl gpm perl python berkdb acl 
ncurses&quot; 
G_BROKEN_FILENAMES=&quot;1&quot; 
HOME=&quot;/root&quot; 
HOSTNAME=&quot;sokrates&quot; 
INFOPATH=&quot;/usr/share/info:/usr/share/gcc-data/i686-pc-linux-gnu/3.4/info&quot; 
LANG=&quot;en_US.UTF-8&quot; 
LC_MEASUREMENT=&quot;en_IN.UTF-8&quot; 
LC_MONETARY=&quot;da_DK.UTF-8&quot; 
LC_PAPER=&quot;en_IN.UTF-8&quot; 
LC_TELEPHONE=&quot;da_DK.UTF-8&quot; 
LC_TIME=&quot;en_IN.UTF-8&quot; 
LESS=&quot;-R&quot; 
LESSOPEN=&quot;|lesspipe.sh %s&quot; 
LOGNAME=&quot;root&quot; 
LS_COLORS=&quot;no=00:fi=00:di=01;34:ln=01;36:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=01;05;37;41:mi=01;05;37;41:ex=01;32:*.cmd=01;32:*.exe=01;32:*.com=01;32:*.btm=01;32:*.bat=01;32:*.sh=01;32:*.csh=01;32:*.tar=01;31:*.tgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.gz=01;31:*.bz2=01;31:*.bz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.rar=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.jpg=01;35:*.jpeg=01;35:*.gif=01;35:*.bmp=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.mng=01;35:*.xcf=01;35:*.pcx=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.avi=01;35:*.mkv=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.mov=01;35:*.qt=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.fli=01;35:*.gl=01;35:*.dl=01;35:*.pdf=00;32:*.ps=00;32:*.txt=00;32:*.patch=00;32:*.diff=00;32:*.log=00;32:*.tex=00;32:*.doc=00;32:*.mp3=00;36:*.wav=00;36:*.mid=00;36:*.midi=00;36:*.au=00;36:*.ogg=00;36:*.flac=00;36:*.aac=00;36:&quot; 
MAIL=&quot;/var/mail/root&quot; 
MAKEOPTS=&quot;-j2&quot; 
MANPATH=&quot;/usr/share/man:/usr/local/share/man:/usr/share/gcc-data/i686-pc-linux-gnu/3.4/man:/usr/share/man:/usr/qt/3/doc/man&quot; 
NOCOLOR=&quot;false&quot; 
OLDPWD=&quot;/usr/src/linux&quot; 
PAGER=&quot;/usr/bin/less&quot; 
PATH=&quot;/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/opt/bin:/usr/i686-pc-linux-gnu/gcc-bin/3.4:/usr/X11R6/bin:/usr/qt/3/bin:/usr/local/sbin&quot; 
PKGDIR=&quot;/usr/portage/packages&quot; 
PORTAGE_ARCHLIST=&quot;alpha amd64 arm hppa ia64 macos mips ppc ppc64 ppc-macos 
s390 sparc x86 x86-obsd x86-fbsd&quot; 
PORTAGE_BINHOST_CHUNKSIZE=&quot;3000&quot; 
PORTAGE_CALLER=&quot;emerge&quot; 
PORTAGE_GID=&quot;250&quot; 
PORTAGE_MASTER_PID=&quot;14738&quot; 
PORTAGE_NICENESS=&quot;10&quot; 
PORTAGE_TMPDIR=&quot;/var/tmp&quot; 
PORTDIR=&quot;/usr/portage&quot; 
PORTDIR_OVERLAY=&quot;/home/portage&quot; 
PRELINK_PATH=&quot;&quot; 
PRELINK_PATH_MASK=&quot;&quot; 
PWD=&quot;/root&quot; 
QMAKESPEC=&quot;linux-g++&quot; 
QTDIR=&quot;/usr/qt/3&quot; 
RESUMECOMMAND=&quot;/usr/bin/wget -c -t 5 --passive-ftp -P ${DISTDIR} ${URI}&quot; 
RPMDIR=&quot;/usr/portage/rpm&quot; 
RSYNC_RETRIES=&quot;3&quot; 
RSYNC_TIMEOUT=&quot;180&quot; 
SHELL=&quot;/bin/bash&quot; 
SHLVL=&quot;1&quot; 
SSH_CLIENT=&quot;130.225.86.73 33170 22&quot; 
SSH_CONNECTION=&quot;130.225.86.73 33170 83.72.131.235 22&quot; 
SSH_TTY=&quot;/dev/pts/0&quot; 
SYNC=&quot;rsync://rsync.gentoo.org/gentoo-portage&quot; 
TERM=&quot;xterm&quot; 
USE=&quot;X aalib acpi alsa apache2 audiofile avi bcmath berkdb bitmap-fonts bzlib 
cddb crypt cups curl dba dedicated encode exif flac foomaticdb gd gdbm gif gtk 
gtk2 imap imlib jabber jpeg libg++ libwww mad maildir mikmod milter mmx mng 
motif mozilla mpeg msn mysql ncurses nls nptl offensive oggvorbis openal 
opengl pam pcre pdflib perl php pic pie png posix ppds python qt quicktime 
readline recode samba sdl slang snmp speex spell sse ssl svg szip tcpd theora 
threads tidy tiff truetype unicode usb vhosts wmf wxwindows x86 xml2 xpm 
xprint xv xvid zlib&quot; 
USER=&quot;root&quot; 
USERLAND=&quot;GNU&quot; 
USE_EXPAND=&quot;VIDEO_CARDS INPUT_DEVICES LINGUAS&quot; 
XARGS=&quot;xargs -r&quot; 
XINITRC=&quot;/etc/X11/xinit/xinitrc&quot; 
_=&quot;/usr/bin/emerge&quot;</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>nils@marving.dk</who>
            <bug_when>2004-10-22 06:25:48 0000</bug_when>
            <thetext>The hostap-driver-0.2.5 source available from http://hostap.epitest.fi/ can be built on the same machine without any problems.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>henrik@brixandersen.dk</who>
            <bug_when>2004-10-22 07:40:54 0000</bug_when>
            <thetext>What does &apos;ls -ld /usr/src/linux&apos; say?</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>henrik@brixandersen.dk</who>
            <bug_when>2004-10-24 04:19:59 0000</bug_when>
            <thetext>Reporter, please answer the above question so we can help resolving the problem.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>nils@marving.dk</who>
            <bug_when>2004-10-25 02:41:53 0000</bug_when>
            <thetext># ls -ld /usr/src/linux
lrwxrwxrwx  1 root root 20 Oct 22 13:28 /usr/src/linux -&gt; /usr/src/linux-2.6.9

which is not the currently runnung kernel, I wan&apos;t to reach the machine over the hostap network card... The 2.6.9, has had a &quot;make oldconfig&quot; and &quot;make &amp;&amp; make modules_install &amp;&amp; make install&quot; without complaints, where the oldconfig came from the currently running 2.6.8.1 kernel. The ebuild doesn&apos;t work with the symlink pointing to /usr/src/linux-2.6.8.1 anymore, though that&apos;s the currently running setup!</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>henrik@brixandersen.dk</who>
            <bug_when>2004-10-25 05:25:21 0000</bug_when>
            <thetext>It is Gentoo policy not to build against the currently running kernel, but to build against the kernel source found in /usr/src/linux/.

Does the kernel found in /usr/src/linux/ build, install and work as it should?</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>henrik@brixandersen.dk</who>
            <bug_when>2004-10-25 08:26:35 0000</bug_when>
            <thetext>Please check if net-wireless/hostap-driver-0.2.5 fixes this issue.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>nils@marving.dk</who>
            <bug_when>2004-10-26 03:09:40 0000</bug_when>
            <thetext>I&apos;ve tried to emerge ver 0.2.5 and looked a little further. The ebuild modifies the Makefile and while most changes make sense, the line &quot;CC=gcc&quot; is changed to &quot;CC=&quot;. This obviously causes sh to complain about the compile commands, althought is wasn&apos;t clear at first. Note: I&apos;ve tried the same emerge on another machine with very similar make.conf (it&apos;s a p4 not a p3, and it&apos;s got kde desktop as well) also running ~x86, with the same error. It could be a case of bad &quot;&apos;s (g</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>nils@marving.dk</who>
            <bug_when>2004-10-26 03:09:40 0000</bug_when>
            <thetext>I&apos;ve tried to emerge ver 0.2.5 and looked a little further. The ebuild modifies the Makefile and while most changes make sense, the line &quot;CC=gcc&quot; is changed to &quot;CC=&quot;. This obviously causes sh to complain about the compile commands, althought is wasn&apos;t clear at first. Note: I&apos;ve tried the same emerge on another machine with very similar make.conf (it&apos;s a p4 not a p3, and it&apos;s got kde desktop as well) also running ~x86, with the same error. It could be a case of bad &quot;&apos;s (gåseøjne in danish)?

The version 0.2.4 ebuild used to work some time ago, since that is the currently running module, but since then, a new portage has come out along with a lot of other changes.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>henrik@brixandersen.dk</who>
            <bug_when>2004-10-26 03:17:48 0000</bug_when>
            <thetext>I&apos;ve removed the $CC substitution in hostap-driver-0.2.5.ebuild version 1.2.

Wait a little while, emerge --sync, and see if this fixes the problem for you.

--
... og hyg dig ovre p</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>henrik@brixandersen.dk</who>
            <bug_when>2004-10-26 03:17:48 0000</bug_when>
            <thetext>I&apos;ve removed the $CC substitution in hostap-driver-0.2.5.ebuild version 1.2.

Wait a little while, emerge --sync, and see if this fixes the problem for you.

--
... og hyg dig ovre på DTU ;)</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>nils@marving.dk</who>
            <bug_when>2004-10-27 04:41:10 0000</bug_when>
            <thetext>0.2.5 is working now. I wonder, should CC be set or is that a change of design in portage these days?</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>henrik@brixandersen.dk</who>
            <bug_when>2004-11-02 07:02:53 0000</bug_when>
            <thetext>Reopening</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>henrik@brixandersen.dk</who>
            <bug_when>2004-11-02 07:03:18 0000</bug_when>
            <thetext>There were some changes in portage, it appears.

*** This bug has been marked as a duplicate of 69281 ***</thetext>
          </long_desc>
      
    </bug>

</bugzilla>