Skip to contentSkip to conversation

package/cargo: needs host-libxml2

PATCH New Fabrice Fontaine 3 participants 3 messages Jun 9, 2019 – Jun 10, 2019

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package/cargo: needs host-libxml2

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

---
 package/cargo/cargo.mk | 1 +
 1 file changed, 1 insertion(+)
package/cargo/cargo.mk +1 -0
index a387281b4c..dd0b93b304 100644
@@ -28,6 +28,7 @@ HOST_CARGO_DEPENDENCIES = \
 	host-libhttpparser \
 	host-libssh2 \
 	host-libcurl \
+	host-libxml2 \
 	host-rustc \
 	host-cargo-bin
 
Signature · 1 line
2.20.1
#1 lore raw

PATCH 1/1 package/cargo: needs host-libxml2

Quoted 8 lines · Fabrice Fontaine

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

Quoted 22 lines

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

---
 package/cargo/cargo.mk | 1 +
 1 file changed, 1 insertion(+)
package/cargo/cargo.mk +1 -0
index a387281b4c..dd0b93b304 100644
@@ -28,6 +28,7 @@ HOST_CARGO_DEPENDENCIES = \
 	host-libhttpparser \
 	host-libssh2 \
 	host-libcurl \
+	host-libxml2 \
 	host-rustc \
 	host-cargo-bin
 
#2 lore raw

PATCH 1/1 package/cargo: needs host-libxml2

Hi!

Quoted 12 lines · Arnout Vandecappelle
Quoted 8 lines · Fabrice Fontaine

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

Quoted 5 lines

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