Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 64771 - app-cdr/cdemu-0.6_beta fails to build with gentoo-dev-sources-2.6.8-r4
Summary: app-cdr/cdemu-0.6_beta fails to build with gentoo-dev-sources-2.6.8-r4
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal
Assignee: SpanKY
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-09-20 10:18 UTC by John Ross Hunt
Modified: 2004-10-30 23:20 UTC (History)
1 user (show)

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


Attachments
Here's the build log (5186-cdemu-0.6_beta.log,2.44 KB, text/plain)
2004-09-20 10:20 UTC, John Ross Hunt
Details
cdemu cvs tarball (cdemu-20041025.tar.bz2,23.12 KB, application/x-bzip)
2004-10-25 20:41 UTC, Omer Hasan
Details
Renamed cdemu ebuild (cdemu-20041025.ebuild,838 bytes, application/octet-stream)
2004-10-25 20:43 UTC, Omer Hasan
Details

Note You need to log in before you can comment on or make changes to this bug.
Description John Ross Hunt 2004-09-20 10:18:49 UTC
The kernel module for cdemu-0.6_beta fails to build with the latest 2.6 kernel.

Reproducible: Always
Steps to Reproduce:
1. emerge app-cdr/cdemu-0.6_beta
2. build fails
3. scratch head in frustration

Actual Results:  
The kernel module failed to build.

Expected Results:  
It should have built the kernel module.

Portage 2.0.51_rc1 (default-x86-2004.0, gcc-3.4.1, glibc-2.3.4.20040808-r0,
2.6.8-gentoo-r4 i686)
=================================================================
System uname: 2.6.8-gentoo-r4 i686 Pentium III (Coppermine)
Gentoo Base System version 1.5.3
ccache version 2.3 [enabled]
Autoconf: sys-devel/autoconf-2.59-r4
Automake: sys-devel/automake-1.8.5-r1
Binutils: sys-devel/binutils-2.15.90.0.1.1-r3
Headers:  sys-kernel/linux26-headers-2.6.8.1
Libtools: sys-devel/libtool-1.5.2-r5
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=pentium3 -O2 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3.3/share/config:/usr/kde/3.3/env:/usr/kde/3.3/shutdown
/usr/kde/3/share/config /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="-march=pentium3 -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="ftp://gentoo.chem.wisc.edu/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.us.gentoo.org/gentoo-portage"
USE="S3TC X aac aalib accessibility acl adns aim alsa antlr apm arts async
audiofile avi bcel berkdb bitmap-fonts blender-game bonobo bsh bzlib cddb cdf
cdparanoia cdr clanJavaScript clanVoice cmucl codecs crypt cscope cups curl dga
dillo directfb divx4linux djbfft doc dts dv dvb dvd dvdr editor edl encode
escreen esd evo exif expat f77 faac faad fam fbcon fbdev fdftk ffmpeg fftw flac
fluidsynth fmod foomaticdb freetts freetype fs gb gcj gd gdbm gif gimp gimpprint
gkrellm glade glgd glut gmp gnome gnomedb gphoto2 gpm graphviz gs gstreamer gtk
gtk2 gtkhtml guile hbci icq icu idea ieee1394 image imagemagick imlib imlib2
ipcs jabber jack java javadoc javamail javascript jbig jce jdepend joystick jp2
jpeg jsch jython kde kerberos krb4 ladcca lcms ldap libcaca libdsk libg++ libgda
libsamplerate libwww live lm_sensors log4j lufsusermount lynxkeymap lzo lzw
lzw-tiff mad makecheck matroska mbrola md5sum mdb mikmod mixer mmap mmx mng mono
motif mozaccess mozcalendar mozdevelop mozilla mozp3p mozplaintext mozsvg
mozxmlterm mp3 mpeg mpeg4 mpi mplayer msdav msn music nas native ncurses net
netcdf network nls nntp no-opts nocd nptl ntlm nvidia objc ocaml offensive ofx
oggvorbis openal opengl opie optional-tasks oscar oss pam pcap pda pdflib perl
physfs plotutils png pnp portaudio ppds pthreads python qt quicktime quotes
readline regexp rhino rogue rtc ruby samba sasl scanner sdk sdl silc slang slp
smime snmp soundtouch sox speedo speex spell sqlite src sse ssl svg svga szip
t1lib tcltk tcpd tetex tga theora threads tidy tiff timidity tlen tools
transcode truetype type1 unicode usb uudeview v4l v4l2 vim-with-x wifi wmf
wsconvert wxwin wxwindows x86 xalan xatrix xerces xine xml xml2 xmms xosd xpm
xprint xrandr xsl xv xvid xvmc yahoo yv12 zlib video_cards_nvidia"
Comment 1 John Ross Hunt 2004-09-20 10:20:44 UTC
Created attachment 40019 [details]
Here's the build log
Comment 2 Kfir Ozer 2004-10-11 03:38:19 UTC
cdemu won't even compile on development-sources-2.6.9-rc3 
make -C /usr/src/linux SUBDIRS=/var/tmp/portage/cdemu-0.6_beta/work/cdemu-0.6_beta modules
make[1]: Entering directory `/usr/src/linux-2.6.9-rc3'
make[1]: warning: jobserver unavailable: using -j1.  Add `+' to parent make rule.
  CC [M]  /var/tmp/portage/cdemu-0.6_beta/work/cdemu-0.6_beta/cdemu.o
