stealth: FTBFS: scanner/setskip.cc:6:5: error: 'Errno' has not been declared

Bug #1250146 reported by Andreas Moog
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
stealth (Debian)
Fix Released
Unknown
stealth (Ubuntu)
Fix Released
High
Andreas Moog

Bug Description

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

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

Tags: ftbfs trusty
Andreas Moog (ampelbein)
Changed in stealth (Ubuntu):
status: New → In Progress
importance: Undecided → High
assignee: nobody → Andreas Moog (amoog)
tags: added: ftbfs trusty
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package stealth - 2.11.03-1ubuntu1

---------------
stealth (2.11.03-1ubuntu1) trusty; urgency=low

  * debian/patches/01_include_errno.patch: (LP: #1250146)
    - Add missing include on bobcat/errno to fix FTBFS in scanner module.
 -- Andreas Moog <email address hidden> Mon, 11 Nov 2013 17:11:49 +0100

Changed in stealth (Ubuntu):
status: In Progress → Fix Released
Changed in stealth (Debian):
importance: Undecided → Unknown
Changed in stealth (Debian):
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.