GNOME Bugzilla – Bug 396751
fix for libxml2 xstc testsuite with newer tar versions
Last modified: 2007-06-12 12:25:10 UTC
Please describe the problem: tar-1.15.91 changed behaviour to not supporting shell-style globbing on the commandline by default. however, the libxml2 xstc testsuite depends on this. this patch passes the --wildcards option to tar to restore default behaviour. this option has been supported since tar-1.13.20 which was released 2001-08-27. Steps to reproduce: 1. ./configure 2. make 3. make test Actual results: make[3]: Entering directory `/var/tmp/portage/dev-libs/libxml2-2.6.27/work/libxml2-2.6.27/xstc' extracting test data (NIST).../bin/tar: Pattern matching characters used in file names. Please, /bin/tar: use --wildcards to enable pattern matching, or --no-wildcards to /bin/tar: suppress this warning. /bin/tar: */Datatypes: Not found in archive /bin/tar: Pattern matching characters used in file names. Please, /bin/tar: use --wildcards to enable pattern matching, or --no-wildcards to /bin/tar: suppress this warning. /bin/tar: */Metadata/NISTXMLSchemaDatatypes.testSet: Not found in archive /bin/tar: Error exit delayed from previous errors done extracting test data (Sun, Microsoft).../bin/tar: Pattern matching characters used in file names. Please, /bin/tar: use --wildcards to enable pattern matching, or --no-wildcards to /bin/tar: suppress this warning. /bin/tar: */suntest: Not found in archive /bin/tar: Pattern matching characters used in file names. Please, /bin/tar: use --wildcards to enable pattern matching, or --no-wildcards to /bin/tar: suppress this warning. /bin/tar: */msxsdtest: Not found in archive /bin/tar: Pattern matching characters used in file names. Please, /bin/tar: use --wildcards to enable pattern matching, or --no-wildcards to /bin/tar: suppress this warning. /bin/tar: */MSXMLSchema1-0-20020116.testSet: Not found in archive /bin/tar: Pattern matching characters used in file names. Please, /bin/tar: use --wildcards to enable pattern matching, or --no-wildcards to /bin/tar: suppress this warning. /bin/tar: */SunXMLSchema1-0-20020116.testSet: Not found in archive /bin/tar: Error exit delayed from previous errors mv: cannot stat `Tests/xmlschema2002-01-16/*': No such file or directory mv: cannot stat `Tests/*.testSet': No such file or directory rm: cannot remove `Tests/xmlschema2002-01-16': No such file or directory done [...] Expected results: Does this happen every time? Other information:
Created attachment 80291 [details] [review] libxml2-2.6.27-testsuite.patch
Okay looks sensible, applied in SVN, thanks, Daniel