Bug#808672: naspro-core: FTBFS: error: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Werror=cpp]

Chris West (Faux) solo-debianbugs at goeswhere.com
Mon Dec 21 18:36:56 UTC 2015


Source: naspro-core
Version: 0.5.1-1
Severity: serious
Justification: fails to build from source
Tags: sid 
User: reproducible-builds at lists.alioth.debian.org
Usertags: ftbfs
X-Debbugs-CC: reproducible-builds at lists.alioth.debian.org

Dear Maintainer,

The package fails to build:

libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../.. -I../../include -I../../src -D_FORTIFY_SOURCE=2 -pedantic -Wall -Werror -pthread -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -c fs.c  -fPIC -DPIC -o .libs/fs.o
In file included from /usr/include/stdlib.h:24:0,
                 from ../../src/internal.h:13,
                 from fs.c:21:
/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"
   ^
cc1: all warnings being treated as errors
Makefile:397: recipe for target 'fs.lo' failed
make[5]: *** [fs.lo] Error 1
make[5]: Leaving directory '/naspro-core-0.5.1/src/posix'
Makefile:507: recipe for target 'all-recursive' failed
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory '/naspro-core-0.5.1/src'

Full build log:
https://reproducible.debian.net/rb-pkg/unstable/amd64/naspro-core.html

-- System Information:
Debian Release: stretch/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)



More information about the pkg-multimedia-maintainers mailing list