Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 935130 - net-misc/mosh-1.4.0 fails src_configure with dev-libs/protobuf-22.5-r1
Summary: net-misc/mosh-1.4.0 fails src_configure with dev-libs/protobuf-22.5-r1
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: PPC64 Linux
: Normal normal (vote)
Assignee: Amy Liffey
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-06-29 09:55 UTC by Chris Kerr
Modified: 2024-06-30 14:42 UTC (History)
1 user (show)

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


Attachments
Log of failed build (net-misc:mosh-1.4.0:20240629-082301.log,270.81 KB, text/plain)
2024-06-29 09:56 UTC, Chris Kerr
Details
Log of previous successful build with protobuf 21.12 (net-misc:mosh-1.4.0:20240326-220409.log,37.57 KB, text/plain)
2024-06-29 09:56 UTC, Chris Kerr
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Chris Kerr 2024-06-29 09:55:45 UTC
net-misc/mosh-1.4.0 fails to rebuild after upgrading protobuf to 22.5

It previously built fine with protobuf 21.12

Reproducible: Always

Steps to Reproduce:
1. emerge '<dev-libs/protobuf-22'
2. emerge net-misc/mosh
3. emerge -u dev-libs/protobuf
4. emerge @preserved-rebuild
Actual Results:  
building mosh fails at src_configure with messages about `string_view`

Expected Results:  
build succeeds
Comment 1 Chris Kerr 2024-06-29 09:56:17 UTC
Created attachment 896617 [details]
Log of failed build
Comment 2 Chris Kerr 2024-06-29 09:56:51 UTC
Created attachment 896618 [details]
Log of previous successful build with protobuf 21.12
Comment 3 Chris Kerr 2024-06-29 09:57:46 UTC
Possibly relevant build error:

>  note: 'std::string_view' is only available from C++17 onwards

so maybe the configure needs to specify a compiler flag to get C++17 mode?
Comment 4 Chris Kerr 2024-06-29 09:59:02 UTC
emerge --info net-misc/mosh dev-libs/protobuf
Portage 3.0.63 (python 3.12.4-final-0, default/linux/ppc64le/23.0/desktop/plasma/systemd, gcc-13, glibc-2.38-r13, 6.1.90-gentoo-ppc64le ppc64le)
=================================================================
                         System Settings
=================================================================
System uname: Linux-6.1.90-gentoo-ppc64le-ppc64le-POWER9,_altivec_supported-with-glibc2.38
KiB Mem:   197164728 total,  43865956 free
KiB Swap:   33554428 total,  33527548 free
Timestamp of repository gentoo: Sat, 29 Jun 2024 07:15:00 +0000
Head commit of repository gentoo: e3f2977eec5889630abbc33504d4817c47058b47
Timestamp of repository haskell: Fri, 28 Jun 2024 18:33:54 +0000
Head commit of repository haskell: 6da3fcf4e8a84f97e791e6ffd2fb2410ab61fd2f

sh bash 5.2_p26-r5
ld GNU ld (Gentoo 2.41 p5) 2.41.0
app-misc/pax-utils:        1.3.7::gentoo
app-shells/bash:           5.2_p26-r5::gentoo
dev-build/autoconf:        2.13-r8::gentoo, 2.71-r7::gentoo
dev-build/automake:        1.16.5-r2::gentoo
dev-build/cmake:           3.28.5::gentoo
dev-build/libtool:         2.4.7-r4::gentoo
dev-build/make:            4.4.1-r1::gentoo
dev-build/meson:           1.4.1::gentoo
dev-lang/perl:             5.38.2-r3::gentoo
dev-lang/python:           2.7.18_p16-r2::gentoo, 3.11.9-r1::gentoo, 3.12.4_p1::gentoo
dev-lang/rust:             1.77.1::gentoo
sys-apps/baselayout:       2.15::gentoo
sys-apps/sandbox:          2.38::gentoo
sys-apps/systemd:          255.7::gentoo
sys-devel/binutils:        2.41-r5::gentoo, 2.42-r1::gentoo
sys-devel/binutils-config: 5.5::gentoo
sys-devel/clang:           16.0.6::gentoo, 17.0.6::gentoo
sys-devel/gcc:             13.2.1_p20240210::gentoo
sys-devel/gcc-config:      2.11::gentoo
sys-devel/llvm:            16.0.6::gentoo, 17.0.6::gentoo
sys-kernel/linux-headers:  6.6-r1::gentoo (virtual/os-headers)
sys-libs/glibc:            2.38-r13::gentoo
Repositories:

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

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

