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 use makepkg to build packages #26

Closed
muzz666 opened this issue Dec 1, 2017 · 10 comments
Closed

Can't use makepkg to build packages #26

muzz666 opened this issue Dec 1, 2017 · 10 comments
Labels
enhancement makepkg shmem https://github.com/sdrausty/libandroid-shmem

Comments

@muzz666
Copy link

muzz666 commented Dec 1, 2017

Fakeroot is not working.
Shows this error:

fakeroot, while creating message channels: Function not implemented
This may be due to a lack of SYSV IPC support.
fakeroot: error while starting the `faked' daemon.

@SDRausty
Copy link
Owner

SDRausty commented Dec 2, 2017

@muzz666 setupTermuxArch.sh now creates system information. Run setupTermuxArch.sh --sysinfo and post this information along with your input and complete output. If you think a screenshot will help us in resolving, include it in your post.

@ghost
Copy link

ghost commented Dec 2, 2017

@muzz666, many of android devices have disabled SYSV IPC support. So only custom kernel with SYSV IPC.

@ghost
Copy link

ghost commented Dec 2, 2017

Or force disable fakeroot in makepkg scripts

@SDRausty SDRausty closed this as completed Dec 2, 2017
@SDRausty
Copy link
Owner

SDRausty commented Jan 9, 2018

Use useradd username. Then cp -r arch/root/ arch/username. Finally su - username and similar to login as user, not the root account of your Arch Linux in Termux installation.

@seanbud
Copy link

seanbud commented Jul 17, 2018

I'm having this issue - is there any solutions / workarounds ?

@SDRausty
Copy link
Owner

@xeffyr can you send an example of successfully using makepkg?

Or force disable fakeroot in makepkg scripts

References

  1. makepkg error! #100
  2. A few questions about Arch Linux in Termux PRoot #59
  3. Succesfully Modified Stock 'makepkg'... #38
  4. is:issue makepkg

@SDRausty
Copy link
Owner

SDRausty commented Sep 6, 2018

Accessing libandroid-shmem support is now possibly in TermuxArch, use setupTermuxArch.sh r for quick system refresh; libandroid-shmem support is added with this a250672 commit. The current version of TermuxArch also sets locales from Android on the fly for Arch Linux in Termux PRoot to be in the language you wish!

@SDRausty
Copy link
Owner

Variable substitution in TermuxArch resolves sudo. Variable assignment PROOTSTMNTU="${PROOTSTMNT//--link2symlink }" drops --link2symlink from the user login proot statement. The option is necessary for root user to function properly. This change modifies the proot statement for user login with this a0db0f1 commit.

$ startarch l user
[user11:30~]$ sudo whoami

We trust you have received the usual lecture from the local System
Administrator. It usually boils down to these three things:

    #1) Respect the privacy of others.
    #2) Think before you type.
    #3) With great power comes great responsibility.

[sudo] password for root:
root
[user11:30~]$ whoami
user

setupTermuxArch.sh c addauser user creates a user account. As Arch Linux in Termux PRoot root user, use visudo to grant user permission to use sudo.

@SDRausty SDRausty added shmem https://github.com/sdrausty/libandroid-shmem makepkg labels Sep 28, 2018
@SDRausty SDRausty reopened this Oct 1, 2018
@hunar1997
Copy link

@SDRausty
Copy link
Owner

This solved the issue for me https://www.reddit.com/r/archlinux/comments/7rycmu/cannot_build_fakeroottcp_without_fakeroot/duhy47g

Thank you @hunar1997

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement makepkg shmem https://github.com/sdrausty/libandroid-shmem
Projects
None yet
Development

No branches or pull requests

4 participants