Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 545542 - kde-base/kstars-4.14.3[indi] fails to build with sci-libs/indilib-1.0.0
Summary: kde-base/kstars-4.14.3[indi] fails to build with sci-libs/indilib-1.0.0
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:
Depends on:
Blocks:
 
Reported: 2015-04-04 19:42 UTC by Robert Cabrera
Modified: 2015-04-06 16:23 UTC (History)
0 users

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


Attachments
build.log (build.log,515.41 KB, text/plain)
2015-04-05 16:20 UTC, Robert Cabrera
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Robert Cabrera 2015-04-04 19:42:29 UTC
After a system update last week kde-base/kstars-4.14.3 was drawn into the rebuild queue with @preserved-rebuild. I've tried everything I can, but have been unable to get it to compile. The last bit of output info from the build logs are the following:

/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.2/include/g++-v4/bits/stl_iterator.h:334:5: note:   template argument deduction/substitution failed:
/var/tmp/portage/kde-base/kstars-4.14.3/work/kstars-4.14.3/kstars/indi/indidevice.cpp:274:72: note:   ‘QString’ is not derived from ‘const std::reverse_iterator<_Iterator>’
     msgST_w->insertPlainText(dv->messageQueue(messageID) + QString("\n"));
                                                                        ^
In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/4.9.2/include/g++-v4/bits/stl_algobase.h:67:0,
                 from /usr/lib/gcc/x86_64-pc-linux-gnu/4.9.2/include/g++-v4/vector:60,
                 from /usr/include/libindi/basedevice.h:22,
                 from /var/tmp/portage/kde-base/kstars-4.14.3/work/kstars-4.14.3/kstars/indi/indidevice.cpp:15:
/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.2/include/g++-v4/bits/stl_iterator.h:918:5: note: template<class _Iterator, class _Container> __gnu_cxx::__normal_iterator<_Iterator, _Container> __gnu_cxx::operator+(typename __gnu_cxx::__normal_iterator<_Iterator, _Container>::difference_type, const __gnu_cxx::__normal_iterator<_Iterator, _Container>&)
     operator+(typename __normal_iterator<_Iterator, _Container>::difference_type
     ^
/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.2/include/g++-v4/bits/stl_iterator.h:918:5: note:   template argument deduction/substitution failed:
/var/tmp/portage/kde-base/kstars-4.14.3/work/kstars-4.14.3/kstars/indi/indidevice.cpp:274:72: note:   ‘QString’ is not derived from ‘const __gnu_cxx::__normal_iterator<_Iterator, _Container>’
     msgST_w->insertPlainText(dv->messageQueue(messageID) + QString("\n"));
                                                                        ^
In file included from /var/tmp/portage/kde-base/kstars-4.14.3/work/kstars-4.14.3/kstars/dms.h:26:0,
                 from /var/tmp/portage/kde-base/kstars-4.14.3/work/kstars-4.14.3/kstars/skyobjects/skypoint.h:26,
                 from /var/tmp/portage/kde-base/kstars-4.14.3/work/kstars-4.14.3/kstars/skyobjects/skyobject.h:27,
                 from /var/tmp/portage/kde-base/kstars-4.14.3/work/kstars-4.14.3/kstars/tools/observinglist.h:29,
                 from /var/tmp/portage/kde-base/kstars-4.14.3/work/kstars-4.14.3/kstars/kstars.h:26,
                 from /var/tmp/portage/kde-base/kstars-4.14.3/work/kstars-4.14.3/kstars/indi/indidevice.cpp:42:
/var/tmp/portage/kde-base/kstars-4.14.3/work/kstars-4.14.3/kstars/nan.h: At global scope:
/var/tmp/portage/kde-base/kstars-4.14.3/work/kstars-4.14.3/kstars/nan.h:37:23: warning: ‘NaN::ld’ defined but not used [-Wunused-variable]
     const long double ld = std::numeric_limits<long double>::quiet_NaN();
                       ^
kstars/CMakeFiles/KStarsLib.dir/build.make:832: recipe for target 'kstars/CMakeFiles/KStarsLib.dir/indi/indidevice.o' failed
make[2]: *** [kstars/CMakeFiles/KStarsLib.dir/indi/indidevice.o] Error 1
make[2]: Leaving directory '/var/tmp/portage/kde-base/kstars-4.14.3/work/kstars-4.14.3_build'
CMakeFiles/Makefile2:172: recipe for target 'kstars/CMakeFiles/KStarsLib.dir/all' failed
make[1]: *** [kstars/CMakeFiles/KStarsLib.dir/all] Error 2
make[1]: Leaving directory '/var/tmp/portage/kde-base/kstars-4.14.3/work/kstars-4.14.3_build'
Makefile:127: recipe for target 'all' failed
make: *** [all] Error 2


Reproducible: Always

Steps to Reproduce:
1. emerge -1 kstars
2. 
3.
Actual Results:  
emerge always fails at same place mentioned previously

Expected Results:  
successful compilation and installation of kstars

My emerge --info:
Portage 2.2.18 (python 3.4.3-final-0, default/linux/amd64/13.0/desktop/kde, gcc-4.9.2, glibc-2.20-r2, 3.17.0-pf4 x86_64)
=================================================================
System uname: Linux-3.17.0-pf4-x86_64-Intel-R-_Core-TM-2_CPU_T7200_@_2.00GHz-with-gentoo-2.2
KiB Mem:     3335616 total,    526052 free
KiB Swap:    4200960 total,   3901488 free
Timestamp of repository gentoo: Sat, 04 Apr 2015 17:45:01 +0000
sh bash 4.3_p33-r2
ld GNU ld (Gentoo 2.25 p1.0) 2.25
app-shells/bash:          4.3_p33-r2::gentoo
dev-java/java-config:     2.2.0::gentoo
dev-lang/perl:            5.20.2::gentoo
dev-lang/python:          2.7.9-r2::gentoo, 3.4.3::gentoo
dev-util/cmake:           3.1.0::gentoo
dev-util/pkgconfig:       0.28-r2::gentoo
sys-apps/baselayout:      2.2::gentoo
sys-apps/openrc:          0.13.11::gentoo
sys-apps/sandbox:         2.6-r1::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69-r1::gentoo
sys-devel/automake:       1.11.6-r1::gentoo, 1.14.1::gentoo, 1.15::gentoo
sys-devel/binutils:       2.25::gentoo
sys-devel/gcc:            4.9.2::gentoo
sys-devel/gcc-config:     1.8::gentoo
sys-devel/libtool:        2.4.6-r1::gentoo
sys-devel/make:           4.1-r1::gentoo
sys-kernel/linux-headers: 3.17-r1::gentoo (virtual/os-headers)
sys-libs/glibc:           2.20-r2::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.us.gentoo.org/gentoo-portage
    priority: -1000

my_local_overlay
    location: /usr/local/portage
    masters: gentoo
    priority: 1

sunrise
    location: /var/lib/layman/sunrise
    masters: gentoo
    priority: 50

Installed sets: @android, @nicefonts, @toolchain, @xorgupdate
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=native -mtune=native"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/themes/oxygen-gtk/gtk-2.0 /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo"
CXXFLAGS="-O2 -pipe -march=native -mtune=native"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--jobs=2 --with-bdeps=y --keep-going --complete-graph --load-average=1.5"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs candy collision-protect config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync multilib-strict news parallel-fetch parallel-install preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync"
FFLAGS="-O2 -pipe -march=native -mtune=native"
GENTOO_MIRRORS="http://gentoo.netnitco.net http://gentoo.osuosl.org/ http://gentoo.mirrors.tds.net/gentoo http://mirror.csclub.uwaterloo.ca/gentoo-distfiles/ http://gentoo.wetzlmayr.com/ http://osmirrors.cerias.purdue.edu/pub/gentoo/ http://www.cyberuse.com/gentoo/ http://gentoo.mirrors.hoobly.com/ ftp://gentoo.imj.fr/pub/gentoo/ http://130.59.10.35/ftp/mirror/gentoo/"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j2 -l1.5 -s"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
USE="S3TC X a52 aac aacplus aacs aalib acl acpi alsa amd64 amr avahi berkdb bidi bluetooth bluray branding btrfs bzip2 cairo cdda cddb cdio cdparanoia cdr cli consolekit cracklib crypt cups curl cvs cxx dbus declarative device-mapper dirac djvu dri dts dv dvd dvdr emboss encode exif extraengine faac fam fat ffmpeg firefox flac fontconfig fortran gdbm gif git glamor gphoto2 gtk iconv idn ieee1394 imagemagick ipv6 java jbig joystick jpeg jpeg2k kde kipi lame lastfm lcms ldap libass libnotify libsamplerate live lto lua lzma lzo mad matroska mime mjpeg mms mmx mmxext mng modplug modules mp3 mp4 mpeg multilib musepack musicbrainz ncurses netlink nls nptl nsplugin ntfs ntp ogg openal openexr opengl openmp pam pango pcre pdf phonon plasma png policykit postproc ppds qalculate qt3support qt4 quicktime rar readline samba scanner schroedinger sdl semantic-desktop session smp sndfile sox speex spell sse sse2 sse3 ssl ssse3 startup-notification subversion svg symlink taglib tcpd telepathy theora tiff truetype twolame udev udisks unicode upower usb vcd vcdx vlm vnc vorbis vpx wavpack wifi wmf wxwidgets x264 xa xcb xcomposite xinerama xml xscreensaver xv xvid xvmc zeroconf zlib" ABI_X86="64 32" ALSA_CARDS="hda-intel" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext sse sse2 sse3 ssse3" 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 ublox ubx" GRUB_PLATFORMS="pc" INPUT_DEVICES="evdev keyboard mouse synaptics joystick" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en en_US" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python3_4 python2_7" RUBY_TARGETS="ruby19 ruby20" SANE_BACKENDS="epson epson2" USERLAND="GNU" VIDEO_CARDS="nvidia nv" 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"
USE_PYTHON="3.4 2.7"
Unset:  CPPFLAGS, CTARGET, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Michael Palimaka (kensington) gentoo-dev 2015-04-05 16:11:36 UTC
Could you please attach the full build log?
Comment 2 Robert Cabrera 2015-04-05 16:20:17 UTC
Created attachment 400618 [details]
build.log

Complete build.log
Comment 3 Michael Palimaka (kensington) gentoo-dev 2015-04-06 16:23:57 UTC
Thanks, fixed in CVS.

+  06 Apr 2015; Michael Palimaka <kensington@gentoo.org>
+  +files/kstars-4.14.3-indilib100.patch, +kstars-4.14.3-r1.ebuild:
+  Backport patch from upstream solving build failure with sci-libs/indilib-1.0.0
+  wrt bug #545542.