[Bug 277363] graphics/librsvg2-rust

From: <bugzilla-noreply_at_freebsd.org>
Date: Tue, 27 Feb 2024 20:32:52 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=277363

            Bug ID: 277363
           Summary: graphics/librsvg2-rust
           Product: Ports & Packages
           Version: Latest
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: desktop@FreeBSD.org
          Reporter: andy@neu.net
          Assignee: desktop@FreeBSD.org
             Flags: maintainer-feedback?(desktop@FreeBSD.org)

FreeBSD FBSD14 14.0-STABLE FreeBSD 14.0-STABLE #8 stable/14-8788c3d3f: Wed Jan
24 11:47:39 EST 2024     root@FBSD14:/usr/obj/usr/src/amd64.amd64/sys/MYKERNEL
amd64 1400506




Trying to update fails with:


Running `/usr/local/bin/rustc --crate-name rsvg_convert --edition=2021
src/bin/rsvg-convert.rs --error-format=json
--json=diagnostic-rendered-ansi,artifacts,future-incompat
--diagnostic-width=197 --crate-type bin --emit=dep-info,link -C opt-level=2 -C
panic=abort -C lto -C codegen-units=1 -C metadata=639b4f3f35ed3ef3 -C
extra-filename=-639b4f3f35ed3ef3 --out-dir
/usr/ports/graphics/librsvg2-rust/work/librsvg-2.56.4/target/x86_64-unknown-freebsd/release/deps
--target x86_64-unknown-freebsd -C linker=cc -L
dependency=/usr/ports/graphics/librsvg2-rust/work/librsvg-2.56.4/target/x86_64-unknown-freebsd/release/deps
-L
dependency=/usr/ports/graphics/librsvg2-rust/work/librsvg-2.56.4/target/release/deps
--extern
anyhow=/usr/ports/graphics/librsvg2-rust/work/librsvg-2.56.4/target/x86_64-unknown-freebsd/release/deps/libanyhow-4d564526e093a912.rlib
--extern
byteorder=/usr/ports/graphics/librsvg2-rust/work/librsvg-2.56.4/target/x86_64-unknown-freebsd/release/deps/libbyteorder-8f13a248b2844633.rlib
--extern
cairo=/usr/ports/graphics/librsvg2-rust/work/librsvg-2.56.4/target/x86_64-unknown-freebsd/release/deps/libcairo-7bc14da3ef658cc1.rlib
--extern
cast=/usr/ports/graphics/librsvg2-rust/work/librsvg-2.56.4/target/x86_64-unknown-freebsd/release/deps/libcast-84313ea43f246e90.rlib
--extern
chrono=/usr/ports/graphics/librsvg2-rust/work/librsvg-2.56.4/target/x86_64-unknown-freebsd/release/deps/libchrono-1537529e1e81bbed.rlib
--extern
clap=/usr/ports/graphics/librsvg2-rust/work/librsvg-2.56.4/target/x86_64-unknown-freebsd/release/deps/libclap-34a0182800576eca.rlib
--extern
clap_complete=/usr/ports/graphics/librsvg2-rust/work/librsvg-2.56.4/target/x86_64-unknown-freebsd/release/deps/libclap_complete-a2256cd3e79613ad.rlib
--extern
cssparser=/usr/ports/graphics/librsvg2-rust/work/librsvg-2.56.4/target/x86_64-unknown-freebsd/release/deps/libcssparser-223527d9e5d4eedd.rlib
--extern
data_url=/usr/ports/graphics/librsvg2-rust/work/librsvg-2.56.4/target/x86_64-unknown-freebsd/release/deps/libdata_url-ede7e0455404b848.rlib
--extern
encoding_rs=/usr/ports/graphics/librsvg2-rust/work/librsvg-2.56.4/target/x86_64-unknown-freebsd/release/deps/libencoding_rs-4788a66597025d94.rlib
--extern
float_cmp=/usr/ports/graphics/librsvg2-rust/work/librsvg-2.56.4/target/x86_64-unknown-freebsd/release/deps/libfloat_cmp-b493e1e298d0c543.rlib
--extern
gdk_pixbuf=/usr/ports/graphics/librsvg2-rust/work/librsvg-2.56.4/target/x86_64-unknown-freebsd/release/deps/libgdk_pixbuf-5b7fc426a9cc86fa.rlib
--extern
gio=/usr/ports/graphics/librsvg2-rust/work/librsvg-2.56.4/target/x86_64-unknown-freebsd/release/deps/libgio-e48bb22ba7e373d9.rlib
--extern
glib=/usr/ports/graphics/librsvg2-rust/work/librsvg-2.56.4/target/x86_64-unknown-freebsd/release/deps/libglib-a17ecd9e653354b0.rlib
--extern
itertools=/usr/ports/graphics/librsvg2-rust/work/librsvg-2.56.4/target/x86_64-unknown-freebsd/release/deps/libitertools-b4905686707080c1.rlib
--extern
language_tags=/usr/ports/graphics/librsvg2-rust/work/librsvg-2.56.4/target/x86_64-unknown-freebsd/release/deps/liblanguage_tags-b9c91378d1911d66.rlib
--extern
libc=/usr/ports/graphics/librsvg2-rust/work/librsvg-2.56.4/target/x86_64-unknown-freebsd/release/deps/liblibc-b0773797b2edbe6a.rlib
--extern
rsvg=/usr/ports/graphics/librsvg2-rust/work/librsvg-2.56.4/target/x86_64-unknown-freebsd/release/deps/librsvg-03a66fadfaa5fea2.rlib
--extern
locale_config=/usr/ports/graphics/librsvg2-rust/work/librsvg-2.56.4/target/x86_64-unknown-freebsd/release/deps/liblocale_config-46431c0805648cf3.rlib
--extern
markup5ever=/usr/ports/graphics/librsvg2-rust/work/librsvg-2.56.4/target/x86_64-unknown-freebsd/release/deps/libmarkup5ever-c48c81610f2e9746.rlib
--extern
nalgebra=/usr/ports/graphics/librsvg2-rust/work/librsvg-2.56.4/target/x86_64-unknown-freebsd/release/deps/libnalgebra-698ae88ca1caff7b.rlib
--extern
num_traits=/usr/ports/graphics/librsvg2-rust/work/librsvg-2.56.4/target/x86_64-unknown-freebsd/release/deps/libnum_traits-14a578063b2b63e4.rlib
--extern
once_cell=/usr/ports/graphics/librsvg2-rust/work/librsvg-2.56.4/target/x86_64-unknown-freebsd/release/deps/libonce_cell-6f79fb5389517882.rlib
--extern
pango=/usr/ports/graphics/librsvg2-rust/work/librsvg-2.56.4/target/x86_64-unknown-freebsd/release/deps/libpango-df14b37f4142e5de.rlib
--extern
pangocairo=/usr/ports/graphics/librsvg2-rust/work/librsvg-2.56.4/target/x86_64-unknown-freebsd/release/deps/libpangocairo-7071a98ea995f485.rlib
--extern
rayon=/usr/ports/graphics/librsvg2-rust/work/librsvg-2.56.4/target/x86_64-unknown-freebsd/release/deps/librayon-430be6a05b900ffe.rlib
--extern
rctree=/usr/ports/graphics/librsvg2-rust/work/librsvg-2.56.4/target/x86_64-unknown-freebsd/release/deps/librctree-82fb261db03e781b.rlib
--extern
regex=/usr/ports/graphics/librsvg2-rust/work/librsvg-2.56.4/target/x86_64-unknown-freebsd/release/deps/libregex-0722d06bcbcc216f.rlib
--extern
rgb=/usr/ports/graphics/librsvg2-rust/work/librsvg-2.56.4/target/x86_64-unknown-freebsd/release/deps/librgb-549394838b65db1c.rlib
--extern
selectors=/usr/ports/graphics/librsvg2-rust/work/librsvg-2.56.4/target/x86_64-unknown-freebsd/release/deps/libselectors-e7c05b4836ba941b.rlib
--extern
string_cache=/usr/ports/graphics/librsvg2-rust/work/librsvg-2.56.4/target/x86_64-unknown-freebsd/release/deps/libstring_cache-432274e159265d74.rlib
--extern
thiserror=/usr/ports/graphics/librsvg2-rust/work/librsvg-2.56.4/target/x86_64-unknown-freebsd/release/deps/libthiserror-126bf2300f32fcce.rlib
--extern
tinyvec=/usr/ports/graphics/librsvg2-rust/work/librsvg-2.56.4/target/x86_64-unknown-freebsd/release/deps/libtinyvec-e6b85aea366a759e.rlib
--extern
url=/usr/ports/graphics/librsvg2-rust/work/librsvg-2.56.4/target/x86_64-unknown-freebsd/release/deps/liburl-fbe0a108485469ce.rlib
--extern
xml5ever=/usr/ports/graphics/librsvg2-rust/work/librsvg-2.56.4/target/x86_64-unknown-freebsd/release/deps/libxml5ever-e635e3f7c36136c9.rlib
-C link-arg=-fstack-protector-strong -L native=/usr/local/lib -L
native=/usr/local/lib -L native=/usr/local/lib -L native=/usr/local/lib -L
native=/usr/local/lib -L native=/usr/local/lib -L native=/usr/local/lib -L
native=/usr/local/lib -L native=/usr/local/lib -L native=/usr/local/lib -L
native=/usr/local/lib -L native=/usr/local/lib -L native=/usr/local/lib -L
native=/usr/local/lib -L native=/usr/local/lib -L native=/usr/local/lib -L
native=/usr/local/lib -L native=/usr/local/lib -L native=/usr/local/lib -L
native=/usr/local/lib -L native=/usr/local/lib -L native=/usr/local/lib -L
native=/usr/local/lib -L native=/usr/local/lib --cfg system_deps_have_cairo
--cfg system_deps_have_cairo_gobject --cfg system_deps_have_cairo_pdf --cfg
system_deps_have_cairo_png --cfg system_deps_have_cairo_ps --cfg
system_deps_have_cairo_svg --cfg system_deps_have_fontconfig --cfg
system_deps_have_freetype2 --cfg system_deps_have_gdk_pixbuf --cfg
system_deps_have_gio --cfg system_deps_have_glib --cfg
system_deps_have_harfbuzz --cfg system_deps_have_libxml2 --cfg
system_deps_have_pangocairo --cfg system_deps_have_pangoft2`
libtool: link: /usr/bin/egrep -e "^rsvg_.*" ".libs/librsvg-2.exp" >
".libs/librsvg-2.expT"                                                          
libtool: link: mv -f ".libs/librsvg-2.expT" ".libs/librsvg-2.exp"
libtool: link: echo "{ global:" > .libs/librsvg-2.so.2.48.0-ver
libtool: link:           sed -e "s|$|;|" < .libs/librsvg-2.exp >>
.libs/librsvg-2.so.2.48.0-ver
libtool: link:   echo "local: *; };" >> .libs/librsvg-2.so.2.48.0-ver
libtool: link: cc -shared  -fPIC -DPIC  -Wl,--whole-archive
./.libs/librsvg_c_api.a -Wl,--no-whole-archive  -L/usr/local/lib -lpng16
-lcairo-gobject -lgdk_pixbuf-2.0 -lgio-2.0 -lglib-2.0 -lintl -lxml2
-lpangocairo-1.0 -lgobject-2.0 -lharfbuzz -lcairo -lpangoft2-1.0 -lpango-1.0
-lfontconfig -lfreetype -lm  -O2 -fstack-protector-strong -Wl,--gc-sections
-fstack-protector-strong   -Wl,-soname -Wl,librsvg-2.so.2 -Wl,-version-script
-Wl,.libs/librsvg-2.so.2.48.0-ver -o .libs/librsvg-2.so.2.48.0
libtool: link: (cd ".libs" && rm -f "librsvg-2.so.2" && ln -s
"librsvg-2.so.2.48.0" "librsvg-2.so.2")
libtool: link: (cd ".libs" && rm -f "librsvg-2.so" && ln -s
"librsvg-2.so.2.48.0" "librsvg-2.so")
libtool: link: ( cd ".libs" && rm -f "librsvg-2.la" && ln -s "../librsvg-2.la"
"librsvg-2.la" )
CPPFLAGS="" CFLAGS="-O2 -pipe  -Wno-error=incompatible-function-pointer-types
-fstack-protector-strong -fno-strict-aliasing "
LDFLAGS="-fstack-protector-strong " CC="cc" PKG_CONFIG="pkgconf" GI_HOST_OS=""
DLLTOOL="false"  /usr/local/bin/g-ir-scanner  --add-include-path=.
--symbol-prefix=rsvg --symbol-prefix=librsvg --warn-all --namespace=Rsvg
--nsversion=2.0 --libtool="/bin/sh ./libtool" --pkg=pango --pkg=libxml-2.0
--include=GLib-2.0 --include=GObject-2.0 --include=Gio-2.0 --include=cairo-1.0
--include=GdkPixbuf-2.0 --pkg-export=librsvg-2.0   --library=librsvg-2.la
--c-include="librsvg/rsvg.h" --cflags-begin -I./include -I. -I./include
-DRSVG_COMPILATION --cflags-end  include/librsvg/rsvg.h
include/librsvg/rsvg-cairo.h include/librsvg/rsvg-features.h
include/librsvg/rsvg-version.h librsvg-2.la --output Rsvg-2.0.gir

