Summary: | net-misc/rsync-2.6.9-r3 fails test phase ("failed to set times") | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Michał Kiedrowicz <esqualante> |
Component: | New packages | Assignee: | Gentoo's Team for Core System packages <base-system> |
Status: | RESOLVED WORKSFORME | ||
Severity: | normal | CC: | alephlg, gentoo.bugs, nelchael, ps |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
emerge log
emerge info /proc/config.gz |
Description
Michał Kiedrowicz
2007-08-29 15:28:31 UTC
Created attachment 129541 [details]
emerge log
Created attachment 129542 [details]
emerge info
please describe the filesystem you're running these tests on and the kernel features you have enabled (POSIX ACL support/etc...) also post your /proc/config.gz as an attachment :) I'm using reiserfs format "3.6" with standard journal. Mounted: /dev/hda3 on / type reiserfs (rw,noatime,notail) Created attachment 129559 [details]
/proc/config.gz
I played for a while with "userpriv" and "sandbox" features and "acl" USE flag, but it didn't change anything. Next I compiled rsync from source manually, however it didn't help either. After that, I got cvs-version of rsync (3.0.0cvs) and it passed all tests. I don't how much tests from 2.6.9 and 3.0.0 versions differ, but maybe this may help somehow... I've got the same for NFS mounts: rsync: failed to set times on "/nfs/backup/bin/Mail": Function not implemented (38) rsync: failed to set times on "/nfs/backup/bin/awk": Function not implemented (38) rsync: failed to set times on "/nfs/backup/bin/bb": Function not implemented (38) rsync: failed to set times on "/nfs/backup/bin/bunzip2": Function not implemented (38) rsync: failed to set times on "/nfs/backup/bin/busybox.static": Function not implemented (38) [ ... snip ... ] It is only about symlinks. I've narrowed it to lutimes() call on line #149 of util.c file. Simpler test case: # touch a # ln -s a symlink # cat > test.c <<EOF #include <sys/time.h> #include <stdlib.h> int main(void) { printf("%d\n", lutimes("symlink", NULL)); perror(NULL); return 0; } EOF # gcc test.c # ./a.out Fails with "Function not implemented" According to http://www.mail-archive.com/rsync@lists.samba.org/msg19625.html lutimes doesn't work with kernel < 2.6.22. I tested it on 2.6.23 and rsync emerges fine and test in comment #8 also passes. *** Bug 201057 has been marked as a duplicate of this bug. *** i got into this trap too. couldnt rsync ebuild have dependency for newer kernels ? hum, maybe i'm talking about another problem, since i get this err while syncing not during emerge. i will file a new bug. I think they are linked. The emerge test that fails is looking for a feature to be in the kernel. This feature was only introduced in recent kernels and is what makes your rsync fail too. See Comment #7 but my emerge proceeds and the 'failed to set times' did not happened before although i was on 2.6.9 & older kernel. there must be some other reason than just kernel version. *** Bug 201388 has been marked as a duplicate of this bug. *** searching through the forums suggests that upgrading glibc could be the trigger. emerge refuse to downgrade glibc back to previous version, so i'm not sure how to check this. I can't check right now, but I seem to remember booting into an older kernel the current rsync worked if I didn't do the activate the emerge test feature. do you have an older kernel to boot into?? to be more precise - i have 2.6.19 kernel and rsync 2.6.9-r3 worked for me few weeks ago for sure. i thought its r5, which broked it, but downgrading back to r3 didnt help. i will try to boot to an older kernel later (anyway i havent touched my kernel for year or so). iirc, it's failing on unofficial acl/attr code please test rsync-3.0.0_pre6 in the tree before doing any other tests yes, rsync-3.0.0_pre6 helped. thank you. |