Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 629966

Summary: games-board/pokerth-1.1.1-r2 fails compile against new dev-libs/boost-1.65.0
Product: Gentoo Linux Reporter: thunderrd <rzubaly>
Component: Current packagesAssignee: Gentoo Games <games>
Status: RESOLVED FIXED    
Severity: normal CC: jstein, rzubaly
Priority: Normal    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: build log

Description thunderrd 2017-09-05 14:36:33 UTC
after emerge of new boost-1.65.0, preserved-rebuild wantes to rebuild pokerth-1.1.1-r2, which fails with the following:


GUI_LIB -DQT_NETWORK_LIB -DQT_SQL_LIB -DQT_CORE_LIB -I. -Isrc/third_party/qtsingleapplication -Isrc/third_party/qtlockedfile -I. -Isrc -Isrc/engine -Isrc/gui -Isrc/net -Isrc/engine/local_engine -Isrc/engine/network_engine -Isrc/config -Isrc/gui/qt -Isrc/gui/qt/connecttoserverdialog -Isrc/core -Isrc/gui/qt/sound -Isrc/gui/qt/qttools -Isrc/gui/qt/chattools -Isrc/gui/qt/qttools/qthelper -Isrc/gui/qt/gametable -Isrc/gui/qt/gametable/startsplash -Isrc/gui/qt/gametable/log -Isrc/gui/qt/aboutpokerth -Isrc/gui/qt/createnetworkgamedialog -Isrc/gui/qt/createinternetgamedialog -Isrc/gui/qt/joinnetworkgamedialog -Isrc/gui/qt/newlocalgamedialog -Isrc/gui/qt/settingsdialog -Isrc/gui/qt/settingsdialog/selectavatardialog -Isrc/gui/qt/settingsdialog/manualblindsorderdialog -Isrc/gui/qt/startnetworkgamedialog -Isrc/gui/qt/startwindow -Isrc/gui/qt/serverlistdialog -Isrc/gui/qt/styles -Isrc/gui/qt/changecontentdialog -Isrc/gui/qt/changecompleteblindsdialog -Isrc/gui/qt/internetgamelogindialog -Isrc/gui/qt/mymessagedialog -Isrc/gui/qt/gamelobbydialog -Isrc/gui/qt/timeoutmsgbox -Isrc/gui/qt/logfiledialog -Isrc/gui/qt/mymessagebox -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtNetwork -isystem /usr/include/qt5/QtSql -isystem /usr/include/qt5/QtCore -Imocs -Iuics -I/usr/lib64/qt5/mkspecs/linux-g++ -o obj/gametableimpl.o src/gui/qt/gametable/gametableimpl.cpp
x86_64-pc-linux-gnu-g++ -c -march=native -O2 -pipe -Wall -W -D_REENTRANT -fPIC -DENABLE_IPV6 -DTIXML_USE_STL -DBOOST_FILESYSTEM_DEPRECATED -DPREFIX="/usr" -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_SQL_LIB -DQT_CORE_LIB -I. -Isrc/third_party/qtsingleapplication -Isrc/third_party/qtlockedfile -I. -Isrc -Isrc/engine -Isrc/gui -Isrc/net -Isrc/engine/local_engine -Isrc/engine/network_engine -Isrc/config -Isrc/gui/qt -Isrc/gui/qt/connecttoserverdialog -Isrc/core -Isrc/gui/qt/sound -Isrc/gui/qt/qttools -Isrc/gui/qt/chattools -Isrc/gui/qt/qttools/qthelper -Isrc/gui/qt/gametable -Isrc/gui/qt/gametable/startsplash -Isrc/gui/qt/gametable/log -Isrc/gui/qt/aboutpokerth -Isrc/gui/qt/createnetworkgamedialog -Isrc/gui/qt/createinternetgamedialog -Isrc/gui/qt/joinnetworkgamedialog -Isrc/gui/qt/newlocalgamedialog -Isrc/gui/qt/settingsdialog -Isrc/gui/qt/settingsdialog/selectavatardialog -Isrc/gui/qt/settingsdialog/manualblindsorderdialog -Isrc/gui/qt/startnetworkgamedialog -Isrc/gui/qt/startwindow -Isrc/gui/qt/serverlistdialog -Isrc/gui/qt/styles -Isrc/gui/qt/changecontentdialog -Isrc/gui/qt/changecompleteblindsdialog -Isrc/gui/qt/internetgamelogindialog -Isrc/gui/qt/mymessagedialog -Isrc/gui/qt/gamelobbydialog -Isrc/gui/qt/timeoutmsgbox -Isrc/gui/qt/logfiledialog -Isrc/gui/qt/mymessagebox -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtNetwork -isystem /usr/include/qt5/QtSql -isystem /usr/include/qt5/QtCore -Imocs -Iuics -I/usr/lib64/qt5/mkspecs/linux-g++ -o obj/mycardspixmaplabel.o src/gui/qt/gametable/mycardspixmaplabel.cpp
src/gui/qt/gametable/gametableimpl.cpp: In member function ‘void gameTableImpl::triggerVoteOnKick(int)’:
src/gui/qt/gametable/gametableimpl.cpp:3862:18: error: call of overloaded ‘advance(PlayerListIterator&, int&)’ is ambiguous
   advance(pos, id);
                  ^
