Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 925286 - dev-libs/boost-1.84.0-r3[stacktrace]: fails to build: ./boost/stacktrace/detail/libbacktrace_impls.hpp:182:28: error: no matches converting function ‘libbacktrace_syminfo_callback’ to type ‘backtrace_syminfo_callback’
Summary: dev-libs/boost-1.84.0-r3[stacktrace]: fails to build: ./boost/stacktrace/deta...
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: David Seifert
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-02-22 23:37 UTC by Squeaktoy
Modified: 2024-04-29 03:04 UTC (History)
3 users (show)

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


Attachments
emerge log (dev-libs:boost-1.84.0-r3:20240221-160932.log.gz,41.50 KB, application/gzip)
2024-02-22 23:37 UTC, Squeaktoy
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Squeaktoy 2024-02-22 23:37:44 UTC
Created attachment 885759 [details]
emerge log

boost won't build because:
In file included from ./boost/stacktrace/detail/frame_unwind.ipp:25,
                 from libs/stacktrace/build/../src/backtrace.cpp:15:
./boost/stacktrace/detail/libbacktrace_impls.hpp: In member function ‘void boost::stacktrace::detail::to_string_using_backtrace::prepare_function_name(const void*)’:
./boost/stacktrace/detail/libbacktrace_impls.hpp:135:32: error: no matches converting function ‘libbacktrace_syminfo_callback’ to type ‘backtrace_syminfo_callback’ {aka ‘void (*)(void*, long unsigned int, const char*, long unsigned int, long unsigned int, const char*, long unsigned int)’}
  135 |             ::backtrace_syminfo(
      |             ~~~~~~~~~~~~~~~~~~~^
  136 |                 state,
      |                 ~~~~~~          
  137 |                 reinterpret_cast<uintptr_t>(addr),
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  138 |                 boost::stacktrace::detail::libbacktrace_syminfo_callback,
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  139 |                 boost::stacktrace::detail::libbacktrace_error_callback,
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  140 |                 &data
      |                 ~~~~~           
  141 |             );
      |             ~                   

emerge --info:
Portage 3.0.61 (python 3.11.7-final-0, default/linux/amd64/17.1, gcc-13, glibc-2.38-r10, 6.6.13-gentoo-dist x86_64)
=================================================================
System uname: Linux-6.6.13-gentoo-dist-x86_64-Intel-R-_Core-TM-_i7-4790_CPU_@_3.60GHz-with-glibc2.38
KiB Mem:    24544560 total,   4820416 free
KiB Swap:   33553400 total,  23336508 free
Timestamp of repository gentoo: Wed, 21 Feb 2024 14:30:00 +0000
Head commit of repository gentoo: de065c842badc48a92ef0cf754b00db13c36a88e
Timestamp of repository 4nykey: Mon, 12 Feb 2024 16:35:50 +0000
Head commit of repository 4nykey: c646a9667e9e90880f7a58cc4e78392bc9d03b0c

Timestamp of repository ROKO__: Wed, 21 Feb 2024 07:33:13 +0000
Head commit of repository ROKO__: 23e88c22ffc729858fc32707a5f85a347b3c9395

Timestamp of repository audio-overlay: Mon, 12 Feb 2024 16:35:52 +0000
Head commit of repository audio-overlay: 4729b51f1f74042a6ac378590203406a9163b31f

Timestamp of repository booboo: Mon, 12 Feb 2024 16:35:36 +0000
Head commit of repository booboo: 643267de240749026ccdb01c9a071c2a4758b909

Timestamp of repository cova: Mon, 12 Feb 2024 16:36:12 +0000
Head commit of repository cova: 578039df5642d156cf8b6d56700c160188a43682

Timestamp of repository edgets: Mon, 12 Feb 2024 16:35:58 +0000
Head commit of repository edgets: 0f5b1aa9b95b098dbfb55fca1c1aba66d1e0ad4f

Timestamp of repository guru: Wed, 21 Feb 2024 13:03:18 +0000
Head commit of repository guru: 0924d0f1c538f0595ed75de0d47856f5bac79057

Timestamp of repository java: Mon, 12 Feb 2024 16:35:40 +0000
Head commit of repository java: 1859d79a80355c919a476d347fbea3480a261f2e

Timestamp of repository kde: Sat, 17 Feb 2024 20:48:15 +0000
Head commit of repository kde: 815b3c1b090ff03d5b1a4cf48fd1599d426de029

Head commit of repository librewolf: ff2acece4624decc10ee90cbe70127bc38f7f940

Timestamp of repository menelkir: Wed, 14 Feb 2024 10:33:12 +0000
Head commit of repository menelkir: 02478d46fa9eb23d864ebbce8611112918c40f52

Timestamp of repository nest: Sat, 17 Feb 2024 18:18:22 +0000
Head commit of repository nest: d5ca4663f9802d83c709381ecce03a6f60d394e2

Timestamp of repository palemoon: Mon, 12 Feb 2024 16:35:42 +0000
Head commit of repository palemoon: 5f05f3460fc78a786072d1d80cd4d3bff0c6295e

Timestamp of repository pentoo: Mon, 19 Feb 2024 19:33:31 +0000
Head commit of repository pentoo: abfd8a657fb54be3e31c6712a691856104de36b4

Timestamp of repository pf4public: Tue, 20 Feb 2024 21:33:27 +0000
Head commit of repository pf4public: 7e42a08f198d1d1965a9d30c6aaf1dfb4fb1ce78

Timestamp of repository torbrowser: Mon, 12 Feb 2024 16:35:46 +0000
Head commit of repository torbrowser: e99b51cd8f02febfbd054dce6f30a80b058d68c7

Timestamp of repository xarblu-overlay: Tue, 20 Feb 2024 00:18:23 +0000
Head commit of repository xarblu-overlay: ce67dd359e69ad62209012bdc13e3e0889f3c4cc

Timestamp of repository zugaina: Fri, 16 Jun 2023 08:32:15 +0000
Head commit of repository zugaina: a31fcec20b159a13ccd069d4e13b92d18bc0ffec

Timestamp of repository haskell: Sun, 18 Feb 2024 17:48:27 +0000
Head commit of repository haskell: 143080199cd30d2afd3357987116242ff2a51b11

sh dash 0.5.12
ld GNU ld (Gentoo 2.41 p5) 2.41.0
ccache version 4.9.1 [disabled]
app-misc/pax-utils:        1.3.7::gentoo
app-shells/bash:           5.1_p16-r6::gentoo
dev-build/autoconf:        2.13-r8::gentoo, 2.71-r6::gentoo
dev-build/automake:        1.16.5-r2::gentoo
dev-build/cmake:           3.27.9::gentoo
dev-build/libtool:         2.4.7-r2::gentoo
dev-build/make:            4.4.1-r1::gentoo
dev-build/meson:           1.3.1-r1::gentoo
dev-java/java-config:      2.3.3-r1::gentoo
dev-lang/perl:             5.38.2-r1::gentoo
dev-lang/python:           2.7.18_p16-r2::gentoo, 3.11.7::gentoo, 3.12.1_p1::gentoo
dev-lang/rust-bin:         1.75.0::gentoo
dev-util/ccache:           4.9.1::gentoo
sys-apps/baselayout:       2.14-r2::gentoo
sys-apps/openrc:           0.53::gentoo
sys-apps/sandbox:          2.38::gentoo
sys-devel/binutils:        2.41-r5::gentoo
sys-devel/binutils-config: 5.5::gentoo
sys-devel/clang:           15.0.7-r3::gentoo, 16.0.6::gentoo, 17.0.6::gentoo
sys-devel/gcc:             6.5.0-r4::gentoo, 9.4.0::gentoo, 11.4.1_p20240111::gentoo, 12.3.1_p20240112::gentoo, 13.2.1_p20240113-r1::gentoo
sys-devel/gcc-config:      2.11::gentoo
sys-devel/lld:             16.0.6::gentoo, 17.0.6::gentoo
sys-devel/llvm:            15.0.7-r3::gentoo, 16.0.6::gentoo, 17.0.6::gentoo
sys-kernel/linux-headers:  6.6::gentoo (virtual/os-headers)
sys-libs/glibc:            2.38-r10::gentoo
Repositories:

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

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

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

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

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

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

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

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

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

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

librewolf
    location: /var/db/repos/librewolf
    sync-type: git
    sync-uri: https://codeberg.org/librewolf/gentoo.git
    masters: gentoo
    volatile: False

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

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

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

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

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

rubbery
    location: /var/db/repos/rubbery
    masters: gentoo
    volatile: False

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

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

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

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

Binary Repositories:

gentoo-binpkg
    priority: 9999
    sync-uri: https://gentoo.osuosl.org/experimental/amd64/binpkg/default/linux/17.1/x86-64

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="@FREE"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe -g"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/config /usr/share/gnupg/qualified.txt /var/bind /var/lib/i2pd/certificates"
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 /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=native -O2 -pipe -g"
DISTDIR="/var/cache/distfiles"
EMERGE_DEFAULT_OPTS="--jobs 3"
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="-march=native -O2 -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs buildpkg-live config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox pkgdir-index-trusted preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms splitdebug strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-march=native -O2 -pipe"
GENTOO_MIRRORS="https://mirror.leaseweb.com/gentoo/ http://mirror.leaseweb.com/gentoo/ rsync://mirror.leaseweb.com/gentoo/ https://ftp.snt.utwente.nl/pub/os/linux/gentoo http://ftp.snt.utwente.nl/pub/os/linux/gentoo ftp://ftp.snt.utwente.nl/pub/os/linux/gentoo rsync://ftp.snt.utwente.nl/gentoo"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LEX="flex"
MAKEOPTS="-j3"
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/fish"
USE="X accessibility acl aio alsa amd64 avif bittorrent bzip2 cdda cli crypt cue curl dbus dist-kernel dnscrypt dri dssi dvd elogind fbcon ffmpeg flac fluidsynth fortran gdbm gemini gif gme gopher gpm heif iconv id3tag ipv6 jack jpeg jpeg2k jpegxl ladspa lame lash libsamplerate libtirpc lv2 lvm matroska midi multilib ncurses nls nvenc ogg opencl opengl openmp openmpt opus osc pam pcre pipewire png pulseaudio raw readline rtmp sasl seccomp sftp shout sid split-usr srt ssl test-rust threads tiff truetype udev unicode upnp vaapi vdpau vorbis vpx vulkan wavpack wayland webp xattr xinerama zlib" ABI_X86="64" ADA_TARGET="gnat_2021" 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 f16c fma3 mmx mmxext pclmul popcnt rdrand sse sse2 sse3 sse4_1 sse4_2 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" INPUT_DEVICES="libinput wacom" KERNEL="linux" L10N="en nl" 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-1" POSTGRES_TARGETS="postgres15" PYTHON_SINGLE_TARGET="python3_11" PYTHON_TARGETS="python3_11" RUBY_TARGETS="ruby31" VIDEO_CARDS="nvidia nouveau 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, EXTRA_ECONF, F77FLAGS, FC, GCOV, GPROF, INSTALL_MASK, LC_ALL, LD, LFLAGS, LIBTOOL, LINGUAS, 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 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-04-25 11:02:28 UTC
Please always cross-link bugs.
Comment 2 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-04-25 11:03:05 UTC
Do you have libbacktrace installed from an overlay or something like that?
Comment 3 Squeaktoy 2024-04-29 03:04:31 UTC
Fixed! All I had to do was remove /usr/local/include/backtrace.h
Thank you very much to Neovim and clangd for helping me find the root cause of this issue.