Comments (7)
Any suggestions?
This command ln -s /system/bin/patch /data/data/com.termux/files/home/arch/usr/local/bin/patch
run in a native Termux shell might resolve a patch: setting attribute security.selinux for security.selinux: Permission denied
error. This workaround seems to work with QEMU architecture emulation too. Issues “Building xrdp from AUR fails mentioning selinux #293” at #293 and “patch: setting attribute security.selinux for security.selinux: Permission denied #182” at termux/proot#182 have more information about this error.
from termuxarch.
Thank you for contributing to make this project better😎 Keep up and follow to solve this issue.
from termuxarch.
Any suggestions?
Try editing the PKGBUILD file, and then run makepkg -firs --noconfirm
.
security.selinux: Permission denied
This topic is very extensive. See whether reaching out through the community channels and github discussions helps in resolving this build issue if you cannot solve it easily; Good luck!
from termuxarch.
@lupo-on-github I have taken a closer look at this issue and opened a new issue patch: setting attribute security.selinux for security.selinux: Permission denied #220 regarding this issue here:
patch: setting attribute security.selinux for security.selinux: Permission denied
git clone https://aur.archlinux.org/fakeroot-tcp.git
Clone in native Termux first, then open a new PRoot session in the cloned directory and continue in the original native Termux session and in the new PRoot session. Use these commands in the PRoot session:
cd fakeroot-tcp makepkg -firs --noconfirm
After waiting for the
makepkg
command to err, apply the patches in both open sessions, the native Termux session and the PRoot session.$grep patch PKGBUILD fakeroot-1.25.3-glibc-2.33-fix-1.patch fakeroot-1.25.3-glibc-2.33-fix-2.patch fakeroot-1.25.3-glibc-2.33-fix-3.patch) patch -p1 -i $srcdir/fakeroot-1.25.3-glibc-2.33-fix-1.patch patch -p1 -i $srcdir/fakeroot-1.25.3-glibc-2.33-fix-2.patch patch -p1 -i $srcdir/fakeroot-1.25.3-glibc-2.33-fix-3.patch
The expected behavior for the
patch
command to work in native Termux and in Termux PRoot correctly.Additional information
The
patch
command used to work correctly in both native Termux and in Termux PRoot. How was it broken? Can I have some links to the code how thepatch
command was cracked in the Termux PRoot environment please?
Please feel free to join the new discussion. The obvious workaround is NOT to use the patch
command in the meantime in Termux PRoot for those of us who do not know how to fix this not so newly arisen error.
from termuxarch.
An open disscussion concerning this topic is upstream at patch: setting attribute security.selinux for security.selinux: Permission denied #182.
from termuxarch.
Thank you for opening this issue @lupo-on-github; While I was attempting to fix makeaurhelpers
with commands:
cd /usr/local/bin/
for i in $(ls --color=never makeaur*) ; do $i ; done
this issue began ringing in my mind as I was studying the output from the makeaur*
commands. Hopefully a resolution for the patch
command in Termux PRoot environment will be found soon.
from termuxarch.
resolution for the patch command
Fortunately, the Termux patch
command works in TermuxArch. Please link the patch
command into the /usr/local/bin
directory, and the packages that you are trying to make should build as expected.
from termuxarch.
Related Issues (20)
- Just asking questions... HOT 6
- A little question HOT 3
- How to run makepkg? HOT 2
- just want to know about the keyboard HOT 2
- Custom CLI prmpt via .bashrc HOT 1
- Error While Installing Packages HOT 3
- Generated script signal 1 near or at line number 453 by 'cp'! HOT 7
- Name Resolution fail HOT 11
- blackarch.db failed to download HOT 2
- Installation not successful HOT 2
- command makeyay not found HOT 2
- can't use 443 port HOT 2
- Error when installing packages HOT 2
- Errors while installing termuxarch HOT 2
- Errors while installing on clean Termux HOT 4
- ERROR:systemctl path is not absolute, ignoring HOT 2
- Having problems with the installation HOT 4
- commands start with whitespace HOT 2
- Hg HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from termuxarch.