qstat: FTBFS with glibc 2.21 and gcc-5

Bug #1524162 reported by Logan Rosen
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
qstat (Debian)
Fix Released
Unknown
qstat (Ubuntu)
Fix Released
High
Unassigned

Bug Description

Imported from Debian bug http://bugs.debian.org/790275:

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

Tags: ftbfs
Logan Rosen (logan)
Changed in qstat (Ubuntu):
importance: Undecided → Medium
importance: Medium → Low
importance: Low → High
tags: added: ftbfs
Changed in qstat (Debian):
importance: Undecided → Unknown
status: New → Confirmed
Changed in qstat (Debian):
status: Confirmed → Fix Released
Logan Rosen (logan)
Changed in qstat (Ubuntu):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.