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

Bug 947118

Summary: sci-misc/apertium-3.8.3 - checked.h: error: call of overloaded invalid_utf8(const unsigned char&) is ambiguous
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Gentoo Science Related Packages <sci>
Status: CONFIRMED ---    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge-info.txt
emerge-history.txt
environment
etc.clang.tar.xz
etc.portage.tar.xz
logs.tar.xz
qlist-info.txt.xz
sci-misc:apertium-3.8.3:20241228-142115.log
temp.tar.xz

Description Toralf Förster gentoo-dev 2024-12-28 15:04:04 UTC
/usr/include/utf8cpp/utf8/checked.h:337:22:   required from utf8::iterator<octet_iterator>& utf8::iterator<octet_iterator>::operator--() [with octet_iterator = const unsigned char*]
  337 |           utf8::prior(it, range_start);
      |           ~~~~~~~~~~~^~~~~~~~~~~~~~~~~
adapt_docx.cc:267:14:   required from here
  267 |         cur_1 = *(--it2);
      |                     ^~~
/usr/include/utf8cpp/utf8/checked.h:197:23: error: call of overloaded invalid_utf8(const unsigned char&) is ambiguous
  197 |                 throw invalid_utf8(*it); // error - no lead byte in the sequence
      |                       ^~~~~~~~~~~~~~~~~

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 23.0_hardened_systemd-20241226-124502

  The attached etc.portage.tar.xz has all details.
  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-14 *
clang version 19.1.6
llvm-config: 19.1.6
Python 3.12.8
go version go1.23.4 linux/amd64
  [1]   php8.2
  [2]   php8.3 *
Available Ruby profiles:
  [1]   ruby32 (with Rubygems)
  [2]   ruby33 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.81.0
  [2]   rust-bin-1.83.0 *
The following VMs are available for generation-2:
*)	Eclipse Temurin JDK 21.0.5_p11 [openjdk-bin-21]
Available Java Virtual Machines:
  [1]   openjdk-bin-21  system-vm


  HEAD of ::gentoo
commit 168aaa1b2f454ecdd54bb16690f501c1caa6d349
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Sat Dec 28 13:33:25 2024 +0000

    2024-12-28 13:33:25 UTC

emerge -qpvO =sci-misc/apertium-3.8.3
[ebuild  N    ] sci-misc/apertium-3.8.3  USE="-test"
Comment 1 Toralf Förster gentoo-dev 2024-12-28 15:04:05 UTC
Created attachment 915385 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2024-12-28 15:04:07 UTC
Created attachment 915386 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2024-12-28 15:04:08 UTC
Created attachment 915387 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2024-12-28 15:04:09 UTC
Created attachment 915388 [details]
etc.clang.tar.xz
Comment 5 Toralf Förster gentoo-dev 2024-12-28 15:04:10 UTC
Created attachment 915390 [details]
etc.portage.tar.xz
Comment 6 Toralf Förster gentoo-dev 2024-12-28 15:04:11 UTC
Created attachment 915391 [details]
logs.tar.xz
Comment 7 Toralf Förster gentoo-dev 2024-12-28 15:04:12 UTC
Created attachment 915392 [details]
qlist-info.txt.xz
Comment 8 Toralf Förster gentoo-dev 2024-12-28 15:04:13 UTC
Created attachment 915393 [details]
sci-misc:apertium-3.8.3:20241228-142115.log
Comment 9 Toralf Förster gentoo-dev 2024-12-28 15:04:14 UTC
Created attachment 915394 [details]
temp.tar.xz