[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#648504: kdebase-workspace: fails to build against libgps-dev from gpsd 3



Package: kdebase-workspace
Version: 4:4.6.5-3
Severity: important
User: bzed@debian.org
Usertag: gpsd3

Hi maintainer,

unfortunately yet another major API and ABI breakage happened
in libgps on the way to gpsd version 3. The result is that your
package does not build against gpsd 3.3/libgps20, which is
available in experimental.

Details why this had to happen are described here:
http://www.catb.org/gpsd/protocol-transition.html

Unfortunately the progress to implement this took a long time,
including gpsd 2.95 which was released with Squeeze and shipped
with a slightly different API and ABI.
Migrating to the new and hopefully final API should be easy,
if there is help needed either ask me or jump into #gpsd
on the freenode network.

The error messages from my test build are attached below.

Documentation:
http://www.catb.org/gpsd/libgps.html
http://www.catb.org/gpsd/libgpsmm.html
http://www.catb.org/gpsd/client-howto.html


Btw, there is libqgpsmm now, wchich should make it a bit easier
to connect to gpsd from QT based applications.


Best regards,

Bernd

-- 
 Bernd Zeimetz                            Debian GNU/Linux Developer
 http://bzed.de                                http://www.debian.org
 GPG Fingerprint: ECA1 E3F2 8E11 2432 D485  DD95 EB36 171A 6FF9 435F


cd plasma/generic/dataengines/geolocation && /usr/bin/c++   -DMAKE_PLASMA_GEOLOCATION_GPS_LIB -D_BSD_SOURCE -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -DQT_NO_STL -DQT_NO_CAST_TO_ASCII -D_REENTRANT -DKDE_DEPRECATED_WARNINGS -DKDE4_CMAKE_TOPLEVEL_DIR_LENGTH=11 -DHAVE_CONFIG_H=1 -DDISABLE_NEPOMUK_LEGACY -DKDE_DEFAULT_DEBUG_AREA=1204 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security -Werror=format-security  -Wnon-virtual-dtor -Wno-long-long -ansi -Wundef -Wcast-align -Wchar-subscripts -Wall -W -Wpointer-arith -Wformat-security -fno-exceptions -DQT_NO_EXCEPTIONS -fno-check-new -fno-common -Werror=return-type -Woverloaded-virtual -fno-threadsafe-statics -fvisibility=hidden -fvisibility-inlines-hidden -DNDEBUG -DQT_NO_DEBUG -fPIC -I. -I../../../../../plasma/generic/dataengines/geolocation -I../../../../.. -I../../../.. -I../../../../../kdm -I../../../../../libs -I../../../../../libs/kworkspace -I/usr/include/KDE -I/usr/include/qt4/phonon -I/usr/include/qt4/QtXmlP
atterns -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtWebKit -I/usr/include/qt4/QtUiTools -I/usr/include/qt4/QtTest -I/usr/include/qt4/QtSvg -I/usr/include/qt4/QtSql -I/usr/include/qt4/QtScriptTools -I/usr/include/qt4/QtScript -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtHelp -I/usr/include/qt4/QtDesigner -I/usr/include/qt4/QtDeclarative -I/usr/include/qt4/QtDBus -I/usr/include/qt4/Qt3Support -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtCore -I/usr/include/qt4/Qt -I/usr/share/qt4/mkspecs/default -I/usr/include/qt4    -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -o CMakeFiles/plasma-geolocation-gps.dir/location_gps.o -c ../../../../../plasma/generic/dataengines/geolocation/location_gps.cpp
../../../../../plasma/generic/dataengines/geolocation/location_gps.cpp: In member function 'virtual void Gpsd::run()':
../../../../../plasma/generic/dataengines/geolocation/location_gps.cpp:54:31: error: 'gps_poll' was not declared in this scope
../../../../../plasma/generic/dataengines/geolocation/location_gps.cpp: In constructor 'Gps::Gps(QObject*, const QVariantList&)':
../../../../../plasma/generic/dataengines/geolocation/location_gps.cpp:77:66: error: too few arguments to function 'int gps_open(const char*, const char*, gps_data_t*)'
/usr/include/gps.h:1717:12: note: declared here
make[2]: *** [plasma/generic/dataengines/geolocation/CMakeFiles/plasma-geolocation-gps.dir/location_gps.o] Error 1
make[2]: Leaving directory `/tmp/buildd/kdebase-workspace-4.6.5/obj-x86_64-linux-gnu'
make[1]: *** [plasma/generic/dataengines/geolocation/CMakeFiles/plasma-geolocation-gps.dir/all] Error 2
make[1]: Leaving directory `/tmp/buildd/kdebase-workspace-4.6.5/obj-x86_64-linux-gnu'
make: *** [all] Error 2





Reply to: