FS#22793 - [tripwire] key generation fails unless addition made to CFLAGS/CXXFLAGS

Attached to Project: Community Packages
Opened by Mark (voidzero) - Monday, 07 February 2011, 00:28 GMT
Last edited by Jaroslav Lichtblau (Dragonlord) - Wednesday, 29 June 2011, 18:52 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Jaroslav Lichtblau (Dragonlord)
Architecture All
Severity Critical
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 2
Private No

Details

Description:
Tested on x86_64 but problem might exist on both x86_64 and i686.

Key generation fails when using twadmin, It just sits there and waits. Yet, keys are critical to using tripwire.

I found out that this can be solved by changing the ./configure line; -fno-strict-aliasing needs to be added:

CFLAGS="$CFLAGS -fno-strict-aliasing" CXXFLAGS="$CXXFLAGS -fno-strict-aliasing" ./configure --prefix=/usr --sysconfdir=/etc/tripwire

Then it works.
This task depends upon

Closed by  Jaroslav Lichtblau (Dragonlord)
Wednesday, 29 June 2011, 18:52 GMT
Reason for closing:  Upstream
Additional comments about closing:  Package removed from [community].
Comment by Mark (voidzero) - Tuesday, 29 March 2011, 16:23 GMT
Critical bug, but easy to fix. Is the dev around? If not, we might want to consider to move this to unsupported/aur, which I'd actually not appreciate.
Comment by Jaroslav Lichtblau (Dragonlord) - Friday, 13 May 2011, 13:01 GMT
It seems that this behaviour was reported upstream already in April 2006
- 1470183 Installation hangs during key generation Open 2006-04-14
https://sourceforge.net/tracker/?func=detail&aid=1470183&group_id=3130&atid=103130
Seeing the list of opened bugs makes me feel uncomfortable.
If there will be no response from upstream, this package will most likely move to AUR.

Newest version 2.4.2 fails while building with:
https://sourceforge.net/tracker/?func=detail&aid=3301577&group_id=3130&atid=103130
Comment by Jaroslav Lichtblau (Dragonlord) - Friday, 13 May 2011, 13:10 GMT
Package rebuild in older version with suggested flags also failing with:

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

This looks bad for tripwire ...

Loading...