Package Details: zectl 0.1.5-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: 2
Popularity: 0.000000
First Submitted: 2020-03-18 21:01 (UTC)
Last Updated: 2024-06-09 05:19 (UTC)

Latest Comments

1 2 Next › Last »

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.

dedeaux commented on 2020-07-21 01:27 (UTC)

This isn’t compiling for me. Fresh install, zfs root. Kernel 5.7.9-arch1-1, zfs 0.8.4 (dkms).

CMake error - could not find LIBSPL_LIB; but it lists that it sees include directories for zfs and libspl