Package Details: mingw-w64-librsvg 2.59.2-1

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-2.1-or-later
Submitter: Schala
Maintainer: pingplug
Last Packager: pingplug
Votes: 8
Popularity: 0.000027
First Submitted: 2015-10-10 20:11 (UTC)
Last Updated: 2024-11-17 07:18 (UTC)

Latest Comments

« First ‹ Previous 1 2 3 Next › Last »

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.)

Martchus commented on 2020-07-17 23:43 (UTC)

Thanks for the answer. I avoided rebuilding rust because it takes forever to build. Maybe I'll just remove the sed line for now or just stick to the old version for a while.

pingplug commented on 2020-07-17 23:39 (UTC)

@Martchus rust renamed library suffix from .lib to .a in windows recently. if you are not using rust>=1.44, just remove the sed line in prepare()

Martchus commented on 2020-07-17 11:55 (UTC)

It fails here with the following error:

   Compiling librsvg_c_api v0.0.1 (/build/mingw-w64-librsvg/src/librsvg/librsvg)
    Finished release [optimized + debuginfo] target(s) in 15m 23s
mv: cannot stat '/build/mingw-w64-librsvg/src/librsvg/build-i686-w64-mingw32/target/i686-pc-windows-gnu/release/librsvg_c_api.a': No such file or directory
make[2]: *** [Makefile:1769: librsvg_c_api.la] Error 1
make[2]: Leaving directory '/build/mingw-w64-librsvg/src/librsvg/build-i686-w64-mingw32'
make[1]: *** [Makefile:1274: all-recursive] Error 1
make[1]: Leaving directory '/build/mingw-w64-librsvg/src/librsvg/build-i686-w64-mingw32'
make: *** [Makefile:821: all] Error 2
==> ERROR: A failure occurred in build().

Full log: https://martchus.no-ip.biz/build-data/misc/mingw-w64-librsvg/pkg/build.log

lantw44 commented on 2020-06-26 08:09 (UTC)

I just found that this package chooses an unstable release (2.49.2) instead of a stable release (2.48.7).