Bug#790276: radiusd-livingston: FTBFS with glibc 2.21 and gcc-5

2015-08-04 Thread Paul Martin
Although I've addressed these errors (apart from the sccsid warning)
in my recent upload, I suspect that compiling this ancient code with
gcc-5 will throw up plenty more errors.  (Unfortunately due to
breaks dependencies, I can't yet install gcc-5 on this laptop.)

-- 
Paul Martin p...@debian.org


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



Bug#790276: radiusd-livingston: FTBFS with glibc 2.21 and gcc-5

2015-06-27 Thread Daniel Schepler
Source: radiusd-livingston
Version: 2.1-20
Severity: normal

From my pbuilder build log, using a setup preferring glibc and gcc-defaults
from experimental:

...
 debian/rules build
dh_testdir
# Add here commands to compile the package.
cd src; /usr/bin/make EXT=Linux_Deb all
make[1]: Entering directory '/tmp/buildd/radiusd-livingston-2.1/src'
mkdir -p ./Linux_Deb
gcc -c -o Linux_Deb/radiusd.o -g -Wall -O2 -DBERKELEY_DB  ./radiusd.c
In file included from ./radius.h:52:0,
 from ./radiusd.c:73:
./conf.h:77:14: error: conflicting types for 'sys_errlist'
 extern char *sys_errlist[];
  ^
In file included from /usr/include/stdio.h:853:0,
 from ./radiusd.c:61:
/usr/include/x86_64-linux-gnu/bits/sys_errlist.h:27:26: note: previous 
declaration of 'sys_errlist' was here
 extern const char *const sys_errlist[];
  ^
./radiusd.c: In function 'calc_digest':
./radiusd.c:2423:26: warning: argument to 'sizeof' in 'memset' call is the same 
expression as the destination; did you mean to provide an explicit length? 
[-Wsizeof-pointer-memaccess]
  memset(digest, 0, sizeof(digest));
  ^
./radiusd.c: At top level:
./radiusd.c:49:13: warning: 'sccsid' defined but not used [-Wunused-variable]
 static char sccsid[] =
 ^
Makefile:161: recipe for target 'Linux_Deb/radiusd.o' failed
make[1]: *** [Linux_Deb/radiusd.o] Error 1
make[1]: Leaving directory '/tmp/buildd/radiusd-livingston-2.1/src'
debian/rules:23: recipe for target 'build-stamp' failed
make: *** [build-stamp] 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