Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 12 Dec 2020 17:58:17 +0100
From:      Torfinn Ingolfsen <tingox@gmail.com>
To:        FreeBSD Ports ML <freebsd-ports@freebsd.org>
Cc:        desktop@freebsd.org
Subject:   graphics/librsvg2-rust fails to build
Message-ID:  <CAJ_iqtbkrhDPkBMB=BCLwzRZ2ZHweL=NOi7L=GnFy6d=eQaOKw@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
Trying to build latest librsvg2-rust (ports tree updated just now),
but it is failing:

===>  librsvg2-rust-2.50.2 conflicts with installed package(s):
      librsvg2-2.40.21

      They install files into the same place.
      You may want to stop build with Ctrl + C.
===>  License LGPL20 accepted by the user
===>   librsvg2-rust-2.50.2 depends on file: /usr/local/sbin/pkg - found
===> Fetching all distfiles required by librsvg2-rust-2.50.2 for building
===>  Extracting for librsvg2-rust-2.50.2
=> SHA256 Checksum OK for gnome2/librsvg-2.50.2.tar.xz.
===>  Patching for librsvg2-rust-2.50.2
===>   librsvg2-rust-2.50.2 depends on package: rust>=1.39.0 - found
===>   librsvg2-rust-2.50.2 depends on executable: valac - found
===>   librsvg2-rust-2.50.2 depends on executable: msgfmt - found
===>   librsvg2-rust-2.50.2 depends on package: gmake>=4.3 - found
===>   librsvg2-rust-2.50.2 depends on executable: g-ir-scanner - found
===>   librsvg2-rust-2.50.2 depends on package: pkgconf>=1.3.0_1 - found
===>   librsvg2-rust-2.50.2 depends on shared library:
libfontconfig.so - found (/usr/local/lib/libfontconfig.so)
===>   librsvg2-rust-2.50.2 depends on shared library: libfreetype.so
- found (/usr/local/lib/libfreetype.so)
===>   librsvg2-rust-2.50.2 depends on shared library: libharfbuzz.so
- found (/usr/local/lib/libharfbuzz.so)
===>   librsvg2-rust-2.50.2 depends on shared library: libpng.so -
found (/usr/local/lib/libpng.so)
===>   librsvg2-rust-2.50.2 depends on shared library: libintl.so -
found (/usr/local/lib/libintl.so)
===>   librsvg2-rust-2.50.2 depends on shared library: libcairo.so -
found (/usr/local/lib/libcairo.so)
===>   librsvg2-rust-2.50.2 depends on shared library:
libgdk_pixbuf-2.0.so - found (/usr/local/lib/libgdk_pixbuf-2.0.so)
===>   librsvg2-rust-2.50.2 depends on shared library: libglib-2.0.so
- found (/usr/local/lib/libglib-2.0.so)
===>   librsvg2-rust-2.50.2 depends on shared library: libintl.so -
found (/usr/local/lib/libintl.so)
===>   librsvg2-rust-2.50.2 depends on shared library: libxml2.so -
found (/usr/local/lib/libxml2.so)
===>   librsvg2-rust-2.50.2 depends on shared library: libpango-1.0.so
- found (/usr/local/lib/libpango-1.0.so)
===>  Configuring for librsvg2-rust-2.50.2
thread 'main' panicked at 'couldn't initialize the libgit2 library:
-1, error: could not initialize openssl: error:1410D0B9:SSL
routines:SSL_CTX_set_cipher_list:no cipher match',
/usr/ports/lang/rust/work/rustc-1.48.0-src/vendor/libgit2-sys/lib.rs:3807:9
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
*** Error code 101

Stop.
make: stopped in /usr/ports/graphics/librsvg2-rust

with RUST_BACKTRACE=1
root@kg-core1# RUST_BACKTRACE=1 make

===>  librsvg2-rust-2.50.2 conflicts with installed package(s):
      librsvg2-2.40.21

      They install files into the same place.
      You may want to stop build with Ctrl + C.
===>  License LGPL20 accepted by the user
===>   librsvg2-rust-2.50.2 depends on file: /usr/local/sbin/pkg - found
===> Fetching all distfiles required by librsvg2-rust-2.50.2 for building
===>  Extracting for librsvg2-rust-2.50.2
=> SHA256 Checksum OK for gnome2/librsvg-2.50.2.tar.xz.
===>  Patching for librsvg2-rust-2.50.2
===>   librsvg2-rust-2.50.2 depends on package: rust>=1.39.0 - found
===>   librsvg2-rust-2.50.2 depends on executable: valac - found
===>   librsvg2-rust-2.50.2 depends on executable: msgfmt - found
===>   librsvg2-rust-2.50.2 depends on package: gmake>=4.3 - found
===>   librsvg2-rust-2.50.2 depends on executable: g-ir-scanner - found
===>   librsvg2-rust-2.50.2 depends on package: pkgconf>=1.3.0_1 - found
===>   librsvg2-rust-2.50.2 depends on shared library:
libfontconfig.so - found (/usr/local/lib/libfontconfig.so)
===>   librsvg2-rust-2.50.2 depends on shared library: libfreetype.so
- found (/usr/local/lib/libfreetype.so)
===>   librsvg2-rust-2.50.2 depends on shared library: libharfbuzz.so
- found (/usr/local/lib/libharfbuzz.so)
===>   librsvg2-rust-2.50.2 depends on shared library: libpng.so -
found (/usr/local/lib/libpng.so)
===>   librsvg2-rust-2.50.2 depends on shared library: libintl.so -
found (/usr/local/lib/libintl.so)
===>   librsvg2-rust-2.50.2 depends on shared library: libcairo.so -
found (/usr/local/lib/libcairo.so)
===>   librsvg2-rust-2.50.2 depends on shared library:
libgdk_pixbuf-2.0.so - found (/usr/local/lib/libgdk_pixbuf-2.0.so)
===>   librsvg2-rust-2.50.2 depends on shared library: libglib-2.0.so
- found (/usr/local/lib/libglib-2.0.so)
===>   librsvg2-rust-2.50.2 depends on shared library: libintl.so -
found (/usr/local/lib/libintl.so)
===>   librsvg2-rust-2.50.2 depends on shared library: libxml2.so -
found (/usr/local/lib/libxml2.so)
===>   librsvg2-rust-2.50.2 depends on shared library: libpango-1.0.so
- found (/usr/local/lib/libpango-1.0.so)
===>  Configuring for librsvg2-rust-2.50.2
thread 'main' panicked at 'couldn't initialize the libgit2 library:
-1, error: could not initialize openssl: error:1410D0B9:SSL
routines:SSL_CTX_set_cipher_list:no cipher match',
/usr/ports/lang/rust/work/rustc-1.48.0-src/vendor/libgit2-sys/lib.rs:3807:9
stack backtrace:
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a
verbose backtrace.
*** Error code 101

Stop.
make: stopped in /usr/ports/graphics/librsvg2-rust


This on FreeBSD 11.4-stable:
tingo@kg-core1$ uname -a
FreeBSD kg-core1.kg4.no 11.4-STABLE FreeBSD 11.4-STABLE #3 r362432:
Sat Jun 20 12:51:06 CEST 2020
root@kg-core1.kg4.no:/zs/usr/obj/usr/src/sys/GENERIC  amd64

Nothing about it in /usr/ports/UPDATING, no open bugs for
librsvg2-rust in bugs, and I couldn't find anything by searching on
the 'net.

-- 
Regards,
Torfinn Ingolfsen



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAJ_iqtbkrhDPkBMB=BCLwzRZ2ZHweL=NOi7L=GnFy6d=eQaOKw>