I boot in vmware in salix64-xfce 15.0 clear installation.
I download the file source from slackware-15.0 with all other files included there in file folder and recompile the file 5.41 package. Install it and fakeroot do not work. (fakeroot slkbuild -X) If i reinstall the file-5.41 binary from slackware-15.0 fakeroot is working. It is Weird.
fakeroot and file
- SalixManiac
- Posts: 113
- Joined: 15. Apr 2022, 02:26
Re: fakeroot and file
hello djemos
did you find out where the problem came from?
a missing file in the package created by the slackbuild?
a missing dependency for the creation of the package?
did you find out where the problem came from?
a missing file in the package created by the slackbuild?
a missing dependency for the creation of the package?
Colin Chapman “light is right” those last words "the middle pedal is for cowards"
Re: fakeroot and file
I get the same here. No idea why. I tried version 5.43 too, but it's the same with that. I also tried rebuilding fakeroot, upgrading it to 1.29, but still it doesn't work.
Re: fakeroot and file
I discovered this upgrading in slackel and fakeroot could not work. Then i found that this also happened in salix also.
The problem is that if run fakeroot slkbuild -X
the linein slkbuild where try to find the file-type to extract it in src fails. It return nothing. So build failed.
To see this if for example type
Even if i use any version of fakeroot it fails. So it is file package.
I could not think how they compile file in slackware and it works while if i re-build file-5.41 from source then fakeroot do not work. So it has nothing to do with file version but it is a mystery really.
While it works with sudo slkbuild -X
Also using the slackware file-5.41 package any version of fakeroot is working.
The problem is that if run fakeroot slkbuild -X
the line
Code: Select all
file_type=\$(file -biLz "\$FILES")
To see this if for example type
Code: Select all
fakeroot file slim-1.3.6.tar.gz
/usr/bin/fakeroot: line 178: 4920 Bad system call FAKEROOTKEY=$FAKEROOTKEY LD_LIBRARY_PATH="$PATHS" LD_PRELOAD="$FAKEROOT_LIB" "$@"
I could not think how they compile file in slackware and it works while if i re-build file-5.41 from source then fakeroot do not work. So it has nothing to do with file version but it is a mystery really.
While it works with sudo slkbuild -X
Also using the slackware file-5.41 package any version of fakeroot is working.
Re: fakeroot and file
Mystery solved. You need to compile it with the --disable-libseccomp option. In Slackware Pat probably built the package in a system that doesn't have libseccomp installed.
Re: fakeroot and file
Thanks gapan.