Source: xxxterm
Version: 1:1.11.3-1.1
Severity: serious

>From my pbuilder build log:

...
Generating ../xxxterm.o.depend
cc  -O2 -Wall -ggdb3 -D_GNU_SOURCE -I. -I.. -pthread -I/usr/include/gtk-2.0 
-I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -I/usr/include/atk-1.0 
-I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 
-I/usr/include/gio-unix-2.0/ -I/usr/include/freetype2 -I/usr/include/glib-2.0 
-I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/pixman-1 
-I/usr/include/libpng12 -I/usr/include/libdrm -I/usr/include/harfbuzz 
-I/usr/include/libsoup-2.4 -I/usr/include/libxml2 -I/usr/include/p11-kit-1 
-I/usr/include/webkitgtk-1.0   -o ../xxxterm.o -c ../xxxterm.c
../xxxterm.c: In function 'connect_socket_from_uri':
../xxxterm.c:1474:19: error: storage size of 'hints' isn't known
  struct addrinfo  hints, *res = NULL, *ai;
                   ^
../xxxterm.c:1497:23: error: invalid application of 'sizeof' to incomplete type 
'struct addrinfo'
  bzero(&hints, sizeof(struct addrinfo));
                       ^
../xxxterm.c:1498:19: error: 'AI_CANONNAME' undeclared (first use in this 
function)
  hints.ai_flags = AI_CANONNAME;
                   ^
../xxxterm.c:1498:19: note: each undeclared identifier is reported only once 
for each function it appears in
../xxxterm.c:1502:2: warning: implicit declaration of function 'getaddrinfo' 
[-Wimplicit-function-declaration]
  if ((error = getaddrinfo(su->host, port, &hints, &res))) {
  ^
../xxxterm.c:1504:7: warning: implicit declaration of function 'gai_strerror' 
[-Wimplicit-function-declaration]
       gai_strerror(errno));
       ^
../xxxterm.c:1504:7: warning: format '%s' expects argument of type 'char *', 
but argument 4 has type 'int' [-Wformat=]
../xxxterm.c:1504:7: warning: format '%s' expects argument of type 'char *', 
but argument 4 has type 'int' [-Wformat=]
../xxxterm.c:1508:28: error: dereferencing pointer to incomplete type
  for (ai = res; ai; ai = ai->ai_next) {
                            ^
../xxxterm.c:1514:9: error: dereferencing pointer to incomplete type
   if (ai->ai_family != AF_INET && ai->ai_family != AF_INET6)
         ^
../xxxterm.c:1514:37: error: dereferencing pointer to incomplete type
   if (ai->ai_family != AF_INET && ai->ai_family != AF_INET6)
                                     ^
../xxxterm.c:1516:16: error: dereferencing pointer to incomplete type
   s = socket(ai->ai_family, ai->ai_socktype, ai->ai_protocol);
                ^
../xxxterm.c:1516:31: error: dereferencing pointer to incomplete type
   s = socket(ai->ai_family, ai->ai_socktype, ai->ai_protocol);
                               ^
../xxxterm.c:1516:48: error: dereferencing pointer to incomplete type
   s = socket(ai->ai_family, ai->ai_socktype, ai->ai_protocol);
                                                ^
../xxxterm.c:1522:20: error: dereferencing pointer to incomplete type
   if (connect(s, ai->ai_addr, ai->ai_addrlen) == 0)
                    ^
../xxxterm.c:1522:33: error: dereferencing pointer to incomplete type
   if (connect(s, ai->ai_addr, ai->ai_addrlen) == 0)
                                 ^
../xxxterm.c:1539:3: warning: implicit declaration of function 'freeaddrinfo' 
[-Wimplicit-function-declaration]
   freeaddrinfo(res);
   ^
../xxxterm.c:1475:29: warning: variable 'error' set but not used 
[-Wunused-but-set-variable]
  int   rv = -1, s = -1, on, error;
                             ^
../xxxterm.c:1474:19: warning: unused variable 'hints' [-Wunused-variable]
  struct addrinfo  hints, *res = NULL, *ai;
                   ^
../xxxterm.c: In function 'show_ca_status':
../xxxterm.c:3501:2: warning: 'g_thread_create' is deprecated (declared at 
/usr/include/glib-2.0/glib/deprecated/gthread.h:100): Use 'g_thread_new' 
instead [-Wdeprecated-declarations]
  t->thread = g_thread_create((GThreadFunc)color_address_bar, t, TRUE, NULL);
  ^
../xxxterm.c: In function 'mtx_lock':
../xxxterm.c:7512:2: warning: 'g_static_rec_mutex_lock' is deprecated (declared 
at /usr/include/glib-2.0/glib/deprecated/gthread.h:174): Use 'g_rec_mutex_lock' 
instead [-Wdeprecated-declarations]
  g_static_rec_mutex_lock(&my_gdk_mtx);
  ^
../xxxterm.c:7521:3: warning: 'g_static_rec_mutex_unlock_full' is deprecated 
(declared at /usr/include/glib-2.0/glib/deprecated/gthread.h:187) 
[-Wdeprecated-declarations]
   g_static_rec_mutex_unlock_full(&my_gdk_mtx);
   ^
../xxxterm.c:7522:3: warning: 'g_static_rec_mutex_lock' is deprecated (declared 
at /usr/include/glib-2.0/glib/deprecated/gthread.h:174): Use 'g_rec_mutex_lock' 
instead [-Wdeprecated-declarations]
   g_static_rec_mutex_lock(&my_gdk_mtx);
   ^
../xxxterm.c:7530:4: warning: 'g_static_rec_mutex_unlock' is deprecated 
(declared at /usr/include/glib-2.0/glib/deprecated/gthread.h:180): Use 
'g_rec_mutex_unlock' instead [-Wdeprecated-declarations]
    g_static_rec_mutex_unlock(&my_gdk_mtx);
    ^
../xxxterm.c: In function 'mtx_unlock':
../xxxterm.c:7543:3: warning: 'g_static_rec_mutex_unlock_full' is deprecated 
(declared at /usr/include/glib-2.0/glib/deprecated/gthread.h:187) 
[-Wdeprecated-declarations]
   x = g_static_rec_mutex_unlock_full(&my_gdk_mtx);
   ^
../xxxterm.c:7563:2: warning: 'g_static_rec_mutex_unlock' is deprecated 
(declared at /usr/include/glib-2.0/glib/deprecated/gthread.h:180): Use 
'g_rec_mutex_unlock' instead [-Wdeprecated-declarations]
  g_static_rec_mutex_unlock(&my_gdk_mtx);
  ^
../xxxterm.c: In function 'main':
../xxxterm.c:7599:2: warning: 'g_thread_init' is deprecated (declared at 
/usr/include/glib-2.0/glib/deprecated/gthread.h:260) [-Wdeprecated-declarations]
  g_thread_init(NULL);
  ^
../xxxterm.c:7985:2: warning: 'g_static_rec_mutex_unlock_full' is deprecated 
(declared at /usr/include/glib-2.0/glib/deprecated/gthread.h:187) 
[-Wdeprecated-declarations]
  g_static_rec_mutex_unlock_full(&my_gdk_mtx); /* just in case */
  ^
make[2]: *** [../xxxterm.o] Error 1
make[2]: Leaving directory `/tmp/buildd/xxxterm-1.11.3/linux'
make[1]: *** [override_dh_auto_build] Error 2
make[1]: Leaving directory `/tmp/buildd/xxxterm-1.11.3'
make: *** [build] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2
-- 
Daniel Schepler


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to