bneijt / ccbuild

C++ source scanning build utility
GNU General Public License v2.0
5 stars 3 forks source link

2.0.3 AMD64 FAIL: mkdtemp.cc:30:11: error: 'Errno' is not a member of 'FBB' #27

Closed jaalto closed 11 years ago

jaalto commented 11 years ago

C.f. http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=710618

An build failure was reported on AMD64. See full log at http://deiv.vzpla.net/logs/2013/05/29/ccbuild_2.0.3-1_unstable.log

Source: ccbuild
Version: 2.0.3-1
Severity: serious
Tags: jessie sid
User: debian-qa@lists.debian.org
Usertags: qa-ftbfs-20130529 qa-ftbfs
Justification: FTBFS on amd64

Hi,

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

Relevant part:
> g++ -g -O2 -fPIE -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -pedantic -DPACKAGE_NAME=\"ccbuild\" -DPACKAGE_TARNAME=\"ccbuild\" -DPACKAGE_VERSION=\"2.0.3\" -DPACKAGE_STRING=\"ccbuild\ 2.0.3\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"ccbuild\" -DVERSION=\"2.0.3\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_STDBOOL_H=1 -DSTDC_HEADERS=1 -DHAVE_STDLIB_H=1 -DHAVE_MALLOC=1 -DHAVE_STDLIB_H=1 -DHAVE_REALLOC=1 -DLSTAT_FOLLOWS_SLASHED_SYMLINK=1 -DHAVE_GETCWD=1 -DHAVE_MEMSET=1 -DHAVE_MKDIR=1 -I.   -D_FORTIFY_SOURCE=2 -I/usr/include/p11-kit-1    -DNODEBUG -fopenmp -std=c++0x -g -O2 -fPIE -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -pedantic -std=c++0x -c -o src/system/ccbuild-mkdtemp.o `test -f 'src/system/mkdtemp.cc' || echo './'`src/system/mkdtemp.cc
> src/system/mkdtemp.cc: In static member function 'static std::string bneijt::System::mkdtemp(const string&)':
> src/system/mkdtemp.cc:30:11: error: 'Errno' is not a member of 'FBB'
> make[2]: *** [src/system/ccbuild-mkdtemp.o] Error 1
bneijt commented 11 years ago

Hi Jari,

I have not had any time to look at this yet, but this weekend I'll set up a test and try to reproduce this.

As there seems to be a missing FBB element, it may be due to a chnage in libbobcat-dev.

Thank you for posting!

bneijt commented 11 years ago

Just a quick update: it still compiles well with libbobcat 3.11.01 but it seems that as of 3.12 Errno has been deprecated and it probably did not live on to the 3.14 release. I'll have to rewrite a part of the code to remove all usage of FBB Errno.

http://sourceforge.net/p/bobcat/svn/HEAD/tree/trunk/bobcat/changelog