Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/1] package/cargo: needs host-libxml2
@ 2019-06-09 21:08 Fabrice Fontaine
  2019-06-09 23:07 ` Arnout Vandecappelle
  0 siblings, 1 reply; 3+ messages in thread
From: Fabrice Fontaine @ 2019-06-09 21:08 UTC (permalink / raw)
  To: buildroot

host-cargo needs host-libxml2 to avoid depending on an unworking
libxml2:

--- stderr
cmake: /home/mark/buildroot-test/instance-1/output/host/lib/libcurl.so.4: no version information available (required by cmake)
cmake: symbol lookup error: /usr/lib/x86_64-linux-gnu/libxml2.so.2: undefined symbol: UCNV_TO_U_CALLBACK_STOP_60
thread 'main' panicked at '
command did not execute successfully, got: exit code: 127

Fixes:
 - http://autobuild.buildroot.org/results/017854ca4cce8c0e4f7b41b407e44cb91e8b09a0

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
---
 package/cargo/cargo.mk | 1 +
 1 file changed, 1 insertion(+)

diff --git a/package/cargo/cargo.mk b/package/cargo/cargo.mk
index a387281b4c..dd0b93b304 100644
--- a/package/cargo/cargo.mk
+++ b/package/cargo/cargo.mk
@@ -28,6 +28,7 @@ HOST_CARGO_DEPENDENCIES = \
 	host-libhttpparser \
 	host-libssh2 \
 	host-libcurl \
+	host-libxml2 \
 	host-rustc \
 	host-cargo-bin
 
-- 
2.20.1

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

* [Buildroot] [PATCH 1/1] package/cargo: needs host-libxml2
  2019-06-09 21:08 [Buildroot] [PATCH 1/1] package/cargo: needs host-libxml2 Fabrice Fontaine
@ 2019-06-09 23:07 ` Arnout Vandecappelle
  2019-06-10  9:19   ` Eric Le Bihan
  0 siblings, 1 reply; 3+ messages in thread
From: Arnout Vandecappelle @ 2019-06-09 23:07 UTC (permalink / raw)
  To: buildroot



On 09/06/2019 23:08, Fabrice Fontaine wrote:
> host-cargo needs host-libxml2 to avoid depending on an unworking
> libxml2:
> 
> --- stderr
> cmake: /home/mark/buildroot-test/instance-1/output/host/lib/libcurl.so.4: no version information available (required by cmake)
> cmake: symbol lookup error: /usr/lib/x86_64-linux-gnu/libxml2.so.2: undefined symbol: UCNV_TO_U_CALLBACK_STOP_60
> thread 'main' panicked at '
> command did not execute successfully, got: exit code: 127

 I would like to understand this one a little more before blindly linking with
host-libxml2...

 I can't see anything in cargo's sources that refers to libxml2, except some of
the vendored curl stuff, but those bits are only used on win32.

 Regards,
 Arnout

> 
> Fixes:
>  - http://autobuild.buildroot.org/results/017854ca4cce8c0e4f7b41b407e44cb91e8b09a0
> 
> Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
> ---
>  package/cargo/cargo.mk | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/package/cargo/cargo.mk b/package/cargo/cargo.mk
> index a387281b4c..dd0b93b304 100644
> --- a/package/cargo/cargo.mk
> +++ b/package/cargo/cargo.mk
> @@ -28,6 +28,7 @@ HOST_CARGO_DEPENDENCIES = \
>  	host-libhttpparser \
>  	host-libssh2 \
>  	host-libcurl \
> +	host-libxml2 \
>  	host-rustc \
>  	host-cargo-bin
>  
> 

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

* [Buildroot] [PATCH 1/1] package/cargo: needs host-libxml2
  2019-06-09 23:07 ` Arnout Vandecappelle
@ 2019-06-10  9:19   ` Eric Le Bihan
  0 siblings, 0 replies; 3+ messages in thread
From: Eric Le Bihan @ 2019-06-10  9:19 UTC (permalink / raw)
  To: buildroot

Hi!

On 2019-06-10 01:07, Arnout Vandecappelle wrote:
>
>
> On 09/06/2019 23:08, Fabrice Fontaine wrote:
> > host-cargo needs host-libxml2 to avoid depending on an unworking
> > libxml2:
> >
> > --- stderr
> > cmake: /home/mark/buildroot-test/instance-1/output/host/lib/libcurl.so.4: no version information available (required by cmake)
> > cmake: symbol lookup error: /usr/lib/x86_64-linux-gnu/libxml2.so.2: undefined symbol: UCNV_TO_U_CALLBACK_STOP_60
> > thread 'main' panicked at '
> > command did not execute successfully, got: exit code: 127
>
>  I would like to understand this one a little more before blindly linking with
> host-libxml2...
>
>  I can't see anything in cargo's sources that refers to libxml2, except some of
> the vendored curl stuff, but those bits are only used on win32.

Same here. I tried to reproduce the issue in a chrooted Debian Stretch,
without success, even when adding libxml2-devel to the mix.

What is the configuration of the autobuilder?

Regards,

--
ELB

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

end of thread, other threads:[~2019-06-10  9:19 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-06-09 21:08 [Buildroot] [PATCH 1/1] package/cargo: needs host-libxml2 Fabrice Fontaine
2019-06-09 23:07 ` Arnout Vandecappelle
2019-06-10  9:19   ` Eric Le Bihan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox