Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 257607 - media-sound/cdparanoia: cdda_paranoia.h: misses cdda_interface.h include (causes media-sound/grip: header present but cannot be compiled)
Summary: media-sound/cdparanoia: cdda_paranoia.h: misses cdda_interface.h include (cau...
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Sound Team
Depends on:
Blocks: autoconf-2.64
  Show dependency tree
Reported: 2009-02-04 14:04 UTC by Diego Elio Pettenò (RETIRED)
Modified: 2009-04-30 08:35 UTC (History)
1 user (show)

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


Note You need to log in before you can comment on or make changes to this bug.
Description Diego Elio Pettenò (RETIRED) gentoo-dev 2009-02-04 14:04:51 UTC

you're getting this template-based bug because the package in the subject hit a "header present but cannot be compiled" during ./configure execution. If you check my blog post in the URL, this is going to be a problem when autoconf-2.64 will be used so you should pay attention and consider fixing the issue (or let upstream know about it at least).

Thank you for your consideration. Share and enjoy!

media-sound/grip-3.3.1-r1:20081120-221521.log:configure: WARNING: cdda_paranoia.h: present but cannot be compiled
Comment 1 SpanKY gentoo-dev 2009-03-08 20:49:54 UTC
this is a bug in media-sound/cdparanoia.  it uses "struct cdrom_drive" in cdda_paranoia.h but does not do a dummy struct define or include cdda_interface.h for it.

so we end up with:
$ echo '#include <cdda_paranoia.h>' | gcc -x c -c - -o /dev/null
In file included from <stdin>:1:
/usr/include/cdda_paranoia.h:44: error: expected ‘)’ before ‘*’ token
/usr/include/cdda_paranoia.h:47: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
/usr/include/cdda_paranoia.h:48: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
Comment 2 Samuli Suominen (RETIRED) gentoo-dev 2009-04-30 08:35:02 UTC
We used to do this for previous releases but somehow the patch was dropped when it was bumped to latest.

*cdparanoia-3.10.2-r3 (30 Apr 2009)

  30 Apr 2009; Samuli Suominen <>
  -cdparanoia-3.10.2-r2.ebuild, +cdparanoia-3.10.2-r3.ebuild:
  Include cdda_interface.h for cdda_paranoia.h wrt #257607