package/cryptsetup: disable package if we build for Microblaze
PATCH 1/1 package/cryptsetup: disable package if we build for Microblaze
cryptsetup has the same build failure found for libfuse. For libfuse I've patched meson that now correctly checks if symver is available:
https://github.com/libfuse/libfuse/pull/620/commits/3aba09a5c56e017746c5c1652dbc845f4db7374a
But in cryptsetup the check is done in a header file while building, so I can't use the same approach and that would take not few work to move the check to Autotools, so I've opened an issue on cryptsetup's gitlab:
https://gitlab.com/cryptsetup/cryptsetup/-/issues/709
asking if they can manage it the way I've done for libfuse.
So let's disable cryptsetup if we're building on Microblaze for the moment and when the issue will be fixed upstream, I will bump the version and re-enable building for Microblaze.
Fixes:
http://autobuild.buildroot.net/results/86b/86b6b13e6be8375875caebcd91de91fef83f72e8/
--- package/cryptsetup/Config.in | 1 + package/libblockdev/Config.in | 1 + package/luksmeta/Config.in | 1 + package/systemd/Config.in | 1 + package/udisks/Config.in | 1 + 5 files changed, 5 insertions(+)
package/cryptsetup/Config.in +1 -0
@@ -1,6 +1,7 @@ config BR2_PACKAGE_CRYPTSETUP bool "cryptsetup" depends on BR2_TOOLCHAIN_HAS_THREADS # lvm2 + depends on !BR2_microblaze # wrong symver detection depends on BR2_USE_MMU # lvm2, libargon2 depends on !BR2_STATIC_LIBS # lvm2, libargon2 depends on BR2_TOOLCHAIN_HAS_SYNC_4 # json-c
package/libblockdev/Config.in +1 -0
@@ -23,6 +23,7 @@ comment "plugins" config BR2_PACKAGE_LIBBLOCKDEV_CRYPTO bool "crypto" depends on BR2_TOOLCHAIN_HAS_SYNC_4 # cryptsetup -> json-c + depends on !BR2_microblaze # cryptsetup select BR2_PACKAGE_CRYPTSETUP config BR2_PACKAGE_LIBBLOCKDEV_FS
package/luksmeta/Config.in +1 -0
@@ -1,6 +1,7 @@ config BR2_PACKAGE_LUKSMETA bool "luksmeta" depends on BR2_TOOLCHAIN_HAS_THREADS # cryptsetup -> lvm2 + depends on !BR2_microblaze # cryptsetup depends on BR2_USE_MMU # cryptsetup -> lvm2 depends on !BR2_STATIC_LIBS # cryptsetup -> lvm2 depends on BR2_TOOLCHAIN_HAS_SYNC_4 # cryptsetup -> json-c
package/systemd/Config.in +1 -0
@@ -228,6 +228,7 @@ config BR2_PACKAGE_SYSTEMD_HIBERNATE config BR2_PACKAGE_SYSTEMD_HOMED bool "enable home daemon" depends on BR2_TOOLCHAIN_HAS_THREADS # cryptsetup -> lvm2 + depends on !BR2_microblaze # cryptsetup depends on BR2_USE_MMU # cryptsetup -> lvm2 depends on !BR2_STATIC_LIBS # cryptsetup -> lvm2 depends on BR2_TOOLCHAIN_HAS_SYNC_4 # cryptsetup -> json-c
package/udisks/Config.in +1 -0
@@ -6,6 +6,7 @@ config BR2_PACKAGE_UDISKS depends on BR2_TOOLCHAIN_HAS_THREADS # polkit depends on BR2_USE_WCHAR # dbus-glib -> glib2 depends on BR2_TOOLCHAIN_HAS_SYNC_4 # libblockdev -> cryptsetup -> json-c + depends on !BR2_microblaze # cryptsetup depends on !BR2_STATIC_LIBS # polkit -> duktape select BR2_PACKAGE_DBUS select BR2_PACKAGE_DBUS_GLIB
Signature · 6 lines
2.25.1 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
Hi All,
please drop this patch since upstream is very reactive and they’re working for fixing.
I’ll send a patch soon for fixing instead than disabling.
Best regards
Giulio Benetti
Quoted 90 lines
Il giorno 1 feb 2022, alle ore 18:19, Giulio Benetti <[email protected]> ha scritto:
cryptsetup has the same build failure found for libfuse. For libfuse I've patched meson that now correctly checks if symver is available:
https://github.com/libfuse/libfuse/pull/620/commits/3aba09a5c56e017746c5c1652dbc845f4db7374a
But in cryptsetup the check is done in a header file while building, so I can't use the same approach and that would take not few work to move the check to Autotools, so I've opened an issue on cryptsetup's gitlab:
https://gitlab.com/cryptsetup/cryptsetup/-/issues/709
asking if they can manage it the way I've done for libfuse.So let's disable cryptsetup if we're building on Microblaze for the moment and when the issue will be fixed upstream, I will bump the version and re-enable building for Microblaze.
Fixes:
http://autobuild.buildroot.net/results/86b/86b6b13e6be8375875caebcd91de91fef83f72e8/Signed-off-by Giulio Benetti <[email protected]>---
package/cryptsetup/Config.in | 1 + package/libblockdev/Config.in | 1 + package/luksmeta/Config.in | 1 + package/systemd/Config.in | 1 + package/udisks/Config.in | 1 + 5 files changed, 5 insertions(+)package/cryptsetup/Config.in +0
-0@@ -1,6 +1,7 @@config
BR2_PACKAGE_CRYPTSETUP
bool "cryptsetup"
depends onBR2_TOOLCHAIN_HAS_THREADS# lvm2package/cryptsetup/Config.in +1
-0+ depends on !BR2_microblaze # wrong symver detection depends on BR2_USE_MMU # lvm2, libargon2 depends on !BR2_STATIC_LIBS # lvm2, libargon2 depends on BR2_TOOLCHAIN_HAS_SYNC_4 # json-cpackage/libblockdev/Config.in +0
-0@@ -23,6 +23,7 @@ comment "plugins"config
BR2_PACKAGE_LIBBLOCKDEV_CRYPTO
bool "crypto"
depends onBR2_TOOLCHAIN_HAS_SYNC_4# cryptsetup -> json-c
+ depends on !BR2_microblaze # cryptsetup
selectBR2_PACKAGE_CRYPTSETUPconfig
BR2_PACKAGE_LIBBLOCKDEV_FSpackage/luksmeta/Config.in +0
-0@@ -1,6 +1,7 @@config
BR2_PACKAGE_LUKSMETA
bool "luksmeta"
depends onBR2_TOOLCHAIN_HAS_THREADS# cryptsetup -> lvm2package/luksmeta/Config.in +1
-0+ depends on !BR2_microblaze # cryptsetup depends on BR2_USE_MMU # cryptsetup -> lvm2 depends on !BR2_STATIC_LIBS # cryptsetup -> lvm2 depends on BR2_TOOLCHAIN_HAS_SYNC_4 # cryptsetup -> json-cpackage/systemd/Config.in +0
-0@@ -228,6 +228,7 @@ config BR2_PACKAGE_SYSTEMD_HIBERNATEconfig
BR2_PACKAGE_SYSTEMD_HOMED
bool "enable home daemon"
depends onBR2_TOOLCHAIN_HAS_THREADS# cryptsetup -> lvm2package/systemd/Config.in +1
-0+ depends on !BR2_microblaze # cryptsetup depends on BR2_USE_MMU # cryptsetup -> lvm2 depends on !BR2_STATIC_LIBS # cryptsetup -> lvm2 depends on BR2_TOOLCHAIN_HAS_SYNC_4 # cryptsetup -> json-cpackage/udisks/Config.in +1
-0@@ -6,6 +6,7 @@ config BR2_PACKAGE_UDISKS depends on BR2_TOOLCHAIN_HAS_THREADS # polkit depends on BR2_USE_WCHAR # dbus-glib -> glib2 depends on BR2_TOOLCHAIN_HAS_SYNC_4 # libblockdev -> cryptsetup -> json-c + depends on !BR2_microblaze # cryptsetup depends on !BR2_STATIC_LIBS # polkit -> duktape select BR2_PACKAGE_DBUS select BR2_PACKAGE_DBUS_GLIBSignature · 1 line
2.25.1
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot