Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 635060 - kde-apps/rocs-17.04.3 build fails with multiple "unable to find numeric literal operator 'operator""Q'"
Summary: kde-apps/rocs-17.04.3 build fails with multiple "unable to find numeric liter...
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal QA
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-10-22 10:25 UTC by Martin Dummer
Modified: 2017-10-22 11:34 UTC (History)
1 user (show)

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


Attachments
full build log (kde-apps:rocs-17.04.3:20171020-170913.log.gz,23.08 KB, application/x-gzip)
2017-10-22 11:25 UTC, Martin Dummer
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Dummer 2017-10-22 10:25:10 UTC
When updating kde-apps/rocs to kde-apps/rocs-17.04.3 the build fails with lots of errors like

/usr/include/boost/math/constants/constants.hpp:252:3: error: unable to find numeric literal operator 'operator""Q'
   BOOST_DEFINE_MATH_CONSTANT(half, 5.000000000000000000000000000000000000e-01, "5.0000000000000000000000000000000000000000000000000000000000000000000000000000000000
   ^
/usr/include/boost/math/constants/constants.hpp:252:3: note: use -std=gnu++11 or -fext-numeric-literals to enable more built-in suffixes
/usr/include/boost/math/constants/constants.hpp: In static member function 'static constexpr T boost::math::constants::detail::constant_third<T>::get(const mpl_::int_<5>&)':
/usr/include/boost/math/constants/constants.hpp:253:3: error: unable to find numeric literal operator 'operator""Q'
   BOOST_DEFINE_MATH_CONSTANT(third, 3.333333333333333333333333333333333333e-01, "3.333333333333333333333333333333333333333333333333333333333333333333333333333333333
   ^
/usr/include/boost/math/constants/constants.hpp:253:3: note: use -std=gnu++11 or -fext-numeric-literals to enable more built-in suffixes
/usr/include/boost/math/constants/constants.hpp: In static member function 'static constexpr T boost::math::constants::detail::constant_twothirds<T>::get(const mpl_::int_<5>&)':


Symptoms and solution are identical to Bug #591396

Unfortunately the original fix 

https://quickgit.kde.org/?p=rocs.git&a=commit&h=a3194c96250e4325c6af9b75a36d09516fe82420

is not accessible (today?) any more. 
Then I tried 

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3971180dcc133af2808dbe3512440775e4eb4f07

with current rocs-17.04.3.ebuild and then it compiles for me.

Can someone please re-apply this solition for rocs-17.04.3?
Comment 1 Martin Dummer 2017-10-22 10:29:09 UTC
# /usr/bin/emerge --info '=kde-apps/rocs-17.04.3::gentoo'       
Portage 2.3.8 (python 3.4.5-final-0, default/linux/amd64/13.0/desktop/plasma, gcc-5.4.0, glibc-2.23-r4, 4.9.34-gentoo-es07 x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-4.9.34-gentoo-es07-x86_64-Intel-R-_Core-TM-2_Quad_CPU_Q9550_@_2.83GHz-with-gentoo-2.4.1
KiB Mem:    16135512 total,   2354316 free
KiB Swap:          0 total,         0 free
Timestamp of repository gentoo: Sun, 22 Oct 2017 09:00:01 +0000
Head commit of repository gentoo: 274f2ea9a7c3f75ce4476089053789330ef0dcc0
sh bash 4.3_p48-r1
ld GNU ld (Gentoo 2.28 p1.2) 2.28
distcc 3.2rc1 x86_64-pc-linux-gnu [disabled]
app-shells/bash:          4.3_p48-r1::gentoo
dev-java/java-config:     2.2.0-r3::gentoo
dev-lang/perl:            5.24.3::gentoo
dev-lang/python:          2.7.12::gentoo, 3.4.5::gentoo
dev-util/cmake:           3.8.2::gentoo
dev-util/pkgconfig:       0.28-r2::gentoo
sys-apps/baselayout:      2.4.1-r2::gentoo
sys-apps/openrc:          0.32.1::gentoo
sys-apps/sandbox:         2.10-r3::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69::gentoo
sys-devel/automake:       1.11.6-r1::gentoo, 1.15-r2::gentoo
sys-devel/binutils:       2.28-r2::gentoo, 2.28.1::gentoo
sys-devel/gcc:            5.4.0-r3::gentoo
sys-devel/gcc-config:     1.8-r1::gentoo
sys-devel/libtool:        2.4.6-r3::gentoo
sys-devel/make:           4.2.1::gentoo
sys-kernel/linux-headers: 4.4::gentoo (virtual/os-headers)
sys-libs/glibc:           2.23-r4::gentoo
Repositories:

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

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

md-private
    location: /var/lib/layman/md-private
    masters: gentoo
    priority: 50

vdr-devel
    location: /var/lib/layman/vdr-devel
    masters: gentoo
    priority: 50

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA dlj-1.1 AdobeFlash-11.x RAR"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=core2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /var/bind"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php7.0/ext-active/ /etc/php/cgi-php7.0/ext-active/ /etc/php/cli-php7.0/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -march=core2 -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--keep-going --ask-enter-invalid --quiet-build=n --verbose-conflicts"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs buildpkg clean-logs compress-build-logs compressdebug config-protect-if-modified distlocks ebuild-locks fail-clean fakeroot fixlafiles merge-sync multilib-strict news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="ftp://ftp.wh2.tu-dresden.de/pub/mirrors/gentoo"
LANG="C"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j8"
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 --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
USE="X a52 aac acl acpi activities alsa amd64 berkdb bluetooth branding bzip2 cairo caps cdda cdr cli consolekit cpudetection cracklib crypt css cups curl cxx dbus declarative device-mapper dhcpcd dri dts dvb dvd dvdr emboss encode exif extensions extras faac faad fam fat firefox flac fortran gdbm gif glamor gnutls gpm gtk hddtemp hybrid-auth iconv id3tag ipv6 jpeg jpeg2k kde kipi kvm kwallet lame lcms ldap libnotify lm_sensors logrotate lxde lzma mad managesieve mbox mdnsresponder-compat minizip mng modules mp3 mp4 mpeg mtp multilib ncurses nfs nfsv4 nls nptl nsplugin ogg opengl openmp pam pango pcre pdf phonon plasma png policykit ppds pulseaudio python qemu qml qt3support qt4 qt5 readline resolvconf sasl schroedinger sdl seccomp semantic-desktop session sieve snmp spell spice sqlite ssl startup-notification svg tcpd test-programs threads thunar tiff truetype udev udisks unicode upower usb v4l v4l2 vaapi vcd vdpau vdr video vim-syntax vnc vorbis vpx widgets wxwidgets x264 xattr xcb xcomposite xinerama xml xscreensaver xv xvid xvmc zeroconf zip zlib" ABI_X86="64" 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" 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="canon" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext sse sse2 sse3 sse4_1 ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" L10N="en de" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="de" LIRC_DEVICES="userspace" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-0" POSTGRES_TARGETS="postgres9_5" PYTHON_SINGLE_TARGET="python3_4" PYTHON_TARGETS="python2_7 python3_4" QEMU_SOFTMMU_TARGETS="i386 x86_64 arm" QEMU_USER_TARGETS="i386 x86_64 arm" RUBY_TARGETS="ruby22" SANE_BACKENDS="epson" USERLAND="GNU" VIDEO_CARDS="intel" 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:  CC, CPPFLAGS, CTARGET, CXX, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 2 Martin Dummer 2017-10-22 10:35:22 UTC
In mentioned Bug #591396 there is a

Blocks: 589412

Do we need this also here?
Comment 3 Andreas Sturmlechner gentoo-dev 2017-10-22 10:54:12 UTC
No, this is almost certainly a local issue. Full build.log please.
Comment 4 Martin Dummer 2017-10-22 11:25:25 UTC
Created attachment 499634 [details]
full build log
Comment 5 Andreas Sturmlechner gentoo-dev 2017-10-22 11:32:16 UTC
This is your problem:

> -- Boost version: 1.55.0

Current list of available boost versions:

$ equery l -p boost
 * Searching for boost ...
[-P-] [  ] dev-libs/boost-1.62.0-r1:0/1.62.0
[-P-] [  ] dev-libs/boost-1.63.0:0/1.63.0
[IP-] [  ] dev-libs/boost-1.65.0:0/1.65.0
Comment 6 Martin Dummer 2017-10-22 11:34:56 UTC
Ok. THX.