/var/tmp/portage/cdemu-0.6_beta/work/cdemu-0.6_beta/cdemu.c: In function `cdemu_read_actor':
/var/tmp/portage/cdemu-0.6_beta/work/cdemu-0.6_beta/cdemu.c:160: error: structure has no member named `buf'
/var/tmp/portage/cdemu-0.6_beta/work/cdemu-0.6_beta/cdemu.c:160: error: structure has no member named `buf'
/var/tmp/portage/cdemu-0.6_beta/work/cdemu-0.6_beta/cdemu.c:165: error: structure has no member named `buf'
/var/tmp/portage/cdemu-0.6_beta/work/cdemu-0.6_beta/cdemu.c: In function `cdemu_transfer':
/var/tmp/portage/cdemu-0.6_beta/work/cdemu-0.6_beta/cdemu.c:212: error: structure has no member named `buf'
/var/tmp/portage/cdemu-0.6_beta/work/cdemu-0.6_beta/cdemu.c: In function `cdemu_block_ioctl':
/var/tmp/portage/cdemu-0.6_beta/work/cdemu-0.6_beta/cdemu.c:705: warning: passing arg 1 of `cdrom_ioctl' from incompatible pointer type
/var/tmp/portage/cdemu-0.6_beta/work/cdemu-0.6_beta/cdemu.c:705: warning: passing arg 2 of `cdrom_ioctl' from incompatible pointer type
/var/tmp/portage/cdemu-0.6_beta/work/cdemu-0.6_beta/cdemu.c:705: warning: passing arg 3 of `cdrom_ioctl' makes pointer from integer without a cast
/var/tmp/portage/cdemu-0.6_beta/work/cdemu-0.6_beta/cdemu.c:705: error: too few arguments to function `cdrom_ioctl'
make[2]: *** [/var/tmp/portage/cdemu-0.6_beta/work/cdemu-0.6_beta/cdemu.o] Error 1
make[1]: *** [_module_/var/tmp/portage/cdemu-0.6_beta/work/cdemu-0.6_beta] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.9-rc3'
make: *** [all] Error 2

!!! ERROR: app-cdr/cdemu-0.6_beta failed.
!!! Function src_compile, Line 23, Exitcode 2
!!! (no error message)
!!! If you need support, post the topmost build error, NOT this status message.
--------------------------------------------------------------------------------
USE="session curl gd ssl -X dba gtk2 amd apache2 audiofile bidi bzlib caps cgi devfs26 devmap divx4linux \
     ethereal fbcon fbdev flash flood freetype gb gimp gimpprint gs \
     gstreamer hyriand java jikes mbox mmx mozaccess mozcalendar mozdomi \
     mpeg4 mplayer msn net nvidia openal pnp pthreads sasl sndfile sqlite \
     threads tiff type1 unicode usb v4l v4l2 Xaw3d xine xinerama xrandr \
     xvid -oss -arts -kde esd -xmms -qt -motif"

please fix it i need this program! :) 
Comment 3 Holly Bostick 2004-10-19 09:17:07 UTC
I've got the same failure with ck-sources:

>>> Source unpacked.
make -C /usr/src/linux SUBDIRS=/var/tmp/portage/cdemu-0.6_beta/work/cdemu-0.6_beta modules
make[1]: Entering directory `/usr/src/linux-2.6.8.1-ck9'
make[1]: warning: jobserver unavailable: using -j1.  Add `+' to parent make rule.
  CC [M]  /var/tmp/portage/cdemu-0.6_beta/work/cdemu-0.6_beta/cdemu.o
/var/tmp/portage/cdemu-0.6_beta/work/cdemu-0.6_beta/cdemu.c: In function `cdemu_read_actor':
/var/tmp/portage/cdemu-0.6_beta/work/cdemu-0.6_beta/cdemu.c:160: error: structure has no member named `buf'
/var/tmp/portage/cdemu-0.6_beta/work/cdemu-0.6_beta/cdemu.c:160: error: structure has no member named `buf'
/var/tmp/portage/cdemu-0.6_beta/work/cdemu-0.6_beta/cdemu.c:165: error: structure has no member named `buf'
/var/tmp/portage/cdemu-0.6_beta/work/cdemu-0.6_beta/cdemu.c: In function `cdemu_transfer':
/var/tmp/portage/cdemu-0.6_beta/work/cdemu-0.6_beta/cdemu.c:212: error: structure has no member named `buf'
/var/tmp/portage/cdemu-0.6_beta/work/cdemu-0.6_beta/cdemu.c: In function `cdemu_block_ioctl':
/var/tmp/portage/cdemu-0.6_beta/work/cdemu-0.6_beta/cdemu.c:705: warning: passing arg 1 of `cdrom_ioctl' from incompatible pointer type
/var/tmp/portage/cdemu-0.6_beta/work/cdemu-0.6_beta/cdemu.c:705: warning: passing arg 2 of `cdrom_ioctl' from incompatible pointer type
/var/tmp/portage/cdemu-0.6_beta/work/cdemu-0.6_beta/cdemu.c:705: warning: passing arg 3 of `cdrom_ioctl' makes pointer from integer without a cast
/var/tmp/portage/cdemu-0.6_beta/work/cdemu-0.6_beta/cdemu.c:705: error: too few arguments to function `cdrom_ioctl'
make[2]: *** [/var/tmp/portage/cdemu-0.6_beta/work/cdemu-0.6_beta/cdemu.o] Error 1
make[1]: *** [_module_/var/tmp/portage/cdemu-0.6_beta/work/cdemu-0.6_beta] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.8.1-ck9'
make: *** [all] Error 2

Portage 2.0.51_rc9 (gcc34-x86-2004.2, gcc-3.4.2, glibc-2.3.4.20040808-r1, 2.6.8.1-ck9 i686)
=================================================================
System uname: 2.6.8.1-ck9 i686 AMD Athlon(tm) XP 2200+
Gentoo Base System version 1.5.3
Autoconf: sys-devel/autoconf-2.59-r4
Automake: sys-devel/automake-1.8.5-r1
Binutils: sys-devel/binutils-2.15.92.0.2
Headers:  sys-kernel/linux26-headers-2.6.8.1-r1
Libtools: sys-devel/libtool-1.5.2-r5
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-Os -march=athlon-xp -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/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/mozilla/defaults/pref /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-Os -march=athlon-xp -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache distlocks fixpackages prelink sandbox"
GENTOO_MIRRORS="ftp://ftp.tiscali.nl/pub/mirror/gentoo http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/ http://www.mirror.ac.uk/mirror/www.ibiblio.org/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage /usr/local/bmg-main"
SYNC="rsync://rsync.nl.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext X Xaw3d aalib aim alsa apm artworkextra audiofile avi berkdb bidi bindist bitmap-fonts bonobo bzlib cdb cdparanoia cdr crypt cups curl curlwrappers dedicated dga dio directfb divx4linux dv dvb dvd dvdr dvdread edl emacs emacs-w3 encode esd f77 fam fbcon flac flash foomaticdb gb gd gdbm ggi gif gimpprint gmail gnome gnutls gphoto2 gpm gstreamer gtk gtk2 gtkhtml guile hal i8x0 icc iconv icq imagemagick imap imlib immqt immqt-bc inifile ithreads jabber jack java jbig jikes joystick jpeg lcms ldap le libcaca libedit libg++ libgda libwww lzo lzw-tiff mad mikmod mime ming mmap mmx mmx2 mmxext mng motif mozilla moznoirc moznomail mozsvg mpeg mpi msn mule mythtv nas ncurses network nls nocd nomac nptl nvidia offensive oggvorbis ooo-kde openal opengl oscar oss pam pcntl pcre pdflib perl pic pie png python qt quicktime readline rtc ruby samba sasl scanner sdl session shared sharedmem simplexml slang slp snmp sockets socks5 spell sse sse2 ssl stroke svg svga tcltk tcpd tga theora threads tidy tiff tokenizer truetype unicode usb userlocales v4l v4l2 videos vim-with-x wmf x86 xml xml2 xmms xosd xprint xv xvid xvmc yahoo zlib linguas_en linguas_nl"
Comment 4 Omer Hasan 2004-10-25 20:41:46 UTC
Created attachment 42593 [details]
cdemu cvs tarball

I went to the cdemu website and downloaded the latest cvs and tarballed it and
I used to the previous cdemu-0.6_beta and renamed it to cdemu-20041025 for now.
It compiles fine and merges fine and even the modprobe of cdemu works out fine.
Thats all the testing I've done for now.
Comment 5 Omer Hasan 2004-10-25 20:43:04 UTC
Created attachment 42594 [details]
Renamed cdemu ebuild
Comment 6 Omer Hasan 2004-10-25 20:43:52 UTC
Comment on attachment 42593 [details]
cdemu cvs tarball

Oh and btw I tested on a 2.6.9 kernel
Comment 7 Lars Weiler (RETIRED) gentoo-dev 2004-10-30 22:24:08 UTC
vapier, cdemu is yours.
Comment 8 SpanKY gentoo-dev 2004-10-30 23:20:33 UTC
yes, i fixed it in cvs, but it doesnt seem like cdemu actually *works* when you try to use it with 2.6.8+ ;)

something i just need to get around to fixing