Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

librsvg version is quite old #5544

Closed
kozross opened this issue Jun 17, 2019 · 6 comments
Closed

librsvg version is quite old #5544

kozross opened this issue Jun 17, 2019 · 6 comments

Comments

@kozross
Copy link

kozross commented Jun 17, 2019

According to librsvg's own releases, the most current version is 2.45.6. According to pacman -Ss librsvg, the version packaged is 2.40.20. This has caused me some issues, which are fixed in newer versions - one of the maintainers states that the latest stable is 2.44.14.

Is it possible to package a newer version of this library?

@Alexpux
Copy link
Member

Alexpux commented Jun 18, 2019

@kozross it is not possible to build new librsvg because it use rust for building and linking is fail. I can’t fix it. If you have knowledges then you can try yourself

@kozross
Copy link
Author

kozross commented Jun 18, 2019

@Alexpux Thanks for responding! I have requested some assistance from the maintainers of librsvg, but they would like additional detail on what precisely you mean by 'linking is fail'. If you could please provide it, we could resolve this issue together.

@Alexpux
Copy link
Member

Alexpux commented Jun 18, 2019

@kozross here is build log:

configure: loading site script /etc/config.site
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether UID '197608' is supported by ustar format... yes
checking whether GID '197121' is supported by ustar format... yes
checking how to create a ustar tar archive... gnutar
checking whether make supports nested variables... (cached) yes
checking whether to enable maintainer-specific portions of Makefiles... yes
checking whether ln -s works... no, using cp -pR
checking whether make supports the include directive... yes (GNU style)
checking for x86_64-w64-mingw32-gcc... x86_64-w64-mingw32-gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.exe
checking for suffix of executables... .exe
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether x86_64-w64-mingw32-gcc accepts -g... yes
checking for x86_64-w64-mingw32-gcc option to accept ISO C89... none needed
checking whether x86_64-w64-mingw32-gcc understands -c and -o together... yes
checking dependency style of x86_64-w64-mingw32-gcc... gcc3
checking for library containing strerror... none required
checking for x86_64-w64-mingw32-gcc... (cached) x86_64-w64-mingw32-gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether x86_64-w64-mingw32-gcc accepts -g... (cached) yes
checking for x86_64-w64-mingw32-gcc option to accept ISO C89... (cached) none needed
checking whether x86_64-w64-mingw32-gcc understands -c and -o together... (cached) yes
checking dependency style of x86_64-w64-mingw32-gcc... (cached) gcc3
checking how to run the C preprocessor... x86_64-w64-mingw32-gcc -E
checking for gawk... (cached) gawk
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking whether byte ordering is bigendian... no
checking for x86_64-w64-mingw32-pkg-config... /mingw64/bin/x86_64-w64-mingw32-pkg-config
checking pkg-config is at least version 0.9.0... yes
checking build system type... x86_64-w64-mingw32
checking host system type... x86_64-w64-mingw32
checking how to print strings... printf
checking for a sed that does not truncate output... /usr/bin/sed
checking for fgrep... /usr/bin/grep -F
checking for ld used by x86_64-w64-mingw32-gcc... C:/building/msys64/mingw64/x86_64-w64-mingw32/bin/ld.exe
checking if the linker (C:/building/msys64/mingw64/x86_64-w64-mingw32/bin/ld.exe) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /mingw64/bin/nm -B
checking the name lister (/mingw64/bin/nm -B) interface... BSD nm
checking the maximum length of command line arguments... 8192
checking how to convert x86_64-w64-mingw32 file names to x86_64-w64-mingw32 format... func_convert_file_msys_to_w32
checking how to convert x86_64-w64-mingw32 file names to toolchain format... func_convert_file_msys_to_w32
checking for C:/building/msys64/mingw64/x86_64-w64-mingw32/bin/ld.exe option to reload object files... -r
checking for x86_64-w64-mingw32-objdump... no
checking for objdump... objdump
checking how to recognize dependent libraries... file_magic ^x86 archive import|^x86 DLL
checking for x86_64-w64-mingw32-dlltool... no
checking for dlltool... dlltool
checking how to associate runtime and link libraries... func_cygming_dll_for_implib
checking for x86_64-w64-mingw32-ar... no
checking for ar... ar
checking for archiver @FILE support... @
checking for x86_64-w64-mingw32-strip... no
checking for strip... strip
checking for x86_64-w64-mingw32-ranlib... no
checking for ranlib... ranlib
checking command to parse /mingw64/bin/nm -B output from x86_64-w64-mingw32-gcc object... ok
checking for sysroot... no
checking for a working dd... /usr/bin/dd
checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1
checking for x86_64-w64-mingw32-mt... no
checking for mt... no
checking if : is a manifest tool... no
checking for dlfcn.h... no
checking for x86_64-w64-mingw32-as... no
checking for as... as
checking for x86_64-w64-mingw32-dlltool... dlltool
checking for x86_64-w64-mingw32-objdump... objdump
checking for objdir... .libs
checking if x86_64-w64-mingw32-gcc supports -fno-rtti -fno-exceptions... no
checking for x86_64-w64-mingw32-gcc option to produce PIC... -DDLL_EXPORT -DPIC
checking if x86_64-w64-mingw32-gcc PIC flag -DDLL_EXPORT -DPIC works... yes
checking if x86_64-w64-mingw32-gcc static flag -static works... yes
checking if x86_64-w64-mingw32-gcc supports -c -o file.o... yes
checking if x86_64-w64-mingw32-gcc supports -c -o file.o... (cached) yes
checking whether the x86_64-w64-mingw32-gcc linker (C:/building/msys64/mingw64/x86_64-w64-mingw32/bin/ld.exe) supports shared libraries... yes
checking whether -lc should be explicitly linked in... yes
checking dynamic linker characteristics... Win32 ld.exe
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for cos in -lm... yes
checking for dlopen... no
checking for dlopen in -ldl... no
checking for cargo... cargo
checking for rustc... rustc
checking for some Win32 platform... yes
checking for native Win32... yes
checking for 	cairo >= 1.15.12               	cairo-png >= 1.15.12           	freetype2 >= 20.0.14       	gdk-pixbuf-2.0 >= 2.20 	gio-2.0 >= 2.24.0               	glib-2.0 >= 2.48.0             	libxml-2.0 >= 2.9.0         	pangocairo >= 1.38.0          	pangoft2 >= 1.38.0                    libcroco-0.6 >= 0.6.1... yes
checking for gthread-2.0 >= 2.48.0... yes
checking for gmodule-2.0... yes
checking for gio-2.0 gio-windows-2.0 gdk-pixbuf-2.0 cairo pangocairo... yes
checking for gtk+-3.0 >= 3.10.0... yes
checking whether to build the GDK-Pixbuf SVG loader... yes
checking for gdk-pixbuf-2.0 >= 2.20... yes
checking for gdk-pixbuf-query-loaders... /mingw64/bin/gdk-pixbuf-query-loaders
checking if x86_64-w64-mingw32-gcc supports "-Wl,-Bsymbolic-functions" flag... yes
checking for gtk-doc... yes
checking for gtkdoc-check... gtkdoc-check.test
checking for gtkdoc-check... /mingw64/bin/gtkdoc-check
checking for gtkdoc-rebase... /mingw64/bin/gtkdoc-rebase
checking for gtkdoc-mkpdf... /mingw64/bin/gtkdoc-mkpdf
checking whether to build gtk-doc documentation... no
checking for glib-2.0 >= 2.10.0 gobject-2.0  >= 2.10.0... yes
checking whether to build miscellaneous tools... yes
checking whether to build Rust code with debugging information... no
checking for gobject-introspection... yes
checking for x86_64-w64-mingw32-pkg-config... (cached) /mingw64/bin/x86_64-w64-mingw32-pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for vala... yes
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking for LC_MESSAGES... no
checking for pangoft2 >= 1.38.0... yes
checking for fontconfig... yes
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating librsvg/librsvg-features.h
config.status: creating Makefile
config.status: creating librsvg-zip
config.status: creating gdk-pixbuf-loader/Makefile
config.status: creating tests/Makefile
config.status: creating tools/Makefile
config.status: creating doc/Makefile
config.status: creating doc/version.xml
config.status: creating config.h.win32
config.status: creating win32/Makefile
config.status: creating win32/vs12/Makefile
config.status: creating win32/vs12/rsvg-version-paths.props
config.status: creating win32/vs14/Makefile
config.status: creating win32/vs15/Makefile
config.status: creating librsvg-2.0.pc
config.status: creating librsvg-2.0-uninstalled.pc
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing libtool commands

librsvg-2.44.14

	prefix:                         /mingw64
	C compiler:                     x86_64-w64-mingw32-gcc
	rustc:                          rustc 1.35.0

        Debugging information for Rust: no

	Build introspectable bindings:  yes
	Build Vala bindings:            yes
	Build GdkPixbuf loader:         yes
        GTK+ 3.10.0 or later:           yes
	Build miscellaneous tools:      yes
	Build HTML documentation:       no

make  all-recursive
�[1;34mmake[1]:�[0m Entering directory '/scripts/mingw-w64-librsvg/src/build-x86_64-w64-mingw32'
Making all in .
�[1;34mmake[2]:�[0m Entering directory '/scripts/mingw-w64-librsvg/src/build-x86_64-w64-mingw32'
  CC       rsvg_convert-rsvg-convert.o
cd ../librsvg-2.44.14/rsvg_internals &&					\
PKG_CONFIG_ALLOW_CROSS=1						\
PKG_CONFIG='/mingw64/bin/x86_64-w64-mingw32-pkg-config'						\
CARGO_TARGET_DIR=/scripts/mingw-w64-librsvg/src/build-x86_64-w64-mingw32/target					\
cargo --locked build   --release
  CC       rsvg_view_3-rsvg-view.o
  CC       librsvg/rsvg_convert-rsvg-size-callback.o
  CC       librsvg/2_la-librsvg-features.lo
  CC       librsvg/2_la-rsvg-base.lo
  CC       librsvg/2_la-rsvg-handle.lo
  CC       librsvg/2_la-rsvg-io.lo
  CC       librsvg/2_la-rsvg-load.lo
  CC       librsvg/2_la-rsvg-pixbuf.lo
  CC       librsvg/2_la-rsvg-size-callback.lo
rsvg-view.c: In function 'button_press_event':
�[1;33m�[1;33m�[1;33mrsvg-view.c:479:9: warning:�[0m�[0m�[0m 'gtk_menu_popup' is deprecated: Use '(gtk_menu_popup_at_widget, gtk_menu_popup_at_pointer, gtk_menu_popup_at_rect)' instead [-Wdeprecated-declarations]
  479 |         gtk_menu_popup (GTK_MENU (info->popup_menu), NULL, NULL,
      |         ^~~~~~~~~~~~~~
In file included from C:/building/msys64/mingw64/include/gtk-3.0/gtk/gtklabel.h:34,
                 from C:/building/msys64/mingw64/include/gtk-3.0/gtk/gtkaccellabel.h:35,
                 from C:/building/msys64/mingw64/include/gtk-3.0/gtk/gtk.h:33,
                 from rsvg-view.c:29:
C:/building/msys64/mingw64/include/gtk-3.0/gtk/gtkmenu.h:138:9: note: declared here
  138 | void    gtk_menu_popup    (GtkMenu        *menu,
      |         ^~~~~~~~~~~~~~
rsvg-view.c: In function 'view_surface':
�[1;33m�[1;33m�[1;33mrsvg-view.c:561:13: warning:�[0m�[0m�[0m 'gtk_widget_override_background_color' is deprecated [-Wdeprecated-declarations]
  561 |             gtk_widget_override_background_color (parent_widget, GTK_STATE_FLAG_NORMAL, &rgba);
      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from C:/building/msys64/mingw64/include/gtk-3.0/gtk/gtkapplication.h:27,
                 from C:/building/msys64/mingw64/include/gtk-3.0/gtk/gtkwindow.h:33,
                 from C:/building/msys64/mingw64/include/gtk-3.0/gtk/gtkdialog.h:32,
                 from C:/building/msys64/mingw64/include/gtk-3.0/gtk/gtkaboutdialog.h:30,
                 from C:/building/msys64/mingw64/include/gtk-3.0/gtk/gtk.h:31,
                 from rsvg-view.c:29:
C:/building/msys64/mingw64/include/gtk-3.0/gtk/gtkwidget.h:1148:14: note: declared here
 1148 | void         gtk_widget_override_background_color (GtkWidget     *widget,
      |              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   Compiling winapi-x86_64-pc-windows-gnu v0.4.0
   Compiling proc-macro2 v0.4.19
   Compiling winapi v0.3.6
   Compiling version_check v0.1.5
   Compiling pkg-config v0.3.14
   Compiling rand_core v0.3.0
   Compiling unicode-xid v0.1.0
   Compiling cfg-if v0.1.5
   Compiling nodrop v0.1.12
   Compiling bitflags v1.0.4
librsvg/rsvg-handle.c: In function 'rsvg_handle_class_init':
�[1;33m�[1;33m�[1;33mlibrsvg/rsvg-handle.c:394:5: warning:�[0m�[0m�[0m 'g_type_class_add_private' is deprecated [-Wdeprecated-declarations]
  394 |     g_type_class_add_private (klass, sizeof (RsvgHandlePrivate));
      |     ^~~~~~~~~~~~~~~~~~~~~~~~
In file included from C:/building/msys64/mingw64/include/glib-2.0/gobject/gobject.h:24,
                 from C:/building/msys64/mingw64/include/glib-2.0/gobject/gbinding.h:29,
                 from C:/building/msys64/mingw64/include/glib-2.0/glib-object.h:23,
                 from C:/building/msys64/mingw64/include/glib-2.0/gio/gioenums.h:28,
                 from C:/building/msys64/mingw64/include/glib-2.0/gio/giotypes.h:28,
                 from C:/building/msys64/mingw64/include/glib-2.0/gio/gio.h:26,
                 from librsvg/rsvg-io.h:27,
                 from librsvg/rsvg-handle.c:127:
C:/building/msys64/mingw64/include/glib-2.0/gobject/gtype.h:1303:10: note: declared here
 1303 | void     g_type_class_add_private       (gpointer                    g_class,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~
In file included from C:/building/msys64/mingw64/include/glib-2.0/glib/glist.h:32,
                 from C:/building/msys64/mingw64/include/glib-2.0/glib/ghash.h:33,
                 from C:/building/msys64/mingw64/include/glib-2.0/glib.h:50,
                 from librsvg/rsvg-io.h:26,
                 from librsvg/rsvg-handle.c:127:
librsvg/rsvg-handle.c: In function 'rsvg_handle_get_dimensions_sub':
�[1;33m�[1;33m�[1;33mC:/building/msys64/mingw64/include/glib-2.0/glib/gmem.h:121:7: warning:�[0m�[0m�[0m ignoring return value of 'rsvg_node_unref', declared with attribute warn_unused_result [-Wunused-result]
  121 |       (destroy) (_ptr);                                                        \
      |       ^~~~~~~~~~~~~~~~
librsvg/rsvg-handle.c:1354:5: note: in expansion of macro 'g_clear_pointer'
 1354 |     g_clear_pointer (&root, rsvg_node_unref);
      |     ^~~~~~~~~~~~~~~
In file included from C:/building/msys64/mingw64/include/glib-2.0/glib/glist.h:32,
                 from C:/building/msys64/mingw64/include/glib-2.0/glib/ghash.h:33,
                 from C:/building/msys64/mingw64/include/glib-2.0/glib.h:50,
                 from librsvg/rsvg-attributes.h:7,
                 from librsvg/rsvg-load.c:29:
librsvg/rsvg-load.c: In function 'rsvg_load_free':
�[1;33m�[1;33m�[1;33mC:/building/msys64/mingw64/include/glib-2.0/glib/gmem.h:121:7: warning:�[0m�[0m�[0m ignoring return value of 'rsvg_node_unref', declared with attribute warn_unused_result [-Wunused-result]
  121 |       (destroy) (_ptr);                                                        \
      |       ^~~~~~~~~~~~~~~~
librsvg/rsvg-load.c:169:5: note: in expansion of macro 'g_clear_pointer'
  169 |     g_clear_pointer (&load->currentnode, rsvg_node_unref);
      |     ^~~~~~~~~~~~~~~
   Compiling siphasher v0.2.3
   Compiling libc v0.2.43
   Compiling num-traits v0.2.6
   Compiling num-complex v0.2.0
   Compiling winapi-build v0.1.1
   Compiling scopeguard v0.3.3
   Compiling typenum v1.10.0
   Compiling memoffset v0.2.1
   Compiling rayon-core v1.4.1
   Compiling void v1.0.2
   Compiling gio v0.4.1
   Compiling cairo-rs v0.4.1
   Compiling matrixmultiply v0.1.14
   Compiling ucd-util v0.1.1
   Compiling regex v0.2.11
   Compiling c_vec v1.3.2
   Compiling procedural-masquerade v0.1.6
   Compiling gdk-pixbuf v0.4.0
   Compiling utf8-ranges v1.0.1
   Compiling pangocairo v0.5.0
   Compiling regex v1.0.5
   Compiling libm v0.1.2
   Compiling rayon v1.0.2
   Compiling rawpointer v0.1.0
   Compiling dtoa v0.4.3
   Compiling winapi v0.2.8
   Compiling itoa v0.4.3
   Compiling stable_deref_trait v1.1.1
   Compiling bitflags v0.9.1
   Compiling lazy_static v0.2.11
   Compiling either v1.5.0
   Compiling matches v0.1.8
   Compiling downcast-rs v1.0.3
   Compiling language-tags v0.2.2
   Compiling crossbeam-utils v0.2.2
   Compiling arrayvec v0.4.7
   Compiling rand_core v0.2.2
   Compiling lazy_static v1.1.0
   Compiling memchr v2.1.0
   Compiling num_cpus v1.8.0
   Compiling glib-sys v0.6.0
   Compiling gobject-sys v0.6.0
   Compiling gio-sys v0.6.0
   Compiling pango-sys v0.6.0
   Compiling cairo-sys-rs v0.6.0
   Compiling pangocairo-sys v0.7.0
   Compiling gdk-pixbuf-sys v0.6.0
   Compiling phf_shared v0.7.23
   Compiling kernel32-sys v0.2.2
   Compiling unreachable v1.0.0
   Compiling regex-syntax v0.5.6
   Compiling regex-syntax v0.6.2
   Compiling owning_ref v0.3.3
   Compiling dtoa-short v0.3.2
   Compiling itertools v0.7.8
   Compiling phf v0.7.23
   Compiling smallvec v0.6.5
   Compiling generic-array v0.11.1
   Compiling approx v0.3.0
   Compiling float-cmp v0.4.0
   Compiling aho-corasick v0.6.8
   Compiling quote v0.6.8
   Compiling crossbeam-epoch v0.3.1
   Compiling thread_local v0.3.6
   Compiling rand v0.5.5
   Compiling alga v0.7.2
   Compiling crossbeam-deque v0.2.0
   Compiling syn v0.14.9
   Compiling glib v0.5.0
   Compiling phf_generator v0.7.23
   Compiling nalgebra v0.16.4
   Compiling phf_codegen v0.7.23
   Compiling pango v0.4.0
   Compiling rsvg_internals v0.0.1 (E:\mingwbuild\mingw-w64-librsvg\src\librsvg-2.44.14\rsvg_internals)
   Compiling locale_config v0.2.2
   Compiling cssparser v0.24.0
   Compiling cssparser-macros v0.3.4
�[1;33mwarning�[0m: use of deprecated item 'core::str::<impl str>::trim_left': superseded by `trim_start`
  --> rsvg_internals\src\space.rs:37:15
   |
37 |         s = s.trim_left();
   |               ^^^^^^^^^ help: replace the use of the deprecated item: `trim_start`
   |
   = note: #[warn(deprecated)] on by default

�[1;33mwarning�[0m: use of deprecated item 'core::str::<impl str>::trim_right': superseded by `trim_end`
  --> rsvg_internals\src\space.rs:41:15
   |
41 |         s = s.trim_right();
   |               ^^^^^^^^^^ help: replace the use of the deprecated item: `trim_end`

�[1;33mwarning�[0m: unused variable: `enable_background`
   --> rsvg_internals\src\drawing_ctx.rs:358:17
    |
358 |             let enable_background = values.enable_background;
    |                 ^^^^^^^^^^^^^^^^^ help: consider prefixing with an underscore: `_enable_background`
    |
    = note: #[warn(unused_variables)] on by default

    Finished release [optimized + debuginfo] target(s) in 2m 21s
  CCLD     librsvg-2.la

�[1;33m�[1;33m�[1;33m*** Warning:�[0m�[0m�[0m Trying to link with static lib archive /scripts/mingw-w64-librsvg/src/build-x86_64-w64-mingw32/target/release/librsvg_internals.a.
*** I have the capability to make that library automatically link in when
*** you link to this library.  But I can only do this if you have a
*** shared version of the library, which you do not appear to have
*** because the file extensions .a of this argument makes me believe
*** that it is just a static archive that I should not use here.
librsvg/.libs/2_la-rsvg-base.o:rsvg-base.c:(.text+0x111): undefined reference to `rsvg_css_parse_color'
librsvg/.libs/2_la-rsvg-handle.o:rsvg-handle.c:(.text+0xa6): undefined reference to `rsvg_defs_free'
librsvg/.libs/2_la-rsvg-handle.o:rsvg-handle.c:(.text+0xc1): undefined reference to `rsvg_css_styles_free'
librsvg/.libs/2_la-rsvg-handle.o:rsvg-handle.c:(.text+0xdc): undefined reference to `rsvg_tree_free'
librsvg/.libs/2_la-rsvg-handle.o:rsvg-handle.c:(.text+0x264): undefined reference to `rsvg_tree_root_is_svg'
librsvg/.libs/2_la-rsvg-handle.o:rsvg-handle.c:(.text+0x2d2): undefined reference to `rsvg_tree_free'
librsvg/.libs/2_la-rsvg-handle.o:rsvg-handle.c:(.text+0x350): undefined reference to `rsvg_drawing_ctx_new'
librsvg/.libs/2_la-rsvg-handle.o:rsvg-handle.c:(.text+0x3c8): undefined reference to `rsvg_rust_handle_flags_get_type'
librsvg/.libs/2_la-rsvg-handle.o:rsvg-handle.c:(.text+0xa6b): undefined reference to `rsvg_defs_new'
librsvg/.libs/2_la-rsvg-handle.o:rsvg-handle.c:(.text+0xa98): undefined reference to `rsvg_css_styles_new'
librsvg/.libs/2_la-rsvg-handle.o:rsvg-handle.c:(.text+0x195a): undefined reference to `rsvg_tree_get_root'
librsvg/.libs/2_la-rsvg-handle.o:rsvg-handle.c:(.text+0x199a): undefined reference to `rsvg_node_svg_get_size'
librsvg/.libs/2_la-rsvg-handle.o:rsvg-handle.c:(.text+0x19e9): undefined reference to `rsvg_node_svg_get_size'
librsvg/.libs/2_la-rsvg-handle.o:rsvg-handle.c:(.text+0x1a51): undefined reference to `rsvg_node_unref'
librsvg/.libs/2_la-rsvg-handle.o:rsvg-handle.c:(.text+0x1a69): undefined reference to `rsvg_defs_lookup'
librsvg/.libs/2_la-rsvg-handle.o:rsvg-handle.c:(.text+0x1a81): undefined reference to `rsvg_tree_is_root'
librsvg/.libs/2_la-rsvg-handle.o:rsvg-handle.c:(.text+0x1aae): undefined reference to `rsvg_node_svg_get_size'
librsvg/.libs/2_la-rsvg-handle.o:rsvg-handle.c:(.text+0x1e33): undefined reference to `rsvg_defs_lookup'
�[1;34mmake[2]:�[0m Leaving directory '/scripts/mingw-w64-librsvg/src/build-x86_64-w64-mingw32'
librsvg/.libs/2_la-rsvg-handle.o:rsvg-handle.c:(.text+0x1e8c): undefined reference to `rsvg_drawing_ctx_add_node_and_ancestors_to_stack'
librsvg/.libs/2_la-rsvg-handle.o:rsvg-handle.c:(.text+0x1e99): undefined reference to `rsvg_tree_cascade'
librsvg/.libs/2_la-rsvg-handle.o:rsvg-handle.c:(.text+0x1ea9): undefined reference to `rsvg_drawing_ctx_draw_node_from_stack'
librsvg/.libs/2_la-rsvg-handle.o:rsvg-handle.c:(.text+0x1eb5): undefined reference to `rsvg_drawing_ctx_free'
librsvg/.libs/2_la-rsvg-handle.o:rsvg-handle.c:(.text+0x1fa0): undefined reference to `rsvg_drawing_ctx_add_node_and_ancestors_to_stack'
librsvg/.libs/2_la-rsvg-handle.o:rsvg-handle.c:(.text+0x1fad): undefined reference to `rsvg_tree_cascade'
librsvg/.libs/2_la-rsvg-handle.o:rsvg-handle.c:(.text+0x1fbd): undefined reference to `rsvg_drawing_ctx_draw_node_from_stack'
librsvg/.libs/2_la-rsvg-handle.o:rsvg-handle.c:(.text+0x1fcc): undefined reference to `rsvg_drawing_ctx_free'
librsvg/.libs/2_la-rsvg-handle.o:rsvg-handle.c:(.text+0x2018): undefined reference to `rsvg_drawing_ctx_get_ink_rect'
�[1;34mmake[1]:�[0m *** [Makefile:1438: all-recursive] Error 1
�[1;34mmake[1]:�[0m Leaving directory '/scripts/mingw-w64-librsvg/src/build-x86_64-w64-mingw32'
librsvg/.libs/2_la-rsvg-handle.o:rsvg-handle.c:(.text+0x2101): undefined reference to `rsvg_defs_lookup'
librsvg/.libs/2_la-rsvg-handle.o:rsvg-handle.c:(.text+0x211d): undefined reference to `rsvg_tree_is_root'
librsvg/.libs/2_la-rsvg-handle.o:rsvg-handle.c:(.text+0x21ec): undefined reference to `rsvg_defs_lookup'
librsvg/.libs/2_la-rsvg-handle.o:rsvg-handle.c:(.text+0x2751): undefined reference to `rsvg_tree_cascade'
librsvg/.libs/2_la-rsvg-handle.o:rsvg-handle.c:(.text+0x2951): undefined reference to `rsvg_rust_error_get_type'
librsvg/.libs/2_la-rsvg-handle.o:rsvg-handle.c:(.text+0x2961): undefined reference to `rsvg_rust_handle_flags_get_type'
librsvg/.libs/2_la-rsvg-load.o:rsvg-load.c:(.text+0x1be): undefined reference to `rsvg_css_parse_into_handle'
librsvg/.libs/2_la-rsvg-load.o:rsvg-load.c:(.text+0x1f9): undefined reference to `rsvg_load_new_node'
librsvg/.libs/2_la-rsvg-load.o:rsvg-load.c:(.text+0x21d): undefined reference to `rsvg_node_add_child'
librsvg/.libs/2_la-rsvg-load.o:rsvg-load.c:(.text+0x226): undefined reference to `rsvg_node_unref'
librsvg/.libs/2_la-rsvg-load.o:rsvg-load.c:(.text+0x232): undefined reference to `rsvg_node_ref'
librsvg/.libs/2_la-rsvg-load.o:rsvg-load.c:(.text+0x244): undefined reference to `rsvg_load_set_node_atts'
librsvg/.libs/2_la-rsvg-load.o:rsvg-load.c:(.text+0x25e): undefined reference to `rsvg_tree_new'
librsvg/.libs/2_la-rsvg-load.o:rsvg-load.c:(.text+0x8d3): undefined reference to `rsvg_property_bag_new'
librsvg/.libs/2_la-rsvg-load.o:rsvg-load.c:(.text+0x8e3): undefined reference to `rsvg_property_bag_iter_begin'
librsvg/.libs/2_la-rsvg-load.o:rsvg-load.c:(.text+0x913): undefined reference to `rsvg_property_bag_iter_next'
librsvg/.libs/2_la-rsvg-load.o:rsvg-load.c:(.text+0x977): undefined reference to `rsvg_property_bag_iter_end'
librsvg/.libs/2_la-rsvg-load.o:rsvg-load.c:(.text+0xa2c): undefined reference to `rsvg_css_parse_into_handle'
librsvg/.libs/2_la-rsvg-load.o:rsvg-load.c:(.text+0xa49): undefined reference to `rsvg_property_bag_free'
librsvg/.libs/2_la-rsvg-load.o:rsvg-load.c:(.text+0xb1a): undefined reference to `rsvg_load_set_svg_node_atts'
librsvg/.libs/2_la-rsvg-load.o:rsvg-load.c:(.text+0xb43): undefined reference to `rsvg_node_get_parent'
librsvg/.libs/2_la-rsvg-load.o:rsvg-load.c:(.text+0xb4f): undefined reference to `rsvg_node_unref'
librsvg/.libs/2_la-rsvg-load.o:rsvg-load.c:(.text+0xbc3): undefined reference to `rsvg_node_find_last_chars_child'
librsvg/.libs/2_la-rsvg-load.o:rsvg-load.c:(.text+0xbe1): undefined reference to `rsvg_node_chars_append'
librsvg/.libs/2_la-rsvg-load.o:rsvg-load.c:(.text+0xbe9): undefined reference to `rsvg_node_unref'
librsvg/.libs/2_la-rsvg-load.o:rsvg-load.c:(.text+0xbfd): undefined reference to `rsvg_node_chars_new'
librsvg/.libs/2_la-rsvg-load.o:rsvg-load.c:(.text+0xc0b): undefined reference to `rsvg_node_add_child'
�[1;34mmake:�[0m *** [Makefile:931: all] Error 2
librsvg/.libs/2_la-rsvg-load.o:rsvg-load.c:(.text+0xc94): undefined reference to `rsvg_property_bag_iter_begin'
librsvg/.libs/2_la-rsvg-load.o:rsvg-load.c:(.text+0xcc6): undefined reference to `rsvg_property_bag_iter_next'
librsvg/.libs/2_la-rsvg-load.o:rsvg-load.c:(.text+0xcf5): undefined reference to `rsvg_property_bag_iter_end'
librsvg/.libs/2_la-rsvg-load.o:rsvg-load.c:(.text+0xeb8): undefined reference to `rsvg_property_bag_new'
librsvg/.libs/2_la-rsvg-load.o:rsvg-load.c:(.text+0xee2): undefined reference to `rsvg_property_bag_free'
librsvg/.libs/2_la-rsvg-load.o:rsvg-load.c:(.text+0xfda): undefined reference to `rsvg_property_bag_iter_begin'
librsvg/.libs/2_la-rsvg-load.o:rsvg-load.c:(.text+0xff7): undefined reference to `rsvg_property_bag_iter_next'
librsvg/.libs/2_la-rsvg-load.o:rsvg-load.c:(.text+0x1003): undefined reference to `rsvg_property_bag_iter_end'
librsvg/.libs/2_la-rsvg-load.o:rsvg-load.c:(.text+0x133d): undefined reference to `rsvg_node_unref'
librsvg/.libs/2_la-rsvg-load.o:rsvg-load.c:(.text+0x1355): undefined reference to `rsvg_tree_free'
librsvg/.libs/2_la-rsvg-load.o:rsvg-load.c:(.text+0x18d4): undefined reference to `rsvg_tree_free'
librsvg/.libs/2_la-rsvg-load.o:rsvg-load.c:(.text+0x256): undefined reference to `rsvg_node_unref'
ollect2.exe: error:  ld returned 1 exit status
make[2]: *** [Makefile:1100: librsvg-2.la] Error 1
 A failure occurred in build().

@jtanx
Copy link
Contributor

jtanx commented Jun 18, 2019

Disclaimer: I haven't tested this out at all, so I may be completely wrong.

But I have a gut feeling, this will be fixed if you pass LDFLAGS=-Wl,--no-undefined

@Alexpux
Copy link
Member

Alexpux commented Jun 18, 2019

@jtanx it not

@Alexpux
Copy link
Member

Alexpux commented Jun 18, 2019

@kozross @jtanx fixed by c896f49

Hope it works ok

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants