segmentation fault trying to update python-maturin #237

Closed
opened 2024-02-27 10:27:17 +01:00 by keiki85 · 2 comments

Hi there,

first thank you for providing those packages!

I'm not sure if the issue is related to this project. But as I haven't found this issue being mentioned elsewhere so my bet it's related to this project.

I use the python application shell-gpt from AUR. A make dependency is python-maturin.

Currently it tries to update shell-gpt from 1.2.0-1 to 1.4.0-1 (1.3 already had the issue). With this update the make dependency of aur/python-tokenizers was added with python-maturin.

I don't know how to debug this further. Any ideas?

   extra-x86-64-v3/python-maturin    -> 1.4.0-1.1
   (make dependency of python-tokenizers)
   extra-x86-64-v3/python-tiktoken   -> 0.6.0-1.1
   extra/python-dotenv               -> 1.0.1-1
   extra/python-jinja                -> 1:3.1.3-1
   aur/litellm                       -> 1.26.8-1
   aur/python-tokenizers             -> 0.15.2-1

:: 2 packages to upgrade/install.
2  extra/python-tomlkit  0.12.3-1 -> 0.12.4-1
1  aur/shell-gpt         1.2.0-1  -> 1.4.0-1

Here the debug output of the last part

debug: resolving target's dependencies
debug: started resolving dependencies
debug: checkdeps: package python-maturin-1.4.0-1.1
debug: checkdeps: missing dependency 'maturin=1.4.0' for package 'python-maturin'
debug: started resolving dependencies
debug: checkdeps: package maturin-1.4.0-1.1
debug: finished resolving dependencies
debug: pulling dependency maturin (needed by python-maturin)
debug: finished resolving dependencies
debug: started resolving dependencies
debug: checkdeps: package python-tomlkit-0.12.4-1
debug: finished resolving dependencies

error: segmentation fault
Please submit a full bug report with --debug if appropriate.
 -> Failed to install layer, rolling up to next layer.error:error installing repo packages
[DEBUG:installer] syncDeps Set{extra/python-dotenv, extra/python-jinja, extra-x86-64-v3/python-tiktoken, extra-x86-64-v3/python-maturin} SyncExp Set{} aurDeps Set{python-tokenizers} aurExp Set{} upgrade false
 -> /var/lib/pacman/db.lck is present.
 -> There may be another Pacman instance running. Waiting...
Hi there, first thank you for providing those packages! I'm not sure if the issue is related to this project. But as I haven't found this issue being mentioned elsewhere so my bet it's related to this project. I use the python application shell-gpt from AUR. A make dependency is python-maturin. Currently it tries to update shell-gpt from 1.2.0-1 to 1.4.0-1 (1.3 already had the issue). With this update the make dependency of aur/python-tokenizers was added with python-maturin. I don't know how to debug this further. Any ideas? ```:: 6 dependencies will also be installed for this operation. extra-x86-64-v3/python-maturin -> 1.4.0-1.1 (make dependency of python-tokenizers) extra-x86-64-v3/python-tiktoken -> 0.6.0-1.1 extra/python-dotenv -> 1.0.1-1 extra/python-jinja -> 1:3.1.3-1 aur/litellm -> 1.26.8-1 aur/python-tokenizers -> 0.15.2-1 :: 2 packages to upgrade/install. 2 extra/python-tomlkit 0.12.3-1 -> 0.12.4-1 1 aur/shell-gpt 1.2.0-1 -> 1.4.0-1 ``` Here the debug output of the last part ```resolving dependencies... debug: resolving target's dependencies debug: started resolving dependencies debug: checkdeps: package python-maturin-1.4.0-1.1 debug: checkdeps: missing dependency 'maturin=1.4.0' for package 'python-maturin' debug: started resolving dependencies debug: checkdeps: package maturin-1.4.0-1.1 debug: finished resolving dependencies debug: pulling dependency maturin (needed by python-maturin) debug: finished resolving dependencies debug: started resolving dependencies debug: checkdeps: package python-tomlkit-0.12.4-1 debug: finished resolving dependencies error: segmentation fault Please submit a full bug report with --debug if appropriate. -> Failed to install layer, rolling up to next layer.error:error installing repo packages [DEBUG:installer] syncDeps Set{extra/python-dotenv, extra/python-jinja, extra-x86-64-v3/python-tiktoken, extra-x86-64-v3/python-maturin} SyncExp Set{} aurDeps Set{python-tokenizers} aurExp Set{} upgrade false -> /var/lib/pacman/db.lck is present. -> There may be another Pacman instance running. Waiting... ```
Author

If nothing was done on this side it was solved by itself now and maybe is unrelated. There is a new version of maturin 1.5. Probably that's the reason why it's now working.

If nothing was done on this side it was solved by itself now and maybe is unrelated. There is a new version of maturin 1.5. Probably that's the reason why it's now working.
Owner

At least I have done nothing specifically for this issue, as you said, probably hit an unrelated issue. Thanks for reporting anyways :)

At least I have done nothing specifically for this issue, as you said, probably hit an unrelated issue. Thanks for reporting anyways :)
anonfunc added the
bug
label 2024-03-07 10:47:20 +01:00
Sign in to join this conversation.
No description provided.