Source: tcptrack
Version: 1.4.2-1
Severity: serious
Tags: stretch sid

Your package FTBFS with glibc 2.21, see the recent build log on
armel[1]:

,----
| g++ -DHAVE_CONFIG_H -I. -I..    -Werror -Wno-deprecated -Wall -g -O2 -c -o 
main.o main.cc
| In file included from /usr/include/stdio.h:27:0,
|                  from main.cc:25:
| /usr/include/features.h:148:3: error: #warning "_BSD_SOURCE and _SVID_SOURCE 
are deprecated, use _DEFAULT_SOURCE" [-Werror=cpp]
|  # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
|    ^
| cc1plus: all warnings being treated as errors
`----

Since glibc 2.20, _BSD_SOURCE is deprecated, see the NEWS file:

,----
| * The _BSD_SOURCE and _SVID_SOURCE feature test macros are no longer
|   supported; they now act the same as _DEFAULT_SOURCE (but generate a
|   warning).  Except for cases where _BSD_SOURCE enabled BSD interfaces that
|   conflicted with POSIX (support for which was removed in 2.19), the
|   interfaces those macros enabled remain available when compiling with
|   _GNU_SOURCE defined, with _DEFAULT_SOURCE defined, or without any feature
|   test macros defined.
`----

Various files in the src/ directory #define _BSD_SOURCE, and since
src/Makefile.am sets AM_CXXFLAGS = -Werror -Wno-deprecated -Wall, the
deprecation warning is turned into a fatal error.


1. 
https://buildd.debian.org/status/fetch.php?pkg=tcptrack&arch=armel&ver=1.4.2-1%2Bb2&stamp=1449141815

Reply via email to