ACCEPT_KEYWORDS="ppc64"
ACCEPT_LICENSE="@FREE"
CBUILD="powerpc64le-unknown-linux-gnu"
CFLAGS="-Og -pipe -mcpu=power9 -mtune=power9 -g -ggdb"
CHOST="powerpc64le-unknown-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/config /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 /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-Og -pipe -mcpu=power9 -mtune=power9 -g -ggdb"
DISTDIR="/var/cache/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="-Og -pipe -mcpu=power9 -mtune=power9 -g -ggdb"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs buildpkg buildpkg-live 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 splitdebug strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-Og -pipe -mcpu=power9 -mtune=power9 -g -ggdb"
GENTOO_MIRRORS="     https://mirrors.dotsrc.org/gentoo/     https://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ "
LANG="C.UTF8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LEX="flex"
MAKEOPTS="--jobs=24 --load-average=32"
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 acl activities alsa bash-completion bluetooth branding brotli bzip2 cairo caps cdda cdr crypt cryptsetup cups dbus declarative device-mapper dri dts dvd dvdr encode exif firewalld flac gdbm gif gpm grub gtk gui iconv icu ipv6 jpeg jpeg2k kde kwallet lcms libnotify lto lvm lz4 lzma lzo mad mng mp3 mp4 mpeg ncurses networkmanager nls ogg opengl openmp pam pango pcre pdf pipewire plasma png policykit ppc64 ppds pulseaudio qml qt5 raw readline screencast sdl seccomp semantic-desktop smartcard sound spell ssl startup-notification svg systemd test-rust tiff truetype udev udisks unicode upower usb vaapi verify-sig vorbis vulkan wayland webp widgets wxwidgets x264 xattr xcb xft xml xv xvid zlib zram zstd" ADA_TARGET="gcc_12" AMDGPU_TARGETS="gfx1012" 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_PPC="altivec vsx vsx2 vsx3" 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" KERNEL="linux" L10N="en en-GB eo et" LCD_DEVICES="bayrad cfontz glk hd44780 lb216 lcdm001 mtxorb text" LLVM_TARGETS="AMDGPU BPF PowerPC" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php8-2" POSTGRES_TARGETS="postgres15" PYTHON_SINGLE_TARGET="python3_12" PYTHON_TARGETS="python3_11 python3_12" RUBY_TARGETS="ruby31 ruby32" VIDEO_CARDS="amdgpu radeon ast fbdev" 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, 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

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

net-misc/mosh-1.4.0::gentoo was built with the following:
USE="client hardened utempter -examples -nettle -server -syslog -ufw"
CXXFLAGS="-Og -pipe -mcpu=power9 -mtune=power9 -g -ggdb -std=gnu++14"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs buildpkg 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"


dev-libs/protobuf-22.5-r1::gentoo was built with the following:
USE="zlib -emacs -examples -test"
CXXFLAGS="-Og -pipe -mcpu=power9 -mtune=power9 -g -ggdb -std=c++17"
FEATURES="userfetch usersandbox protect-owned buildpkg-live parallel-fetch splitdebug unknown-features-warn merge-wait xattr userpriv unmerge-orphans preserve-libs strict buildpkg ebuild-locks pid-sandbox binpkg-dostrip ipc-sandbox binpkg-docompress distlocks binpkg-logs config-protect-if-modified merge-sync usersync assume-digests unmerge-logs pkgdir-index-trusted sfperms news qa-unresolved-soname-deps sandbox fixlafiles network-sandbox multilib-strict"