Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 946989 - dev-python/levenshtein-0.26.1 - [llvm] string: error: implicit instantiation of undefined template std::char_traits<unsigned int>
Summary: dev-python/levenshtein-0.26.1 - [llvm] string: error: implicit instantiation ...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2024-12-26 23:04 UTC by Toralf Förster
Modified: 2025-03-02 03:06 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,18.67 KB, text/plain)
2024-12-26 23:04 UTC, Toralf Förster
Details
dev-python:levenshtein-0.26.1:20241223-093403.log (dev-python:levenshtein-0.26.1:20241223-093403.log,65.01 KB, text/plain)
2024-12-26 23:04 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,192.88 KB, text/plain)
2024-12-26 23:04 UTC, Toralf Förster
Details
environment (environment,162.92 KB, text/plain)
2024-12-26 23:04 UTC, Toralf Förster
Details
etc.clang.tar.xz (etc.clang.tar.xz,1.21 KB, application/x-xz)
2024-12-26 23:04 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,18.00 KB, application/x-xz)
2024-12-26 23:04 UTC, Toralf Förster
Details
logs.tar.xz (logs.tar.xz,1.42 KB, application/x-xz)
2024-12-26 23:04 UTC, Toralf Förster
Details
qlist-info.txt.xz (qlist-info.txt.xz,50.20 KB, application/x-xz)
2024-12-26 23:04 UTC, Toralf Förster
Details
temp.tar.xz (temp.tar.xz,37.43 KB, application/x-xz)
2024-12-26 23:04 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2024-12-26 23:04:27 UTC
In file included from /usr/include/c++/v1/__functional/boyer_moore_searcher.h:27:
In file included from /usr/include/c++/v1/vector:325:
In file included from /usr/include/c++/v1/__format/formatter_bool.h:19:
In file included from /usr/include/c++/v1/__format/formatter_integral.h:21:
In file included from /usr/include/c++/v1/__format/formatter_output.h:22:
In file included from /usr/include/c++/v1/__format/parser_std_format_spec.h:39:
/usr/include/c++/v1/string:820:42: error: implicit instantiation of undefined template 'std::char_traits<unsigned int>'
  820 |   static_assert(is_same<_CharT, typename traits_type::char_type>::value,
      |                                          ^

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 23.0_llvm_systemd-20241220-181511

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-14 *
clang version 19.1.6+libcxx
llvm-config: 19.1.6+libcxx
Python 3.12.8
go version go1.23.4 linux/amd64
Available Ruby profiles:
  [1]   ruby32 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.81.0
  [2]   rust-bin-1.83.0 *

  HEAD of ::gentoo
commit 314347e67295de4f3816aa36928f5903e0e2e001
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Mon Dec 23 08:18:44 2024 +0000

    2024-12-23 08:18:43 UTC

emerge -qpvO =dev-python/levenshtein-0.26.1
[ebuild  N    ] dev-python/levenshtein-0.26.1  USE="-debug -test" PYTHON_TARGETS="python3_12 -python3_10 -python3_11 -python3_13"
Comment 1 Toralf Förster gentoo-dev 2024-12-26 23:04:28 UTC
Created attachment 915172 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2024-12-26 23:04:29 UTC
Created attachment 915173 [details]
dev-python:levenshtein-0.26.1:20241223-093403.log
Comment 3 Toralf Förster gentoo-dev 2024-12-26 23:04:31 UTC
Created attachment 915174 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2024-12-26 23:04:32 UTC
Created attachment 915175 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2024-12-26 23:04:33 UTC
Created attachment 915176 [details]
etc.clang.tar.xz
Comment 6 Toralf Förster gentoo-dev 2024-12-26 23:04:34 UTC
Created attachment 915177 [details]
etc.portage.tar.xz
Comment 7 Toralf Förster gentoo-dev 2024-12-26 23:04:34 UTC
Created attachment 915178 [details]
logs.tar.xz
Comment 8 Toralf Förster gentoo-dev 2024-12-26 23:04:35 UTC
Created attachment 915179 [details]
qlist-info.txt.xz
Comment 9 Toralf Förster gentoo-dev 2024-12-26 23:04:36 UTC
Created attachment 915180 [details]
temp.tar.xz
Comment 10 Alfred Wingate 2025-03-01 20:17:52 UTC
Addressed by https://github.com/rapidfuzz/Levenshtein/commit/5973ef7ddfb1b7abedd013b34edf5ece8cf53e71 which is in 0.27.0.
Comment 11 Larry the Git Cow gentoo-dev 2025-03-02 03:06:59 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=13db669cd30e4d47579eac6d045ebe2c13f97b1d

commit 13db669cd30e4d47579eac6d045ebe2c13f97b1d
Author:     Alfred Wingate <parona@protonmail.com>
AuthorDate: 2025-03-01 18:46:29 +0000
Commit:     Michał Górny <mgorny@gentoo.org>
CommitDate: 2025-03-02 02:33:03 +0000

    dev-python/levenshtein: add 0.27.0
    
    Bug: https://bugs.gentoo.org/946989
    Bug: https://bugs.gentoo.org/950453
    Signed-off-by: Alfred Wingate <parona@protonmail.com>
    Closes: https://github.com/gentoo/gentoo/pull/40837
    Signed-off-by: Michał Górny <mgorny@gentoo.org>

 dev-python/levenshtein/Manifest                    |  1 +
 ....27.0-fix-scikit-build-core-0.11-breakage.patch | 51 +++++++++++++++++++++
 dev-python/levenshtein/levenshtein-0.27.0.ebuild   | 52 ++++++++++++++++++++++
 3 files changed, 104 insertions(+)