Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 828871 - dev-python/ukkonen-1.0.1 - _ukkonen.cpp: error: int64_t does not name a type
Summary: dev-python/ukkonen-1.0.1 - _ukkonen.cpp: error: int64_t does not name a type
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo musl team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: musl-porting
  Show dependency tree
 
Reported: 2021-12-10 21:27 UTC by Toralf Förster
Modified: 2021-12-12 08:48 UTC (History)
2 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,14.62 KB, text/plain)
2021-12-10 21:27 UTC, Toralf Förster
Details
dev-python:ukkonen-1.0.1:20211210-210135.log (dev-python:ukkonen-1.0.1:20211210-210135.log,5.56 KB, text/plain)
2021-12-10 21:27 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,143.25 KB, text/plain)
2021-12-10 21:27 UTC, Toralf Förster
Details
environment (environment,113.04 KB, text/plain)
2021-12-10 21:27 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,42.89 KB, application/x-bzip)
2021-12-10 21:27 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,25.62 KB, application/x-bzip)
2021-12-10 21:27 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 2021-12-10 21:27:52 UTC
too long lines were shrinked:

creating /var/tmp/portage/dev-python/ukkonen-1.0.1/work/ukkonen-1.0.1-python3_9/temp.linux-x86_64-3.9/var/tmp/portage/dev-python/ukkonen-1.0.1/work/ukkonen-1.0.1-python3_9
creating /var/tmp/portage/dev-python/ukkonen-1.0.1/work/ukkonen-1.0.1-python3_9/temp.linux-x86_64-3.9/var/tmp/portage/dev-python/ukkonen-1.0.1/work/ukkonen-1.0.1-python3_9/temp.linux-x86_64-3.9
x86_64-gentoo-linux-musl-gcc -pipe -march=native -fno-diagnostics-color -O2 -fPIC -I. -I/usr/include/python3.9 -c /var/tmp/portage/dev-python/ukkonen-1.0.1/work/ukkonen-1.0.1-python3_9/temp.linux-x86_64-3.9/_ukkonen.c -o /var/tmp/portage/dev-python/ukkonen-1.0.1/work/ukkonen-1.0.1-python3_9/temp.lin
x86_64-gentoo-linux-musl-g++ -pipe -march=native -fno-diagnostics-color -O2 -fPIC -I. -I/usr/include/python3.9 -c _ukkonen.cpp -o /var/tmp/portage/dev-python/ukkonen-1.0.1/work/ukkonen-1.0.1-python3_9/temp.linux-x86_64-3.9/_ukkonen.o
_ukkonen.cpp:4:23: error: 'int64_t' does not name a type
    4 | template <typename T> int64_t edit_distance_k_impl(
      |                       ^~~~~~~
_ukkonen.cpp:2:1: note: 'int64_t' is defined in header '<cstdint>'; did you forget to '#include <cstdint>'?
    1 | #include <algorithm>

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.0_musl-j4-20211209-163207

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

gcc-config -l:
 [1] x86_64-gentoo-linux-musl-11.2.1 *
clang version 13.0.0
Target: x86_64-gentoo-linux-musl
Thread model: posix
InstalledDir: /usr/lib/llvm/13/bin
/usr/lib/llvm/13
13.0.0
Python 3.9.9
Available Ruby profiles:
  [1]   ruby26 (with Rubygems)
  [2]   ruby27 (with Rubygems)
  [3]   ruby30 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.57.0 *
php cli:

  HEAD of ::gentoo
commit 4c566c674ed946587608b25d3db3aad269dfc434
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Fri Dec 10 20:21:55 2021 +0000

    2021-12-10 20:21:54 UTC

emerge -qpvO dev-python/ukkonen
[ebuild  N    ] dev-python/ukkonen-1.0.1  USE="-test" PYTHON_TARGETS="python3_9 -pypy3 -python3_8 -python3_10"
Comment 1 Toralf Förster gentoo-dev 2021-12-10 21:27:53 UTC
Created attachment 758346 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2021-12-10 21:27:54 UTC
Created attachment 758347 [details]
dev-python:ukkonen-1.0.1:20211210-210135.log
Comment 3 Toralf Förster gentoo-dev 2021-12-10 21:27:55 UTC
Created attachment 758348 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2021-12-10 21:27:57 UTC
Created attachment 758349 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2021-12-10 21:27:58 UTC
Created attachment 758350 [details]
etc.portage.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2021-12-10 21:27:59 UTC
Created attachment 758351 [details]
temp.tar.bz2
Comment 7 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2021-12-11 04:48:54 UTC
I've tried submitting a PR/bug upstream but apparently GitHub (or the specific repo?) is broken.
Comment 8 Larry the Git Cow gentoo-dev 2021-12-12 08:48:57 UTC
The bug has been closed via the following commit(s):

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

commit 24da026ada8e90c3800ee7ac9ddb38313d395dc4
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2021-12-12 08:41:54 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2021-12-12 08:48:49 +0000

    dev-python/ukkonen: fix build on musl
    
    Closes: https://bugs.gentoo.org/828871
    Signed-off-by: Sam James <sam@gentoo.org>

 dev-python/ukkonen/files/ukkonen-1.0.1-musl-include.patch | 15 +++++++++++++++
 dev-python/ukkonen/ukkonen-1.0.1.ebuild                   |  6 +++++-
 2 files changed, 20 insertions(+), 1 deletion(-)