Bug#790275: qstat: FTBFS with glibc 2.21 and gcc-5

2016-02-08 Thread Guillaume Delacour
On Sat, 31 Oct 2015 15:15:33 +0100 Guillaume Delacour 
wrote:
> 
> Upstream seems to have modified qstat.c to include strndup() only if
> needed in recent version of qstat :
> 
> https://github.com/multiplay/qstat/commit/9977e09cebc340208ab097f8db619ebc80756859

I've uploaded a fix on mentors:
http://mentors.debian.net/debian/pool/main/q/qstat/qstat_2.15-2.dsc.

I'm waiting for Jordi for uploading it in the archive.

-- 
Guillaume Delacour



signature.asc
Description: OpenPGP digital signature


Bug#790275: qstat: FTBFS with glibc 2.21 and gcc-5

2015-10-31 Thread Guillaume Delacour
tag 790275 fixed-upstream
thanks

On Sat, 27 Jun 2015 13:08:22 -0700 Daniel Schepler 
wrote:
> Source: qstat
> Version: 2.15-1
> Severity: normal
> 
> From my pbuilder build log, using a setup preferring glibc and gcc-defaults
> from experimental:
> 
> ...
> gcc -DHAVE_CONFIG_H -I.   -Dsysconfdir=\"/etc\" -D_FORTIFY_SOURCE=2 -DDEBUG 
> -DENABLE_DUMP  -g -O2 -fstack-protector-strong -Wformat 
> -Werror=format-security -Wall -c -o md5.o md5.c
> gcc -DHAVE_CONFIG_H -I.   -Dsysconfdir=\"/etc\" -D_FORTIFY_SOURCE=2 -DDEBUG 
> -DENABLE_DUMP  -g -O2 -fstack-protector-strong -Wformat 
> -Werror=format-security -Wall -c -o qserver.o qserver.c
> gcc -DHAVE_CONFIG_H -I.   -Dsysconfdir=\"/etc\" -D_FORTIFY_SOURCE=2 -DDEBUG 
> -DENABLE_DUMP  -g -O2 -fstack-protector-strong -Wformat 
> -Werror=format-security -Wall -c -o qstat.o qstat.c
> In file included from /usr/include/string.h:634:0,
>  from qstat.c:31:
> qstat.c:2633:7: error: expected identifier or '(' before '__extension__'
>  char *strndup(const char *string, size_t len);
>^
> qstat.c: In function 'do_work':
> qstat.c:3104:18: warning: variable 'fd' set but not used 
> [-Wunused-but-set-variable]
>   int pktlen, rc, fd;
>   ^
> qstat.c: In function 'deal_with_ghostrecon_packet':
> qstat.c:9789:26: warning: variable 'end' set but not used 
> [-Wunused-but-set-variable]
>   char str[256], *start, *end, StartFlag, *lpszIgnoreServerPlayer;
>   ^
> qstat.c:9789:18: warning: variable 'start' set but not used 
> [-Wunused-but-set-variable]
>   char str[256], *start, *end, StartFlag, *lpszIgnoreServerPlayer;
>   ^
> In file included from /usr/include/string.h:634:0,
>  from qstat.c:31:
> qstat.c: At top level:
> qstat.c:12121:7: error: expected identifier or '(' before '__extension__'
>  char *strndup(const char *string, size_t len)

Upstream seems to have modified qstat.c to include strndup() only if
needed in recent version of qstat :

https://github.com/multiplay/qstat/commit/9977e09cebc340208ab097f8db619ebc80756859


>^
> Makefile:543: recipe for target 'qstat.o' failed
> make[3]: *** [qstat.o] Error 1
> make[3]: Leaving directory '/tmp/buildd/qstat-2.15'
> Makefile:580: recipe for target 'all-recursive' failed
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory '/tmp/buildd/qstat-2.15'
> Makefile:397: recipe for target 'all' failed
> make[1]: *** [all] Error 2
> make[1]: Leaving directory '/tmp/buildd/qstat-2.15'
> dh_auto_build: make -j1 returned exit code 2
> debian/rules:4: recipe for target 'build' failed
> make: *** [build] Error 2
> dpkg-buildpackage: error: debian/rules build gave error exit status 2
> E: Failed autobuilding of package
> -- 
> Daniel Schepler
> 
> 

-- 
Guillaume Delacour



signature.asc
Description: OpenPGP digital signature


Bug#790275: qstat: FTBFS with glibc 2.21 and gcc-5

2015-06-27 Thread Daniel Schepler
Source: qstat
Version: 2.15-1
Severity: normal

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

...
gcc -DHAVE_CONFIG_H -I.   -Dsysconfdir=\"/etc\" -D_FORTIFY_SOURCE=2 -DDEBUG 
-DENABLE_DUMP  -g -O2 -fstack-protector-strong -Wformat -Werror=format-security 
-Wall -c -o md5.o md5.c
gcc -DHAVE_CONFIG_H -I.   -Dsysconfdir=\"/etc\" -D_FORTIFY_SOURCE=2 -DDEBUG 
-DENABLE_DUMP  -g -O2 -fstack-protector-strong -Wformat -Werror=format-security 
-Wall -c -o qserver.o qserver.c
gcc -DHAVE_CONFIG_H -I.   -Dsysconfdir=\"/etc\" -D_FORTIFY_SOURCE=2 -DDEBUG 
-DENABLE_DUMP  -g -O2 -fstack-protector-strong -Wformat -Werror=format-security 
-Wall -c -o qstat.o qstat.c
In file included from /usr/include/string.h:634:0,
 from qstat.c:31:
qstat.c:2633:7: error: expected identifier or '(' before '__extension__'
 char *strndup(const char *string, size_t len);
   ^
qstat.c: In function 'do_work':
qstat.c:3104:18: warning: variable 'fd' set but not used 
[-Wunused-but-set-variable]
  int pktlen, rc, fd;
  ^
qstat.c: In function 'deal_with_ghostrecon_packet':
qstat.c:9789:26: warning: variable 'end' set but not used 
[-Wunused-but-set-variable]
  char str[256], *start, *end, StartFlag, *lpszIgnoreServerPlayer;
  ^
qstat.c:9789:18: warning: variable 'start' set but not used 
[-Wunused-but-set-variable]
  char str[256], *start, *end, StartFlag, *lpszIgnoreServerPlayer;
  ^
In file included from /usr/include/string.h:634:0,
 from qstat.c:31:
qstat.c: At top level:
qstat.c:12121:7: error: expected identifier or '(' before '__extension__'
 char *strndup(const char *string, size_t len)
   ^
Makefile:543: recipe for target 'qstat.o' failed
make[3]: *** [qstat.o] Error 1
make[3]: Leaving directory '/tmp/buildd/qstat-2.15'
Makefile:580: recipe for target 'all-recursive' failed
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory '/tmp/buildd/qstat-2.15'
Makefile:397: recipe for target 'all' failed
make[1]: *** [all] Error 2
make[1]: Leaving directory '/tmp/buildd/qstat-2.15'
dh_auto_build: make -j1 returned exit code 2
debian/rules:4: recipe for target 'build' failed
make: *** [build] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2
E: Failed autobuilding of package
-- 
Daniel Schepler


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