Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 932255 - games-strategy/wesnoth-1.18.0 does not build with dev-libs/boost-1.85.0
Summary: games-strategy/wesnoth-1.18.0 does not build with dev-libs/boost-1.85.0
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks: boost-1.85
  Show dependency tree
 
Reported: 2024-05-20 07:35 UTC by Marcin Deranek
Modified: 2024-05-28 01:45 UTC (History)
5 users (show)

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


Attachments
boost 1.85 patch (boost-1.85.patch,414 bytes, patch)
2024-05-20 07:36 UTC, Marcin Deranek
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Marcin Deranek 2024-05-20 07:35:40 UTC
games-strategy/wesnoth-1.18.0 fails to build with dev-libs/boost-1.85.0 with the following error:

/var/tmp/portage/games-strategy/wesnoth-1.18.0/work/wesnoth-1.18.0/src/filesystem.cpp:436:14: error: ‘directory_iterator’ is not a member of ‘bfs’; did you mean ‘directory_entry’?
  436 |         bfs::directory_iterator di(dirpath, ec);

Reproducible: Always

Steps to Reproduce:
1. Try to build games-strategy/wesnoth-1.18.0 using dev-libs/boost-1.85.0
2.
3.
Actual Results:  
Build fails

Expected Results:  
Build should succeed

Portage 3.0.64 (python 3.11.9-final-0, default/linux/amd64/23.0/desktop/systemd, gcc-13, glibc-2.39-r6, 6.9.1-gentoo-k8s x86_64)
=================================================================
System uname: Linux-6.9.1-gentoo-k8s-x86_64-AMD_Ryzen_9_6900HX_with_Radeon_Graphics-with-glibc2.39
KiB Mem:    63534488 total,  48225168 free
KiB Swap:          0 total,         0 free
Timestamp of repository gentoo: Mon, 20 May 2024 04:00:00 +0000
Head commit of repository gentoo: ce02acf5ebe864a0911620d829f4c41c88f046fa
Timestamp of repository steam-overlay: Fri, 17 May 2024 12:20:53 +0000
Head commit of repository steam-overlay: 50cd00c3db1b246b78295a54101cc1b0ba385c64

sh bash 5.2_p26-r3
ld GNU ld (Gentoo 2.42 p3) 2.42.0
app-misc/pax-utils:        1.3.7::gentoo
app-shells/bash:           5.2_p26-r3::gentoo
dev-build/autoconf:        2.13-r8::gentoo, 2.72-r1::gentoo
dev-build/automake:        1.16.5-r2::gentoo
dev-build/cmake:           3.29.3::gentoo
dev-build/libtool:         2.4.7-r4::gentoo
dev-build/make:            4.4.1-r1::gentoo
dev-build/meson:           1.4.0-r1::gentoo
dev-java/java-config:      2.3.3-r1::gentoo
dev-lang/perl:             5.38.2-r5::gentoo
dev-lang/python:           3.10.14_p1::gentoo, 3.11.9::gentoo, 3.12.3::gentoo
dev-lang/rust:             1.77.1::gentoo
sys-apps/baselayout:       2.15::gentoo
sys-apps/sandbox:          2.38::gentoo
sys-apps/systemd:          255.6::gentoo
sys-devel/binutils:        2.42-r1::gentoo
sys-devel/binutils-config: 5.5::gentoo
sys-devel/clang:           17.0.6::gentoo, 18.1.6::gentoo
sys-devel/gcc:             13.2.1_p20240503::gentoo, 14.1.1_p20240518::gentoo
sys-devel/gcc-config:      2.11::gentoo
sys-devel/lld:             17.0.6::gentoo, 18.1.6::gentoo
sys-devel/llvm:            17.0.6::gentoo, 18.1.6::gentoo
sys-kernel/linux-headers:  6.9::gentoo (virtual/os-headers)
sys-libs/glibc:            2.39-r6::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage/
    priority: -1000
    volatile: True
    sync-rsync-verify-metamanifest: yes
    sync-rsync-extra-opts: 
    sync-rsync-verify-jobs: 1
    sync-rsync-verify-max-age: 24

slonko
    location: /usr/local/portage/slonko
    masters: gentoo
    volatile: True

steam-overlay
    location: /var/db/repos/steam-overlay
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/steam-overlay.git
    masters: gentoo
    volatile: False

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=native -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /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"
CXXFLAGS="-O2 -march=native -pipe"
DISTDIR="/var/cache/distfiles"
EMERGE_DEFAULT_OPTS="--with-bdeps=y --quiet-build=y --jobs=5 --load-average=16"
ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GDK_PIXBUF_MODULE_FILE GOBIN GOPATH PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR XDG_STATE_HOME"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs binpkg-multi-instance buildpkg-live compress-build-logs config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync merge-wait multilib-strict network-sandbox news parallel-fetch pid-sandbox pkgdir-index-trusted preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://mirror.leaseweb.com/gentoo/"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O2 -Wl,--as-needed -Wl,-z,now -Wl,-z,pack-relative-relocs -fuse-ld=mold"
LEX="flex"
LINGUAS="en en_US en_GB nl pl"
MAKEOPTS="-j17"
PKGDIR="/var/cache/binpkgs"
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"
SHELL="/bin/bash"
USE="X a52 aac accessibility acpi adns alsa amd64 ao appindicator asm atm audiofile avif bash-completion berkdb bidi bluetooth branding brotli bzip2 cairo calendar caps cdda cddb cet clamav clang colord crypt css cups curl cxx dbus dga dri dts dv dvb dvd encode exif expat fbcon ffmpeg fftw filecaps flac fontconfig ftp gd gdbm geoip geolocation ggi gif gimp glut gmp gnutls gphoto2 gpm graphicsmagick graphviz gstreamer gtk gui guile gzip hddtemp heif http2 iconv icu imagemagick imap imlib inotify introspection ipv6 javascript jbig jemalloc jit joystick jpeg jpeg2k jpegxl lame lcms ldap libass libcaca libffi libnotify libsamplerate libtirpc libwww lm-sensors lto lz4 lzip lzma lzo m17n-lib mad magic maildir man matroska mbox mhash mikmod mmap mms mng modplug modules modules-compress mp3 mp4 mpeg mpi mplayer mtp multilib musepack native-extensions ncurses nls nntp nocd nsplugin offensive ogg openal opencl openexr opengl openmp opentype-compat opus orc osc otf pam pango pcre pdf pgo pie plotutils png policykit posix postscript ppds pulseaudio qt5 qt6 raw readline recode scanner sdl seccomp session sid slang smp snappy sndfile snmp sockets sound sox speex spell ssl startup-notification strip svg syslog systemd szip taglib tcmalloc tcpd test-rust theora threads tidy tiff truetype ttf udev udisks uefi unicode upower usb v4l vaapi vcd vdpau verify-sig videos vim-syntax vorbis vulkan wavpack webkit webp wmf wxwidgets x264 x265 xcb xcomposite xft xml xmlrpc xmp xmpp xosd xpm xscreensaver xv xvid zip zlib zstd" ABI_X86="32 64" ADA_TARGET="gcc_12" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_anon authn_dbm authn_file authz_dbm authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir env expires ext_filter file_cache filter headers include info log_config logio mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="karbon sheets words" CAMERAS="canon" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext sse sse2 aes avx avx2 f16c fma3 pclmul popcnt rdrand sha sse3 sse4_1 sse4_2 sse4a ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 ntrip navcom oceanserver oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 tsip tripmate tnt ublox" GRUB_PLATFORMS="efi-64" INPUT_DEVICES="evdev" KERNEL="linux" L10N="en en-US en-GB nl pl" LCD_DEVICES="bayrad cfontz glk hd44780 lb216 lcdm001 mtxorb text" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" NGINX_MODULES_HTTP="access auth_basic autoindex brotli fastcgi gzip gzip_static lua map proxy rewrite stub_status" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php8-1" POSTGRES_TARGETS="postgres15" PYTHON_SINGLE_TARGET="python3_11" PYTHON_TARGETS="python3_11" RUBY_TARGETS="ruby31" VIDEO_CARDS="amdgpu" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipp2p iface geoip fuzzy condition tarpit sysrq proto logmark ipmark dhcpmac delude chaos account"
Unset:  ADDR2LINE, AR, ARFLAGS, AS, ASFLAGS, CC, CCLD, CONFIG_SHELL, CPP, CPPFLAGS, CTARGET, CXX, CXXFILT, ELFEDIT, EXTRA_ECONF, F77FLAGS, FC, GCOV, GPROF, INSTALL_MASK, LC_ALL, LD, LFLAGS, LIBTOOL, MAKE, MAKEFLAGS, NM, OBJCOPY, OBJDUMP, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PYTHONPATH, RANLIB, READELF, RUSTFLAGS, SIZE, STRINGS, STRIP, YACC, YFLAGS
Comment 1 Marcin Deranek 2024-05-20 07:36:51 UTC
Created attachment 893467 [details, diff]
boost 1.85 patch

Patch to build with boost-1.85.0 (tested)
Comment 2 Ulrich Müller gentoo-dev 2024-05-20 17:46:04 UTC
I've seen the same issue, and I can confirm that the patch from attachment 893467 [details, diff] fixes it for me.
Comment 3 Larry the Git Cow gentoo-dev 2024-05-28 01:45:19 UTC
The bug has been closed via the following commit(s):

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

commit 768f7595d58ed27e21fea815a52c5ca20c21410a
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2024-05-28 01:41:33 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2024-05-28 01:41:33 +0000

    games-strategy/wesnoth: fix build w/ boost-1.85
    
    Closes: https://bugs.gentoo.org/932255
    Thanks-to: Marcin Deranek <marcin.deranek@slonko.net>
    Signed-off-by: Sam James <sam@gentoo.org>

 games-strategy/wesnoth/files/wesnoth-1.18.0-boost-1.85.patch | 12 ++++++++++++
 games-strategy/wesnoth/wesnoth-1.18.0.ebuild                 |  4 ++++
 2 files changed, 16 insertions(+)