Bug#844858: oggvideotools: FTBFS: decoderTest.cpp:19:41: error: 'memset' was not declared in this scope

2016-11-27 Thread j
On 11/19/2016 08:48 AM, Petter Reinholdtsen wrote:
> [Lucas Nussbaum]
>> During a rebuild of all packages in sid, your package failed to build on
>> amd64.
> 
> Thanks for noticing.  Look like the compiler changed the system header
> in some way.  memset() is found in , according to its manual
> page.
> 

src/base/test/decoderTest.cpp does not import string.h.
looks like the build works if you add #include  to
src/base/test/decoderTest.cpp.

--- oggvideotools-0.9.1.orig/src/base/test/decoderTest.cpp
+++ oggvideotools-0.9.1/src/base/test/decoderTest.cpp
@@ -4,6 +4,7 @@
·
 #include "oggDecoder.h"
 #include 
+#include 
 #include 
·
 int main(int argc, char* argv[])



Bug#844858: oggvideotools: FTBFS: decoderTest.cpp:19:41: error: 'memset' was not declared in this scope

2016-11-18 Thread Petter Reinholdtsen
[Lucas Nussbaum]
> During a rebuild of all packages in sid, your package failed to build on
> amd64.

Thanks for noticing.  Look like the compiler changed the system header
in some way.  memset() is found in , according to its manual
page.

-- 
Happy hacking
Petter Reinholdtsen



Bug#844858: oggvideotools: FTBFS: decoderTest.cpp:19:41: error: 'memset' was not declared in this scope

2016-11-18 Thread Lucas Nussbaum
Source: oggvideotools
Version: 0.9.1-2
Severity: serious
Tags: stretch sid
User: debian...@lists.debian.org
Usertags: qa-ftbfs-20161118 qa-ftbfs
Justification: FTBFS on amd64

Hi,

During a rebuild of all packages in sid, your package failed to build on
amd64.

Relevant part (hopefully):
> cd /<>/obj-x86_64-linux-gnu/src/base/test && /usr/bin/c++   
> -DHAVE_CONFIG_H -DPACKAGE_STRING=\"oggvideotools-0.9.1\" -DWITH_GD2LIB 
> -D_FILE_OFFSET_BITS=64 -I/<>/obj-x86_64-linux-gnu 
> -I/<>/src -I/<>/src/base 
> -I/<>/src/effect -I/<>/src/misc 
> -I/<>/src/ovt_kate -I/<>/src/ovt_vorbis 
> -I/<>/src/ovt_theora -I/<>/src/main 
> -I/<>/src/libresample  -g -O2 
> -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat 
> -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2   -Wno-write-strings 
> -O0 -g --std=c++0x -fPIC -Wall -Wextra -o 
> CMakeFiles/decoderTest.dir/decoderTest.cpp.o -c 
> /<>/src/base/test/decoderTest.cpp
> /<>/src/base/test/decoderTest.cpp: In function 'int main(int, 
> char**)':
> /<>/src/base/test/decoderTest.cpp:19:41: error: 'memset' was not 
> declared in this scope
>  memset(, 0, sizeof(OggHeader));
>  ^
> /<>/src/base/test/decoderTest.cpp:9:14: warning: unused 
> parameter 'argc' [-Wunused-parameter]
>  int main(int argc, char* argv[])
>   ^~~~
> /<>/src/base/test/decoderTest.cpp:9:31: warning: unused 
> parameter 'argv' [-Wunused-parameter]
>  int main(int argc, char* argv[])
>^
> src/base/test/CMakeFiles/decoderTest.dir/build.make:65: recipe for target 
> 'src/base/test/CMakeFiles/decoderTest.dir/decoderTest.cpp.o' failed
> make[3]: *** [src/base/test/CMakeFiles/decoderTest.dir/decoderTest.cpp.o] 
> Error 1

The full build log is available from:
   http://aws-logs.debian.net/2016/11/18/oggvideotools_0.9.1-2_unstable.log

A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

About the archive rebuild: The rebuild was done on EC2 VM instances from
Amazon Web Services, using a clean, minimal and up-to-date chroot. Every
failed build was retried once to eliminate random failures.