Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 44609 - rioutil 1.3.3 compile fails with kernel 2.6.3 plus 2.6.3 headers
Summary: rioutil 1.3.3 compile fails with kernel 2.6.3 plus 2.6.3 headers
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Tim Yamin (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-03-13 15:34 UTC by Steve Arnold
Modified: 2004-07-20 10:11 UTC (History)
0 users

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


Attachments
Patch for 1.4.2b (rioutil-1.4.2b.26headers.patch,2.21 KB, patch)
2004-04-02 13:29 UTC, Tim Yamin (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Steve Arnold archtester gentoo-dev 2004-03-13 15:34:22 UTC
Compiling rioutil fails consistently on my system; I'm not sure if it's a 2.6 
header issue or an upstream thing, but some header files are confusing gcc...

Reproducible: Always
Steps to Reproduce:
1.
2.
3.

Actual Results:  
gcc -DHAVE_CONFIG_H -I. -I. -I../include -I../include -g3 -c rio.c -MT rio.lo
-MD -MP -MF .deps/rio.TPlo  -fPIC -DPIC -o .libs/rio.lo
In file included from ../include/rio-bsd.h:25,
                 from ../include/rio-byteorder.h:14,
                 from rio.c:43:
../include/rio.h:67: warning: declaration does not declare anything
In file included from ../include/usbdevfs.h:42,
                 from ../include/driver.h:89,
                 from rio.c:46:
../include/usbdrv.h:61: error: redefinition of `struct usb_device_descriptor'
distcc[21871] ERROR: compile on localhost failed
make[1]: *** [rio.lo] Error 1
make[1]: Leaving directory
`/var/tmp/portage/rioutil-1.3.3/work/rioutil-1.3.3/librioutil'
make: *** [all-recursive] Error 1

!!! ERROR: app-misc/rioutil-1.3.3 failed.
!!! Function src_compile, Line 19, Exitcode 2
!!! (no error message)

Expected Results:  
Success.

System uname: 2.6.3 i686 AMD Athlon(tm) XP 2000+
Gentoo Base System version 1.4.3.13p1
distcc 2.11.1 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled]
Autoconf: sys-devel/autoconf-2.59
Automake: sys-devel/automake-1.7.7
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=i686 -mcpu=athlon-xp -Os -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3.1/share/config /usr/kde/3/share/config /usr/share/config
/var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-march=i686 -mcpu=athlon-xp -Os -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache cvs distcc sandbox userpriv usersandbox"
GENTOO_MIRRORS="ftp://mirror.iawnet.sandia.gov/pub/gentoo
http://gentoo.oregonstate.edu
http://www.ibiblio.org/pub/Linux/distributions/gentoo
http://trumpetti.atm.tut.fi/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="3dnow X aalib acl acpi alsa apm arts avi berkdb bonobo cdr crypt cups dga
directfb dvd emacs encode esd evo fam fbcon foomaticdb freetype freetype2 gb gd
gdbm gif gnome gpm gtk gtk2 gtkhtml imap imlib ipv6 java jpeg junit kde lame
lcms ldap libg++ libwww mad mikmod mmx motif mozilla mpeg mysql ncurses nls ogg
oggvorbis opengl oss pam pda pdflib perl plotutils png python qt quicktime
readline samba sasl sdl slang slp spell sse ssl tcltk tcpd tetex tiff truetype
vorbis x86 xml xml2 xmms xv zeo zlib"
Comment 1 Tim Yamin (RETIRED) gentoo-dev 2004-04-02 13:29:57 UTC
Created attachment 28593 [details, diff]
Patch for 1.4.2b

Yep, this is a it-doesn't-play-along-nice-with-2.6-headers issue. If you could
try out the attached patch on the source and confirm that things work as they
should and that the fprintf formatting is all correct after my changes I'd be
happy to commit the patch in...

Thanks!
Comment 2 Tim Yamin (RETIRED) gentoo-dev 2004-07-20 10:11:21 UTC
Should be fixed with rioutils 1.4.4 - please reopen this bug if there are any issues. Thanks!