Package Details: mingw-w64-librsvg 2.58.0-2

Git Clone URL: https://aur.archlinux.org/mingw-w64-librsvg.git (read-only, click to copy)
Package Base: mingw-w64-librsvg
Description: SVG rendering library (mingw-w64)
Upstream URL: https://wiki.gnome.org/action/show/Projects/LibRsvg
Keywords: librsvg mingw-w64
Licenses: LGPL
Submitter: Schala
Maintainer: pingplug
Last Packager: pingplug
Votes: 8
Popularity: 0.001746
First Submitted: 2015-10-10 20:11 (UTC)
Last Updated: 2024-04-05 01:35 (UTC)

Latest Comments

1 2 3 Next › Last »

patlefort commented on 2024-04-02 03:55 (UTC)

Fails to build with:

cp: cannot stat '/pkgbuild/out/mingw-w64-librsvg/src/librsvg/build-i686-w64-mingw32/target/i686-pc-windows-gnu/i686-pc-windows-gnu/release/liblibrsvg_c.a': No such file or directory

syyyr commented on 2023-07-31 11:58 (UTC) (edited on 2023-07-31 12:33 (UTC) by syyyr)

It seems that this error:

cargo: error while loading shared libraries: libgit2.so.1.6: cannot open shared object file: No such file or directory

is caused by libgit2 being bumped to 1.7 in the official arch repositories. Rebuilding mingw-w64-rust against the new libgit2 seems to fix the issue.

patlefort commented on 2023-07-30 17:38 (UTC)

Does not compile for me with the following error:

cargo: error while loading shared libraries: libgit2.so.1.6: cannot open shared object file: No such file or directory

Martchus commented on 2023-06-15 23:59 (UTC)

I'm also getting linker errors. Could you apply the change @rodrigorc mentioned?

rodrigorc commented on 2023-06-06 19:09 (UTC)

I'm getting a lot of warnings and linker error, they are fixed by changing this line in the PKGBUILD to add the ntdll dependency:

-    sed -i "s/^LIBRSVG_LIBS = .*/& -lbcrypt -lws2_32 -luserenv/g" Makefile
+    sed -i "s/^LIBRSVG_LIBS = .*/& -lbcrypt -lws2_32 -luserenv -lntdll/g" Makefile

Score_Under commented on 2022-11-04 15:23 (UTC) (edited on 2022-11-04 15:23 (UTC) by Score_Under)

I get this error building in a clean chroot:

configure: WARNING: rst2man not found - not building man pages
checking for x86_64-w64-mingw32-gi-docgen... no
checking for gi-docgen... no
configure: WARNING: gi-docgen not found - not building docs
[... snip ...]
rm: cannot remove '/build/mingw-w64-librsvg/pkg/mingw-w64-librsvg/usr/i686-w64-mingw32/share/man': No such file or directory
==> ERROR: A failure occurred in package().

Maybe the rm should be -f?

When python-docutils is installed, the build completes as expected, so that may need adding to makedepends.

msrd0 commented on 2022-02-25 23:13 (UTC)

This package hangs indefinitely in the make install phase. Can be fixed by manually calling killall wineserver twice (it starts hanging again after the first kill command). It'd be nice if this could build without manual intervention.

lxndr commented on 2021-10-28 15:46 (UTC)

I can confirm both issues reported by @Martchus are preset.

Martchus commented on 2021-10-23 19:42 (UTC)

The build currently fails for me:

    Blocking waiting for file lock on package cache
    Updating crates.io index
error: failed to get `cairo-rs` as a dependency of package `librsvg v2.52.2 (/build/mingw-w64-librsvg/src/librsvg)`

Caused by:
  failed to fetch `https://github.com/rust-lang/crates.io-index`

Caused by:
  invalid version 0 on git_proxy_options; class=Invalid (3)
make[2]: *** [Makefile:1566: librsvg_c_api.la] Error 101
make[2]: *** Waiting for unfinished jobs....
    Updating crates.io index
error: failed to get `cairo-rs` as a dependency of package `librsvg v2.52.2 (/build/mingw-w64-librsvg/src/librsvg)`

Caused by:
  failed to fetch `https://github.com/rust-lang/crates.io-index`

Caused by:
  invalid version 0 on git_proxy_options; class=Invalid (3)
make[2]: *** [Makefile:1574: /build/mingw-w64-librsvg/src/librsvg/build-i686-w64-mingw32/target/i686-pc-windows-gnu/release/rsvg-convert.exe] Error 101
make[2]: Leaving directory '/build/mingw-w64-librsvg/src/librsvg/build-i686-w64-mingw32'
make[1]: *** [Makefile:1080: all-recursive] Error 1
make[1]: Leaving directory '/build/mingw-w64-librsvg/src/librsvg/build-i686-w64-mingw32'
make: *** [Makefile:713: all] Error 2

I suppose we'll have to wait until libgit2 is updated: https://githubmemory.com/repo/killercup/cargo-edit/issues/487

Martchus commented on 2021-05-16 15:19 (UTC)

This package gets stuck in make DESTDIR="${pkgdir}" install (within prepare()). According to strace it hangs on a read (on file descriptor 3).

The log looks like this:

make[3]: Leaving directory '/build/mingw-w64-librsvg/src/librsvg/build-i686-w64-mingw32/win32'
make[2]: Leaving directory '/build/mingw-w64-librsvg/src/librsvg/build-i686-w64-mingw32/win32'
Making install in po
make[2]: Entering directory '/build/mingw-w64-librsvg/src/librsvg/build-i686-w64-mingw32/po'
installing ../../po/es.gmo as /build/mingw-w64-librsvg/pkg/mingw-w64-librsvg/usr/i686-w64-mingw32/share/locale/es/LC_MESSAGES/librsvg.mo
if test "librsvg" = "gettext-tools"; then \
  /usr/bin/mkdir -p /build/mingw-w64-librsvg/pkg/mingw-w64-librsvg/usr/i686-w64-mingw32/share/gettext/po; \
  for file in Makefile.in.in remove-potcdate.sin quot.sed boldquot.sed en@quot.header en@boldquot.header insert-header.sin Rules-quot   Makevars.template; do \
    /usr/bin/install -c -m 644 ../../po/$file \
                    /build/mingw-w64-librsvg/pkg/mingw-w64-librsvg/usr/i686-w64-mingw32/share/gettext/po/$file; \
  done; \
  for file in Makevars; do \
    rm -f /build/mingw-w64-librsvg/pkg/mingw-w64-librsvg/usr/i686-w64-mingw32/share/gettext/po/$file; \
  done; \
else \
  : ; \
fi
make[2]: Leaving directory '/build/mingw-w64-librsvg/src/librsvg/build-i686-w64-mingw32/po'
make[1]: Leaving directory '/build/mingw-w64-librsvg/src/librsvg/build-i686-w64-mingw32'
Terminated
==> ERROR: A failure occurred in package().
    Aborting...
==> ERROR: Build failed, check /run/media/files3/chroot-bs/arch-x86_64/buildservice-mingw-w64-librsvg/build

(The Terminated and abort messages come because I finally sent SIGTERM to the process.)