Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 367571 - kde-base/marble-4.7.0 does not work with sci-geosciences/gpsd-2.96
Summary: kde-base/marble-4.7.0 does not work with sci-geosciences/gpsd-2.96
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: https://bugs.kde.org/show_bug.cgi?id=...
Whiteboard: fixed in 4.7.2
Keywords:
: 368993 374841 378025 (view as bug list)
Depends on: 380883
Blocks:
  Show dependency tree
 
Reported: 2011-05-16 18:50 UTC by Frank Hellmuth
Modified: 2011-12-10 17:23 UTC (History)
12 users (show)

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


Attachments
kde-base:marble-4.6.3:20110517-180156.log (20110517-180156.log,87.30 KB, application/octet-stream)
2011-05-17 18:08 UTC, Kamen Dokov
Details
Marble Patch for gpsd (marble-4.5.5-gpsd.patch,1.61 KB, patch)
2011-05-25 04:41 UTC, Carter Young
Details | Diff
Updated ebuild for 4.6.3 includes new patch (marble-4.6.3.ebuild,1.86 KB, application/octet-stream)
2011-05-25 04:43 UTC, Carter Young
Details
ebuild for 4.6.4 that includes patch discussed in bug (marble-4.6.4.ebuild,1.84 KB, application/text)
2011-06-12 19:30 UTC, Carter Young
Details
Patch to fix marble 4.6.5 (patch,1.66 KB, patch)
2011-12-10 17:23 UTC, Luke-Jr
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:50:10 UTC
Compilation fails with

[ 97%] Building CXX object marble/src/plugins/positionprovider/gpsd/CMakeFiles/GpsdPositionProviderPlugin.dir/GpsdConnection.o           
/var/tmp/portage/kde-base/marble-4.6.3/work/marble-4.6.3/marble/src/plugins/positionprovider/gpsd/GpsdConnection.cpp: In constructor ‘Marble::GpsdConnection::GpsdConnection(QObject*)’:
/var/tmp/portage/kde-base/marble-4.6.3/work/marble-4.6.3/marble/src/plugins/positionprovider/gpsd/GpsdConnection.cpp:23:18: error: no matching function for call to ‘gpsmm::gpsmm()’
/usr/include/libgpsmm.h:21:3: note: candidates are: gpsmm::gpsmm(const char*, const char*)
/usr/include/libgpsmm.h:15:13: note:                 gpsmm::gpsmm(const gpsmm&)
/var/tmp/portage/kde-base/marble-4.6.3/work/marble-4.6.3/marble/src/plugins/positionprovider/gpsd/GpsdConnection.cpp: In member function ‘void Marble::GpsdConnection::initialize()’:
/var/tmp/portage/kde-base/marble-4.6.3/work/marble-4.6.3/marble/src/plugins/positionprovider/gpsd/GpsdConnection.cpp:38:31: error: ‘class gpsmm’ has no member named ‘open’
/var/tmp/portage/kde-base/marble-4.6.3/work/marble-4.6.3/marble/src/plugins/positionprovider/gpsd/GpsdConnection.cpp: In member function ‘void Marble::GpsdConnection::update()’:
/var/tmp/portage/kde-base/marble-4.6.3/work/marble-4.6.3/marble/src/plugins/positionprovider/gpsd/GpsdConnection.cpp:85:25: error: no matching function for call to ‘gpsmm::waiting()’
/usr/include/libgpsmm.h:36:8: note: candidate is: bool gpsmm::waiting(int)
/var/tmp/portage/kde-base/marble-4.6.3/work/marble-4.6.3/marble/src/plugins/positionprovider/gpsd/GpsdConnection.cpp:86:35: error: ‘class gpsmm’ has no member named ‘poll’

Bug is discussed upstream:

https://bugs.kde.org/show_bug.cgi?id=269165

see also http://bugs.gentoo.org/show_bug.cgi?id=367567

Reproducible: Always

Actual Results:  
# 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 Kamen Dokov 2011-05-17 18:08:35 UTC
Created attachment 273693 [details]
kde-base:marble-4.6.3:20110517-180156.log

Same here on ~amd64~
Adding as attachment and my complete build.log.
Comment 2 Carter Young 2011-05-20 05:21:50 UTC
Happening Here too.  Adding myself to CC, using ~amd64(4.6.3)
Comment 3 Fabio Coatti 2011-05-20 13:05:43 UTC
Patch proposed upstream works, at least allow to compile marble. You can find it at the link above.
Comment 4 Marios Andreopoulos 2011-05-20 15:15:17 UTC
Happens here too. Also, if the gps use flag is enabled, due to this bug, plasma-workspace(-4.6.3) fails to emerge too.
Comment 5 Silvio 2011-05-21 14:32:19 UTC
Same here. And confirm the same with plasma-workspace.

I had to make:

USE=-gps emerge -1 plasma-workspace marble

waiting for solution.
Comment 6 Carter Young 2011-05-25 04:41:06 UTC
Created attachment 274563 [details, diff]
Marble Patch for gpsd

