2.55.91: build fails with `failed to download from` error message
I have problem with building librsvg, Since prbably few weeks I cannot build librsvg
beause builds ends with
+ /usr/bin/make -O -j48 V=1 VERBOSE=1
/usr/bin/make all-recursive
Making all in .
make[2]: Entering directory '/home/tkloczko/rpmbuild/BUILD/librsvg-2.55.91'
/bin/sh ./libtool --tag=CC --mode=compile /usr/bin/gcc -DHAVE_CONFIG_H -I. -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3
-Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fno-omit-frame-pointer -mno-omit-leaf-frame-
pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -c -o _rsvg_dummy.lo _r
svg_dummy.c
libtool: compile: /usr/bin/gcc -DHAVE_CONFIG_H -I. -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -spe
cs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -f
asynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -c _rsvg_dummy.c -fPIC -DPIC -o .libs/_rsvg_dummy.o
make[2]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/librsvg-2.55.91'
cd . && \
PKG_CONFIG_ALLOW_CROSS=1 \
PKG_CONFIG='/usr/bin/pkg-config' \
CARGO_TARGET_DIR=/home/tkloczko/rpmbuild/BUILD/librsvg-2.55.91/target \
cargo --locked build --verbose --release --lib \
&& cd /home/tkloczko/rpmbuild/BUILD/librsvg-2.55.91 && /bin/sh ./libtool --tag=CC --mode=link /usr/bin/gcc -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIF
Y_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fno-omit-frame-
pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition
=none -Wl,--as-needed -Wl,--gc-sections -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto=auto -flto-partition=none -fuse-linker-plugin -Wl,--build-id=sha1 -o librsvg_c_api.la
_rsvg_dummy.lo && mv /home/tkloczko/rpmbuild/BUILD/librsvg-2.55.91/target/release/liblibrsvg.a .libs/librsvg_c_api.a
make[2]: Entering directory '/home/tkloczko/rpmbuild/BUILD/librsvg-2.55.91'
rst2man ./rsvg-convert.rst rsvg-convert.1
make[2]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/librsvg-2.55.91'
Downloading crates ...
error: failed to download from `https://crates.io/api/v1/crates/xml5ever/0.17.0/download`
Caused by:
[2] Failed initialization ([CONN-1-0] send: no filter connected)
make[2]: *** [Makefile:1525: librsvg_c_api.la] Error 101
make[1]: *** [Makefile:1050: all-recursive] Error 1
make: *** [Makefile:706: all] Error 2
``
I have question as well. Is is possible at all to build `librsvg` on system which is cut off from access to the public network? :thinking: