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

Arch Linux: Fakeroot #593

Open
ghost opened this issue Feb 6, 2019 · 2 comments
Open

Arch Linux: Fakeroot #593

ghost opened this issue Feb 6, 2019 · 2 comments

Comments

@ghost
Copy link

ghost commented Feb 6, 2019

Makepkg requires fakeroot, which doesn't work because it requires SYSV support and fakeroot-tcp is required instead. However fakeroot-tcp is a aur package and requires makepkg to be built. What I have done is patch makepkg and then make fakeroot-tcp with sudo

I suggest that a script to replace fakeroot with fakeroot-tcp be made so that others don't have to go through this hassle
fakeroot-tcp

sudo pacman -S filesystem glibc sed util-linux po4a sharutils

export PATH=$PATH:/usr/bin/vendor_perl (required to run po4a)

Then replace /bin/fakeroot with fakeroot-tcp (rename it as fakeroot)

@CodeJoule
Copy link

CodeJoule commented Mar 19, 2019

What I just did is went through the fakeroot-tcp PKGBUILD and run everything by hand. I also edited makepkg the same way you did, but I dunno if that was needed. Once fakeroot-tcp was installed I simply restored the original makepkg (I made a backup) and was able to use makepkg normally.

However, it took me houurrsss, because the install UserLAnd gives you is so barebones that I was getting a lot of errors during compiling, due to missing dependencies. Or maybe I should blame Arch instead of UserLAnd, since Arch itself is barebones. Next time, if I did it again, I would install base-devel and remove fakeroot. Then install the dependencies for fakeroot-tcp and then compile/install it.

I am new to UserLAnd, so I can't really help much, but if I get the chance and the knowledge to do it, I could help in the future. linex4lif, 😁

So I support this. It would save users lots of time and hassle trying to get the AUR to work, or even installing a new Android kernel (if that would even solve the problem).

@hacker1024
Copy link

hacker1024 commented Jan 6, 2020

It's been almost a year, any progress?
I found this Reddit comment quite helpful to work around the issue.

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