pombreda / libarchive

Automatically exported from code.google.com/p/libarchive
Other
0 stars 0 forks source link

Failed tests for xz and lzma with xz 5.0.3 #171

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
Run the testsuite compiled against xz 5.0.3 on Solaris 9 Sparc with Sun Studio 
12.

What is the expected output? What do you see instead?
Failed tests:
unstable9s% more /tmp/libarchive_test.2011-08-22T13.35.59-000/*.log     
::::::::::::::
/tmp/libarchive_test.2011-08-22T13.35.59-000/test_write_compress_lzma.log
::::::::::::::
test_write_compress_lzma

libarchive/test/test_write_compress_lzma.c:191: Assertion failed: used2 > used1
   Description: Compression-level=0 wrote 689 bytes; default wrote 759 bytes
::::::::::::::
/tmp/libarchive_test.2011-08-22T13.35.59-000/test_write_compress_xz.log
::::::::::::::
test_write_compress_xz

libarchive/test/test_write_compress_xz.c:199: Assertion failed: used2 > used1
   Description: Compression-level=0 wrote 736 bytes; default wrote 804 bytes

What version are you using?
libarchive 2.8.4, xz 5.0.3

On what operating system?
Solaris 9 Sparc

How did you build?  (cmake, configure, or pre-packaged binary)
configure, current build options are a bit convoluted due to defaults from 
build system:
prefix="/opt/csw" exec_prefix="/opt/csw" bindir="/opt/csw/bin" 
sbindir="/opt/csw/sbin" libexecdir="/opt/csw/libexec" datadir="/opt/csw/share" 
sysconfdir="/etc/opt/csw" sharedstatedir="/opt/csw/share" 
localstatedir="/var/opt/csw" libdir="/opt/csw/lib" 
infodir="/opt/csw/share/info" lispdir="/opt/csw/share/emacs/site-lisp" 
includedir="/opt/csw/include" mandir="/opt/csw/share/man" 
docdir="/opt/csw/share/doc" sourcedir="/opt/csw/src" 
CPPFLAGS="-I/opt/csw/include/cryptopp -I/opt/csw/include" CFLAGS="-xO3 -m32 
-xarch=v8" CXXFLAGS="-xO3 -m32 -xarch=v8" LDFLAGS="-m32 -xarch=v8 
-L/opt/csw/lib" FFLAGS="-xO3 -m32 -xarch=v8" FCFLAGS="-xO3 -m32 -xarch=v8" 
ASFLAGS="" OPTFLAGS="-xO3 -m32 -xarch=v8" CC="/opt/SUNWspro/bin/cc" 
CXX="/opt/SUNWspro/bin/CC" CC_HOME="/opt/SUNWspro" CC_VERSION="Sun C 5.9 
SunOS_sparc Patch 124867-16 2010/08/11" CXX_VERSION="Sun C++ 5.9 SunOS_sparc 
Patch 124863-26 2010/10/14" GARCH="sparc" GAROSREL="5.9" GARPACKAGE="trunk" 
LD_OPTIONS="-R/opt/csw/lib/\$ISALIST -R/opt/csw/lib" 
PKG_CONFIG_PATH="/opt/csw/lib/pkgconfig" 
DESTDIR="/home/dam/mgar/pkg/libarchive/trunk/work/solaris9-sparc/install-isa-spa
rcv8" 
/home/dam/mgar/pkg/libarchive/trunk/work/solaris9-sparc/build-isa-sparcv8/libarc
hive-2.8.4/configure --prefix=/opt/csw --exec_prefix=/opt/csw 
--bindir=/opt/csw/bin --sbindir=/opt/csw/sbin --libexecdir=/opt/csw/libexec 
--datadir=/opt/csw/share --sysconfdir=/etc/opt/csw 
--sharedstatedir=/opt/csw/share --localstatedir=/var/opt/csw 
--libdir=/opt/csw/lib --infodir=/opt/csw/share/info 
--includedir=/opt/csw/include --mandir=/opt/csw/share/man

What compiler or development environment (please include version)?
Sun Studio 12

Please provide any additional information below.
I can provice an account on the buildfarm equipped with Solaris if necessary.

Original issue reported on code.google.com by honkma...@googlemail.com on 22 Aug 2011 at 11:43

GoogleCodeExporter commented 9 years ago
Thanks for the report.  This is an error with the test that has already been 
fixed.  The fix will be in the next release.

Please let us know if you find any other problems!

Original comment by kientzle@gmail.com on 23 Aug 2011 at 5:03