fakeroot & tar -> strange problems
|
02-13-2013, 01:52 AM
(This post was last modified: 02-13-2013 03:26 AM by tavvva.)
Post: #1
|
|||
|
|||
fakeroot & tar -> strange problems
Our current versions of fakeroot and tar do not work well together ...
Affected package builds : uclibc, ffmpeg, ... fakeroot-1.14.5-1 & tar-1.15.1-1 : - symlinks may appear as broken regular files - few messages "file changed as we read it" may appear - wrong permissions may appear fakeroot-1.14.5-1 & tar-1.24-1 : - mentioned broken symlinks were not produced at all for the same package -> "Cannot open: Too many levels of symbolic links" - many messages "file changed as we read it" appeared for the testing packages - wrong permissions appeared for the testing packages fakeroot-1.14.5-1 & tar-1.26-1 : - totally broken in fakeroot -> displaying "Cannot utime: Invalid argument" for each file fakeroot-1.18.4 & tar-whatever : - didn't help I found some possibly related threads: http://lists.busybox.net/pipermail/uclib...14654.html https://bugs.archlinux.org/task/17656 http://lists.debian.org/debian-devel/199...00148.html |
|||
02-14-2013, 06:03 PM
Post: #2
|
|||
|
|||
RE: fakeroot & tar -> strange problems
It's definitely a bug in the fakeroot. I tried to delete the symlinks in ffmpeg and recreate them. That helped, but triggered a new issue with permissions of libavutil.so.49.3.0 ... so ... probably some memory error.
|
|||
02-15-2013, 09:28 AM
Post: #3
|
|||
|
|||
RE: fakeroot & tar -> strange problems
Is this just affecting ffmpeg and uclibc?
My Delicate Linux repository |
|||
02-15-2013, 10:50 AM
Post: #4
|
|||
|
|||
RE: fakeroot & tar -> strange problems | |||
02-24-2013, 12:32 AM
(This post was last modified: 02-24-2013 02:02 AM by tavvva.)
Post: #5
|
|||
|
|||
RE: fakeroot & tar -> strange problems | |||
02-24-2013, 02:31 AM
Post: #6
|
|||
|
|||
RE: fakeroot & tar -> strange problems
After digging in the makepkg script I found several things ... the permission problem is caused by the strip command. It's very probably related to the static linking. It seems we have to rebuild binutils so that the package provides a dynamically linked strip binary.
One more funny thing .... the removal of the libtool files is already supported by the makepkg script .... it just doesn't use the option flags ... it uses NOLIBTOOL variable .... I'll write more later |
|||
02-24-2013, 03:57 AM
Post: #7
|
|||
|
|||
RE: fakeroot & tar -> strange problems
New releases of binutils and pacman fix the issue with wrong permissions. Broken symlinks in ffmpeg do not appear anymore, but they're replaced with the target binary clone. So ... once we fix the symlink issue, we can build in fakeroot without worries.
|
|||
02-24-2013, 01:20 PM
Post: #8
|
|||
|
|||
RE: fakeroot & tar -> strange problems
The ffmpeg symlink issue was caused by strip too :] It's called as a part of the make process and even if it can be disabled, the maintainer needs to be aware of that and that could be a problem. It seems we need to link the default strip dynamically ... That shouldn't affect the speed much.
|
|||
02-24-2013, 01:48 PM
Post: #9
|
|||
|
|||
RE: fakeroot & tar -> strange problems
The following releases should solve all currently known fakeroot issues in DeLi(cate):
pacman-2.9.8-18 binutils-2.16.1-8 |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 1 Guest(s)