Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 912826

Summary: net-misc/mosh-1.4.0 - configure: error: in /.../mosh-1.4.0:
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Amy Liffey <amynka>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 912819    
Attachments: emerge-info.txt
emerge-history.txt.xz
environment
etc.clang.tar.xz
etc.portage.tar.xz
logs.tar.xz
net-misc:mosh-1.4.0:20230821-204953.log
temp.tar.xz

Description Toralf Förster gentoo-dev 2023-08-22 11:20:11 UTC
/usr/include/google/protobuf/port_def.inc:205:15: note: the comparison reduces to '(201103 >= 201402)'
In file included from conftest.pb.h:34:
/usr/include/google/protobuf/port_def.inc:205:15: error: static assertion failed: Protobuf only supports C++14 and newer.
  205 | static_assert(PROTOBUF_CPLUSPLUS_MIN(201402L), "Protobuf only supports C++14 and newer.");
      |               ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/google/protobuf/port_def.inc:205:15: note: the comparison reduces to '(201103 >= 201402)'
configure: error: in `/var/tmp/portage/net-misc/mosh-1.4.0/work/mosh-1.4.0':
configure: error: Could not build output generated by protoc (/usr/bin/protoc).
Check that protoc matches the installed protobuf headers and libraries.

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_no_multilib-20230816-090515

  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-13 *
clang/llvm (if any):
clang version 16.0.6
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/16/bin
Configuration file: /etc/clang/clang.cfg
/usr/lib/llvm/16
16.0.6
Python 3.11.4
Available Ruby profiles:
  [1]   ruby31 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.71.1
  [2]   rust-1.71.1 *
The following VMs are available for generation-2:
1)	Eclipse Temurin JDK 11.0.19_p7 [openjdk-bin-11]
2)	Eclipse Temurin JDK 17.0.7_p7 [openjdk-bin-17]
*)	Eclipse Temurin JDK 8.372_p07 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8  system-vm
  [2]   openjdk-bin-11 
  [3]   openjdk-bin-17 

php cli (if any):
go version go1.21.0 linux/amd64

  HEAD of ::gentoo
commit 6f80b9c73eb2ade01ae6f20b1dfad66160121a97
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Mon Aug 21 18:31:43 2023 +0000

    2023-08-21 18:31:42 UTC

emerge -qpvO net-misc/mosh
[ebuild   R   ] net-misc/mosh-1.4.0  USE="hardened nettle server ufw utempter -client -examples -syslog"
Comment 1 Toralf Förster gentoo-dev 2023-08-22 11:20:12 UTC
Created attachment 868459 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2023-08-22 11:20:13 UTC
Created attachment 868460 [details]
emerge-history.txt.xz
Comment 3 Toralf Förster gentoo-dev 2023-08-22 11:20:14 UTC
Created attachment 868461 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2023-08-22 11:20:15 UTC
Created attachment 868462 [details]
etc.clang.tar.xz
Comment 5 Toralf Förster gentoo-dev 2023-08-22 11:20:16 UTC
Created attachment 868463 [details]
etc.portage.tar.xz
Comment 6 Toralf Förster gentoo-dev 2023-08-22 11:20:17 UTC
Created attachment 868464 [details]
logs.tar.xz
Comment 7 Toralf Förster gentoo-dev 2023-08-22 11:20:18 UTC
Created attachment 868465 [details]
net-misc:mosh-1.4.0:20230821-204953.log
Comment 8 Toralf Förster gentoo-dev 2023-08-22 11:20:19 UTC
Created attachment 868466 [details]
temp.tar.xz
Comment 9 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-08-22 11:25:30 UTC
commit 5a172fc01ffb274c9433090211c146d929c07d45
Author: Sam James <sam@gentoo.org>
Date:   Mon Aug 21 19:55:23 2023 +0100

    net-misc/mosh: use cxxflags instead

    Signed-off-by: Sam James <sam@gentoo.org>

commit 601e8e4384e245502f3141bf3770df030508fc69
Author: Sam James <sam@gentoo.org>
Date:   Mon Aug 21 19:51:25 2023 +0100

    net-misc/mosh: protobuf now needs >=c++14

    Signed-off-by: Sam James <sam@gentoo.org>