Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 907812 - dev-python/Levenshtein-0.21.0 - CMake Error at CMakeLists.txt:49 (add_subdirectory):
Summary: dev-python/Levenshtein-0.21.0 - CMake Error at CMakeLists.txt:49 (add_subdire...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-06-03 20:41 UTC by Toralf Förster
Modified: 2023-06-10 08:41 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,21.81 KB, text/plain)
2023-06-03 20:41 UTC, Toralf Förster
Details
dev-python:Levenshtein-0.21.0:20230603-195322.log (dev-python:Levenshtein-0.21.0:20230603-195322.log,8.43 KB, text/plain)
2023-06-03 20:41 UTC, Toralf Förster
Details
emerge-history.txt.xz (emerge-history.txt.xz,95.00 KB, application/x-bzip)
2023-06-03 20:41 UTC, Toralf Förster
Details
environment (environment,139.19 KB, text/plain)
2023-06-03 20:41 UTC, Toralf Förster
Details
etc.clang.tar.xz (etc.clang.tar.xz,784 bytes, application/x-bzip)
2023-06-03 20:41 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,36.03 KB, application/x-bzip)
2023-06-03 20:41 UTC, Toralf Förster
Details
temp.tar.xz (temp.tar.xz,31.60 KB, application/x-bzip)
2023-06-03 20:41 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 2023-06-03 20:41:10 UTC
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/x86_64-pc-linux-gnu-g++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found Python: /usr/bin/python3.11 (found version "3.11.3") found components: Interpreter Development.Module 
-- Using packaged version of rapidfuzz-cpp
CMake Error at CMakeLists.txt:49 (add_subdirectory):
  The source directory


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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_systemd-j5-20230528-001504

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-10
 [2] x86_64-pc-linux-gnu-13 *
clang/llvm (if any):
clang version 16.0.4
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.4
Python 3.11.3
Available Rust versions:
  [1]   rust-bin-1.69.0
  [2]   rust-1.69.0 *
The following VMs are available for generation-2:
1)	Eclipse Temurin JDK 11.0.18_p10 [openjdk-bin-11]
2)	Eclipse Temurin JDK 17.0.6_p10 [openjdk-bin-17]
*)	Eclipse Temurin JDK 8.362_p09 [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.20.4 linux/amd64

  HEAD of ::gentoo
commit 5b2d7ac3a03ee809a404280f6af73396bb8d65b2
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Sat Jun 3 19:02:00 2023 +0000

    2023-06-03 19:01:59 UTC

emerge -qpvO dev-python/Levenshtein
[ebuild  N    ] dev-python/Levenshtein-0.21.0  USE="-debug -test" PYTHON_TARGETS="python3_11 -python3_10"
Comment 1 Toralf Förster gentoo-dev 2023-06-03 20:41:11 UTC
Created attachment 863164 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2023-06-03 20:41:12 UTC
Created attachment 863165 [details]
dev-python:Levenshtein-0.21.0:20230603-195322.log
Comment 3 Toralf Förster gentoo-dev 2023-06-03 20:41:14 UTC
Created attachment 863166 [details]
emerge-history.txt.xz
Comment 4 Toralf Förster gentoo-dev 2023-06-03 20:41:15 UTC
Created attachment 863168 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2023-06-03 20:41:16 UTC
Created attachment 863169 [details]
etc.clang.tar.xz
Comment 6 Toralf Förster gentoo-dev 2023-06-03 20:41:17 UTC
Created attachment 863170 [details]
etc.portage.tar.xz
Comment 7 Toralf Förster gentoo-dev 2023-06-03 20:41:18 UTC
Created attachment 863171 [details]
temp.tar.xz
Comment 8 Mark Stumme 2023-06-10 04:16:54 UTC
I got the same error when trying to build with rapidfuzz-cpp-2.0.0.  I reverted back to the stable rapidfuzz-cpp-1.11.3 and dev-python/Levenshtein-0.21.0 built with no issues.
Comment 9 Larry the Git Cow gentoo-dev 2023-06-10 08:41:55 UTC
The bug has been closed via the following commit(s):

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

commit ee23c936a096a2605be7004c99c85a1c3229ac4f
Author:     Michał Górny <mgorny@gentoo.org>
AuthorDate: 2023-06-10 08:29:36 +0000
Commit:     Michał Górny <mgorny@gentoo.org>
CommitDate: 2023-06-10 08:31:24 +0000

    dev-python/Levenshtein: Require rapidfuzz-cpp < 2
    
    Closes: https://bugs.gentoo.org/907812
    Signed-off-by: Michał Górny <mgorny@gentoo.org>

 .../{Levenshtein-0.21.0.ebuild => Levenshtein-0.21.0-r1.ebuild}          | 1 +
 1 file changed, 1 insertion(+)