Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

package install fails with : Failed to install yasnippet-snippets: Args out of range: #456

Open
dinojr opened this issue Jan 13, 2023 · 10 comments

Comments

@dinojr
Copy link

dinojr commented Jan 13, 2023

Here are the error/warning messages :

⛔ Error (use-package): Failed to install yasnippet-snippets: Args out of range: #<buffer Warnings>, #<marker at 1897473 in tar-data temp-636888>, 1897597
⛔ Warning (tar): Extracted ‘/home/wilk/.emacs.d/elpa/yasnippet-snippets-20220713.1234/snippets/terraform-mode/google/app_engine_resources/PaxHeaders/goog’, a pax extended header, as a normal file

@AndreaCrotti
Copy link
Owner

Ah interesting I had never seen this issue before, what Emacs version and OS are you using?

@dinojr
Copy link
Author

dinojr commented Jan 17, 2023

I'm using GNU Emacs 30.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.34, cairo version 1.16.0) of 2023-01-16 on Ubuntu 22.10.

@natelastname
Copy link

natelastname commented Feb 10, 2023

I am also getting this error, Yasnippet-snippets will not install.

My OS is Ubuntu 22.04

@AndreaCrotti
Copy link
Owner

Ok sorry I'll have a look in the next few days

@twmr
Copy link

twmr commented Feb 22, 2023

I also have this issue since at least a month on Ubuntu 22.10.

@kevinfis
Copy link

kevinfis commented Mar 4, 2023

There is a analogous message in yasnippet-snippets-20230227.1504,
so i have to manual unmark yasnippet-snippets before update:
⛔ Warning (tar): Extracted ‘/home/User/.emacs.d/elpa-29.0/yasnippet-snippets-20230227.1504/snippets/terraform-mode/google/app_engine_resources/PaxHeaders/goog’, a pax extended header, as a normal file

GNU Emacs 29.0.60 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.36, cairo version 1.17.6) of 2023-02-20

arch linux user 6.2.1-arch1-1 ,gnome 43.3 wayland

@TopSlick
Copy link

Same message as kevinfis;
arch linux 6.11.9, kde/plasma, x, emacs 29.4

@kevinfis
Copy link

I found this page might be relate the problem, for reference:
https://superuser.com/questions/1557274/7zip-has-problems-extracting-posix-tar-archives-due-to-paxheader-files

by the way, due to this annoy message, temporarily i remove snippet in pacakage-list, but using git clone this site to a directory and (setq yasnippet-snippets-dir "/snippets-path").

@AndreaCrotti
Copy link
Owner

Ah ok sorry I'll check again soon if we can do something about it

@kevinfis
Copy link

kevinfis commented Dec 4, 2024

I am just guessing , because it happen on extract.
After google,
found this site explained tar mechanism that it only support 100 char for file path name:
https://jia.je/software/2023/05/23/tar-format/#bard
(this site is chinese , but it also has an english explaination )

and the Warring message showed that path name is very long,
this path is over 100 char: "‘/home/User/.emacs.d/elpa-29.0/yasnippet-snippets-20230227.1504/snippets/terraform-mode/google/app_engine_resources/PaxHeaders/goog"
that site said that to archive with "tar cf - --format=pax /path/to/files"
to extract with "tar xvf - --format=pax archive.tar"
can extend file name length to 256 char.
but i dont know how emacs' command handle package install,
so offer this information for you reference, hopping it can be solved.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants