unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
* bug#49795: zchunk: zstd path
@ 2021-07-31 19:26 Christopher Howard
  2021-08-03 18:34 ` Maxim Cournoyer
  0 siblings, 1 reply; 2+ messages in thread
From: Christopher Howard @ 2021-07-31 19:26 UTC (permalink / raw)
  To: 49795

Hello, I have been experimenting with the new package zchunk. zchunk
comes with a utility zck_gen_zdict, which utilizes the zstd program.
zstd is a propogated input of zck_gen_zdict, but it appears that
zck_gen_zdict hardcodes zstd to /usr/bin:

```
christopher@theoden ~/Scratch$ zck_gen_zdict clonezilla-live-2.6.7-28-
amd64.iso.zck 
Unable to find /usr/bin/zstd
Error generating dict
```

My system information:

```
christopher@theoden ~/Scratch$ neofetch --stdout
christopher@theoden 
------------------- 
OS: Guix System 94ece4f8f7c80133d759d302b11351b69919209c x86_64 
Host: OptiPlex 9020 00 
Kernel: 5.13.6-gnu 
Uptime: 1 hour, 28 mins 
Packages: 94 (guix-system), 107 (guix-user) 
Shell: bash 5.0.16 
Resolution: 1920x1080 
DE: GNOME 
Theme: Adwaita [GTK2/3] 
Icons: Adwaita [GTK2/3] 
Terminal: .gnome-terminal 
CPU: Intel i5-4570 (4) @ 3.600GHz 
GPU: Intel HD Graphics 
GPU: AMD ATI Radeon HD 8490 / R5 235X OEM 
Memory: 2232MiB / 7869MiB 
```

-- 
Christopher Howard
Gemini capsule: gemini://gem.librehacker.com
Gemini browser: https://git.skyjake.fi/gemini/lagrange/releases
Web viewer: https://proxy.vulpes.one/gemini/gem.librehacker.com






^ permalink raw reply	[flat|nested] 2+ messages in thread

* bug#49795: zchunk: zstd path
  2021-07-31 19:26 bug#49795: zchunk: zstd path Christopher Howard
@ 2021-08-03 18:34 ` Maxim Cournoyer
  0 siblings, 0 replies; 2+ messages in thread
From: Maxim Cournoyer @ 2021-08-03 18:34 UTC (permalink / raw)
  To: Christopher Howard; +Cc: 49795-done

Hi,

Christopher Howard <christopher@librehacker.com> writes:

> Hello, I have been experimenting with the new package zchunk. zchunk
> comes with a utility zck_gen_zdict, which utilizes the zstd program.
> zstd is a propogated input of zck_gen_zdict, but it appears that
> zck_gen_zdict hardcodes zstd to /usr/bin:
>
> ```
> christopher@theoden ~/Scratch$ zck_gen_zdict clonezilla-live-2.6.7-28-
> amd64.iso.zck 
> Unable to find /usr/bin/zstd
> Error generating dict
> ```

Fixed with commit 448de3966e:

--8<---------------cut here---------------start------------->8---
$ zck_gen_zdict netinst.iso.zck 
Trying 5 different sets of parameters                                          
k=1998                                                                         
d=8
f=20
steps=4
split=75
accel=1
Save dictionary of size 112640 into file netinst.iso.zdict
--8<---------------cut here---------------end--------------->8---

Thanks for the tests!

Closing.

Maxim




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-08-03 18:41 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-07-31 19:26 bug#49795: zchunk: zstd path Christopher Howard
2021-08-03 18:34 ` Maxim Cournoyer

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).