* [Buildroot] [PATCH 1/4] package/qemu: disable libssh for the host variant
@ 2020-04-06 14:21 Romain Naour
2020-04-06 14:21 ` [Buildroot] [PATCH 2/4] package/qemu: disable vnc optional support " Romain Naour
` (3 more replies)
0 siblings, 4 replies; 5+ messages in thread
From: Romain Naour @ 2020-04-06 14:21 UTC (permalink / raw)
To: buildroot
There is no host-libssh in Buildroot, avoid qemu build system
to find libssh from the host.
Under certain circumstances (host distribution, openssl version), the
qemu-system binary fail to start:
host/bin/qemu-system-aarch64: symbol lookup error: /lib64/libssh.so.4: undefined symbol: EVP_KDF_ctrl, version OPENSSL_1_1_1b
$ ldd output/host/bin/qemu-system-aarch64
[...]
libssh.so.4 => /lib64/libssh.so.4
Explicitely disable libssh for the host variant.
Signed-off-by: Romain Naour <romain.naour@gmail.com>
---
package/qemu/qemu.mk | 1 +
1 file changed, 1 insertion(+)
diff --git a/package/qemu/qemu.mk b/package/qemu/qemu.mk
index b2249ed4ee..3c3b098a5b 100644
--- a/package/qemu/qemu.mk
+++ b/package/qemu/qemu.mk
@@ -303,6 +303,7 @@ define HOST_QEMU_CONFIGURE_CMDS
--extra-cflags="$(HOST_QEMU_CFLAGS)" \
--extra-ldflags="$(HOST_LDFLAGS)" \
--python=$(HOST_DIR)/bin/python3 \
+ --disable-libssh \
$(HOST_QEMU_OPTS)
endef
--
2.25.1
^ permalink raw reply related [flat|nested] 5+ messages in thread
* [Buildroot] [PATCH 2/4] package/qemu: disable vnc optional support for the host variant
2020-04-06 14:21 [Buildroot] [PATCH 1/4] package/qemu: disable libssh for the host variant Romain Naour
@ 2020-04-06 14:21 ` Romain Naour
2020-04-06 14:21 ` [Buildroot] [PATCH 3/4] package/qemu: disable bzip2 " Romain Naour
` (2 subsequent siblings)
3 siblings, 0 replies; 5+ messages in thread
From: Romain Naour @ 2020-04-06 14:21 UTC (permalink / raw)
To: buildroot
The vnc support is enabled by default and the build system
will try to detect automatically some external libraries
installed on the host for vnc-png, vnc-jpeg and vnc-sasl.
$ ldd output/host/bin/qemu-system-aarch64
[...]
libpng16.so.16 => /lib64/libpng16.so.16
or
libpng16.so.16 => output/host/lib/libpng16.so.16
if host-libpng is built before host-qemu.
Disable explicitely thoses options to improve the build
reproducibility.
Signed-off-by: Romain Naour <romain.naour@gmail.com>
---
package/qemu/qemu.mk | 3 +++
1 file changed, 3 insertions(+)
diff --git a/package/qemu/qemu.mk b/package/qemu/qemu.mk
index 3c3b098a5b..b8904ffe18 100644
--- a/package/qemu/qemu.mk
+++ b/package/qemu/qemu.mk
@@ -304,6 +304,9 @@ define HOST_QEMU_CONFIGURE_CMDS
--extra-ldflags="$(HOST_LDFLAGS)" \
--python=$(HOST_DIR)/bin/python3 \
--disable-libssh \
+ --disable-vnc-jpeg \
+ --disable-vnc-png \
+ --disable-vnc-sasl \
$(HOST_QEMU_OPTS)
endef
--
2.25.1
^ permalink raw reply related [flat|nested] 5+ messages in thread
* [Buildroot] [PATCH 3/4] package/qemu: disable bzip2 for the host variant
2020-04-06 14:21 [Buildroot] [PATCH 1/4] package/qemu: disable libssh for the host variant Romain Naour
2020-04-06 14:21 ` [Buildroot] [PATCH 2/4] package/qemu: disable vnc optional support " Romain Naour
@ 2020-04-06 14:21 ` Romain Naour
2020-04-06 14:21 ` [Buildroot] [PATCH 4/4] package/qemu: disable SDL2 " Romain Naour
2020-04-06 18:20 ` [Buildroot] [PATCH 1/4] package/qemu: disable libssh " Yann E. MORIN
3 siblings, 0 replies; 5+ messages in thread
From: Romain Naour @ 2020-04-06 14:21 UTC (permalink / raw)
To: buildroot
bzip2 support is needed for reading bzip2-compressed dmg images.
But the host-bzip2 is missing from host qemu package dependency,
so the qemu build system will try to detect automatically the
external libbzip2 libraries installed on the host.
$ ldd output/host/bin/qemu-system-aarch64
[...]
libbz2.so.1 => /lib64/libbz2.so.1
or
libbz2.so.1.0 => output/host/lib/libbz2.so.1.0
if host-bzip2 is built before host-qemu.
Disable explicitely bzip2 options to improve the build
reproducibility.
Signed-off-by: Romain Naour <romain.naour@gmail.com>
---
package/qemu/qemu.mk | 1 +
1 file changed, 1 insertion(+)
diff --git a/package/qemu/qemu.mk b/package/qemu/qemu.mk
index b8904ffe18..06841a56d0 100644
--- a/package/qemu/qemu.mk
+++ b/package/qemu/qemu.mk
@@ -303,6 +303,7 @@ define HOST_QEMU_CONFIGURE_CMDS
--extra-cflags="$(HOST_QEMU_CFLAGS)" \
--extra-ldflags="$(HOST_LDFLAGS)" \
--python=$(HOST_DIR)/bin/python3 \
+ --disable-bzip2 \
--disable-libssh \
--disable-vnc-jpeg \
--disable-vnc-png \
--
2.25.1
^ permalink raw reply related [flat|nested] 5+ messages in thread
* [Buildroot] [PATCH 4/4] package/qemu: disable SDL2 for the host variant
2020-04-06 14:21 [Buildroot] [PATCH 1/4] package/qemu: disable libssh for the host variant Romain Naour
2020-04-06 14:21 ` [Buildroot] [PATCH 2/4] package/qemu: disable vnc optional support " Romain Naour
2020-04-06 14:21 ` [Buildroot] [PATCH 3/4] package/qemu: disable bzip2 " Romain Naour
@ 2020-04-06 14:21 ` Romain Naour
2020-04-06 18:20 ` [Buildroot] [PATCH 1/4] package/qemu: disable libssh " Yann E. MORIN
3 siblings, 0 replies; 5+ messages in thread
From: Romain Naour @ 2020-04-06 14:21 UTC (permalink / raw)
To: buildroot
There is no host variant for SDL2 library in Buildroot.
So the qemu build system will try to detect automatically the
external SDL2 libraries installed on the host.
$ ldd output/host/bin/qemu-system-aarch64
[...]
libSDL2-2.0.so.0 => /lib64/libSDL2-2.0.so.0
Disable explicitely sdl2 options (named sdl) to improve the
build reproducibility.
Signed-off-by: Romain Naour <romain.naour@gmail.com>
---
package/qemu/qemu.mk | 1 +
1 file changed, 1 insertion(+)
diff --git a/package/qemu/qemu.mk b/package/qemu/qemu.mk
index 06841a56d0..712491a208 100644
--- a/package/qemu/qemu.mk
+++ b/package/qemu/qemu.mk
@@ -305,6 +305,7 @@ define HOST_QEMU_CONFIGURE_CMDS
--python=$(HOST_DIR)/bin/python3 \
--disable-bzip2 \
--disable-libssh \
+ --disable-sdl \
--disable-vnc-jpeg \
--disable-vnc-png \
--disable-vnc-sasl \
--
2.25.1
^ permalink raw reply related [flat|nested] 5+ messages in thread
* [Buildroot] [PATCH 1/4] package/qemu: disable libssh for the host variant
2020-04-06 14:21 [Buildroot] [PATCH 1/4] package/qemu: disable libssh for the host variant Romain Naour
` (2 preceding siblings ...)
2020-04-06 14:21 ` [Buildroot] [PATCH 4/4] package/qemu: disable SDL2 " Romain Naour
@ 2020-04-06 18:20 ` Yann E. MORIN
3 siblings, 0 replies; 5+ messages in thread
From: Yann E. MORIN @ 2020-04-06 18:20 UTC (permalink / raw)
To: buildroot
Romain, All,
On 2020-04-06 16:21 +0200, Romain Naour spake thusly:
> There is no host-libssh in Buildroot, avoid qemu build system
> to find libssh from the host.
>
> Under certain circumstances (host distribution, openssl version), the
> qemu-system binary fail to start:
>
> host/bin/qemu-system-aarch64: symbol lookup error: /lib64/libssh.so.4: undefined symbol: EVP_KDF_ctrl, version OPENSSL_1_1_1b
>
> $ ldd output/host/bin/qemu-system-aarch64
> [...]
> libssh.so.4 => /lib64/libssh.so.4
>
> Explicitely disable libssh for the host variant.
>
> Signed-off-by: Romain Naour <romain.naour@gmail.com>
All 4 patches applied to master, thanks.
Regards,
Yann E. MORIN.
> ---
> package/qemu/qemu.mk | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/package/qemu/qemu.mk b/package/qemu/qemu.mk
> index b2249ed4ee..3c3b098a5b 100644
> --- a/package/qemu/qemu.mk
> +++ b/package/qemu/qemu.mk
> @@ -303,6 +303,7 @@ define HOST_QEMU_CONFIGURE_CMDS
> --extra-cflags="$(HOST_QEMU_CFLAGS)" \
> --extra-ldflags="$(HOST_LDFLAGS)" \
> --python=$(HOST_DIR)/bin/python3 \
> + --disable-libssh \
> $(HOST_QEMU_OPTS)
> endef
>
> --
> 2.25.1
>
> _______________________________________________
> buildroot mailing list
> buildroot at busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot
--
.-----------------.--------------------.------------------.--------------------.
| Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ |
| +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. |
'------------------------------^-------^------------------^--------------------'
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2020-04-06 18:20 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-04-06 14:21 [Buildroot] [PATCH 1/4] package/qemu: disable libssh for the host variant Romain Naour
2020-04-06 14:21 ` [Buildroot] [PATCH 2/4] package/qemu: disable vnc optional support " Romain Naour
2020-04-06 14:21 ` [Buildroot] [PATCH 3/4] package/qemu: disable bzip2 " Romain Naour
2020-04-06 14:21 ` [Buildroot] [PATCH 4/4] package/qemu: disable SDL2 " Romain Naour
2020-04-06 18:20 ` [Buildroot] [PATCH 1/4] package/qemu: disable libssh " Yann E. MORIN
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.