/var/tmp/portage/app-office/gnucash-5.8-r100/work/gnucash-5.8/libgnucash/app-utils/gnc-quotes.cpp: In member function ‘QuoteResult GncFQQuoteSource::run_cmd(const StrVec&, const std::string&) const’: /var/tmp/portage/app-office/gnucash-5.8-r100/work/gnucash-5.8/libgnucash/app-utils/gnc-quotes.cpp:215:22: error: ‘io_service’ is not a member of ‘boost::asio’; did you mean ‘use_service’? 215 | boost::asio::io_service svc; | ^~~~~~~~~~ | use_service /var/tmp/portage/app-office/gnucash-5.8-r100/work/gnucash-5.8/libgnucash/app-utils/gnc-quotes.cpp:227:33: error: ‘svc’ was not declared in this scope 227 | svc); | ^~~ /var/tmp/portage/app-office/gnucash-5.8-r100/work/gnucash-5.8/libgnucash/app-utils/gnc-quotes.cpp:237:33: error: ‘svc’ was not declared in this scope 237 | svc); | ^~~ /var/tmp/portage/app-office/gnucash-5.8-r100/work/gnucash-5.8/libgnucash/app-utils/gnc-quotes.cpp:239:9: error: ‘svc’ was not declared in this scope 239 | svc.run(); | ^~~ ninja: build stopped: subcommand failed. * ERROR: app-office/gnucash-5.8-r100::gentoo failed (compile phase): * ninja -v -j1 -l0 failed Reproducible: Always Expected Results: Maybe due to boost upgrade? emerge --info Portage 3.0.66.1 (python 3.12.8-final-0, default/linux/amd64/23.0/desktop/plasma/systemd, gcc-14, glibc-2.40-r7, 6.12.4-gentoo-r1 x86_64) ================================================================= System uname: Linux-6.12.4-gentoo-r1-x86_64-AMD_Ryzen_9_5900X_12-Core_Processor-with-glibc2.40 KiB Mem: 65778572 total, 32958880 free KiB Swap: 12582908 total, 12577424 free Timestamp of repository gentoo: Fri, 13 Dec 2024 17:18:35 +0000 Head commit of repository gentoo: 386d0ef1d655fbf0126c71fdddb3f6c584af2a29 Head commit of repository audio-overlay: 20bf7b1970d2e2e20ed33f6b9563a659190ae368 Head commit of repository brave-overlay: 3146fe47df2b34a4355dc24755c5a99d0a95ce66 sh bash 5.2_p37 ld GNU ld (Gentoo 2.43 p3) 2.43.1 app-misc/pax-utils: 1.3.8::gentoo app-shells/bash: 5.2_p37::gentoo dev-build/autoconf: 2.72-r1::gentoo dev-build/automake: 1.17-r1::gentoo dev-build/cmake: 3.31.2::gentoo dev-build/libtool: 2.5.4::gentoo dev-build/make: 4.4.1-r100::gentoo dev-build/meson: 1.6.0-r1::gentoo dev-java/java-config: 2.3.4::gentoo dev-lang/perl: 5.40.0-r1::gentoo dev-lang/python: 3.12.8::gentoo, 3.13.1::gentoo dev-lang/rust: 1.83.0-r1::gentoo llvm-core/clang: 18.1.8-r6::gentoo, 19.1.5::gentoo llvm-core/llvm: 18.1.8-r6::gentoo, 19.1.5::gentoo sys-apps/baselayout: 2.17::gentoo sys-apps/sandbox: 2.40::gentoo sys-apps/systemd: 256.9::gentoo sys-devel/binutils: 2.43-r2::gentoo sys-devel/binutils-config: 5.5.2::gentoo sys-devel/gcc: 14.2.1_p20241116::gentoo sys-devel/gcc-config: 2.12.1::gentoo sys-kernel/linux-headers: 6.12::gentoo (virtual/os-headers) sys-libs/glibc: 2.40-r7::gentoo Repositories: gentoo location: /var/db/repos/gentoo sync-type: git sync-uri: https://anongit.gentoo.org/git/repo/sync/gentoo.git priority: -1000 volatile: False audio-overlay location: /var/db/repos/audio-overlay sync-type: git sync-uri: https://github.com/gentoo-audio/audio-overlay.git masters: gentoo volatile: False brave-overlay location: /var/db/repos/brave-overlay sync-type: git sync-uri: https://gitlab.com/jason.oliveira/brave-overlay.git masters: gentoo volatile: False local location: /var/db/repos/local masters: gentoo volatile: False Binary Repositories: binhost priority: 9999 sync-uri: https://distfiles.gentoo.org/releases/amd64/binpackages/23.0/x86-64-v3 ACCEPT_KEYWORDS="amd64 ~amd64" ACCEPT_LICENSE="* -@EULA" AR="ar" CBUILD="x86_64-pc-linux-gnu" CC="gcc" CFLAGS="-O2 -march=native -fomit-frame-pointer -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/revdep-rebuild /etc/sandbox.d" CXX="g++" CXXFLAGS="-O2 -march=native -fomit-frame-pointer -pipe" DISTDIR="/var/cache/distfiles" EMERGE_DEFAULT_OPTS="--with-bdeps y --autounmask-keep-masks" 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-request-signature buildpkg-live clean-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 xattr" FFLAGS="-O2 -pipe" GENTOO_MIRRORS="http://gentoo.osuosl.org/" LANG="en_US.utf8" LDFLAGS="-Wl,-O2 -Wl,--as-needed" LEX="flex" LINGUAS="en_US en" MAKEOPTS="V=1 -j1" NM="nm" 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" RANLIB="ranlib" SHELL="/bin/zsh" USE="10bit 12bit X a52 aac aacs aalib acl acpi activities alsa amd64 amr aom apache2 aspell audiofile bash-completion bluray branding btrfs bzip2 cairo caps cdda cddb cdparanoia cdr cet chm chromecast cleartype colord corefonts crypt cups curl dbus declarative djvu dri dssi dts dv dvb dvd dvdr ebook egl encode exif fam fdk ffmpeg flac gdbm gif gles2 gmp google gphoto2 gpm gstreamer gtk gtk3 gtk4 gui iconv icu imagemagick imap imlib introspection ipv6 java jpeg jpeg2k kde kf6compat kvm kwallet ladspa lame lash lcms libffi libinput libnotify libtirpc linguas_en_US lm-sensors lvm lzma mad midi mmap mng mp3 mp4 mpeg mtp multimedia musicbrainz ncurses network networkmanager nftables nls numa ofx ogg opencl openexr opengl openmp opus pam pango pcre pdf pipewire pipewire-alsa plasma png policykit ppds pulseaudio qemu qml qt5 qt6 readline rtmp rust sasl scanner screencast sdl seccomp semantic-desktop sndfile sound speex spell ssl startup-notification subversion svg systemd test-rust theora threads tiff tk truetype udev udisks unicode upower usb v4l vaapi vcd vdpau vim-syntax vorbis vpx vst vulkan wav wavpack wayland webp widgets wmf wxwidgets x264 x265 xattr xcb xcomposite xft xine xkb xml xscreensaver xv xvid zlib" ABI_X86="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="*" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx avx2 f16c fma3 mmx mmxext pclmul popcnt rdrand sha sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax navcom oceanserver oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 tsip tripmate tnt ublox" GRUB_PLATFORMS="efi-64" GUILE_SINGLE_TARGET="3-0" GUILE_TARGETS="3-0" INPUT_DEVICES="libinput wacom" KERNEL="linux" L10N="en_US.utf8" LCD_DEVICES="bayrad cfontz glk hd44780 lb216 lcdm001 mtxorb text" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" NGINX_MODULES_HTTP="autoindex fancyindex fastcgi gzip" OFFICE_IMPLEMENTATION="libreoffice" PERL_FEATURES="ithreads" PHP_TARGETS="php8-2" POSTGRES_TARGETS="postgres16" PYTHON_SINGLE_TARGET="python3_12" PYTHON_TARGETS="python3_12" QEMU_SOFTMMU_TARGETS="x86_64" QEMU_USER_TARGETS="x86_64" RUBY_TARGETS="ruby32" SANE_BACKENDS="epson epson2" VIDEO_CARDS="amdgpu radeonsi" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipp2p iface geoip fuzzy condition tarpit sysrq proto logmark ipmark dhcpmac delude chaos account" Unset: ADDR2LINE, ARFLAGS, AS, ASFLAGS, CCLD, CONFIG_SHELL, CPP, CPPFLAGS, CTARGET, CXXFILT, ELFEDIT, EXTRA_ECONF, F77FLAGS, FC, GCOV, GPROF, INSTALL_MASK, LC_ALL, LD, LFLAGS, LIBTOOL, MAKE, MAKEFLAGS, OBJCOPY, OBJDUMP, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PYTHONPATH, READELF, RUSTFLAGS, SIZE, STRINGS, STRIP, YACC, YFLAGS
Created attachment 913953 [details] build log
In the future, please include the package category in the bug summary.
This seems to be due to Boost 1.87.0 removing the already-deprecated io_service struct/typedef: https://github.com/boostorg/asio/commit/ec0908c562102915423d8bd7aefd3079efbb6c86 io_service was a typedef of io_context-- maybe renaming that is all that's needed?
Created attachment 913976 [details, diff] gnucash-5.8-r100-fix-boost-1.87.0-io-service.patch This trivial patch just replaces io_service with io_context, and that was enough to get gnucash to build for me. I haven't tested it beyond that for now.
Same here
Upstream applied the same fix 3 weeks ago and it's included in gnucash 5.10 released yesterday. https://github.com/Gnucash/gnucash/pull/2045
*** Bug 946481 has been marked as a duplicate of this bug. ***
Same issue here, a more descriptive bug title would be helpful though.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9a46cee32584b037d7a7d69df35865d48c6cc1bc commit 9a46cee32584b037d7a7d69df35865d48c6cc1bc Author: Sam James <sam@gentoo.org> AuthorDate: 2024-12-26 02:52:37 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2024-12-26 02:52:37 +0000 app-office/gnucash: add 5.10 Closes: https://bugs.gentoo.org/946388 Signed-off-by: Sam James <sam@gentoo.org> app-office/gnucash/Manifest | 1 + .../gnucash/files/gnucash-5.10-import-qif.patch | 27 +++ app-office/gnucash/gnucash-5.10.ebuild | 232 +++++++++++++++++++++ 3 files changed, 260 insertions(+)
I'm going to backport the patch to 5.8 to allow testing of the fix for bug 941426. Once I commit this, please do try hard to break it and let me know if anything fails in a new bug. Thanks!
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f8170672b2949a23581c166284e09370bb195773 commit f8170672b2949a23581c166284e09370bb195773 Author: Sam James <sam@gentoo.org> AuthorDate: 2024-12-26 10:09:46 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2024-12-26 10:09:46 +0000 app-office/gnucash: backport boost-1.87 fix This allows easier testing of the bug #941426 fix. Closes: https://bugs.gentoo.org/946388 Bug: https://bugs.gentoo.org/941426 Signed-off-by: Sam James <sam@gentoo.org> app-office/gnucash/files/gnucash-5.8-boost-1.87.patch | 12 ++++++++++++ app-office/gnucash/gnucash-5.8-r100.ebuild | 2 ++ 2 files changed, 14 insertions(+) Additionally, it has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c9c68d05e8fcaa3dd8be3a9b38b2070f3115dd7d commit c9c68d05e8fcaa3dd8be3a9b38b2070f3115dd7d Author: Sam James <sam@gentoo.org> AuthorDate: 2024-12-26 10:17:09 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2024-12-26 10:17:13 +0000 app-office/gnucash: backport guile load fixes to 5.8-r100 Backport the changes from 72dbf2ec4049df11ad63576971883ee239eadb7f. This allows easier testing of the fixes (because of the nature of them involving an upgrade/downgrade). Bug: https://bugs.gentoo.org/941426 Bug: https://bugs.gentoo.org/946388 Signed-off-by: Sam James <sam@gentoo.org> ...ath.patch => gnucash-5.8-guile-load-path.patch} | 0 app-office/gnucash/gnucash-5.10.ebuild | 2 +- app-office/gnucash/gnucash-5.8-r100.ebuild | 39 ++++++++++++++-------- 3 files changed, 26 insertions(+), 15 deletions(-)
app-office/gnucash-5.8-r100 now builds and starts regularly. Build for app-office/gnucash-5.10 is ongoing, there are several big packages in the update so I'm not sure I'll manage to feedback soon.
Also app-office/gnucash-5.10 builds and starts regularly. Thanks for the fix