On Wed, 17 Jul 2019, baldu...@units.it wrote:

Actually, the culprit seems to be the librsvg-2.45.7 distro: in
Makefile.in I find:
----8<----
        $(CARGO) --locked build $(CARGO_VERBOSE) $(CARGO_TARGET_ARGS) 
$(CARGO_RELEASE_ARGS) --features "c-library" \
        && $(AR) d $(RUST_LIB) clzsi2.o # HACK: 
https://github.com/rust-lang/rust/issues/58277
---->8----

That hack is only needed for rust < 1.36, as said in [1] and [2]; it
will crash the build with rust>=1.36
Awesome. Thanks. I just did not suspect librsvg-2.45.7 itself because it built and worked for me before.


For 2.45.7, the following workaround fixes the build with rust-1.36 for me:
----8<----
diff -c ./Makefile.in.FIX_CLZSI2 ./Makefile.in
-       && $(AR) d $(RUST_LIB) clzsi2.o # HACK: 
https://github.com/rust-lang/rust/issues/58277
---->8----
Confirmed. And by the way this looks pretty good as a fix for software in general:
sed -e '/HACK/d' -i Makefile*

;-)

Uwe
--
http://lists.linuxfromscratch.org/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to