I've now also tested 1.14.2+ds1-1 which finally landed in -proposed (the
1.14.0+ds1-1 build failed because of an alignment issue on ARM that was
subsequently fixed).

The package is looking good (transcript of testing below).

root@f0b7772b23f5:/usr/share/doc/libblosc-dev/examples# apt-cache policy 
libblosc*
libblosc-dev:
  Installed: 1.14.2+ds1-1
  Candidate: 1.14.2+ds1-1
  Version table:
 *** 1.14.2+ds1-1 500
        500 http://archive.ubuntu.com/ubuntu bionic-proposed/universe amd64 
Packages
        100 /var/lib/dpkg/status
     1.11.1+ds2-3 500
        500 http://archive.ubuntu.com/ubuntu bionic/universe amd64 Packages
libblosc1:
  Installed: 1.14.2+ds1-1
  Candidate: 1.14.2+ds1-1
  Version table:
 *** 1.14.2+ds1-1 500
        500 http://archive.ubuntu.com/ubuntu bionic-proposed/universe amd64 
Packages
        100 /var/lib/dpkg/status
     1.11.1+ds2-3 500
        500 http://archive.ubuntu.com/ubuntu bionic/universe amd64 Packages
root@f0b7772b23f5:/usr/share/doc/libblosc-dev/examples# for f in 
many_compressors.c multithread.c noinit.c simple.c; do gcc -o $f.out $f -lblosc 
&& ./$f.out; done
Blosc version info: 1.14.2 ($Date:: 2018-03-16 #$)
Using 4 threads (previously using 1)
Using blosclz compressor
Compression: 4000000 -> 41384 (96.7x)
Succesful roundtrip!
Using lz4 compressor
Compression: 4000000 -> 51510 (77.7x)
Succesful roundtrip!
Using lz4hc compressor
Compression: 4000000 -> 38314 (104.4x)
Succesful roundtrip!
Using snappy compressor
Compression: 4000000 -> 208526 (19.2x)
Succesful roundtrip!
Using zlib compressor
Compression: 4000000 -> 22103 (181.0x)
Succesful roundtrip!
Using zstd compressor
Compression: 4000000 -> 10908 (366.7x)
Succesful roundtrip!
Blosc version info: 1.14.2 ($Date:: 2018-03-16 #$)
Using 1 threads (previously using 1)
Compression: 4000000 -> 41384 (96.7x)
Succesful roundtrip!
Using 2 threads (previously using 1)
Compression: 4000000 -> 41384 (96.7x)
Succesful roundtrip!
Using 3 threads (previously using 2)
Compression: 4000000 -> 41384 (96.7x)
Succesful roundtrip!
Using 4 threads (previously using 3)
Compression: 4000000 -> 41384 (96.7x)
Succesful roundtrip!
Blosc version info: 1.14.2 ($Date:: 2018-03-16 #$)
Compression: 4000000 -> 41384 (96.7x)
Decompression succesful!
Succesful roundtrip!
Blosc version info: 1.14.2 ($Date:: 2018-03-16 #$)
Compression: 4000000 -> 41384 (96.7x)
Decompression succesful!
Succesful roundtrip!


And also with regard to the original format incompatibility bug that prompted 
this report:


root@f0b7772b23f5:/usr/share/doc/libblosc-dev/examples# gcc -o test test.c 
-lblosc
root@f0b7772b23f5:/usr/share/doc/libblosc-dev/examples# ./test compress lz4 
test.blosc
Blosc version info: 1.14.2 ($Date:: 2018-03-16 #$)
Compression: 4000000 -> 51420 (77.8x)
Wrote test.blosc
root@f0b7772b23f5:/usr/share/doc/libblosc-dev/examples# exit
exit
[estan@newton insight (improve-loading $%>)]$ cd
[estan@newton ~]$ docker cp 
f0b7772b23f5:/usr/share/doc/libblosc-dev/examples/test.c .
[estan@newton ~]$ docker cp 
f0b7772b23f5:/usr/share/doc/libblosc-dev/examples/test.blosc .
[estan@newton ~]$ gcc -o test test.c -lblosc
[estan@newton ~]$ ./test decompress lz4 test.blosc
Blosc version info: 1.7.0 ($Date:: 2015-07-05 #$)
Read test.blosc
Decompression succesful!
[estan@newton ~]$

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1755380

Title:
  [FFe] Please sync c-blosc 1.14.0+ds1-1 from debian unstable to bionic
  (1.11.1 has format incompat bug!)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/c-blosc/+bug/1755380/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to