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

Bug 139334

Summary: libcdio-0.73 won't compile after upgrading libcddb
Product: Gentoo Linux Reporter: Jose Marino <braket>
Component: Current packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: High    
Version: 2006.0   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Jose Marino 2006-07-05 09:43:06 UTC
I've just upgraded libcddb from libcddb-0.9.5 to libcddb-1.2.1
I run a revdep-rebuild to check things up and it told me that libcdio requires libcddb.so.0

So I proceded to re-emerge libcdio-0.73 to fix the broken dependencies. Until here all normal.
The problem is that libcdio-0.73 breaks when compiling with this error:

x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../lib/driver -I../include/        -march=athlon64 -O2 -pipe -fprefetch-loop-arrays -ftracer -Wall -Wchar-subscripts -Wmissing-prototypes -Wmissing-declarations -Wunused -Wpointer-arith -Wwrite-strings -Wnested-externs -Wno-sign-compare -c cddb.c
cddb.c: In function `init_cddb':
cddb.c:120: error: dereferencing pointer to incomplete type
cddb.c:124: error: dereferencing pointer to incomplete type
make[3]: *** [cddb.o] Error 1
make[3]: Leaving directory `/var/tmp/portage/libcdio-0.73/work/libcdio-0.73/src'make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/libcdio-0.73/work/libcdio-0.73/src'make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/libcdio-0.73/work/libcdio-0.73'
make: *** [all] Error 2

!!! ERROR: dev-libs/libcdio-0.73 failed.
Call stack:
  ebuild.sh, line 1539:   Called dyn_compile
  ebuild.sh, line 939:   Called src_compile
  libcdio-0.73.ebuild, line 39:   Called die


Looking at the source code I find that libcddb-1.2.1 now hides the content of structure 'cddb_track_t' which was open in libcddb-0.9.5

The solution seems to be to emerge libcdio-0.77 which is marked unstable in amd64. It looks like libcdio-0.77 is aware of the changes introduced in libcddb-1.2.1
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-07-05 09:49:33 UTC
See Bug 136890.


*** This bug has been marked as a duplicate of 131156 ***