Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 689298 - games-board/pokerth-1.1.2 does not build with new dev-libs/boost-1.70.0
Summary: games-board/pokerth-1.1.2 does not build with new dev-libs/boost-1.70.0
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Gentoo Games
URL: https://github.com/pokerth/pokerth/is...
Whiteboard:
Keywords: PATCH
Depends on:
Blocks: boost-1.71
  Show dependency tree
 
Reported: 2019-07-05 04:23 UTC by thunderrd
Modified: 2019-08-11 19:12 UTC (History)
3 users (show)

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


Attachments
build log (games-board:pokerth-1.1.2:20190705-032326.log,192.04 KB, text/x-log)
2019-07-05 04:26 UTC, thunderrd
Details

Note You need to log in before you can comment on or make changes to this bug.
Description thunderrd 2019-07-05 04:23:20 UTC
existing install of pokerth-1.1.2 with boost 1.65.0 will not build against new boost version 1.70.0, rebuild forced by @preserved-rebuild.

Reproducible: Always

Steps to Reproduce:
1.install boost-1.70.0
2.rebuild pokerth-1.2.2
3.fails with the message below



/usr/lib/gcc/x86_64-pc-linux-gnu/8.3.0/include/g++-v8/bits/unordered_set.h:1681:5: note: candidate: ‘template<class _Value, class _Hash, class _Pred, class _Alloc> bool std::operator==(const std::unordered_multiset<_Value, _Hash, _Pred, _Alloc>&, const std::unordered_multiset<_Value, _Hash, _Pred, _Alloc>&)’
     operator==(const unordered_multiset<_Value, _Hash, _Pred, _Alloc>& __x,
     ^~~~~~~~
/usr/lib/gcc/x86_64-pc-linux-gnu/8.3.0/include/g++-v8/bits/unordered_set.h:1681:5: note:   template argument deduction/substitution failed:
In file included from /usr/include/boost/asio/executor.hpp:338,
                 from /usr/include/boost/asio/basic_socket.hpp:27,
                 from /usr/include/boost/asio/basic_datagram_socket.hpp:20,
                 from /usr/include/boost/asio.hpp:24,
                 from src/net/chatcleanermanager.h:36,
                 from src/net/common/chatcleanermanager.cpp:32:
/usr/include/boost/asio/impl/executor.hpp:218:22: note:   ‘const std::reference_wrapper<boost::asio::io_context>’ is not derived from ‘const std::unordered_multiset<_Value, _Hash, _Pred, _Alloc>’
     return executor_ == *static_cast<const Executor*>(e->target());
            ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
make[1]: *** [Makefile.pokerth_lib:1421: obj/chatcleanermanager.o] Error 1
make[1]: *** Waiting for unfinished jobs....
src/net/common/clientthread.cpp: In member function ‘void ClientThread::CreateContextSession()’:
src/net/common/clientthread.cpp:996:29: error: ‘non_blocking_io’ is not a member of ‘boost::asio::socket_base’
   boost::asio::socket_base::non_blocking_io command(true);
                             ^~~~~~~~~~~~~~~
src/net/common/clientthread.cpp:997:23: error: ‘command’ was not declared in this scope
   newSock->io_control(command);
                       ^~~~~~~
src/net/common/clientthread.cpp:997:23: note: suggested alternative: ‘howmany’
   newSock->io_control(command);
                       ^~~~~~~
                       howmany
make[1]: *** [Makefile.pokerth_lib:1540: obj/clientthread.o] Error 1
make[1]: Leaving directory '/var/tmp/portage/games-board/pokerth-1.1.2/work/pokerth-1.1.2-rc'
make: *** [Makefile:107: sub-pokerth_lib-pro-make_first-ordered] Error 2
 * ERROR: games-board/pokerth-1.1.2::gentoo failed (compile phase):
 *   emake failed
 * 
 * If you need support, post the output of `emerge --info '=games-board/pokerth-1.1.2::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=games-board/pokerth-1.1.2::gentoo'`.
 * The complete build log is located at '/var/log/portage/games-board:pokerth-1.1.2:20190705-032326.log'.
 * For convenience, a symlink to the build log is located at '/var/tmp/portage/games-board/pokerth-1.1.2/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/games-board/pokerth-1.1.2/temp/environment'.
 * Working directory: '/var/tmp/portage/games-board/pokerth-1.1.2/work/pokerth-1.1.2-rc'
 * S: '/var/tmp/portage/games-board/pokerth-1.1.2/work/pokerth-1.1.2-rc'

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

>>>  '/var/log/portage/games-board:pokerth-1.1.2:20190705-032326.log'

 * Messages for package games-board/pokerth-1.1.2:
 * Log file: /var/log/portage/games-board:pokerth-1.1.2:20190705-032326.log

 * ERROR: games-board/pokerth-1.1.2::gentoo failed (compile phase):
 *   emake failed
 * 
 * If you need support, post the output of `emerge --info '=games-board/pokerth-1.1.2::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=games-board/pokerth-1.1.2::gentoo'`.
 * The complete build log is located at '/var/log/portage/games-board:pokerth-1.1.2:20190705-032326.log'.
 * For convenience, a symlink to the build log is located at '/var/tmp/portage/games-board/pokerth-1.1.2/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/games-board/pokerth-1.1.2/temp/environment'.
 * Working directory: '/var/tmp/portage/games-board/pokerth-1.1.2/work/pokerth-1.1.2-rc'
 * S: '/var/tmp/portage/games-board/pokerth-1.1.2/work/pokerth-1.1.2-rc'






root@Q6600: ~# emerge --info
Portage 2.3.68 (python 3.6.8-final-0, default/linux/amd64/17.1/desktop, gcc-8.3.0, glibc-2.29-r2, 5.1.7-ck x86_64)
=================================================================
System uname: Linux-5.1.7-ck-x86_64-Intel-R-_Core-TM-2_Extreme_CPU_X9650_@_3.00GHz-with-gentoo-2.6
KiB Mem:     8171964 total,   5541640 free
KiB Swap:   15800316 total,  15800316 free
Timestamp of repository gentoo: Fri, 05 Jul 2019 02:00:01 +0000
Head commit of repository gentoo: d787c34f1f1ef9b7c130ed871844e38e0b4b52b4
sh bash 5.0_p7
ld GNU ld (Gentoo 2.32 p2) 2.32.0
ccache version 3.7.1 [disabled]
app-shells/bash:          5.0_p7::gentoo
dev-java/java-config:     2.2.0-r4::gentoo
dev-lang/perl:            5.30.0::gentoo
dev-lang/python:          2.7.16::gentoo, 3.5.7::gentoo, 3.6.8::gentoo
dev-util/ccache:          3.7.1::gentoo
dev-util/cmake:           3.14.5::gentoo
dev-util/pkgconfig:       0.29.2::gentoo
sys-apps/baselayout:      2.6-r1::gentoo
sys-apps/openrc:          0.41.2::gentoo
sys-apps/sandbox:         2.17::gentoo
sys-devel/autoconf:       2.13-r1::gentoo, 2.69-r4::gentoo
sys-devel/automake:       1.15.1-r2::gentoo, 1.16.1-r1::gentoo
sys-devel/binutils:       2.32-r1::gentoo
sys-devel/gcc:            7.3.0-r6::gentoo, 7.4.0-r1::gentoo, 8.3.0-r1::gentoo, 9.1.0::gentoo
sys-devel/gcc-config:     2.0::gentoo
sys-devel/libtool:        2.4.6-r5::gentoo
sys-devel/make:           4.2.1-r4::gentoo
sys-kernel/linux-headers: 5.1::gentoo (virtual/os-headers)
sys-libs/glibc:           2.29-r2::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
    sync-rsync-verify-max-age: 24
    sync-rsync-verify-metamanifest: no
    sync-rsync-verify-jobs: 1

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

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

Installed sets: @kernel-update
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"
ENV_UNSET="DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs clean-logs config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox 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.kaist.ac.kr/gentoo/ http://gentoo.mirrors.easynews.com/linux/gentoo/"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j5"
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 berkdb branding bzip2 cairo cdda cdr cli consolekit crypt cxx dbus device-mapper dri dts dvd dvdr emboss encode exif fam flac fortran gdbm gif glamor gpm iconv infinality ipv6 jack jpeg lcms ldap libnotify libtirpc mad mmx mng mp3 mp4 mpeg multilib ncurses nls nptl offensive ogg opengl openmp openssl pam pango pcre pdf png policykit ppds qt5 readline sdl seccomp spell sse sse2 ssh ssl 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="karbon sheets words" 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" NETBEANS_MODULES="apisupport cnd groovy gsf harness ide identity j2ee java mobility nb php profiler soa visualweb webcommon websvccommon xml" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-2" POSTGRES_TARGETS="postgres10 postgres11" PYTHON_SINGLE_TARGET="python3_6" PYTHON_TARGETS="python2_7 python3_6" RUBY_TARGETS="ruby24" 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, LINGUAS, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS
Comment 1 thunderrd 2019-07-05 04:26:32 UTC
Created attachment 581936 [details]
build log
Comment 2 Larry the Git Cow gentoo-dev 2019-07-14 10:57:29 UTC
The bug has been referenced in the following commit(s):

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

commit e99b8bc1ffe6e199605cbddb7ec82fee8b571649
Author:     David Seifert <soap@gentoo.org>
AuthorDate: 2019-07-14 10:54:36 +0000
Commit:     David Seifert <soap@gentoo.org>
CommitDate: 2019-07-14 10:54:36 +0000

    games-board/pokerth: Add upper bound on boost-1.70
    
    Bug: https://bugs.gentoo.org/689298
    Package-Manager: Portage-2.3.68, Repoman-2.3.16
    Signed-off-by: David Seifert <soap@gentoo.org>

 games-board/pokerth/pokerth-1.1.2.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
Comment 3 Andreas Sturmlechner gentoo-dev 2019-07-16 18:09:39 UTC
Arch have a patch: https://aur.archlinux.org/cgit/aur.git/tree/pokerth-1.1.2.patch?h=pokerth
Comment 4 Larry the Git Cow gentoo-dev 2019-08-11 19:12:24 UTC
The bug has been closed via the following commit(s):

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

commit a3f67754346ac4fc694059dc38790058aa37cc40
Author:     David Seifert <soap@gentoo.org>
AuthorDate: 2019-08-11 19:12:05 +0000
Commit:     David Seifert <soap@gentoo.org>
CommitDate: 2019-08-11 19:12:05 +0000

    games-board/pokerth: Unbundle dev-cpp/websocketpp
    
    Closes: https://bugs.gentoo.org/689298
    Package-Manager: Portage-2.3.71, Repoman-2.3.17
    Signed-off-by: David Seifert <soap@gentoo.org>

 .../pokerth/files/pokerth-1.1.2-boost-1.66.patch   |  38 ++++++++
 .../pokerth/files/pokerth-1.1.2-fix-includes.patch | 106 +++++++++++++++++++++
 .../files/pokerth-1.1.2-system-websockets.patch    |  17 ++++
 games-board/pokerth/pokerth-1.1.2.ebuild           |  10 +-
 4 files changed, 170 insertions(+), 1 deletion(-)