(process:36841): GVFS-WARNING **: 10:58:31.334: Error creating proxy: Error
calling StartServiceByName for org.gtk.vfs.Daemon: Process org.gtk.vfs.Daemon
exited with status 1 (g-dbus-error-quark, 25)

g-ir-scanner: link: /bin/sh ./libtool --mode=link --tag=CC cc -o
/usr/ports/graphics/librsvg2-rust/work/librsvg-2.56.4/tmp-introspectwq7louhy/Rsvg-2.0
-export-dynamic -O2 -pipe -Wno-error=incompatible-function-pointer-types
-fstack-protector-strong -fno-strict-aliasing
/usr/ports/graphics/librsvg2-rust/work/librsvg-2.56.4/tmp-introspectwq7louhy/Rsvg-2.0.o
-L. librsvg-2.la -L/usr/local/lib -lgio-2.0 -Wl,--export-dynamic -lgmodule-2.0
-pthread -lglib-2.0 -lintl -lpango-1.0 -lgobject-2.0 -lharfbuzz -lxml2
-fstack-protector-strong
libtool: link: cc -o
/usr/ports/graphics/librsvg2-rust/work/librsvg-2.56.4/tmp-introspectwq7louhy/.libs/Rsvg-2.0
-O2 -pipe -Wno-error=incompatible-function-pointer-types
-fstack-protector-strong -fno-strict-aliasing
/usr/ports/graphics/librsvg2-rust/work/librsvg-2.56.4/tmp-introspectwq7louhy/Rsvg-2.0.o
-Wl,--export-dynamic -fstack-protector-strong -Wl,--export-dynamic  -L.
./.libs/librsvg-2.so -L/usr/local/lib -lgmodule-2.0 -lpng16 -lcairo-gobject
-lgdk_pixbuf-2.0 -lgio-2.0 -lglib-2.0 -lintl -lxml2 -lpangocairo-1.0
-lgobject-2.0 -lharfbuzz -lcairo -lpangoft2-1.0 -lpango-1.0 -lfontconfig
-lfreetype -lm -pthread -Wl,-rpath -Wl,/usr/local/lib

