#51 tripwire 2.4.2 build failure - fcospec.cpp:75:31: error: uni

open
nobody
None
5
2013-06-12
2011-05-13
Dragonlord
No

While trying to build the tripwire package for Arch Linux, it fails with following error message:

<snip>
g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I.. -march=i686 -mtune=generic -O2 -pipe -fno-strict-aliasing -c -o fcosetimpl.o fcosetimpl.cpp
g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I.. -march=i686 -mtune=generic -O2 -pipe -fno-strict-aliasing -c -o fcospec.o fcospec.cpp
fcospec.cpp:75:31: error: uninitialized const 'defaultSpecMask' [-fpermissive]
fcospec.cpp:51:7: note: 'const class cDefaultSpecMask' has no user-provided default constructor
make[3]: *** [fcospec.o] Error 1
make[3]: Leaving directory `/build/src/tripwire-2.4.2-src/src/fco'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/build/src/tripwire-2.4.2-src/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/build/src/tripwire-2.4.2-src'
make: *** [all] Error 2

Further reference found also here:
http://osdir.com/ml/debian-bugs-rc/2011-05/msg00163.html

Used build script looks like:
build() {
cd ${srcdir}/$pkgname-$pkgver-src
#build package
./configure --prefix=/usr --sysconfdir=/etc/tripwire
make
}

Further files here: http://projects.archlinux.org/svntogit/community.git/tree/tripwire/trunk/

Discussion

  • nondescript
    nondescript
    2013-06-12

    I have just tried to install TripWire 2.4.2.2 on a Debian install and got the same result.