@Henry-ZHR apologies for the noise. I was using aurutils for building and it seems there's some issue caused there that I don't understand. If I use plain makepkg all is good.
Search Criteria
Package Details: python-sentencepiece 0.2.1-1
Package Actions
Git Clone URL: | https://aur.archlinux.org/sentencepiece.git (read-only, click to copy) |
---|---|
Package Base: | sentencepiece |
Description: | Python wrapper for SentencePiece |
Upstream URL: | https://github.com/google/sentencepiece |
Licenses: | Apache-2.0 |
Submitter: | Henry-ZHR |
Maintainer: | Henry-ZHR |
Last Packager: | Henry-ZHR |
Votes: | 10 |
Popularity: | 1.90 |
First Submitted: | 2024-03-10 06:42 (UTC) |
Last Updated: | 2025-08-13 18:50 (UTC) |
Dependencies (16)
- gcc-libs (gcc-libs-gitAUR, gccrs-libs-gitAUR, gcc-libs-snapshotAUR)
- glibc (glibc-gitAUR, glibc-eacAUR)
- python (python37AUR)
- sentencepieceAUR (sentencepiece-binAUR)
- abseil-cpp (abseil-cpp-gitAUR) (make)
- cmake (cmake3AUR, cmake-gitAUR) (make)
- git (git-gitAUR, git-glAUR) (make)
- gperftools (gperftools-gitAUR) (make)
- protobuf (protobuf-gitAUR) (make)
- python (python37AUR) (make)
- python-build (make)
- python-installer (make)
- python-setuptools (make)
- python-wheel (make)
- python-pytest (check)
- python-protobuf (python-protobuf-gitAUR, python-protobuf-21AUR) (optional)
Required by (25)
- argos-translate
- ik-llama.cpp (optional)
- ik-llama.cpp-cuda (optional)
- ik-llama.cpp-vulkan (optional)
- llama.cpp (optional)
- llama.cpp-cuda (optional)
- llama.cpp-hip (optional)
- llama.cpp-sycl-f16
- llama.cpp-sycl-f32
- llama.cpp-vulkan (optional)
- localai-git
- localai-git-cuda
- localai-git-rocm
- python-aiplatform
- python-assistant
- python-gguf
- python-google-genai (check)
- python-google-genai (optional)
- python-icefall-git
- python-inltk
- Show 5 more...
Sources (3)
davidovitch commented on 2025-09-27 08:33 (UTC)
Henry-ZHR commented on 2025-09-27 08:21 (UTC)
@davidovitch Log please.
Anyway, both tags should refer to the same thing.
davidovitch commented on 2025-09-27 08:16 (UTC) (edited on 2025-09-27 08:17 (UTC) by davidovitch)
Seems like the git hash _tag='31646a467d2051eb904e0b45de3a73e91fe1c1e3
is no longer valid? Build passes tests when using the sources associated with the v0.2.1
tag.
rubin55 commented on 2025-08-30 23:17 (UTC)
just fyi, when you git clone python-sentencepiece
(instead of sentencepiece
), you seem to get an old copy of this repository, from last february, version 0.2.0.
Henry-ZHR commented on 2025-05-05 13:54 (UTC)
@unit73e Should be fixed now. Thank you for your patch.
unit73e commented on 2025-05-04 16:18 (UTC)
@Henry-ZHR to make it easy: https://github.com/unit73e/sentencepiece/commit/80e07aeb876374530056cb629a2296ee911b1448
unit73e commented on 2025-05-03 13:55 (UTC)
Fails to compile. Needs a patch like this:
diff -ura sentencepiece/src/sentencepiece_processor.h sentencepiece-new/src/sentencepiece_processor.h
--- sentencepiece/src/sentencepiece_processor.h 2025-05-03 14:50:30.662508417 +0100
+++ sentencepiece-new/src/sentencepiece_processor.h 2025-05-03 14:51:28.199349571 +0100
@@ -21,6 +21,7 @@
#include <string_view>
#include <utility>
#include <vector>
+#include <cstdint>
#ifndef SWIG
namespace absl {
It doesn't seem like there's an upstream fix commit yet.
Henry-ZHR commented on 2025-03-31 09:25 (UTC)
@kgizdov Fixed
Pinned Comments
Henry-ZHR commented on 2024-03-26 14:38 (UTC)
For everyone:
You may need to rebuild the package when its dependencies (currently
abseil-cpp
,protobuf
andgperftools
) are upgraded.You can install rebuild-detector so that you will be warned when you need to do so.