Bug 1216790 - Enable zstd and parallel compression in libdar
Summary: Enable zstd and parallel compression in libdar
Status: RESOLVED FIXED
Alias: None
Product: openSUSE Tumbleweed
Classification: openSUSE
Component: Other (show other bugs)
Version: Current
Hardware: Other Other
: P5 - None : Enhancement with 1 vote (vote)
Target Milestone: ---
Assignee: Andreas Stieger
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-11-01 14:06 UTC by Tristan Miller
Modified: 2023-11-03 07:35 UTC (History)
1 user (show)

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tristan Miller 2023-11-01 14:06:28 UTC
Since version 2.7.0, dar has supported parallel encryption and compression with its -G command-line option, as well as zstd compression using the --compression=zstd command-line option.

However, the version of (lib)dar packaged by openSUSE Tumbleweed has these two features disabled:

$ dar --version

 dar version 2.7.12, Copyright (C) 2002-2023 Denis Corbin
   Long options support         : YES

 Using libdar 6.7.0 built with compilation time options:
   gzip compression (libz)      : YES
   bzip2 compression (libbzip2) : YES
   lzo compression (liblzo2)    : YES
   xz compression (liblzma)     : YES
   zstd compression (libzstd)   : NO
   lz4 compression (liblz4)     : NO
   [...]
   Multiple threads (libthreads): NO 

Have these two features been disabled intentionally?  If not, could the package please be updated so that these two features are enabled?
Comment 1 Andreas Stieger 2023-11-01 20:33:24 UTC
libthreadar: https://build.opensuse.org/request/show/1121704
dar: https://build.opensuse.org/request/show/1121706

[   29s]    Liblzstd compression (zstd): YES
[   29s]    Liblz4 compression (lz4)   : YES
[...]
[   29s]    can uses multiple threads  : YES (+ barrier implementations for MAC OS)


$ dar --version
[...]
   zstd compression (libzstd)   : YES
   lz4 compression (liblz4)     : YES
[...]
   Multiple threads (libthreads): YES (1.4.0 - barrier using pthread_barrier_t)
[...]
Comment 2 Andreas Stieger 2023-11-01 20:38:38 UTC
https://build.opensuse.org/request/show/1121708
Comment 3 OBSbugzilla Bot 2023-11-01 21:35:01 UTC
This is an autogenerated message for OBS integration:
This bug (1216790) was mentioned in
https://build.opensuse.org/request/show/1121711 Factory / libthreadar
Comment 4 OBSbugzilla Bot 2023-11-01 23:35:01 UTC
This is an autogenerated message for OBS integration:
This bug (1216790) was mentioned in
https://build.opensuse.org/request/show/1121715 Factory / libthreadar
Comment 5 Andreas Stieger 2023-11-02 07:32:53 UTC
https://build.opensuse.org/request/show/1121956
Comment 6 OBSbugzilla Bot 2023-11-03 07:35:02 UTC
This is an autogenerated message for OBS integration:
This bug (1216790) was mentioned in
https://build.opensuse.org/request/show/1122995 Backports:SLE-15-SP6 / libthreadar
https://build.opensuse.org/request/show/1122996 Backports:SLE-15-SP6 / dar