In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/include/g++-v6/bits/stl_algobase.h:66:0,
                 from /usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/include/g++-v6/algorithm:61,
                 from /usr/include/qt5/QtCore/qglobal.h:94,
                 from /usr/include/qt5/QtCore/qatomic.h:41,
                 from /usr/include/qt5/QtCore/qvariant.h:43,
                 from /usr/include/qt5/QtCore/QVariant:1,
                 from uics/ui_gametable.h:12,
                 from src/gui/qt/gametable/gametableimpl.h:38,
                 from src/gui/qt/gametable/gametableimpl.cpp:31:
/usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/include/g++-v6/bits/stl_iterator_base_funcs.h:194:5: note: candidate: void std::advance(_InputIterator&, _Distance) [with _InputIterator = std::_List_iterator<boost::shared_ptr<PlayerInterface> >; _Distance = int]
     advance(_InputIterator& __i, _Distance __n)
     ^~~~~~~
In file included from /usr/include/boost/next_prior.hpp:25:0,
                 from /usr/include/boost/utility.hpp:19,
                 from /usr/include/boost/range/size.hpp:25,
                 from /usr/include/boost/range/functions.hpp:20,
                 from /usr/include/boost/range/iterator_range_core.hpp:38,
                 from /usr/include/boost/algorithm/string/replace.hpp:16,
                 from /usr/include/boost/date_time/date_facet.hpp:17,
                 from /usr/include/boost/date_time/gregorian/gregorian_io.hpp:16,
                 from /usr/include/boost/date_time/gregorian/gregorian.hpp:31,
                 from /usr/include/boost/date_time/posix_time/time_formatters.hpp:12,
                 from /usr/include/boost/date_time/posix_time/posix_time.hpp:24,
                 from src/third_party/boost/timers/portable/clock_device.hpp:18,
                 from src/third_party/boost/timers/portable.hpp:15,
                 from src/third_party/boost/timers.hpp:22,
                 from src/gui/qt/gametable/mytimeoutlabel.h:39,
                 from uics/ui_gametable.h:45,
                 from src/gui/qt/gametable/gametableimpl.h:38,
                 from src/gui/qt/gametable/gametableimpl.cpp:31:
/usr/include/boost/iterator/advance.hpp:68:9: note: candidate: constexpr void boost::iterators::advance_adl_barrier::advance(InputIterator&, Distance) [with InputIterator = std::_List_iterator<boost::shared_ptr<PlayerInterface> >; Distance = int]
         advance(InputIterator& it, Distance n)
         ^~~~~~~
make[1]: *** [Makefile.pokerth_game:1531: obj/gametableimpl.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: Leaving directory '/var/tmp/portage/games-board/pokerth-1.1.1-r2/work/PokerTH-1.1.1-src'
make: *** [Makefile:132: sub-pokerth_game-pro-make_first-ordered] Error 2
 * ERROR: games-board/pokerth-1.1.1-r2::gentoo failed (compile phase):
 *   emake failed
 * 
 * If you need support, post the output of `emerge --info '=games-board/pokerth-1.1.1-r2::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=games-board/pokerth-1.1.1-r2::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/games-board/pokerth-1.1.1-r2/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/games-board/pokerth-1.1.1-r2/temp/environment'.
 * Working directory: '/var/tmp/portage/games-board/pokerth-1.1.1-r2/work/PokerTH-1.1.1-src'
 * S: '/var/tmp/portage/games-board/pokerth-1.1.1-r2/work/PokerTH-1.1.1-src'

>>> Failed to emerge games-board/pokerth-1.1.1-r2, Log file:

>>>  '/var/tmp/portage/games-board/pokerth-1.1.1-r2/temp/build.log'




Reproducible: Always

Steps to Reproduce:
1. emerge new boost version
2. attempt rebuild of pokerth
3.



root@Q6600: ~# emerge --info
Portage 2.3.8 (python 3.5.3-final-0, default/linux/amd64/13.0/desktop, gcc-6.4.0, glibc-2.25-r4, 4.12.9-ck x86_64)
=================================================================
System uname: Linux-4.12.9-ck-x86_64-Intel-R-_Core-TM-2_Extreme_CPU_X9650_@_3.00GHz-with-gentoo-2.4.1
KiB Mem:     8168932 total,   4999064 free
KiB Swap:    1060860 total,   1060860 free
Timestamp of repository gentoo: Tue, 05 Sep 2017 14:00:01 +0000
Head commit of repository gentoo: d51f460aea0f8b724714706bfb27cf3bd0e3831f
sh bash 4.4_p12
ld GNU ld (Gentoo 2.28.1 p1.0) 2.28.1
app-shells/bash:          4.4_p12::gentoo
dev-java/java-config:     2.2.0-r3::gentoo
dev-lang/perl:            5.24.2::gentoo
dev-lang/python:          2.7.13::gentoo, 3.4.6::gentoo, 3.5.3::gentoo
dev-util/cmake:           3.9.1::gentoo
dev-util/pkgconfig:       0.29.2::gentoo
sys-apps/baselayout:      2.4.1-r2::gentoo
sys-apps/openrc:          0.29::gentoo
sys-apps/sandbox:         2.10-r4::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69-r4::gentoo
sys-devel/automake:       1.15.1-r1::gentoo
sys-devel/binutils:       2.28.1::gentoo
sys-devel/gcc:            4.9.4::gentoo, 6.4.0::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.11::gentoo (virtual/os-headers)
sys-libs/glibc:           2.25-r4::gentoo
Repositories:

gentoo
    location: /mnt/ext4_STORAGE/usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000
    sync-rsync-extra-opts: --verbose --progress --exclude-from=/etc/portage/rsync_excludes

palemoon
    location: /mnt/ext4_STORAGE/var/lib/layman/palemoon
    sync-type: laymansync
    sync-uri: https://github.com/deuiore/palemoon-overlay.git
    masters: gentoo
    priority: 50

torbrowser
    location: /mnt/ext4_STORAGE/var/lib/layman/torbrowser
    sync-type: laymansync
    sync-uri: git://github.com/MeisterP/torbrowser-overlay.git
    masters: gentoo
    priority: 50

BZ-overlay
    location: /mnt/ext4_STORAGE/usr/local/portage
    masters: gentoo
    priority: 60

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt /usr/share/themes/oxygen-gtk/gtk-2.0"
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"
CXXFLAGS="-march=native -O2 -pipe"
DISTDIR="/mnt/ext4_STORAGE/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--quiet-build=n"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks 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="http://gentoo.mirrors.easynews.com/linux/gentoo/ http://ftp.lecl.net/pub/gentoo/"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j4"
PKGDIR="/mnt/ext4_STORAGE/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_EXTRA_OPTS="--verbose --progress --exclude-from=/etc/portage/rsync_excludes"
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 alsa amd64 branding bzip2 cairo cdda cdr cli consolekit cracklib crypt cxx dbus device-mapper directfb dri dts dvd dvdr emboss encode exif fam ffmpeg firefox flac fortran gdbm gif glamor gpm gtk iconv infinality ipv6 jack jpeg lcms ldap libnotify mad mmx mng modules mp3 mp4 mpeg multilib ncurses nls nptl offensive ogg opengl openmp openssl pam pango pcre pdf png policykit ppds python qt5 readline samba sdl seccomp session spell sse sse2 ssh ssl startup-notification svg tcpd threads tiff truetype udev udisks unicode usb uuid vorbis wxwidgets x264 xattr xcb xcomposite xft xml xv xvid zlib" ABI_X86="32 64" ALSA_CARDS="ca0106" 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 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="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6" POSTGRES_TARGETS="postgres9_5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_4 python3_5" RUBY_TARGETS="ruby21" 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"
Unset:  CC, CPPFLAGS, CTARGET, CXX, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS
Comment 1 thunderrd 2017-09-05 16:15:52 UTC
Created attachment 492448 [details]
build log
Comment 2 Larry the Git Cow gentoo-dev 2017-09-07 07:13:35 UTC
Bug has been closed via the following commit:
https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1f6eeb3ae3f00b88fa38398613a63d08422e320f

commit 1f6eeb3ae3f00b88fa38398613a63d08422e320f
Author:     David Seifert <soap@gentoo.org>
AuthorDate: 2017-09-07 07:13:02 +0000
Commit:     David Seifert <soap@gentoo.org>
CommitDate: 2017-09-07 07:13:20 +0000

    games-board/pokerth: Fully qualify std::advance
    
    Closes: https://bugs.gentoo.org/show_bug.cgi?id=629966
    Package-Manager: Portage-2.3.8, Repoman-2.3.3

 .../files/pokerth-1.1.1-boost-1.65-ambiguous-advance.patch | 14 ++++++++++++++
 games-board/pokerth/pokerth-1.1.1-r2.ebuild                |  9 +++++----
 2 files changed, 19 insertions(+), 4 deletions(-)