Source: freewnn
Version: 1.1.1~a021+cvs20130302-7.1
Severity: serious
Tags: ftbfs
Justification: fails to build from source (but built successfully in the past)
X-Debbugs-Cc: sramac...@debian.org

https://buildd.debian.org/status/fetch.php?pkg=freewnn&arch=armel&ver=1.1.1%7Ea021%2Bcvs20130302-7.1&stamp=1709116867&raw=0

/bin/bash ../../libtool --mode=compile gcc -c -g -O2 
-Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. 
-fstack-protector-strong -fstack-clash-protection -Wformat 
-Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 
-D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2  -Dlinux -D_GNU_SOURCE 
-D_POSIX_SOURCE -D_BSD_SOURCE  -DHAVE_CONFIG_H -I../../Wnn/include -I../.. 
-DLIBDIR=\"/usr/share/wnn\" -DJAPANESE -DCHINESE -DKOREAN -DLATIN -DWRITE_CHECK 
 ../../Wnn/etc/`basename bcopy.o .o`.c
In file included from js.c:97:
../etc/pwd.c: In function ‘new_pwd’:
../etc/pwd.c:78:7: error: implicit declaration of function ‘time’ 
[-Werror=implicit-function-declaration]
   78 |   x = time (NULL);
      |       ^~~~
../etc/pwd.c:37:1: note: ‘time’ is defined in header ‘<time.h>’; did you forget 
to ‘#include <time.h>’?
   36 | #  include <config.h>
  +++ |+#include <time.h>
   37 | #endif
js.c: In function ‘js_disconnect’:
js.c:982:3: warning: returning ‘void *’ from a function with return type ‘int’ 
makes integer from pointer without a cast [-Wint-conversion]
  982 |   handler_of_jserver_dead (NULL);
      |   ^~~~~~~~~~~~~~~~~~~~~~~
js.c:982:3: warning: returning ‘void *’ from a function with return type ‘int’ 
makes integer from pointer without a cast [-Wint-conversion]
In file included from js.c:96:
../etc/bdic.c: In function ‘check_backup’:
../etc/bdic.c:415:7: warning: ignoring return value of ‘link’ declared with 
attribute ‘warn_unused_result’ [-Wunused-result]
  415 |       link (p, n);
      |       ^~~~~~~~~~~
../etc/bdic.c: In function ‘make_backup_file’:
../etc/bdic.c:480:3: warning: ignoring return value of ‘link’ declared with 
attribute ‘warn_unused_result’ [-Wunused-result]
  480 |   link (p2, p);
      |   ^~~~~~~~~~~~
../etc/bdic.c: In function ‘move_tmp_to_org’:
../etc/bdic.c:534:7: warning: ignoring return value of ‘link’ declared with 
attribute ‘warn_unused_result’ [-Wunused-result]
  534 |       link (tmp_name, org_name);
      |       ^~~~~~~~~~~~~~~~~~~~~~~~~
jl.c: In function ‘change_ascii_to_int’:
jl.c:3079:14: warning: comparison between pointer and integer
 3079 |   while (*st != NULL)
      |              ^~
jl.c: In function ‘get_pwd’:
jl.c:1674:7: warning: ignoring return value of ‘fgets’ declared with attribute 
‘warn_unused_result’ [-Wunused-result]
 1674 |       fgets (pwd, WNN_PASSWD_LEN, fp);
      |       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
jl.c: In function ‘create_file’:
libtool: compile:  gcc -c -g -O2 -Werror=implicit-function-declaration 
"-ffile-prefix-map=/<<PKGBUILDDIR>>=." -fstack-protector-strong 
-fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE 
-D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Dlinux 
-D_GNU_SOURCE -D_POSIX_SOURCE -D_BSD_SOURCE -DHAVE_CONFIG_H -I../../Wnn/include 
-I../.. -DLIBDIR=\"/usr/share/wnn\" -DJAPANESE -DCHINESE -DKOREAN -DLATIN 
-DWRITE_CHECK wnnerrmsg.c -o wnnerrmsg.o >/dev/null 2>&1
jl.c:3167:15: warning: ignoring return value of ‘chown’ declared with attribute 
‘warn_unused_result’ [-Wunused-result]
 3167 |               chown (n + 1, getuid (), -1);     /* H.T. */
      |               ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
jl.c:3219:15: warning: ignoring return value of ‘chown’ declared with attribute 
‘warn_unused_result’ [-Wunused-result]
 3219 |               chown (n + 1, getuid (), -1);
      |               ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
jl.c: In function ‘make_dir1’:
jl.c:3312:7: warning: ignoring return value of ‘chown’ declared with attribute 
‘warn_unused_result’ [-Wunused-result]
 3312 |       chown (dirname + 1, getuid (), -1);
      |       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Cheers
-- 
Sebastian Ramacher

Reply via email to