Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 140315 - app-cdr/cdemu-0.7 won't compile on kernel 2.6.17-gentoo-r2
Summary: app-cdr/cdemu-0.7 won't compile on kernel 2.6.17-gentoo-r2
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: SpanKY
URL:
Whiteboard:
Keywords:
: 143065 144805 (view as bug list)
Depends on:
Blocks:
 
Reported: 2006-07-14 01:07 UTC by wikwam
Modified: 2006-08-22 22:47 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description wikwam 2006-07-14 01:07:09 UTC
I upgraded my kernel to 2.6.17-gentoo-r2. Now cdemu don't compile.

>>> Emerging (1 of 1) app-cdr/cdemu-0.7 to /
>>> checking ebuild checksums ;-)
>>> checking auxfile checksums ;-)
>>> checking miscfile checksums ;-)
>>> checking cdemu-0.7.tar.bz2 ;-)
>>> Unpacking source...
>>> Unpacking cdemu-0.7.tar.bz2 to /var/tmp/portage/cdemu-0.7/work
>>> Source unpacked.
>>> 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-r2'
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)
/var/tmp/portage/cdemu-0.7/work/cdemu-0.7/cdemu.c:646: error: initializer element is not constant
/var/tmp/portage/cdemu-0.7/work/cdemu-0.7/cdemu.c:646: error: (near initialization for `cdemu_dops.capability')
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-r2'
make: *** [all] Error 2

!!! ERROR: app-cdr/cdemu-0.7 failed.
Call stack:
  ebuild.sh, line 1539:   Called dyn_compile
  ebuild.sh, line 939:   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-07-14 22:39:54 UTC
deal with it upstream
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2006-08-07 02:36:29 UTC
*** Bug 143065 has been marked as a duplicate of this bug. ***
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2006-08-07 02:58:34 UTC
Reopen, 0.8.0 is out and should be fixed:

<snip>
    * 2.6.16 and higher only (no more 2.4).
    * cdemu has file access like in a loop module (Nico Huber).
    * should work on amd64 & SMP systems.
    * .mds, .ccd, .nrg support (Henrik Stokseth).
    * .iso (Calin A. Culianu).
    * some docs.
    * bug fixes.
</snip>
Comment 4 SpanKY gentoo-dev 2006-08-07 09:26:36 UTC
i take care of this upstream, not in Gentoo bugzilla
Comment 5 Jakub Moc (RETIRED) gentoo-dev 2006-08-13 02:50:02 UTC
(In reply to comment #4)
> i take care of this upstream, not in Gentoo bugzilla

Not really sure what's there left to deal with, 0.8 compiles just fine...

<snip>
>>> Unpacking source...
>>> Unpacking cdemu-0.8.tar.bz2 to /var/tmp/portage/cdemu-0.8/work
>>> Source unpacked.
>>> Compiling source in /var/tmp/portage/cdemu-0.8/work/cdemu-0.8 ...
make[1]: Entering directory `/usr/src/linux-2.6.17-gentoo-r5'
  CC [M]  /var/tmp/portage/cdemu-0.8/work/cdemu-0.8/cdemu_core.o
  CC [M]  /var/tmp/portage/cdemu-0.8/work/cdemu-0.8/cdemu_mod.o
  CC [M]  /var/tmp/portage/cdemu-0.8/work/cdemu-0.8/cdemu_proc.o
  LD [M]  /var/tmp/portage/cdemu-0.8/work/cdemu-0.8/cdemu.o
  Building modules, stage 2.
  MODPOST
  CC      /var/tmp/portage/cdemu-0.8/work/cdemu-0.8/cdemu.mod.o
  LD [M]  /var/tmp/portage/cdemu-0.8/work/cdemu-0.8/cdemu.ko
make[1]: Leaving directory `/usr/src/linux-2.6.17-gentoo-r5'
>>> Source compiled.
>>> Test phase [not enabled]: app-cdr/cdemu-0.8

>>> Install cdemu-0.8 into /var/tmp/portage/cdemu-0.8/image/ category app-cdr
**** Installing files ****
install -D -m 644 cdemu.ko /var/tmp/portage/cdemu-0.8/image//lib/modules/2.6.17-gentoo-r4/misc/cdemu.ko
install -D -m 644 libcdemu.py /var/tmp/portage/cdemu-0.8/image//usr/lib/python2.4/site-packages/libcdemu.py
install -D -m 755 cdemu /var/tmp/portage/cdemu-0.8/image//usr/bin/cdemu
install -D -m 755 create_cdemu_devs.sh /var/tmp/portage/cdemu-0.8/image//usr/bin/create_cdemu_devs.sh
**** Skipping depmod
sh create_cdemu_devs.sh
You have udev, nodes will be created automagically
>>> Completed installing cdemu-0.8 into /var/tmp/portage/cdemu-0.8/image/

man:
strip: i686-pc-linux-gnu-strip --strip-unneeded
</snip>
Comment 6 Werner M. Mayer 2006-08-18 03:28:55 UTC
In reply to comment #5: cdemu-0.7 also failed for me and in my portage tree I
was unable to find cdemu-0.8 so I went the site www.cdemu.org and downloaded
the cdemu-0.8.tar.bz2 file to /usr/portage/distfiles. It seems that on this site
the file is corrupted being only 11966 bytes long and mc said it isn't a tar file.

I then went to /usr/portage/app-cdr/cdemu/ and copied cdemu-0.7.ebuild to 
cdemu-0.8.ebuild and copied files/digest-cdemu-0.7 to files/digest-cdemu-0.8 . 
Not knowing the proper size of cdemu-0.8.tar.bz2 I called emerge -v =cdemu-0.8
and it fetched a correct tar.bz2 and failed installation with an expected 
filesize and md5 error message. I did a md5sum on the newly fetched file
cdemu-0.8.tar.bz2 and edited files/digest-cdemu-0.8 correcting file size and
output of md5sum. 
I then called emerge -v =cdemu-0.8 again and it compiled and installed cdemu
successfully.

Hope this helps to clear up things, because I've just installed a new gentoo
portage and updated the portage tree and cdemu-0.8 was not included.

( Gentoo Base System version 1.12.4
Portage 2.1-r2 (default-linux/x86/no-nptl, gcc-3.4.6, glibc-2.3.6-r4, 2.6.17.8 i686)
=================================================================
System uname: 2.6.17.8 i686 AMD Athlon(tm) Processor )

The bug could be closed now :-)
Comment 7 Jakub Moc (RETIRED) gentoo-dev 2006-08-22 22:47:54 UTC
*** Bug 144805 has been marked as a duplicate of this bug. ***