Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 100981 - net-misc/rsync-2.6.6 fails one test
Summary: net-misc/rsync-2.6.6 fails one test
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo's Team for Core System packages
URL: https://bugzilla.samba.org/show_bug.c...
Whiteboard:
Keywords:
: 101318 101412 (view as bug list)
Depends on:
Blocks:
 
Reported: 2005-08-01 04:33 UTC by Seemant Kulleen (RETIRED)
Modified: 2005-10-20 04:12 UTC (History)
4 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
rsync-2.6.6-acl.patch (rsync-2.6.6-acl.patch,1.55 KB, patch)
2005-10-14 13:02 UTC, Michael Cramer
Details | Diff
rsync-2.6.6-xattr.patch (rsync-2.6.6-xattr.patch,1.32 KB, patch)
2005-10-16 12:03 UTC, Michael Cramer
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Seemant Kulleen (RETIRED) gentoo-dev 2005-08-01 04:33:00 UTC
POSIXLY_CORRECT=1 TOOLDIR=`pwd` rsync_bin=`pwd`/rsync srcdir="." ./runtests.sh
============================================================
./runtests.sh running in /var/tmp/portage/rsync-2.6.6/work/rsync-2.6.6
    rsync_bin=/var/tmp/portage/rsync-2.6.6/work/rsync-2.6.6/rsync
    srcdir=.
    testuser=portage
    os=Linux seemant 2.6.12-gentoo-r6 #1 Sun Jul 17 10:49:36 EDT 2005 x86_64 AMD
Athlon(tm) 64 FX-55 Processor AuthenticAMD GNU/Linux
    preserve_scratch=no
    scratchbase=/var/tmp/portage/rsync-2.6.6/work/rsync-2.6.6/testtmp
PASS    00-hello
PASS    backup
PASS    batch-mode
PASS    chgrp
PASS    chmod-temp-dir
PASS    chmod
PASS    chown
PASS    compare-dest
PASS    daemon-gzip-download
PASS    daemon-gzip-upload
PASS    daemon
PASS    delete
PASS    devices
PASS    duplicates
PASS    exclude
PASS    fuzzy
PASS    hands
PASS    hardlinks
----- itemize log follows
Testing for symlinks using 'test -h'
+ lddir=/var/tmp/portage/rsync-2.6.6/work/rsync-2.6.6/testtmp.itemize/ld
+ chkfile=/var/tmp/portage/rsync-2.6.6/work/rsync-2.6.6/testtmp.itemize/rsync.chk
+ outfile=/var/tmp/portage/rsync-2.6.6/work/rsync-2.6.6/testtmp.itemize/rsync.out
+ makepath /var/tmp/portage/rsync-2.6.6/work/rsync-2.6.6/testtmp.itemize/from/foo
+ echo '        makepath
/var/tmp/portage/rsync-2.6.6/work/rsync-2.6.6/testtmp.itemize/from/foo'
        makepath
/var/tmp/portage/rsync-2.6.6/work/rsync-2.6.6/testtmp.itemize/from/foo
+ p=/var/tmp/portage/rsync-2.6.6/work/rsync-2.6.6/testtmp.itemize/from/foo
+ echo /var/tmp/portage/rsync-2.6.6/work/rsync-2.6.6/testtmp.itemize/from/foo
+ grep '^/'
+ cd /
++ echo /var/tmp/portage/rsync-2.6.6/work/rsync-2.6.6/testtmp.itemize/from/foo
++ tr / ' '
+ for c in '`echo $p | tr '\''/'\'' '\'' '\''`'
+ '[' -d var ']'
+ cd var
+ for c in '`echo $p | tr '\''/'\'' '\'' '\''`'
+ '[' -d tmp ']'
+ cd tmp
+ for c in '`echo $p | tr '\''/'\'' '\'' '\''`'
+ '[' -d portage ']'
+ cd portage
+ for c in '`echo $p | tr '\''/'\'' '\'' '\''`'
+ '[' -d rsync-2.6.6 ']'
+ cd rsync-2.6.6
+ for c in '`echo $p | tr '\''/'\'' '\'' '\''`'
+ '[' -d work ']'
+ cd work
+ for c in '`echo $p | tr '\''/'\'' '\'' '\''`'
+ '[' -d rsync-2.6.6 ']'
+ cd rsync-2.6.6
+ for c in '`echo $p | tr '\''/'\'' '\'' '\''`'
+ '[' -d testtmp.itemize ']'
+ cd testtmp.itemize
+ for c in '`echo $p | tr '\''/'\'' '\'' '\''`'
+ '[' -d from ']'
+ mkdir from
+ cd from
+ for c in '`echo $p | tr '\''/'\'' '\'' '\''`'
+ '[' -d foo ']'
+ mkdir foo
+ cd foo
+ makepath
/var/tmp/portage/rsync-2.6.6/work/rsync-2.6.6/testtmp.itemize/from/bar/baz
+ echo '        makepath
/var/tmp/portage/rsync-2.6.6/work/rsync-2.6.6/testtmp.itemize/from/bar/baz'
        makepath
/var/tmp/portage/rsync-2.6.6/work/rsync-2.6.6/testtmp.itemize/from/bar/baz
+ p=/var/tmp/portage/rsync-2.6.6/work/rsync-2.6.6/testtmp.itemize/from/bar/baz
+ echo /var/tmp/portage/rsync-2.6.6/work/rsync-2.6.6/testtmp.itemize/from/bar/baz
+ grep '^/'
+ cd /
++ echo /var/tmp/portage/rsync-2.6.6/work/rsync-2.6.6/testtmp.itemize/from/bar/baz
++ tr / ' '
+ for c in '`echo $p | tr '\''/'\'' '\'' '\''`'
+ '[' -d var ']'
+ cd var
+ for c in '`echo $p | tr '\''/'\'' '\'' '\''`'
+ '[' -d tmp ']'
+ cd tmp
+ for c in '`echo $p | tr '\''/'\'' '\'' '\''`'
+ '[' -d portage ']'
+ cd portage
+ for c in '`echo $p | tr '\''/'\'' '\'' '\''`'
+ '[' -d rsync-2.6.6 ']'
+ cd rsync-2.6.6
+ for c in '`echo $p | tr '\''/'\'' '\'' '\''`'
+ '[' -d work ']'
+ cd work
+ for c in '`echo $p | tr '\''/'\'' '\'' '\''`'
+ '[' -d rsync-2.6.6 ']'
+ cd rsync-2.6.6
+ for c in '`echo $p | tr '\''/'\'' '\'' '\''`'
+ '[' -d testtmp.itemize ']'
+ cd testtmp.itemize
+ for c in '`echo $p | tr '\''/'\'' '\'' '\''`'
+ '[' -d from ']'
+ cd from
+ for c in '`echo $p | tr '\''/'\'' '\'' '\''`'
+ '[' -d bar ']'
+ mkdir bar
+ cd bar
+ for c in '`echo $p | tr '\''/'\'' '\'' '\''`'
+ '[' -d baz ']'
+ mkdir baz
+ cd baz
+ cp -p ./configure.in
/var/tmp/portage/rsync-2.6.6/work/rsync-2.6.6/testtmp.itemize/from/foo/config1
+ cp -p ./config.h.in
/var/tmp/portage/rsync-2.6.6/work/rsync-2.6.6/testtmp.itemize/from/foo/config2
+ cp -p ./rsync.h
/var/tmp/portage/rsync-2.6.6/work/rsync-2.6.6/testtmp.itemize/from/bar/baz/rsync
+ chmod 600
/var/tmp/portage/rsync-2.6.6/work/rsync-2.6.6/testtmp.itemize/from/foo/config1
/var/tmp/portage/rsync-2.6.6/work/rsync-2.6.6/testtmp.itemize/from/foo/config2
/var/tmp/portage/rsync-2.6.6/work/rsync-2.6.6/testtmp.itemize/from/bar/baz/rsync
+ umask 0
+ ln -s ../bar/baz/rsync
/var/tmp/portage/rsync-2.6.6/work/rsync-2.6.6/testtmp.itemize/from/foo/sym
+ umask 022
+ ln
/var/tmp/portage/rsync-2.6.6/work/rsync-2.6.6/testtmp.itemize/from/foo/config1
/var/tmp/portage/rsync-2.6.6/work/rsync-2.6.6/testtmp.itemize/from/foo/extra
+ /var/tmp/portage/rsync-2.6.6/work/rsync-2.6.6/rsync -iplr
/var/tmp/portage/rsync-2.6.6/work/rsync-2.6.6/testtmp.itemize/from/
/var/tmp/portage/rsync-2.6.6/work/rsync-2.6.6/testtmp.itemize/to/
+ tee /var/tmp/portage/rsync-2.6.6/work/rsync-2.6.6/testtmp.itemize/rsync.out
cd+++++++ bar/
cd+++++++ bar/baz/
>f+++++++ bar/baz/rsync
cd+++++++ foo/
>f+++++++ foo/config1
>f+++++++ foo/config2
>f+++++++ foo/extra
cL+++++++ foo/sym -> ../bar/baz/rsync
+ cat
+ diff -u
/var/tmp/portage/rsync-2.6.6/work/rsync-2.6.6/testtmp.itemize/rsync.chk
/var/tmp/portage/rsync-2.6.6/work/rsync-2.6.6/testtmp.itemize/rsync.out
+ /var/tmp/portage/rsync-2.6.6/work/rsync-2.6.6/rsync -a -f '-! */'
/var/tmp/portage/rsync-2.6.6/work/rsync-2.6.6/testtmp.itemize/from/
/var/tmp/portage/rsync-2.6.6/work/rsync-2.6.6/testtmp.itemize/to
+ cp -p ./configure.in
/var/tmp/portage/rsync-2.6.6/work/rsync-2.6.6/testtmp.itemize/from/foo/config2
+ chmod 601
/var/tmp/portage/rsync-2.6.6/work/rsync-2.6.6/testtmp.itemize/from/foo/config2
+ /var/tmp/portage/rsync-2.6.6/work/rsync-2.6.6/rsync -iplrH
/var/tmp/portage/rsync-2.6.6/work/rsync-2.6.6/testtmp.itemize/from/
/var/tmp/portage/rsync-2.6.6/work/rsync-2.6.6/testtmp.itemize/to/
+ tee /var/tmp/portage/rsync-2.6.6/work/rsync-2.6.6/testtmp.itemize/rsync.out
>f..T.... bar/baz/rsync
>f..T.... foo/config1
>f.sTp... foo/config2
hf..T.... foo/extra => foo/config1
+ cat
+ diff -u
/var/tmp/portage/rsync-2.6.6/work/rsync-2.6.6/testtmp.itemize/rsync.chk
/var/tmp/portage/rsync-2.6.6/work/rsync-2.6.6/testtmp.itemize/rsync.out
+ /var/tmp/portage/rsync-2.6.6/work/rsync-2.6.6/rsync -a -f '-! */'
/var/tmp/portage/rsync-2.6.6/work/rsync-2.6.6/testtmp.itemize/from/
/var/tmp/portage/rsync-2.6.6/work/rsync-2.6.6/testtmp.itemize/to
+ sleep 1
+ rm /var/tmp/portage/rsync-2.6.6/work/rsync-2.6.6/testtmp.itemize/to/foo/sym
+ umask 0
+ ln -s ../bar/baz
/var/tmp/portage/rsync-2.6.6/work/rsync-2.6.6/testtmp.itemize/to/foo/sym
+ umask 022
+ cp -p ./config.h.in
/var/tmp/portage/rsync-2.6.6/work/rsync-2.6.6/testtmp.itemize/from/foo/config2
+ chmod 600
/var/tmp/portage/rsync-2.6.6/work/rsync-2.6.6/testtmp.itemize/from/foo/config2
+ chmod 777
/var/tmp/portage/rsync-2.6.6/work/rsync-2.6.6/testtmp.itemize/to/bar/baz/rsync
+ /var/tmp/portage/rsync-2.6.6/work/rsync-2.6.6/rsync -iplrtc
/var/tmp/portage/rsync-2.6.6/work/rsync-2.6.6/testtmp.itemize/from/
/var/tmp/portage/rsync-2.6.6/work/rsync-2.6.6/testtmp.itemize/to/
+ tee /var/tmp/portage/rsync-2.6.6/work/rsync-2.6.6/testtmp.itemize/rsync.out
.f..tp... bar/baz/rsync
.d..t.... foo/
.f..t.... foo/config1
>fcstp... foo/config2
cL..T.... foo/sym -> ../bar/baz/rsync
+ cat
+ diff -u
/var/tmp/portage/rsync-2.6.6/work/rsync-2.6.6/testtmp.itemize/rsync.chk
/var/tmp/portage/rsync-2.6.6/work/rsync-2.6.6/testtmp.itemize/rsync.out
+ cp -p ./configure.in
/var/tmp/portage/rsync-2.6.6/work/rsync-2.6.6/testtmp.itemize/from/foo/config2
+ chmod 600
/var/tmp/portage/rsync-2.6.6/work/rsync-2.6.6/testtmp.itemize/from/foo/config2
+ /var/tmp/portage/rsync-2.6.6/work/rsync-2.6.6/rsync -vvplrH
/var/tmp/portage/rsync-2.6.6/work/rsync-2.6.6/testtmp.itemize/from/
/var/tmp/portage/rsync-2.6.6/work/rsync-2.6.6/testtmp.itemize/to/
+ tee /var/tmp/portage/rsync-2.6.6/work/rsync-2.6.6/testtmp.itemize/rsync.out
building file list ... 
done
delta-transmission disabled for local transfer or --whole-file
bar/baz/rsync
foo/config1
foo/config2
"foo/extra" is a hard link
foo/sym
total: matches=0  tag_hits=0  false_alarms=0 data=24421

sent 24701 bytes  received 91 bytes  49584.00 bytes/sec
total size is 96557  speedup is 3.89
+ filter_outfile
+ sed -e '/^building file list /d' -e '/^created directory /d' -e '/^done$/d' -e
'/ --whole-file$/d' -e '/^total: /d' -e '/^$/,$d'
+ mv /var/tmp/portage/rsync-2.6.6/work/rsync-2.6.6/testtmp.itemize/rsync.out.new
/var/tmp/portage/rsync-2.6.6/work/rsync-2.6.6/testtmp.itemize/rsync.out
+ cat
+ diff -u
/var/tmp/portage/rsync-2.6.6/work/rsync-2.6.6/testtmp.itemize/rsync.chk
/var/tmp/portage/rsync-2.6.6/work/rsync-2.6.6/testtmp.itemize/rsync.out
--- /var/tmp/portage/rsync-2.6.6/work/rsync-2.6.6/testtmp.itemize/rsync.chk    
2005-08-01 07:32:01.000000000 -0400
+++ /var/tmp/portage/rsync-2.6.6/work/rsync-2.6.6/testtmp.itemize/rsync.out    
2005-08-01 07:32:01.000000000 -0400
@@ -1,5 +1,5 @@
-bar/baz/rsync is uptodate
-foo/config1 is uptodate
+bar/baz/rsync
+foo/config1
 foo/config2
 "foo/extra" is a hard link
-foo/sym is uptodate
+foo/sym
+ test_fail 'test 4 failed'
+ echo 'test 4 failed'
test 4 failed
+ exit 1
----- itemize log ends
FAIL    itemize
PASS    longdir
PASS    merge
PASS    relative
SKIP    ssh-basic (Skipping SSH tests because $rsync_enable_ssh_tests is not set)
PASS    symlink-ignore
PASS    trimslash
PASS    unsafe-byname
PASS    unsafe-links
PASS    wildmatch
------------------------------------------------------------
----- overall results:
      26 passed
      1 failed
      1 skipped
------------------------------------------------------------
overall result is 1
make: *** [check] Error 1
Comment 1 Seemant Kulleen (RETIRED) gentoo-dev 2005-08-01 04:35:07 UTC
interestingly enough, with USE="-acl" the tests all pass just fine.

just so you know:

[ebuild   R   ] net-misc/rsync-2.6.6  +acl* -build -ipv6 -static
Comment 2 Sandro Bonazzola (RETIRED) gentoo-dev 2005-08-02 12:23:32 UTC
Same problem on pentium3/x86. It's not only an amd64 problem.
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2005-08-04 05:32:54 UTC
*** Bug 101318 has been marked as a duplicate of this bug. ***
Comment 4 Jakub Moc (RETIRED) gentoo-dev 2005-08-05 02:48:38 UTC
*** Bug 101412 has been marked as a duplicate of this bug. ***
Comment 5 Michael Cramer 2005-10-14 13:02:37 UTC
Created attachment 70685 [details, diff]
rsync-2.6.6-acl.patch

this patch (mentioned here:
http://www.mail-archive.com/rsync@lists.samba.org/msg14032.html ) should be
included after patching rsync with the acl patch. including these line "epatch
${FILESDIR}/${P}-acl.patch" after "epatch patches/acls.diff", so that maketest
doesn't fail. tested on my machine and it doesn't fail anymore.
Comment 6 SpanKY gentoo-dev 2005-10-15 20:48:58 UTC
that fixes the test failure for me too

was looking to also add support for xattr to the next rsync, but the xattr patch
also triggers a test failure so i'm gonna see if i can get that resolved quickly
and include both in 2.6.6-r1
Comment 7 Michael Cramer 2005-10-16 12:03:53 UTC
Created attachment 70804 [details, diff]
rsync-2.6.6-xattr.patch

these one should fix the test case for both included patches (acl and xattr).
rsync still works, but i can not verify if it works with both in real world
cases. perhaps someone can test it, who has more experience in acl and xattr
stuff. these patch should be included in ebuild after the included xattr.diff.
Comment 8 SpanKY gentoo-dev 2005-10-16 16:58:23 UTC
thanks, fixed upstream and 2.6.6-r1 now in portage
Comment 9 Sandro Bonazzola (RETIRED) gentoo-dev 2005-10-20 04:12:33 UTC
Verified, works fine for me.