-
-
Notifications
You must be signed in to change notification settings - Fork 158
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
How to fix makepkg
without reinstalling TermuxArch?
#129
Comments
@dlintw |
@SDRausty I just try to do 'r' again. And it doesn't let the 'makepkg' workable. |
@dlintw did you use a user account in Arch Linux, i.e., |
Are you familiar with this Succesfully Modified Stock 'makepkg'... #38 issue? |
yes, I use normal user to do this. I wish there is a setupMakepkg.sh to provide what #38 said to build fakeroot-tcp. I think it will also install base-devel and git if necessary. |
@dlintw I have added labels for this topic as markers, a bit like guides. Can you outline a little more what you are working on? This way I can follow along. |
I have not do it. I was misunderstand is is already included in setup.sh. |
What are you trying to build with |
In fact, I want to use yay for any AUR packages. So, the first fakeroot-tcp, than nosudo. When makepkg work, maybe bvi |
I tried building yay:
Do you get a similar result @dlintw? |
yes, so, I guess use fakeroot-tcp may let it work. But I can't use makepkg directly because fakeroot can't work. |
Ditto, I cannot get it to run correctly. |
Reference https://www.reddit.com/r/archlinux/comments/7rycmu/cannot_build_fakeroottcp_without_fakeroot/ Let's see whether this method works well with our setup. |
makepkg
without reinstalling TermuxArch?
https://gist.github.com/10da0d331d7fccee77c2a9062a2617dc Here is my work script, it is still in draft. And I found another issue in this Proot env, the 'patch' can NOT work well, it complaint no selinux permission. |
I managed to get nosudo to work. It should function as expected with this 87fcaa5 commit. |
I am curious how far our thread shall go. Hopefully, we will build some more interesting projects with these tools in the near future. Here is the output of nosudo on Android smartphone:
Thank you for the details that you provided. They helped greatly. |
I do not think nosudo is necessary for makepkg. but patch is required. |
|
It installed, but contained selinux issue when build chroot-tcp. I mean it's native PkGBUILD. |
To let makepkg build, just remove sudo and it will work without nosudo. |
I had a bit of experiment i did installed fakeroot in termux itself and then tried copy the stuff in arch subsystem. In the end i figured out that the interpreter bound to the system itself /faked: ELF 64-bit LSB pie executable, ARM aarch64, version 1 (SYSV), dynamically linked, interpreter /system/bin/linker64, stripped Is there any way to link android /system in the subsystem? |
I am a newer and like this archlinux in termux.
|
Try:
Let us know how it works🍀 |
Hey guys im having the same issue installing yay==> Entering fakeroot environment... Also tried to install fakeroot-tcp, but it failed, did you found a workaround?, thanks for the help, im loving the arch in my pocket, thanks SDRausty Well well well, after a lot of thinkering and my girlfriend almost killing me because of me staring many many hours(days) at my phone, got fakeroot to work, ./bootstrap ./configure --prefix=/opt/fakeroot \ --libdir=/opt/fakeroot/libs \ --disable-static \ --with-ipc=tcp make sudo make install /opt/fakeroot/bin/fakeroot exit exit logout login into user installed yay installed fakeroot-tcp from yay rm /usr/bin/fakeroot reinstalled fakeroot-tcp from yay yay -Syu pacman -Syyu and it fucking works!! |
@mambiux |
|
I want to fix makepkg issues, there are two major issues, it seems has solved. But I can not do it by exist makepkg.
Why not provide a workable script to build the replacement packcakage just during the TermuxArchSetup.sh?
Or, if it has contains in the TermuxArchSetup.sh, How can I redo it without reinstall the archlinux(I've setup many packages, it is a hardwork for re-setup all).
The text was updated successfully, but these errors were encountered: