Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 618214 - media-sound/clementine-1.3.1-r6 with sys-devel/gcc-7.1 - error: ‘std::placeholders’ has not been declared
Summary: media-sound/clementine-1.3.1-r6 with sys-devel/gcc-7.1 -
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Fat-Zer
Depends on:
Blocks: gcc-7
  Show dependency tree
Reported: 2017-05-11 16:23 UTC by PM
Modified: 2017-05-16 19:57 UTC (History)
3 users (show)

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

build log (build.log,378.65 KB, text/x-log)
2017-05-15 21:58 UTC, PM
Add-missing-functional-includes-5630.patch (0001-Add-missing-functional-includes-5630.patch,1.34 KB, patch)
2017-05-15 22:27 UTC, Fat-Zer
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description PM 2017-05-11 16:23:36 UTC
/var/tmp/portage/media-sound/clementine-1.3.1-r6/work/Clementine-1.3.1/src/core/mergedproxymodel.cpp:29:12: error: ‘std::placeholders’ has not been declared
 using std::placeholders::_1;

Portage 2.3.5 (python 3.4.6-final-0, default/linux/amd64/13.0/desktop, gcc-7.1.0, glibc-2.24-r1, 4.11.0-gentoo x86_64)
System uname: Linux-4.11.0-gentoo-x86_64-Intel-R-_Core-TM-_i7-4790K_CPU_@_4.00GHz-with-gentoo-2.3
KiB Mem:    16345308 total,   9699188 free
KiB Swap:    4095996 total,   4095996 free
Timestamp of repository gentoo: Thu, 11 May 2017 14:00:01 +0000
sh bash 4.4_p12
ld GNU ld (Gentoo 2.27 p1.0) 2.27
distcc 3.2rc1 x86_64-pc-linux-gnu [disabled]
app-shells/bash:          4.4_p12::gentoo
dev-java/java-config:     2.2.0-r3::gentoo
dev-lang/perl:            5.24.1-r1::gentoo
dev-lang/python:          2.7.13::gentoo, 3.4.6::gentoo, 3.6.1-r1::gentoo
dev-util/cmake:           3.8.1::gentoo
dev-util/pkgconfig:       0.29.2::gentoo
sys-apps/baselayout:      2.3::gentoo
sys-apps/openrc:          0.25::gentoo
sys-apps/sandbox:         2.10-r4::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69-r3::gentoo
sys-devel/automake:       1.4_p6-r2::gentoo, 1.11.6-r2::gentoo, 1.13.4-r1::gentoo, 1.15-r2::gentoo
sys-devel/binutils:       2.27::gentoo
sys-devel/gcc:            6.3.0::gentoo, 7.1.0-r1::gentoo
sys-devel/gcc-config:     1.8-r1::gentoo
sys-devel/libtool:        2.4.6-r4::gentoo
sys-devel/make:           4.2.1-r1::gentoo
sys-kernel/linux-headers: 4.10::gentoo (virtual/os-headers)
sys-libs/glibc:           2.24-r1::gentoo

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

    location: /usr/local/portage/moje
    masters: gentoo
    priority: 0

    location: /usr/local/portage/gentoo-snappy
    sync-type: git
    masters: gentoo
    priority: 50

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

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

    location: /var/lib/layman/steam-overlay
    masters: gentoo
    priority: 50

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

Installed sets: @system
ACCEPT_KEYWORDS="amd64 ~amd64"
CFLAGS="-O3 -march=native -pipe -fno-delete-null-pointer-checks -flifetime-dse=1"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt"
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/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-O3 -march=native -pipe -fno-delete-null-pointer-checks -flifetime-dse=1"
EMERGE_DEFAULT_OPTS="--keep-going --quiet-build=n --autounmask-write"
FCFLAGS="-O3 -march=native -pipe -fno-delete-null-pointer-checks -flifetime-dse=1"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O3 -march=native -pipe -fno-delete-null-pointer-checks -flifetime-dse=1"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
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"
USE="X Xaw3d a52 aac aalib acl acpi adobe-cff aes alsa amd64 amr amrnb amrwb apng async audiofile automount avahi avresample avx avx2 bash-completion berkdb bfq bidi bineditor bluetooth bluray branding bzip2 c++0x c++11 c++14 cairo cdda cddb cdparanoia chdir clang clangcodemodel clangstaticanalyzer cli consolekit cracklib crypt css cups curl cxx dbus dirac disk-partition divx djvu dri dts dvd dvdr ebook editor efi emboss emovix enca encode exchange exif faac faad fam fat fdk ffmpeg fftw firefox firefox3 flac fma3 fontconfig fortran fribidi g3dvl gd gdbm geoip gif glamor glitz gmedia gnuplot gold gphoto2 gpm gtk gtkstyle hddtemp hpijs iconv id3 id3tag imagemagick inotify iostats ipod ipv6 jpeg jpeg2k kde4 kdehiddenvisibility kipi kompare kpathsea kqemu ladspa lame laptop lastfm latex lcms libass libcaca libnotify libsamplerate lldb lm_sensors lto lzma lzo mad matroska midi mjpeg mmap mmx mmxext mng modeling modules moodbar mp3 mp3tunes mp4 mpeg mplayer mtp multilib musicbrainz ncurses networkmanager nls notebook nptl nsplugin ntfs nvidia ogg okteta openal opencl opencore-amr opengl openmp optimized-qmake opus pam pango pch pcre pdf png policykit popcnt portage ppds private-headers pulseaudio python3 qt3 qt3support qt4 qt5 qthelp raster readline realmedia roe scanner schroedinger sdl seccomp secure-delete semantic-desktop sensord session shaders slang sndfile solver soundtouch sourceview sparse spell sse sse2 sse3 sse4 sse41 sse4_1 sse4a ssl ssse3 startup-notification steamruntime suid svg swat symlink syslog tcpd theora threads tiff truetype udev udisks unicode upnp upower usb vaapi vamp vcd vdpau vorbis wifi wmf wmp wxwidgets wxwindows x264 xattr xcb xcomposite xinerama xml xscreensaver xv xvid xvmc zeroconf 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" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext sse sse2 sse3 ssse3 sse4 sse4_2 sse41 sse4_1 sse42 sse4a aes avx avx2 fma3 popcnt" 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="evdev" KERNEL="linux" L10N="pl" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="pl" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6" PYTHON_SINGLE_TARGET="python3_4" PYTHON_TARGETS="python2_7 python3_4" QEMU_SOFTMMU_TARGETS="x86_64 i386" QEMU_USER_TARGETS="x86_64 i386" RUBY_TARGETS="ruby21 ruby22" USERLAND="GNU" VIDEO_CARDS="nvidia" 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"
Comment 1 Fat-Zer 2017-05-15 21:55:39 UTC
PM, could you please upload the full build log.

TBH, I've got no clue why this is happening... the code seems fine to me.
Comment 2 PM 2017-05-15 21:58:29 UTC
Created attachment 472724 [details]
build log
Comment 3 Fat-Zer 2017-05-15 22:27:35 UTC
Created attachment 472726 [details, diff]

Ok, I was looking to upstream's already fixed code.

Could you verify that the attached patched fixes the issue in 1.3.1?
Comment 4 Fat-Zer 2017-05-16 05:26:26 UTC
The patch fixes compilation with gcc-7.1 for me (the linkage still fails due to post-4.x-cxx-abi issues). For 4.9 doesn't break a thing.
All in all good enough for PR: