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

Can't install with makepkg under archlinux #123

Closed
Hitoride57 opened this issue Jun 5, 2022 · 1 comment
Closed

Can't install with makepkg under archlinux #123

Hitoride57 opened this issue Jun 5, 2022 · 1 comment

Comments

@Hitoride57
Copy link

Hitoride57 commented Jun 5, 2022

Hi there,

I'm not very familiar with Github so I'm not sure if I'm doing it the right way but I encountered an issue while installing haiti as an AUR Package.

Here is the error message while making package (sorry for the french interface) :
Successfully installed haiti-hash-1.3.0 1 gem installed rm: impossible de supprimer '/home/____/____/builds/haiti/pkg/haiti//usr/lib/ruby/gems/3.0.0/gems/haiti-hash-1.3.0/test': Aucun fichier ou dossier de ce type ==> ERREUR : Une erreur s’est produite dans package(). Abandon…

I thought that the problem was with an path issue because of the 2 slashes in it (.../haiti//usr/lib/...), or a file issue, so I commented the line 26 of PKGBUILD file :
rm -r "$pkgdir/$_gemdir/gems/$_gemname-$pkgver/test"

Doing that solved the problem for me.

I hope this can help, I didn't find anything about it elsewhere.

@noraj
Copy link
Owner

noraj commented Jun 5, 2022

Bonjour @Hitoride57,

It's because back in the days, the Gem was including the tests in it (c7d0e6f) so the PKGBUILD was removing them as they are useless from runtime. But two years ago I stopped shipping the tests in the Gem so that's why there is an error. I'm surprised because during this period the removal of the unexisting folder has never triggered an error before.

Thanks for the report I have fixed the AUR package.

@noraj noraj closed this as completed Jun 5, 2022
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

2 participants