Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Cogitri/e63b8db8c3d9c51366fb2aa1224dc469 to your computer and use it in GitHub Desktop.
Save Cogitri/e63b8db8c3d9c51366fb2aa1224dc469 to your computer and use it in GitHub Desktop.
masterdir/builddir/.xbps-librsvg/librsvg_aarch64-musl_do_build.log
GEN librsvg/s-enum-types-h
GEN librsvg/s-enum-types-c
make all-recursive
make[1]: Entering directory '/builddir/librsvg-2.44.7'
Making all in .
make[2]: Entering directory '/builddir/librsvg-2.44.7'
cd ./rsvg_internals && \
PKG_CONFIG_ALLOW_CROSS=1 \
PKG_CONFIG='/builddir/.xbps-librsvg/wrappers/aarch64-linux-musl-pkg-config' \
CARGO_TARGET_DIR=/builddir/librsvg-2.44.7/target \
cargo build --target=aarch64-unknown-linux-musl --release
CC rsvg_view_3-rsvg-view.o
Compiling bitflags v1.0.4
Compiling nodrop v0.1.12
Compiling cfg-if v0.1.5
Compiling libc v0.2.43
Compiling memoffset v0.2.1
Compiling scopeguard v0.3.3
Compiling rand_core v0.3.0
rsvg-view.c: In function 'button_press_event':
rsvg-view.c:479:9: warning: 'gtk_menu_popup' is deprecated: Use '(gtk_menu_popup_at_widget, gtk_menu_popup_at_pointer, gtk_menu_popup_at_rect)' instead [-Wdeprecated-declarations]
gtk_menu_popup (GTK_MENU (info->popup_menu), NULL, NULL,
^~~~~~~~~~~~~~
In file included from /usr/aarch64-linux-musl/usr/include/gtk-3.0/gtk/gtklabel.h:34,
from /usr/aarch64-linux-musl/usr/include/gtk-3.0/gtk/gtkaccellabel.h:35,
from /usr/aarch64-linux-musl/usr/include/gtk-3.0/gtk/gtk.h:33,
from rsvg-view.c:29:
/usr/aarch64-linux-musl/usr/include/gtk-3.0/gtk/gtkmenu.h:138:9: note: declared here
void gtk_menu_popup (GtkMenu *menu,
^~~~~~~~~~~~~~
rsvg-view.c: In function 'view_surface':
rsvg-view.c:561:13: warning: 'gtk_widget_override_background_color' is deprecated [-Wdeprecated-declarations]
gtk_widget_override_background_color (parent_widget, GTK_STATE_FLAG_NORMAL, &rgba);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/aarch64-linux-musl/usr/include/gtk-3.0/gtk/gtkapplication.h:27,
from /usr/aarch64-linux-musl/usr/include/gtk-3.0/gtk/gtkwindow.h:33,
from /usr/aarch64-linux-musl/usr/include/gtk-3.0/gtk/gtkdialog.h:32,
from /usr/aarch64-linux-musl/usr/include/gtk-3.0/gtk/gtkaboutdialog.h:30,
from /usr/aarch64-linux-musl/usr/include/gtk-3.0/gtk/gtk.h:31,
from rsvg-view.c:29:
/usr/aarch64-linux-musl/usr/include/gtk-3.0/gtk/gtkwidget.h:1148:14: note: declared here
void gtk_widget_override_background_color (GtkWidget *widget,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Compiling void v1.0.2
Compiling siphasher v0.2.3
Compiling ucd-util v0.1.1
Compiling libm v0.1.2
Compiling c_vec v1.3.2
Compiling dtoa v0.4.3
CC rsvg_convert-rsvg-convert.o
Compiling utf8-ranges v1.0.1
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
librsvg/rsvg-handle.c: In function 'rsvg_handle_class_init':
librsvg/rsvg-handle.c:390:5: warning: 'g_type_class_add_private' is deprecated [-Wdeprecated-declarations]
g_type_class_add_private (klass, sizeof (RsvgHandlePrivate));
^~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/aarch64-linux-musl/usr/include/glib-2.0/gobject/gobject.h:24,
from /usr/aarch64-linux-musl/usr/include/glib-2.0/gobject/gbinding.h:29,
from /usr/aarch64-linux-musl/usr/include/glib-2.0/glib-object.h:23,
from /usr/aarch64-linux-musl/usr/include/glib-2.0/gio/gioenums.h:28,
from /usr/aarch64-linux-musl/usr/include/glib-2.0/gio/giotypes.h:28,
from /usr/aarch64-linux-musl/usr/include/glib-2.0/gio/gio.h:26,
from librsvg/rsvg-io.h:27,
from librsvg/rsvg-handle.c:127:
/usr/aarch64-linux-musl/usr/include/glib-2.0/gobject/gtype.h:1303:10: note: declared here
void g_type_class_add_private (gpointer g_class,
^~~~~~~~~~~~~~~~~~~~~~~~
Compiling rawpointer v0.1.0
In file included from /usr/aarch64-linux-musl/usr/include/glib-2.0/glib/glist.h:32,
from /usr/aarch64-linux-musl/usr/include/glib-2.0/glib/ghash.h:33,
from /usr/aarch64-linux-musl/usr/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':
/usr/aarch64-linux-musl/usr/include/glib-2.0/glib/gmem.h:121:7: warning: ignoring return value of 'rsvg_node_unref', declared with attribute warn_unused_result [-Wunused-result]
(destroy) (_ptr); \
^~~~~~~~~~~~~~~~
librsvg/rsvg-handle.c:1275:5: note: in expansion of macro 'g_clear_pointer'
g_clear_pointer (&root, rsvg_node_unref);
^~~~~~~~~~~~~~~
CC librsvg/2_la-librsvg-enum-types.lo
Compiling matches v0.1.8
In file included from /usr/aarch64-linux-musl/usr/include/glib-2.0/glib/glist.h:32,
from /usr/aarch64-linux-musl/usr/include/glib-2.0/glib/ghash.h:33,
from /usr/aarch64-linux-musl/usr/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':
/usr/aarch64-linux-musl/usr/include/glib-2.0/glib/gmem.h:121:7: warning: ignoring return value of 'rsvg_node_unref', declared with attribute warn_unused_result [-Wunused-result]
(destroy) (_ptr); \
^~~~~~~~~~~~~~~~
librsvg/rsvg-load.c:169:5: note: in expansion of macro 'g_clear_pointer'
g_clear_pointer (&load->currentnode, rsvg_node_unref);
^~~~~~~~~~~~~~~
Compiling lazy_static v0.2.11
Compiling itoa v0.4.3
Compiling procedural-masquerade v0.1.6
Compiling stable_deref_trait v1.1.1
Compiling bitflags v0.9.1
Compiling either v1.5.0
Compiling language-tags v0.2.2
Compiling downcast-rs v1.0.3
Compiling num-traits v0.2.6
Compiling num-complex v0.2.0
Compiling typenum v1.10.0
Compiling crossbeam-utils v0.2.2
Compiling rayon-core v1.4.1
Compiling matrixmultiply v0.1.14
Compiling arrayvec v0.4.7
Compiling regex v0.2.11
Compiling unreachable v1.0.0
Compiling phf_shared v0.7.23
Compiling dtoa-short v0.3.2
Compiling regex-syntax v0.5.6
Compiling regex-syntax v0.6.2
Compiling rand_core v0.2.2
Compiling num_cpus v1.8.0
Compiling regex v1.0.5
Compiling owning_ref v0.3.3
Compiling glib-sys v0.6.0
Compiling cairo-sys-rs v0.6.0
Compiling lazy_static v1.1.0
Compiling memchr v2.1.0
Compiling itertools v0.7.8
Compiling rayon v1.0.2
Compiling smallvec v0.6.5
Compiling rand v0.5.5
Compiling phf v0.7.23
Compiling gobject-sys v0.6.0
Compiling cairo-rs v0.4.1
Compiling generic-array v0.11.1
Compiling gio-sys v0.6.0
Compiling pango-sys v0.6.0
Compiling crossbeam-epoch v0.3.1
Compiling thread_local v0.3.6
Compiling approx v0.3.0
Compiling float-cmp v0.4.0
Compiling aho-corasick v0.6.8
Compiling gio v0.4.1
Compiling gdk-pixbuf-sys v0.6.0
Compiling pangocairo-sys v0.7.0
Compiling crossbeam-deque v0.2.0
Compiling gdk-pixbuf v0.4.0
Compiling cssparser v0.24.0
Compiling pangocairo v0.5.0
Compiling rsvg_internals v0.0.1 (file:///builddir/librsvg-2.44.7/rsvg_internals)
Compiling alga v0.7.2
Compiling glib v0.5.0
Compiling nalgebra v0.16.4
Compiling locale_config v0.2.2
Compiling pango v0.4.0
Finished release [optimized + debuginfo] target(s) in 1m 18s
CCLD librsvg-2.la
*** Warning: Linking the shared library librsvg-2.la against the
*** static library /builddir/librsvg-2.44.7/target/aarch64-unknown-linux-musl/release/librsvg_internals.a is not portable!
/usr/lib/gcc/aarch64-linux-musl/8.2.0/../../../../aarch64-linux-musl/bin/ld: /builddir/librsvg-2.44.7/target/aarch64-unknown-linux-musl/release/librsvg_internals.a(sysconf.lo): Relocations in generic ELF (EM: 62)
/usr/lib/gcc/aarch64-linux-musl/8.2.0/../../../../aarch64-linux-musl/bin/ld: /builddir/librsvg-2.44.7/target/aarch64-unknown-linux-musl/release/librsvg_internals.a(sysconf.lo): Relocations in generic ELF (EM: 62)
/builddir/librsvg-2.44.7/target/aarch64-unknown-linux-musl/release/librsvg_internals.a: error adding symbols: File in wrong format
collect2: error: ld returned 1 exit status
make[2]: *** [Makefile:1110: librsvg-2.la] Error 1
make[2]: Leaving directory '/builddir/librsvg-2.44.7'
make[1]: *** [Makefile:1456: all-recursive] Error 1
make[1]: Leaving directory '/builddir/librsvg-2.44.7'
make: *** [Makefile:939: all] Error 2
=> ERROR: librsvg-2.44.7_1: do_build: '${make_cmd} ${makejobs} ${make_build_args} ${make_build_target}' exited with 2
=> ERROR: in do_build() at common/build-style/gnu-configure.sh:13

@Gottox
Copy link

Gottox commented Oct 12, 2018

$ ar x /builddir/librsvg-2.44.7/target/aarch64-unknown-linux-musl/release/librsvg_internals.a
$ file sysconf.lo                                                                            
sysconf.lo: ELF 64-bit LSB relocatable, x86-64, version 1 (SYSV), not stripped

It uses host libraries.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment