Open SimonN opened 7 years ago
Hi, I'm on an up-to-date Archlinux, building urn from the Arch User Repository. Everything builds, installs, and runs -- thanks!
I got a few compiler warnings for GTK3 function call deprecations.
My compiler is gcc:
cc -v Using built-in specs. COLLECT_GCC=cc COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-pc-linux-gnu/6.2.1/lto-wrapper Target: x86_64-pc-linux-gnu Configured with: /build/gcc/src/gcc/configure --prefix=/usr --libdir=/usr/lib --libexecdir=/usr/lib --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=https://bugs.archlinux.org/ --enable-languages=c,c++,ada,fortran,go,lto,objc,obj-c++ --enable-shared --enable-threads=posix --enable-libmpx --with-system-zlib --with-isl --enable-__cxa_atexit --disable-libunwind-exceptions --enable-clocale=gnu --disable-libstdcxx-pch --disable-libssp --enable-gnu-unique-object --enable-linker-build-id --enable-lto --enable-plugin --enable-install-libiberty --with-linker-hash-style=gnu --enable-gnu-indirect-function --disable-multilib --disable-werror --enable-checking=release Thread model: posix gcc version 6.2.1 20160830 (GCC)
Entire build log for urn, including the compiler warnings for urn in the middle:
==> Retrieving sources... -> Cloning urn git repo... Cloning into bare repository '/home/simon/c/notown/urn-git/urn'... remote: Counting objects: 353, done. remote: Total 353 (delta 0), reused 0 (delta 0), pack-reused 353 Receiving objects: 100% (353/353), 290.21 KiB | 0 bytes/s, done. Resolving deltas: 100% (202/202), done. -> Cloning urn-themes git repo... Cloning into bare repository '/home/simon/c/notown/urn-git/urn-themes'... remote: Counting objects: 17, done. remote: Total 17 (delta 0), reused 0 (delta 0), pack-reused 17 Unpacking objects: 100% (17/17), done. -> Found urn.desktop ==> Validating source files with sha1sums... urn ... Skipped urn-themes ... Skipped urn.desktop ... Passed ==> Extracting sources... -> Creating working copy of urn git repo... Cloning into 'urn'... done. -> Creating working copy of urn-themes git repo... Cloning into 'urn-themes'... done. ==> Starting prepare()... Submodule 'themes' (https://github.com/3snowp7im/urn-themes) registered for path 'themes' Cloning into '/home/simon/c/notown/urn-git/src/urn/themes'... Submodule path 'themes': checked out 'ecb3edd63583a7a70f2ee606f61dbda5023c8683' ==> Starting pkgver()... ==> Updated version: urn-git r92.4bc9b9f-1 ==> Starting build()... xxd --include urn-gtk.css > urn-gtk.h || (rm urn-gtk.h; false) cc -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong `pkg-config --cflags gtk+-3.0 x11 jansson` -D_FORTIFY_SOURCE=2 -c -o urn-gtk.o urn-gtk.c urn-gtk.c: In function ‘urn_app_window_step’: urn-gtk.c:133:13: warning: ‘gdk_cursor_new’ is deprecated [-Wdeprecated-declarations] GdkCursor* cursor = gdk_cursor_new(GDK_BLANK_CURSOR); ^~~~~~~~~ In file included from /usr/include/gtk-3.0/gdk/gdk.h:34:0, from /usr/include/gtk-3.0/gtk/gtk.h:30, from urn-gtk.c:8: /usr/include/gtk-3.0/gdk/gdkcursor.h:228:12: note: declared here GdkCursor* gdk_cursor_new (GdkCursorType cursor_type); ^~~~~~~~~~~~~~ cc -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong `pkg-config --cflags gtk+-3.0 x11 jansson` -D_FORTIFY_SOURCE=2 -c -o urn.o urn.c cc -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong `pkg-config --cflags gtk+-3.0 x11 jansson` -D_FORTIFY_SOURCE=2 -c -o bind.o bind.c cc -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong `pkg-config --cflags gtk+-3.0 x11 jansson` -D_FORTIFY_SOURCE=2 -c -o components/urn-component.o components/urn-component.c cc -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong `pkg-config --cflags gtk+-3.0 x11 jansson` -D_FORTIFY_SOURCE=2 -c -o components/title.o components/title.c components/title.c: In function ‘urn_component_title_new’: components/title.c:31:5: warning: ‘gtk_widget_set_margin_left’ is deprecated: Use 'gtk_widget_set_margin_start' instead [-Wdeprecated-declarations] gtk_widget_set_margin_left(self->attempt_count, 8); ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/gtk-3.0/gtk/gtkapplication.h:27:0, from /usr/include/gtk-3.0/gtk/gtkwindow.h:33, from /usr/include/gtk-3.0/gtk/gtkdialog.h:32, from /usr/include/gtk-3.0/gtk/gtkaboutdialog.h:30, from /usr/include/gtk-3.0/gtk/gtk.h:31, from components/urn-component.h:7, from components/title.c:1: /usr/include/gtk-3.0/gtk/gtkwidget.h:1086:10: note: declared here void gtk_widget_set_margin_left (GtkWidget *widget, ^~~~~~~~~~~~~~~~~~~~~~~~~~ cc -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong `pkg-config --cflags gtk+-3.0 x11 jansson` -D_FORTIFY_SOURCE=2 -c -o components/splits.o components/splits.c components/splits.c: In function ‘urn_component_splits_new’: components/splits.c:37:5: warning: ‘gtk_widget_override_background_color’ is deprecated [-Wdeprecated-declarations] gtk_widget_override_background_color( ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/gtk-3.0/gtk/gtkapplication.h:27:0, from /usr/include/gtk-3.0/gtk/gtkwindow.h:33, from /usr/include/gtk-3.0/gtk/gtkdialog.h:32, from /usr/include/gtk-3.0/gtk/gtkaboutdialog.h:30, from /usr/include/gtk-3.0/gtk/gtk.h:31, from components/urn-component.h:7, from components/splits.c:1: /usr/include/gtk-3.0/gtk/gtkwidget.h:1148:14: note: declared here void gtk_widget_override_background_color (GtkWidget *widget, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ components/splits.c: In function ‘splits_draw’: components/splits.c:278:17: warning: ‘gtk_widget_set_margin_left’ is deprecated: Use 'gtk_widget_set_margin_start' instead [-Wdeprecated-declarations] gtk_widget_set_margin_left(self->split_times[i], ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/gtk-3.0/gtk/gtkapplication.h:27:0, from /usr/include/gtk-3.0/gtk/gtkwindow.h:33, from /usr/include/gtk-3.0/gtk/gtkdialog.h:32, from /usr/include/gtk-3.0/gtk/gtkaboutdialog.h:30, from /usr/include/gtk-3.0/gtk/gtk.h:31, from components/urn-component.h:7, from components/splits.c:1: /usr/include/gtk-3.0/gtk/gtkwidget.h:1086:10: note: declared here void gtk_widget_set_margin_left (GtkWidget *widget, ^~~~~~~~~~~~~~~~~~~~~~~~~~ cc -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong `pkg-config --cflags gtk+-3.0 x11 jansson` -D_FORTIFY_SOURCE=2 -c -o components/timer.o components/timer.c cc -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong `pkg-config --cflags gtk+-3.0 x11 jansson` -D_FORTIFY_SOURCE=2 -c -o components/prev-segment.o components/prev-segment.c cc -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong `pkg-config --cflags gtk+-3.0 x11 jansson` -D_FORTIFY_SOURCE=2 -c -o components/best-sum.o components/best-sum.c cc -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong `pkg-config --cflags gtk+-3.0 x11 jansson` -D_FORTIFY_SOURCE=2 -c -o components/pb.o components/pb.c cc -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong `pkg-config --cflags gtk+-3.0 x11 jansson` -D_FORTIFY_SOURCE=2 -c -o components/wr.o components/wr.c cc -Wl,-O1,--sort-common,--as-needed,-z,relro urn-gtk.o urn.o bind.o components/urn-component.o components/title.o components/splits.o components/timer.o components/prev-segment.o components/best-sum.o components/pb.o components/wr.o `pkg-config --libs gtk+-3.0 x11 jansson` -o urn-gtk ==> Entering fakeroot environment... ==> Starting package()... ==> Tidying install... -> Removing libtool files... -> Purging unwanted files... -> Removing static library files... -> Stripping unneeded symbols from binaries and libraries... -> Compressing man and info pages... ==> Checking for packaging issue... ==> Creating package "urn-git"... -> Generating .PKGINFO file... -> Generating .BUILDINFO file... -> Adding install file... -> Generating .MTREE file... -> Compressing package... ==> Leaving fakeroot environment. ==> Finished making: urn-git r92.4bc9b9f-1 (Sat Oct 22 23:02:40 CEST 2016) ==> Installing package urn-git with pacman -U... loading packages... resolving dependencies... looking for conflicting packages... Packages (1) urn-git-r92.4bc9b9f-1 Total Installed Size: 0.29 MiB :: Proceed with installation? [Y/n]
Hi, I'm on an up-to-date Archlinux, building urn from the Arch User Repository. Everything builds, installs, and runs -- thanks!
I got a few compiler warnings for GTK3 function call deprecations.
My compiler is gcc:
Entire build log for urn, including the compiler warnings for urn in the middle: