Build failure: 'errno' undeclared. Missing an include?
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Inkscape |
Fix Released
|
Critical
|
Alex Valavanis |
Bug Description
I've started getting build failure reports from my daily autobuild scripts for Lucid, Natty, Maveric, Oneiric and Precise. It looks as util/units.cpp needs errno.h included.
CXX util/units.o
util/units.cpp: In member function 'bool Inkscape:
util/units.cpp:148: error: 'errno' was not declared in this scope
util/units.cpp:216: error: 'errno' was not declared in this scope
util/units.cpp: In member function 'bool Inkscape:
util/units.cpp:244: error: 'errno' was not declared in this scope
util/units.cpp:263: error: 'errno' was not declared in this scope
make[4]: *** [util/units.o] Error 1
make[4]: Leaving directory `/build/
make[3]: *** [all] Error 2
make[3]: Leaving directory `/build/
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/build/
make[1]: *** [all] Error 2
make[1]: Leaving directory `/build/
make: *** [build] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2
Build logs:
https:/
https:/
https:/
https:/
https:/
Yep, Confirmed in lp:inkscape r10918. Error was introduced in r10917, I think.[1] Fix on its way...
[1] http:// bazaar. launchpad. net/~inkscape. dev/inkscape/ trunk/revision/ 10917