Bug 228698

Summary: cracklib unusable, error in packer.h
Product: [Fedora] Fedora Reporter: Bernhard Weisshuhn <bkw>
Component: cracklibAssignee: Nalin Dahyabhai <nalin>
Status: CLOSED CURRENTRELEASE QA Contact: Brian Brock <bbrock>
Severity: high Docs Contact:
Priority: medium    
Version: 6   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
URL: http://cracklib.svn.sourceforge.net/viewvc/cracklib?view=rev&revision=90
Fixed In Version: cracklib-2.8.9-10 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2008-01-05 18:02:20 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Bernhard Weisshuhn 2007-02-14 15:49:02 UTC
Description of problem:

Syntax error in packer.h, problematic typedef of uint32_t

Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1. echo "#include <packer.h>\nint main(){0;}" > test.c
2. gcc test.c
Actual results:

In file included from test.c:1:
/usr/include/packer.h:91: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
‘__attribute__’ before ‘FindPW’

Expected results:


Additional info:

Fixed upstream, developer seems to need help:

Similar Gentoo Bugreport (with patch):

Comment 1 Bernhard Weisshuhn 2007-02-26 12:42:36 UTC
bumping severity. imho a completely unusable devel-package is higly severe.

Comment 2 Bernhard Weisshuhn 2007-03-09 13:24:48 UTC
Bug still present in cracklib-devel-2.8.9-9 from fc7 test.

Doesn't anybody compile anything with cracklib any more? It plain doesn't work!
What use is a devel package with broken headers?

Comment 3 Till Maas 2008-01-05 18:02:20 UTC
Fixed in cracklib-2.8.9-10
To test this, the test.c creation had to be:

echo -e "#include <packer.h>\nint main(){0;}" > test.c

(the -e to echo was missing)