Package Details: zectl 0.1.6-1

Git Clone URL: https://aur.archlinux.org/zectl.git (read-only, click to copy)
Package Base: zectl
Description: ZFS Boot Environment manager.
Upstream URL: http://github.com/johnramsden/zectl
Keywords: zfs
Licenses: MIT
Conflicts: zectl-git
Provides: zectl
Submitter: johnramsden
Maintainer: johnramsden
Last Packager: johnramsden
Votes: 3
Popularity: 0.177333
First Submitted: 2020-03-18 21:01 (UTC)
Last Updated: 2025-02-03 04:24 (UTC)

Latest Comments

1 2 Next › Last »

jjb2016 commented on 2025-12-21 17:21 (UTC) (edited on 2026-01-05 19:28 (UTC) by jjb2016)

There seems to be an issue with zectl after upgrading ZFS to 2.4.0. When I run zectl commands, like zectl list or zectl create ... I get the following error ... zectl: error while loading shared libraries: libzpool.so.6: cannot open shared object file: No such file or directory I have zectl 0.1.6-1 installed.

UPDATE 05-01-26: issue resolved by running ...

sudo ldconfig

yay -Sy zectl

johnramsden commented on 2024-06-07 17:36 (UTC)

Sorry I forgot to add scdoc when I bumped the version. It should work now.

ModYokosuka commented on 2024-06-07 14:46 (UTC)

Makedepends needs scdoc added. The new 0.1.4 version got my change related to building the manpage from source.

woodsb02 commented on 2024-06-05 23:12 (UTC)

Thanks ModYokosuka and johnramsden!

johnramsden commented on 2024-06-05 20:24 (UTC)

@woodsb02 Fixed in 0.1.4

ModYokosuka commented on 2024-06-05 16:12 (UTC)

So there is a patch for this in upstream. It just hasn't made it into a release yet. It is on master.

woodsb02 commented on 2024-06-05 15:12 (UTC) (edited on 2024-06-05 15:15 (UTC) by woodsb02)

This build is now failing for me with the following error:

zectl/src/zectl-0.1.3/lib/libze/libze.c:596:35: error: passing argument 2 of ‘nvpair_value_string’ from incompatible pointer type [-Wincompatible-pointer-types]
...
/usr/include/libzfs/sys/nvpair.h:291:57: note: expected ‘const char **’ but argument is of type ‘char **’

I found that adding -fpermissive to CFLAGS in the PKGBUILD fixed this:

diff --git a/PKGBUILD b/PKGBUILD
index 8584809..2925d0d 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -20,7 +20,7 @@ sha256sums=('e84976325317194707f6d0beddedddc3e7e6e830f4a2d8d09065756f768ede0c')

 build() {
     cd "${srcdir}/${pkgname}-${pkgver}"
-    CFLAGS+=" -fmacro-prefix-map=$PWD/=" cmake -DCMAKE_INSTALL_PREFIX=/usr \
+    CFLAGS+=" -fpermissive -fmacro-prefix-map=$PWD/=" cmake -DCMAKE_INSTALL_PREFIX=/usr \
         -DPLUGINS_DIRECTORY=/usr/share/zectl/libze_plugin .
     make VERBOSE=1
 }

johnramsden commented on 2020-07-22 03:08 (UTC)

Thanks @dedeaux, looks like the library has been completely removed now and is no longer needed. I've added a patch which removes it.