DE-IBH/apt-dater

compiling fails

templis opened this issue · 0 comments

Cant compile and run anymore on archlinux on 1.0.3 branch.
My Installed version even don't update the states of the hosts shown in ncurses menu.

On compiling got those warnings:

ui.c: In Funktion »doUI«:
ui.c:1845:2: Warnung: »g_completion_new« ist veraltet [-Wdeprecated-declarations]
  dlCompl = g_completion_new(compDl);
  ^~~~~~~
In file included from /usr/include/glib-2.0/glib.h:105:0,
                 from apt-dater.h:39,
                 from ui.c:32:
/usr/include/glib-2.0/glib/deprecated/gcompletion.h:58:14: Anmerkung: hier deklariert
 GCompletion* g_completion_new           (GCompletionFunc func);
              ^~~~~~~~~~~~~~~~
ui.c:1846:2: Warnung: »g_completion_add_items« ist veraltet [-Wdeprecated-declarations]
  g_completion_add_items(dlCompl, drawlist);
  ^~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/glib-2.0/glib.h:105:0,
                 from apt-dater.h:39,
                 from ui.c:32:
/usr/include/glib-2.0/glib/deprecated/gcompletion.h:60:14: Anmerkung: hier deklariert
 void         g_completion_add_items     (GCompletion*    cmp,
              ^~~~~~~~~~~~~~~~~~~~~~
ui.c:1847:2: Warnung: »g_completion_set_compare« ist veraltet [-Wdeprecated-declarations]
  g_completion_set_compare(dlCompl, strcompDl);
  ^~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/glib-2.0/glib.h:105:0,
                 from apt-dater.h:39,
                 from ui.c:32:
/usr/include/glib-2.0/glib/deprecated/gcompletion.h:76:14: Anmerkung: hier deklariert
 void         g_completion_set_compare   (GCompletion *cmp,
              ^~~~~~~~~~~~~~~~~~~~~~~~
ui.c: In Funktion »expandAllNodes«:
ui.c:2480:2: Warnung: »g_completion_clear_items« ist veraltet [-Wdeprecated-declarations]
  g_completion_clear_items (dlCompl);
  ^~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/glib-2.0/glib.h:105:0,
                 from apt-dater.h:39,
                 from ui.c:32:
/usr/include/glib-2.0/glib/deprecated/gcompletion.h:66:14: Anmerkung: hier deklariert
 void         g_completion_clear_items   (GCompletion*    cmp);
              ^~~~~~~~~~~~~~~~~~~~~~~~
ui.c:2481:2: Warnung: »g_completion_add_items« ist veraltet [-Wdeprecated-declarations]
  g_completion_add_items (dlCompl, drawlist);
  ^~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/glib-2.0/glib.h:105:0,
                 from apt-dater.h:39,
                 from ui.c:32:

and those errors:

gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include  -D_REENTRANT=1  -D_THREAD_SAFE=1  -D_LARGEFILE64_SOURCE=1  -I/usr/include/libxml2 -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include  -I/usr/include/ncursesw -D_FORTIFY_SOURCE=2 -Wall -DPKGLIBDIR='"'/usr/lib/apt-dater'"' -DSOURCE_DATE_UTC="\"Tue Oct 31 10:59:41 UTC 2017\"" -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt -MT screen.o -MD -MP -MF .deps/screen.Tpo -c -o screen.o screen.c
mv -f .deps/screen.Tpo .deps/screen.Po
gcc -Wall -DPKGLIBDIR='"'/usr/lib/apt-dater'"' -DSOURCE_DATE_UTC="\"Tue Oct 31 10:59:41 UTC 2017\"" -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt -Wl,--as-needed -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -o apt-dater main.o apt-dater.o colors.o exec.o keyfiles.o lock.o parsecmd.o report.o sighandler.o stats.o ui.o autoref.o tag.o history.o env.o clusters.o glue.o tmux.o screen.o -lglib-2.0 -L/usr/lib -ltcl8.6 -ldl -lz -lpthread -lieee -lm -lxml2 -lgio-2.0 -lgobject-2.0 -lglib-2.0 -lglib-2.0 -lpopt  -lncursesw
/usr/bin/ld: ui.o: undefined reference to symbol 'wtimeout'
/usr/lib/libtinfo.so.6: error adding symbols: DSO missing from command line
collect2: Fehler: ld gab 1 als Ende-Status zurück

even if i try to compile the master branch i got those errors