Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 138447

Summary: cdemu-0.7 and kernel-2.6.17
Product: Gentoo Linux Reporter: Matteo Azzali (RETIRED) <mattepiu>
Component: Current packagesAssignee: SpanKY <vapier>
Status: RESOLVED UPSTREAM    
Severity: normal CC: jorgpitts
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Matteo Azzali (RETIRED) gentoo-dev 2006-06-29 03:34:25 UTC
This error (unknown dev_ioctl) started when I tried to emerge cdemu after 2.6.17
kernel.... (x86 system, should I post my emerge --info even in this case?)

>>> Compiling source in /var/tmp/portage/cdemu-0.7/work/cdemu-0.7 ...
make -C /usr/src/linux SUBDIRS=/var/tmp/portage/cdemu-0.7/work/cdemu-0.7 modules
make[1]: Entering directory `/usr/src/linux-2.6.17-gentoo'
make[1]: warning: jobserver unavailable: using -j1.  Add `+' to parent make rule.
  CC [M]  /var/tmp/portage/cdemu-0.7/work/cdemu-0.7/cdemu.o
/var/tmp/portage/cdemu-0.7/work/cdemu-0.7/cdemu.c:642: error: unknown field 'dev_ioctl' specified in initializer
/var/tmp/portage/cdemu-0.7/work/cdemu-0.7/cdemu.c:642: warning: initialization makes integer from pointer without a cast
/var/tmp/portage/cdemu-0.7/work/cdemu-0.7/cdemu.c:646: error: 'CDC_IOCTLS' undeclared here (not in a function)
make[2]: *** [/var/tmp/portage/cdemu-0.7/work/cdemu-0.7/cdemu.o] Error 1
make[1]: *** [_module_/var/tmp/portage/cdemu-0.7/work/cdemu-0.7] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.17-gentoo'
make: *** [all] Error 2

!!! ERROR: app-cdr/cdemu-0.7 failed.
Call stack:
  ebuild.sh, line 1545:   Called dyn_compile
  ebuild.sh, line 940:   Called src_compile
  cdemu-0.7.ebuild, line 23:   Called die

!!! (no error message)
!!! If you need support, post the topmost build error, and the call stack if relevant.
Comment 1 SpanKY gentoo-dev 2006-06-29 15:52:30 UTC
handled upstream
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2006-07-08 22:56:39 UTC
*** Bug 139728 has been marked as a duplicate of this bug. ***
Comment 3 Wulf Krueger (RETIRED) gentoo-dev 2006-08-02 12:03:33 UTC
Even though this is being handled upstream I think it might be a good idea to add a DEPEND on "<virtual/linux-sources-2.6.17" to cdemu-0.7 as both cdemu 0.7 and (on x86 at least) =gentoo-sources-2.6.17* are currently marked as stable.
(I tested gentoo-sources-2.6.16-r13 with which cdemu still compiles.)

Or am I wrong here?