Patch from upstream
Comment 7 Carter Young 2011-05-25 04:43:10 UTC
Created attachment 274565 [details]
Updated ebuild for 4.6.3 includes new patch

updated PATCHES.  Please install from local overlay until this is committed.
Comment 8 Andreas K. Hüttel archtester gentoo-dev 2011-05-28 22:20:10 UTC
Can confirm the compilation problem. However, according to the upstream bug report, the patch does not work properly. So, let's not add it blindly but wait for a better solution.
Comment 9 Carter Young 2011-05-30 19:05:43 UTC
(In reply to comment #8)
> Can confirm the compilation problem. However, according to the upstream bug
> report, the patch does not work properly. So, let's not add it blindly but wait
> for a better solution.

Wile I agree that the patch may not work properly, see Comment #3.  Can we at least include the patch until a version bump by upstream fixes the issue?  I ask because unless you agree this package should be masked temporarily upstream, or the gpsd flag disabled, this package is BLOCKING A WORLD update
Comment 10 meyerm 2011-06-11 20:29:29 UTC
Still valid for marble-4.6.4.
Comment 11 meyerm 2011-06-11 20:52:49 UTC
BTW: The upstream bug is https://bugs.kde.org/show_bug.cgi?id=269165
Comment 12 Carter Young 2011-06-12 19:30:04 UTC
Created attachment 276826 [details]
ebuild for 4.6.4 that includes patch discussed in bug

Add the attached ebuild to <local overlay>/kde-base/marble, and generate a new manifest, then emerge marble.
Comment 13 Carter Young 2011-06-12 19:34:30 UTC
(In reply to comment #12)
> Created attachment 276826 [details]
> ebuild for 4.6.4 that includes patch discussed in bug
> 
> Add the attached ebuild to <local overlay>/kde-base/marble, and generate a new
> manifest, then emerge marble.

There is some question as to whether this patch works as intended.  See Comment#8.  While this is true, the package now compiles cleanly.
Comment 14 Pinky 2011-06-14 09:52:41 UTC
duplicated by bug #368993 please mark as duplicate
Comment 15 Tomáš Chvátal (RETIRED) gentoo-dev 2011-06-17 10:29:58 UTC
*** Bug 368993 has been marked as a duplicate of this bug. ***
Comment 16 Andreas K. Hüttel archtester gentoo-dev 2011-07-12 21:05:19 UTC
*** Bug 374841 has been marked as a duplicate of this bug. ***
Comment 17 Carter Young 2011-07-12 22:25:59 UTC
Regarding Name Change and Comment 8.  The proposed patch solves the compilation problem, but may cause issues such as the one discussed in Bug 372397.
Comment 18 Geoff Madden 2011-07-13 03:40:34 UTC
Comment on attachment 276826 [details]
ebuild for 4.6.4 that includes patch discussed in bug

Well dunno what happened,to the patch ,it was not included in the filesdir or the ebuild for either 4.6.4 4.6.5.  I've had to add it manually for both versions. It appears somwhere along the line the additions have nat been made.
I can report that Marble does compile up very cleanly,almost no warnings,as to the plasma widgets,I dont use them as such,I just use Marble to show me the weather patterns,in my area of the globe(downunder).
Geoff
Comment 19 Alexey Shvetsov archtester gentoo-dev 2011-07-28 20:01:25 UTC
Fixed in 4.7.0
Comment 20 Andreas K. Hüttel archtester gentoo-dev 2011-08-08 18:00:37 UTC
(In reply to comment #19)
> Fixed in 4.7.0

Unfortunately, as known and detailed in the upstream bug, the patch does not work. It may compile, but that does not really help...
Comment 21 Andreas K. Hüttel archtester gentoo-dev 2011-08-08 18:00:46 UTC
*** Bug 378025 has been marked as a duplicate of this bug. ***
Comment 22 Geoff Madden 2011-08-09 06:25:03 UTC
(In reply to comment #20)
> (In reply to comment #19)
> > Fixed in 4.7.0
> 
> Unfortunately, as known and detailed in the upstream bug, the patch does not
> work. It may compile, but that does not really help...

I made the mistake of adding the patch to marble-4.7.0,at which point it failed to compile,the remedy was to resync and recompile,which was successful. This's on my x86_64, at present I'm updating the x86 but have yet to reach this point,more to come if not successful.
Geoff
Comment 23 Andreas K. Hüttel archtester gentoo-dev 2011-08-27 19:51:18 UTC
On the upstream bug there is a working fix for gpsd-3.0 (not in portage yet, bug 380883)
Comment 24 Andreas K. Hüttel archtester gentoo-dev 2011-10-14 19:57:06 UTC
4.7.2 is out.
Comment 25 Luke-Jr 2011-12-10 17:23:45 UTC
Created attachment 295395 [details, diff]
Patch to fix marble 4.6.5

This still affects marble 4.6.5. Here's a backport of the fix.