Questions tagged [fakeroot]

21 questions
3
votes
2 answers

How to know if user is root or fakeroot?

I would like to know if user is root, without minding if that user is using a fakeroot-like tool or not. I tried the functions getuid(), geteuid() and getlogin(), but when I launch fakeroot command each of these sends my own account information…
Julien Fouilhé
  • 2,583
  • 3
  • 30
  • 56
2
votes
0 answers

fakeroot/proot hangs during rootfs generation

I am trying to build a Debian Stretch-based armhf filesystem using multistrap, fakeroot and proot. I can create the rootfs using multistrap: fakeroot /usr/sbin/multistrap -f multistrap.conf Then I copy the fakeroot libraries into the rootfs…
Borkhuis
  • 141
  • 3
  • 11
2
votes
0 answers

deb/rules: No such file or directory

I was trying to build vmlinux image for my 2.6.32 kernel in ubuntu-10.04 referencing this tutorial. These are the steps I followed. 1. Installed build tools with sudo apt-get build-dep linux-image-$(uname -r) 2. Downloaded the source using apt-get…
newbie
  • 41
  • 3
1
vote
2 answers

fakeroot alternative for RPM

I studying dpkg and rpm package systems. I found in dpkg manuals recommendation to use fakeroot for correct build package as non-root user. But for RPM package i don't found alternative utility. I read several manuals for build rpm packages and they…
Reddy
  • 943
  • 6
  • 12
  • 21
1
vote
0 answers

Building Mendel Linux error for Coral Dev Board

I'm trying to build Mendel Linux for Google Coral Dev Board on Ubuntu 20.04. I followed the instructions step by step described in the https://coral.googlesource.com/docs/+/refs/heads/master/GettingStarted.md. Аfter building the tree by the running…
1
vote
0 answers

Problems packaging on buster

I'm trying to build some packages from source, and I'm facing trouble that I don't understand despite lots of googling. This happens with some packages, while others compile and get packed normally. One of the softwares that fail to package is…
1
vote
0 answers

after git pull: error: RPC failed; curl 56 GnuTLS recv error (-110)

I use Ubuntu 18.04 on WSL on my laptop and it works well with git. pushing and pulling has not been a problem. no i pushed from a different repository to my remote repository a huge directory. and as i wanted to pull it into my laptop, the mentioned…
zuiop
  • 31
  • 4
0
votes
1 answer

Chroot/Jail ? Problem after update to Debian 12 Bookworm

After Upgrade of Bullseye to Bookworm, i cannot use chroot/jail in three cases. I cannot build debian packages using fakeroot tool. The build ends with: "fakeroot debian/rules clean subprocess returned exit status 139" and dmesg: [83596.375961]…
Cybervitexus
  • 291
  • 4
  • 19
0
votes
0 answers

Why can't I build the deb package of my electron app? (fakeroot: nested operation not yet supported)

I am trying to build a .deb package of my electron app as described on the electron homepage and on the electron-forge homepage. Unfortunately, I am getting the error fakeroot: nested operation not yet supported It seems that attempt is made to…
Zuabi
  • 1,112
  • 1
  • 13
  • 26
0
votes
0 answers

Yocto: Manipulating users/groups in helper class with fakeroot/pseudo

Introduction I wrote a class, call it persist-conf-files, whose purpose is to migrate certain files installed by standard recipes into a different directory and create symbolic links to those files for persistence. The reason for this is to have a…
sean007
  • 1
  • 2
0
votes
0 answers

bitbake recipe error setfattr: Operation not permitted

Here is a minimal excerpt from my recipe. fakeroot label_sign_verity() { ... SETFATTR=${TMPDIR}/sysroots-components/$(uname -m)/attr-native/usr/bin/setfattr echo $(whoami) #prints root because fakeroot echo ${USER} #prints my username …
0
votes
0 answers

creating symlinks inside a fakeroot, sometimes fail

Had the weirdest issue at work. Cannot reproduce it now. Looking for anyone with similar experiences. We have a python script, which creates some install-packages for our embedded platform. The python script invokes a subshell with fakeroot. Inside…
Daniel
  • 428
  • 3
  • 8
0
votes
1 answer

How do I install applications inside a Singularity sandbox container?

I am trying to install Miniconda (but could be any application that requires to for example /usr/local) in a Singularity sandbox container. I try the following: singularity build --fakeroot --sandbox sandboxes/ubuntu:20.04…
Thomas Arildsen
  • 1,079
  • 2
  • 14
  • 31
0
votes
1 answer

How to find fakeroot package to lauch jpackage

I've created a .jar with eclipse on ubuntu, java14 and javafx. I wanted to create an application with jpackage. So, I typed in a terminal jpackage --name Test --input . --main-jar Test.jar. I have had the response : Bundler DEB Bundle skipped…
pouce
  • 21
  • 5
0
votes
0 answers

Cannot use sudo in jenkins' `execute shell` build step

I'm trying to use electron-installer-debian in Jenkins (version 2.346.2) dashboard. But it has a fakeroot dependency. Trying to install fakeroot using apt-get install fakeroot and error says 'permission denied'. If I use sudo apt-get install…
mui mui
  • 11
  • 4
1
2