Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 367567 - kde-base/plasma-workspace-4.6.3 fails to compile due to API changes in sci-geosciences/gpsd-2.96
Summary: kde-base/plasma-workspace-4.6.3 fails to compile due to API changes in sci-ge...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
: 368477 (view as bug list)
Depends on:
Blocks:
 
Reported: 2011-05-16 18:29 UTC by Frank Hellmuth
Modified: 2011-05-28 22:10 UTC (History)
5 users (show)

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


Attachments
Combined Patch in KDE git repo (patch.diff,1.94 KB, patch)
2011-05-25 00:46 UTC, Carter Young
Details | Diff
ebuild includes attached patch (plasma-workspace-4.6.3-r2.ebuild,3.48 KB, application/octet-stream)
2011-05-25 02:58 UTC, Carter Young
Details
Renamed patch.diff (plasma-workspace-4.6.2-gpsd.patch,1.94 KB, patch)
2011-05-25 03:00 UTC, Carter Young
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Frank Hellmuth 2011-05-16 18:29:24 UTC
Compilation fails with

[ 95%] Building CXX object plasma/generic/dataengines/geolocation/CMakeFiles/plasma-geolocation-gps.dir/location_gps.o                                                                                                                    
/var/tmp/portage/kde-base/plasma-workspace-4.6.3/work/plasma-workspace-4.6.3/plasma/generic/dataengines/geolocation/location_gps.cpp: In member function ‘virtual void Gpsd::run()’:
/var/tmp/portage/kde-base/plasma-workspace-4.6.3/work/plasma-workspace-4.6.3/plasma/generic/dataengines/geolocation/location_gps.cpp:54:31: error: ‘gps_poll’ was not declared in this scope
/var/tmp/portage/kde-base/plasma-workspace-4.6.3/work/plasma-workspace-4.6.3/plasma/generic/dataengines/geolocation/location_gps.cpp: In constructor ‘Gps::Gps(QObject*, const QVariantList&)’:
/var/tmp/portage/kde-base/plasma-workspace-4.6.3/work/plasma-workspace-4.6.3/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:1430:12: note: declared here
make[2]: *** [plasma/generic/dataengines/geolocation/CMakeFiles/plasma-geolocation-gps.dir/location_gps.o] Error 1
make[1]: *** [plasma/generic/dataengines/geolocation/CMakeFiles/plasma-geolocation-gps.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....


Patch seems to be available from upstream:

https://git.reviewboard.kde.org/r/101247/diff/

Reproducible: Always




# emerge --info
Portage 2.1.9.49 (default/linux/amd64/10.0/desktop, gcc-4.5.2, glibc-2.13-r2, 2.6.38-gentoo-r5-default x86_64)
=================================================================
System uname: Linux-2.6.38-gentoo-r5-default-x86_64-AMD_Athlon-tm-_64_X2_Dual_Core_Processor_4200+-with-gentoo-2.0.2
Timestamp of tree: Mon, 16 May 2011 14:00:01 +0000
app-shells/bash:          4.2_p10
dev-java/java-config:     2.1.11-r3
dev-lang/python:          2.7.1-r1, 3.2
dev-util/cmake:           2.8.4-r1
sys-apps/baselayout:      2.0.2
sys-apps/openrc:          0.8.2-r1
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.13, 2.68
sys-devel/automake:       1.10.3, 1.11.1-r1
sys-devel/binutils:       2.21
sys-devel/gcc:            4.4.5, 4.5.2
sys-devel/gcc-config:     1.4.1-r1
sys-devel/libtool:        2.4-r1
sys-devel/make:           3.82
sys-kernel/linux-headers: 2.6.38 (virtual/os-headers)
sys-libs/glibc:           2.13-r2
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/themes/oxygen-gtk/gtk-2.0"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.3/ext-active/ /etc/php/cgi-php5.3/ext-active/ /etc/php/cli-php5.3/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=native -O2"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs distlocks fixlafiles fixpackages news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS=""
GENTOO_MIRRORS="http://mirror.netcologne.de/gentoo/ http://gentoo.mneisen.org/ http://mirror.opteamax.de/gentoo/"
LANG="de_DE.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en de"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/var/lib/layman/pro-audio /usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow R X a52 aac aalib accessibility acl acpi akonadi alsa amazon amd64 apache2 autotrace avahi bash-completion berkdb bluetooth branding bzip2 cairo calendar cddb cdparanoia cdr cli consolekit cracklib crypt css cups cvs cxx dbus desktopglobe detex dia dirac djvu dri dssi dts dv dvb dvd dvdnav dvdr dvi2tty dvipdfm ebook eigen emacs emboss encode examples exif extras fbcon festival ffmpeg fftw firefox firefox3 flac fluidsynth fortran ftp gd gdbm gdu gecko gif gimp ginac glut gmp gnuplot gnutls gphoto2 gpm gps graphviz gsl gstreamer gtk iconv icq idn ieee1394 imagemagick imap inotify ipod jack jackmidi java java6 javascript jpeg kde kpathsea ladspa lame lapack lash latex latex3 lcms libcaca libnotify libsamplerate lirc lm_sensors luatex lv2 lzo mad midi mime mmx mmxext mng modules mozilla mp3 mp4 mpeg mplayer mudflap multilib multimedia music musicbrainz mysql mythtv ncurses nls nntp nptl nptlonly nsplugin ocrad offensive ogg openexr opengl openmp pam pango pcre pdf perl php plasma player plotutils plugins-symlink png policykit posix postscript ppds pppd preview-latex pstoedit pstricks publishers python qt3support qt4 quicktime rar raw rdesktop readline redeyes reiserfs rss samba scanner sdl semantic-desktop session slang smp sms sndfile snmp sockets sound sox spell sse sse2 ssh ssl startup-notification subversion svg sysfs syslog tcpd tex4ht theora threads tiff timidity truetype udev unicode usb v4l v4l2 vcd videos virtualbox vnc vorbis wav webcam webkit wifi winetriks wmf wxwindows x264 xcb xcomposite xemacs xetex xine xinerama xml xorg xosd xpm xscreensaver xulrunner xv xvid xvmc yahoo zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic auth_digest authn_anon authn_dbd authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="braindump flow karbon kexi kpresenter krita tables words" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en de" LIRC_DEVICES="devinput" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" SANE_BACKENDS="hp" USERLAND="GNU" VIDEO_CARDS="nouveau nvidia v4l vesa fbdev" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" 
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Andreas Sturmlechner gentoo-dev 2011-05-18 19:31:39 UTC
confirmed!
Comment 2 Andreas Sturmlechner gentoo-dev 2011-05-18 21:04:34 UTC
Builds again with the upstream patch.
Comment 3 Carter Young 2011-05-20 05:25:45 UTC
Adding to CC
Comment 4 Fabio Coatti 2011-05-20 11:44:36 UTC
Confirmed here both problem and fix, thanks.
Comment 5 Silvio 2011-05-21 14:34:03 UTC
Same problem here (as for marble).

I had to make:

USE=-gps emerge -1v marble plasma-workspace

waiting for solution.
Comment 6 Silvio 2011-05-22 15:57:46 UTC
Versione 4.6.3.-r1 had the same problem. :-(
Comment 7 Frank Hellmuth 2011-05-23 13:47:10 UTC
Just for the sake of keeping track of affected versions: Bug is still present in plasma-workspace-4.6.3-r2.
Comment 8 Andreas Sturmlechner gentoo-dev 2011-05-23 20:27:39 UTC
yep, still fails.
Comment 9 hendrikus 2011-05-24 12:42:40 UTC
Sorry for a maybe stupid question, but how do you apply the patch and where?
Comment 10 Carter Young 2011-05-24 18:35:28 UTC
(In reply to comment #9)
> Sorry for a maybe stupid question, but how do you apply the patch and where?

I will upload an ebuild for marble and plasma-workspace that includes a new epatch, if I can get an OK from KDE team here, i.e. I don't know if they are fixing it another way...
Comment 11 Carter Young 2011-05-25 00:46:25 UTC
Created attachment 274549 [details, diff]
Combined Patch in KDE git repo

GPSD patch
Comment 12 Carter Young 2011-05-25 02:58:55 UTC
Created attachment 274555 [details]
ebuild includes attached patch

Patch not needed for marble.  Fixes plasma workspace
Comment 13 Carter Young 2011-05-25 03:00:54 UTC
Created attachment 274557 [details, diff]
Renamed patch.diff

Copy this patch and attached ebuild into your local overlay until it is added to the tree
Comment 14 Carter Young 2011-05-25 03:59:12 UTC
(In reply to comment #12)
> Created attachment 274555 [details]
> ebuild includes attached patch
> 
> Patch not needed for marble.  Fixes plasma workspace

Working on marble patch,as it is affected.
Comment 15 Carter Young 2011-05-25 04:23:07 UTC
See Bug 367571, add yourself to CC as I will provide patched ebuild there too
Comment 16 Andreas K. Hüttel archtester gentoo-dev 2011-05-28 21:46:34 UTC
*** Bug 368477 has been marked as a duplicate of this bug. ***
Comment 17 Andreas K. Hüttel archtester gentoo-dev 2011-05-28 22:10:17 UTC
Fixed in 4.6.3 and later, thanks!