Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 955529 - app-office/gnucash-5.11 failed to build with boost-1.88.0
Summary: app-office/gnucash-5.11 failed to build with boost-1.88.0
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Aaron W. Swenson
URL:
Whiteboard:
Keywords: PATCH, PullRequest
Depends on:
Blocks: boost-1.88 956982
  Show dependency tree
 
Reported: 2025-05-06 18:02 UTC by Harris Landgarten
Modified: 2025-05-31 21:07 UTC (History)
1 user (show)

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


Attachments
build log (build.log,313.28 KB, text/x-log)
2025-05-06 18:02 UTC, Harris Landgarten
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Harris Landgarten 2025-05-06 18:02:01 UTC
Created attachment 927911 [details]
build log

ebuild failed during the install phase
Comment 1 Harris Landgarten 2025-05-06 18:03:27 UTC
sudo emerge --info '=app-office/gnucash-5.11::gentoo'
Portage 3.0.68 (python 3.12.10-final-0, default/linux/amd64/23.0/desktop/gnome/systemd, gcc-15, glibc-2.41-r1, 6.14.5-gentoo-x86_64 x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-6.14.5-gentoo-x86_64-x86_64-AMD_Ryzen_AI_9_HX_370_w-_Radeon_890M-with-glibc2.41
KiB Mem:    61236304 total,  23204836 free
KiB Swap:   67108860 total,  67108324 free
Timestamp of repository gentoo: Tue, 06 May 2025 15:09:21 +0000
Head commit of repository gentoo: f8681f30b14240e0771f475c415afa1958278673

Timestamp of repository Miezhiko: Tue, 06 May 2025 09:40:01 +0000
Head commit of repository Miezhiko: 0ed93ef5ff960edfe17716463aba2e741b9e72b4

sh bash 5.2_p37-r2
ld GNU ld (Gentoo 2.44 p1) 2.44.0
app-misc/pax-utils:        1.3.8::gentoo
app-shells/bash:           5.2_p37-r2::gentoo
dev-build/autoconf:        2.13-r8::gentoo, 2.72-r1::gentoo
dev-build/automake:        1.17-r2::gentoo
dev-build/cmake:           3.31.7::gentoo
dev-build/libtool:         2.5.4::gentoo
dev-build/make:            4.4.1-r100::gentoo
dev-build/meson:           1.8.0::gentoo
dev-java/java-config:      2.3.4::gentoo
dev-lang/perl:             5.40.2::gentoo
dev-lang/python:           3.11.12::gentoo, 3.12.10::gentoo, 3.13.3::gentoo, 3.13.3-r100::gentoo
dev-lang/rust:             1.86.0-r1::gentoo
dev-lang/rust-bin:         1.86.0-r1::gentoo
llvm-core/clang:           17.0.6::gentoo, 19.1.7::gentoo, 20.1.4::gentoo
llvm-core/lld:             19.1.7::gentoo
llvm-core/llvm:            17.0.6-r3::gentoo, 19.1.7::gentoo, 20.1.4::gentoo
sys-apps/baselayout:       2.17::gentoo
sys-apps/sandbox:          2.46::gentoo
sys-apps/systemd:          257.5::gentoo
sys-devel/binutils:        2.44::gentoo
sys-devel/binutils-config: 5.5.2::gentoo
sys-devel/gcc:             14.2.1_p20250419::gentoo, 15.1.0::gentoo
sys-devel/gcc-config:      2.12.1::gentoo
sys-kernel/linux-headers:  6.14::gentoo (virtual/os-headers)
sys-libs/glibc:            2.41-r1::gentoo
Repositories:

gentoo
    location: /var/db/repos/gentoo
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/gentoo.git
    priority: -1000
    eclass-overrides: local
    volatile: False
    sync-git-verify-commit-signature: yes

Miezhiko
    location: /var/db/repos/Miezhiko
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/Miezhiko.git
    masters: gentoo
    eclass-overrides: local
    volatile: False

local
    location: /var/db/repos/local
    masters: gentoo
    eclass-overrides: local
    volatile: False

Binary Repositories:

binhost
    priority: 9999
    sync-uri: https://distfiles.gentoo.org/releases/amd64/binpackages/23.0/x86-64

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/lib64/libreoffice/program/sofficerc /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"
CXXFLAGS="-march=native -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
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 config-protect-if-modified distlocks ebuild-locks export-pms-vars 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 strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs"
LEX="flex"
LINGUAS="en en_US en-US"
MAKEOPTS="-j24"
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="RUBY_TARGETS:-ruby31 X a52 aac acl acpi alsa amd64 bluetooth branding bzip2 cairo cdda cdr cet colord crypt cups dbus dri drm dts dvd dvdr eds egl encode esd evo exif flac gbm gdbm gdk-pixbuf gif gles1 gles2 gnome gnome-keyring gnome-online-accounts gnome-shell gpm gstreamer gtk gtk3 gui iconv icu introspection ipv6 jpeg keyring lcms libnotify libtirpc mad mng mp3 mp4 mpeg multilib nautilus ncurses networkmanager nls ogg opencl opengl openmp pam pango pcre pdf png policykit ppds pulseaudio qml qt5 qt6 readline ruby32 ruby33 ruby34 screencast sdl seccomp sound spell ssl startup-notification svg sysprof systemd test-rust tiff tracker truetype udev udisks unicode upower usb vdpau vdpaui vorbis vulkan wayland webp wxwidgets x264 xattr xcb xft xinerama xml xv xvid xvmc zlib" ABI_X86="64" ADA_TARGET="gcc_14" AMDGPU_TARGETS="gfx1100 gfx1150" 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" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx avx2 avx512_bf16 avx512_bitalg avx512_vbmi2 avx512_vnni avx512_vp2intersect avx512_vpopcntdq avx512bw avx512cd avx512dq avx512f avx512ifma avx512vbmi avx512vl f16c fma3 mmx mmxext pclmul popcnt rdrand sha sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 vpclmulqdq" 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="evdev libinput wacom" KERNEL="linux" LCD_DEVICES="bayrad cfontz glk hd44780 lb216 lcdm001 mtxorb text" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php8-2" POSTGRES_TARGETS="postgres17" PYTHON_SINGLE_TARGET="python3_12" PYTHON_TARGETS="python3_12" RUBY_TARGETS="ruby32 ruby33 ruby34" VIDEO_CARDS="radeonsi amdgpu radeon" 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, EMERGE_DEFAULT_OPTS, 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

=================================================================
                        Package Settings
=================================================================

app-office/gnucash-5.11::gentoo was built with the following:
USE="gui nls -aqbanking -debug -doc -examples -mysql -ofx -postgres -python -quotes -smartcard -sqlite -test" ABI_X86="(64)" GUILE_SINGLE_TARGET="3-0 -2-2" PYTHON_SINGLE_TARGET="python3_12 -python3_11 -python3_13"
Comment 2 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2025-05-06 18:04:12 UTC
```
[31mFAILED: [0mlibgnucash/app-utils/CMakeFiles/gnc-app-utils.dir/gnc-quotes.cpp.o 
/usr/bin/x86_64-pc-linux-gnu-g++ -DBOOST_ATOMIC_DYN_LINK -DBOOST_ATOMIC_NO_LIB -DBOOST_CHARCONV_DYN_LINK -DBOOST_CHARCONV_NO_LIB -DBOOST_CHRONO_DYN_LINK -DBOOST_CHRONO_NO_LIB -DBOOST_DATE_TIME_DYN_LINK -DBOOST_DATE_TIME_NO_LIB -DBOOST_FILESYSTEM_DYN_LINK -DBOOST_FILESYSTEM_NO_LIB -DBOOST_LOCALE_DYN_LINK -DBOOST_LOCALE_NO_LIB -DBOOST_REGEX_DYN_LINK -DBOOST_REGEX_NO_LIB -DBOOST_SYSTEM_DYN_LINK -DBOOST_SYSTEM_NO_LIB -DBOOST_THREAD_DYN_LINK -DBOOST_THREAD_NO_LIB -DGLIB_VERSION_MAX_ALLOWED=GLIB_VERSION_2_56 -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_56 -DG_LOG_DOMAIN=\"gnc.app-utils\" -DHAVE_CONFIG_H -DHAVE_GUILE30 -D_GNU_SOURCE -Dgnc_app_utils_EXPORTS -I/var/tmp/portage/app-office/gnucash-5.11/work/gnucash-5.11/libgnucash/app-utils -I/var/tmp/portage/app-office/gnucash-5.11/work/gnucash-5.11/libgnucash/app-utils/calculation -I/usr/lib64/libffi/include -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/libxml2 -I/var/tmp/portage/app-office/gnucash-5.11/work/gnucash-5.11/libgnucash/backend -I/var/tmp/portage/app-office/gnucash-5.11/work/gnucash-5.11/libgnucash/engine -I/var/tmp/portage/app-office/gnucash-5.11/work/gnucash-5.11_build/common -I/var/tmp/portage/app-office/gnucash-5.11/work/gnucash-5.11/common -I/var/tmp/portage/app-office/gnucash-5.11/work/gnucash-5.11/borrowed/libc -I/var/tmp/portage/app-office/gnucash-5.11/work/gnucash-5.11_build/libgnucash/core-utils -I/var/tmp/portage/app-office/gnucash-5.11/work/gnucash-5.11/libgnucash/core-utils -isystem /usr/include/glib-2.0 -isystem /usr/lib64/glib-2.0/include -isystem /usr/include/sysprof-6  -Wall -Wmissing-declarations -march=native -O2 -pipe -std=c++17 -fPIC -pthread -MD -MT libgnucash/app-utils/CMakeFiles/gnc-app-utils.dir/gnc-quotes.cpp.o -MF libgnucash/app-utils/CMakeFiles/gnc-app-utils.dir/gnc-quotes.cpp.o.d -o libgnucash/app-utils/CMakeFiles/gnc-app-utils.dir/gnc-quotes.cpp.o -c /var/tmp/portage/app-office/gnucash-5.11/work/gnucash-5.11/libgnucash/app-utils/gnc-quotes.cpp
/var/tmp/portage/app-office/gnucash-5.11/work/gnucash-5.11/libgnucash/app-utils/gnc-quotes.cpp:136:9: error: ‘environment’ in namespace ‘bp’ does not name a type
  136 |     bp::environment m_env;
      |         ^~~~~~~~~~~
In file included from /usr/include/boost/process/v2/environment.hpp:28,
                 from /usr/include/boost/process/environment.hpp:1,
                 from /var/tmp/portage/app-office/gnucash-5.11/work/gnucash-5.11/libgnucash/app-utils/gnc-quotes.cpp:23:
/usr/include/boost/process/v2/detail/environment_posix.hpp:28:11: note: ‘boost::process::v2::environment’ declared here
   28 | namespace environment
      |           ^~~~~~~~~~~
/var/tmp/portage/app-office/gnucash-5.11/work/gnucash-5.11/libgnucash/app-utils/gnc-quotes.cpp: In constructor ‘GncFQQuoteSource::GncFQQuoteSource()’:
/var/tmp/portage/app-office/gnucash-5.11/work/gnucash-5.11/libgnucash/app-utils/gnc-quotes.cpp:155:11: error: ‘search_path’ is not a member of ‘bp’
  155 | c_cmd{bp::search_path("perl")},
      |           ^~~~~~~~~~~
/var/tmp/portage/app-office/gnucash-5.11/work/gnucash-5.11/libgnucash/app-utils/gnc-quotes.cpp:156:27: error: class ‘GncFQQuoteSource’ does not have any field named ‘m_env’
  156 | m_version{}, m_sources{}, m_env{boost::this_process::environment()}
      |                           ^~~~~
/var/tmp/portage/app-office/gnucash-5.11/work/gnucash-5.11/libgnucash/app-utils/gnc-quotes.cpp:156:40: error: ‘boost::this_process’ has not been declared
  156 | m_version{}, m_sources{}, m_env{boost::this_process::environment()}
      |                                        ^~~~~~~~~~~~
/var/tmp/portage/app-office/gnucash-5.11/work/gnucash-5.11/libgnucash/app-utils/gnc-quotes.cpp:155:1: error: no matching function for call to ‘boost::filesystem::path::path(<brace-enclosed initializer list>)’
  155 | c_cmd{bp::search_path("perl")},
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/tmp/portage/app-office/gnucash-5.11/work/gnucash-5.11/libgnucash/app-utils/gnc-quotes.cpp:155:1: note: there are 19 candidates
In file included from /usr/include/boost/process/v2/detail/config.hpp:65,
                 from /usr/include/boost/process/v2/environment.hpp:13:
/usr/include/boost/filesystem/path.hpp:452:5: note: candidate 1: ‘template<class InputIterator, class> boost::filesystem::path::path(InputIterator, InputIterator, const codecvt_type&)’
  452 |     path(InputIterator begin, InputIterator end, codecvt_type const& cvt)
      |     ^~~~
/usr/include/boost/filesystem/path.hpp:452:5: note: candidate expects 3 arguments, 1 provided
/usr/include/boost/filesystem/path.hpp:433:5: note: candidate 2: ‘template<class InputIterator, class> boost::filesystem::path::path(InputIterator, InputIterator)’
  433 |     path(InputIterator begin, InputIterator end)
      |     ^~~~
/usr/include/boost/filesystem/path.hpp:433:5: note: candidate expects 2 arguments, 1 provided
/usr/include/boost/filesystem/path.hpp:372:14: note: candidate 3: ‘template<class Source, class> boost::filesystem::path::path(const Source&, const codecvt_type&)’
  372 |     explicit path(Source const& source, codecvt_type const& cvt)
      |              ^~~~
/usr/include/boost/filesystem/path.hpp:372:14: note: candidate expects 2 arguments, 1 provided
/usr/include/boost/filesystem/path.hpp:358:5: note: candidate 4: ‘template<class Source, class> boost::filesystem::path::path(const Source&)’
  358 |     path(Source const& source)
      |     ^~~~
[...]
```
Comment 4 Larry the Git Cow gentoo-dev 2025-05-06 18:33:37 UTC
The bug has been closed via the following commit(s):

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

commit 8211e3664a909ea4d07945bd01e7cb7f680b40d4
Author:     Joe Kappus <joe@wt.gd>
AuthorDate: 2025-05-06 18:28:08 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2025-05-06 18:33:16 +0000

    app-office/gnucash: build fix for boost-1.88.0
    
    Upstream-bug: https://bugs.gnucash.org/show_bug.cgi?id=799594
    Fixed in: https://github.com/Gnucash/gnucash/commit/99f86d31ed52bafada4d0b4036cada89b1ccdfaf
    
    Closes: https://bugs.gentoo.org/955529
    Signed-off-by: Joe Kappus <joe@wt.gd>
    Part-of: https://github.com/gentoo/gentoo/pull/41963
    Closes: https://github.com/gentoo/gentoo/pull/41963
    Signed-off-by: Sam James <sam@gentoo.org>

 .../gnucash/files/gnucash-5.11-boost-1.88.patch    | 58 ++++++++++++++++++++++
 app-office/gnucash/gnucash-5.11.ebuild             |  1 +
 2 files changed, 59 insertions(+)