Package: stealth
Version: 2.11.03-1
Severity: serious
Tags: jessie sid
Justification: FTBFS

Hi there,

I tried rebuilding stealth, but failed to do so successfully:
(Full buildlog attached)

> g++-4.8 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat 
> -Werror=format-security --std=c++0x -Wall  -c -o tmp/o/5skip.o scanner/skip.cc
> g++-4.8 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat 
> -Werror=format-security --std=c++0x -Wall  -c -o tmp/o/5setskip.o 
> scanner/setskip.cc
> scanner/setskip.cc: In member function 'void Scanner::setSkip()':
> scanner/setskip.cc:6:5: error: 'Errno' has not been declared
>      Errno::open(in, d_skipFilePath);
>      ^
> system - failure of system call (status 256)
> system - failure of system call (status 256)
> system - failure of system call (status 256)
> system - failure of system call (status 256)
> make: *** [build-arch] Error 1
> dpkg-buildpackage: error: debian/rules build gave error exit status 2

The problem seems to be a missing #include <bobcat/errno>, see the
attached patch, which fixes the problem for me.

-- 
Andreas Moog, Berliner Str. 29, 36205 Sontra/Germany
Ubuntu Developer
PGP-encrypted mails preferred (Key-ID: 74DE6624)
PGP Fingerprint: 74CD D9FE 5BCB FE0D 13EE 8EEA 61F3 4426 74DE 6624

Attachment: stealth_2.11.03-1_amd64.build.gz
Description: application/gzip

Description: Add missing include to fix FTBFS
Author: Andreas Moog <am...@ubuntu.com>

--- stealth-2.11.03.orig/scanner/scanner.ih
+++ stealth-2.11.03/scanner/scanner.ih
@@ -17,6 +17,7 @@
 #include <bobcat/datetime>
 #include <bobcat/string>
 #include <bobcat/stringline>
+#include <bobcat/errno>
 
 #include "../util/util.h"
 #include "../configsorter/configsorter.h"

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to