(process:73435): GVFS-WARNING **: 10:58:31.850: Error creating proxy: Error
calling StartServiceByName for org.gtk.vfs.Daemon: Process org.gtk.vfs.Daemon
exited with status 1 (g-dbus-error-quark, 25)

/usr/local/bin/g-ir-compiler --includedir=. --includedir=. Rsvg-2.0.gir -o
Rsvg-2.0.typelib
/usr/local/bin/vapigen-0.56  --library librsvg-2.0 --metadatadir .   --pkg
gio-2.0 --pkg cairo --pkg gdk-pixbuf-2.0 Rsvg-2.0.gir ./Rsvg-2.0-custom.vala
Generation succeeded - 0 warning(s)

(g-ir-compiler:77768): GVFS-WARNING **: 10:58:32.126: Error creating proxy:
Error calling StartServiceByName for org.gtk.vfs.Daemon: Process
org.gtk.vfs.Daemon exited with status 1 (g-dbus-error-quark, 25)

gmake[4]: ***
[/usr/local/share/gobject-introspection-1.0/Makefile.introspection:168:
Rsvg-2.0.typelib] Trace/BPT trap (core dumped)
gmake[4]: *** Waiting for unfinished jobs....
    Finished release [optimized] target(s) in 41.63s
gmake[4]: Leaving directory
'/usr/ports/graphics/librsvg2-rust/work/librsvg-2.56.4'
gmake[3]: *** [Makefile:1083: all-recursive] Error 1
gmake[3]: Leaving directory
'/usr/ports/graphics/librsvg2-rust/work/librsvg-2.56.4'
gmake[2]: *** [Makefile:718: all] Error 2
gmake[2]: Leaving directory
'/usr/ports/graphics/librsvg2-rust/work/librsvg-2.56.4'
===> Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to
the maintainer.
*** Error code 1

Stop.
make[1]: stopped in /usr/ports/graphics/librsvg2-rust
*** Error code 1

-- 
You are receiving this mail because:
You are the assignee for the bug.