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

Bug 209498

Summary: Tellico 1.2.10 will not build with Yaz 3.0.16
Product: Gentoo Linux Reporter: Lori <lori>
Component: New packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED TEST-REQUEST    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Lori 2008-02-10 09:38:06 UTC
dev-libs/yaz was recently updated from 2.1.42 to 3.0.16. I have kde-misc/tellico installed, using the "yaz" USE flag and the update broke the dependencies (tellico stopped working). When revdep-rebuild found the problem and tried to re-emerge tellico, I got the following error message:

i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../..  -I/usr/kde/3.5/include -I/usr/qt/3/include -I.  -I/usr/kde/3.5/include -I/usr/include/libxml2 -I/usr/include/libxml2 -DYAZ_HAVE_XML2=1 -DYAZ_HAVE_XSLT=1 -DYAZ_HAVE_EXSLT=1 -I/usr/include/libxml2 -DQT_THREAD_SUPPORT  -D_REENTRANT  -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -DNDEBUG -DNO_DEBUG -O2 -O2 -march=pentium-m -pipe -fomit-frame-pointer -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common -I../../src/core  -c -o z3950connection.o z3950connection.cpp
z3950connection.cpp: In static member function ‘static QString Tellico::Fetch::Z3950Connection::toXML(const QCString&, const QString&)’:
z3950connection.cpp:452: error: invalid conversion from ‘char**’ to ‘const char**’
z3950connection.cpp:452: error:   initializing argument 4 of ‘int yaz_marc_decode_buf(yaz_marc_t_*, const char*, int, const char**, size_t*)’
z3950connection.cpp:452: error: invalid conversion from ‘int*’ to ‘size_t*’
z3950connection.cpp:452: error:   initializing argument 5 of ‘int yaz_marc_decode_buf(yaz_marc_t_*, const char*, int, const char**, size_t*)’
make[4]: *** [z3950connection.o] Error 1
make[4]: Leaving directory `/home/portage/kde-misc/tellico-1.2.10/work/tellico-1.2.10/src/fetch'

Maybe some of the newer releases still in "testing" (~x86) are updated for use with the new yaz version?
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2008-02-10 09:40:27 UTC
Try with tellico-1.2.14 then...