Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 76943 - linux26-headers breaks wvstreams-4.0.1
Summary: linux26-headers breaks wvstreams-4.0.1
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Dialup Developers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-01-06 13:25 UTC by Daniel Karlsson
Modified: 2005-04-04 14:07 UTC (History)
0 users

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


Attachments
Patch against wireless.h to resolve the problem (linux26-headers-wireless.patch,486 bytes, patch)
2005-01-06 13:26 UTC, Daniel Karlsson
Details | Diff
Patch against linux26-headers-2.8.1-r2.ebuild to include the above patch (linux26-headers-2.6.8.1-r2.ebuild.patch,398 bytes, patch)
2005-01-06 13:28 UTC, Daniel Karlsson
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Daniel Karlsson 2005-01-06 13:25:28 UTC
net-libs/wvstreams-4.0.1 fails to compile against linux26-headers:

In file included from linuxstreams/wvinterface.cc:25:
/usr/include/linux/wireless.h:442: error: variable or field `__user' declared void
/usr/include/linux/wireless.h:442: error: expected `;' before '*' token
make: *** [linuxstreams/wvinterface.o] Error 1
make: *** Waiting for unfinished jobs....
Comment 1 Daniel Karlsson 2005-01-06 13:26:52 UTC
Created attachment 47784 [details, diff]
Patch against wireless.h to resolve the problem
Comment 2 Daniel Karlsson 2005-01-06 13:28:15 UTC
Created attachment 47785 [details, diff]
Patch against linux26-headers-2.8.1-r2.ebuild to include the above patch
Comment 3 Alin Năstac (RETIRED) gentoo-dev 2005-01-06 14:41:27 UTC
works for me. what is your emerge info?
Comment 4 Daniel Karlsson 2005-01-06 14:49:36 UTC
heh, ok..

Portage 2.0.51-r8 (default-linux/amd64/2004.3, gcc-3.4.3, glibc-2.3.4.20041102-r0, 2.6.10-gentoo-r2 x86_64)
=================================================================
System uname: 2.6.10-gentoo-r2 x86_64 AMD Athlon(tm) 64 Processor 3000+
Gentoo Base System version 1.6.8
Python:              dev-lang/python-2.3.4 [2.3.4 (#1, Nov  9 2004, 00:39:32)]
ccache version 2.3 [enabled]
dev-lang/python:     2.3.4
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.5, 1.8.5-r2, 1.9.3, 1.4_p6, 1.6.3, 1.7.9
sys-devel/binutils:  2.15.92.0.2-r2
sys-devel/libtool:   1.5.10-r2
virtual/os-headers:  2.6.8.1-r3
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CFLAGS="-O2 -pipe -fomit-frame-pointer -ftracer -fprefetch-loop-arrays -ffast-math -frename-registers -mtune=athlon64 -march=athlon64"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -pipe -fomit-frame-pointer -ftracer -fprefetch-loop-arrays -ffast-math -frename-registers -mtune=athlon64 -march=athlon64"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks fixpackages sandbox"
GENTOO_MIRRORS="http://ftp.du.se/pub/os/gentoo http://mirror.pudas.net/gentoo http://ds.thn.htu.se/linux/gentoo ftp://mirror.pudas.net/gentoo http://mirror.uni-c.dk/gentoo/ ftp://ftp.linux.ee/pub/gentoo/distfiles/ http://gentoo.math.bme.hu http://mirror.uni-c.dk/gentoo/"
LDFLAGS=""
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="amd64 X aalib acpi alsa arts berkdb bitmap-fonts bonobo cdr crypt cups esd f77 fam flac fortran gdbm gif gnome gpm gstreamer gtk2 gtkhtml guile imagemagick imlib ipv6 java jp2 jpeg junit kde ldap libwww lzw lzw-tiff mad mikmod motif mozilla mysql nas ncurses nls nptl odbc offensive oggvorbis opengl oss pam pdflib perl png python qt readline ruby samba sdl slang speex sqlite ssl tcltk tcpd tetex threads tiff truetype truetype-fonts type1-fonts unicode usb userlocales xml xml2 xmms xpm xrandr xv zlib"
Comment 5 Alin Năstac (RETIRED) gentoo-dev 2005-02-13 14:09:58 UTC
did you switchet to linux26-headers recently? 
maybe this is because your glibc is build with linux-headers instead with the linux26-headers.

try rebuilding glibc and tell me if you succeeded.
Comment 6 Daniel Karlsson 2005-02-15 11:08:31 UTC
Well, it works flawlessly now, on the other hand I am running the 2005.0 profile, thus using linux-headers instead..
Comment 7 Alin Năstac (RETIRED) gentoo-dev 2005-02-16 12:49:11 UTC
then this bug is gone
Comment 8 Alin Năstac (RETIRED) gentoo-dev 2005-04-04 14:06:45 UTC
reopened at luckyduck request (see bug #84817)
Comment 9 Alin Năstac (RETIRED) gentoo-dev 2005-04-04 14:07:16 UTC
fixed in wvstreams-4.0.1-r2 and wvstreams-4.0.2