Bug 228698 - cracklib unusable, error in packer.h
cracklib unusable, error in packer.h
Status: CLOSED CURRENTRELEASE
Product: Fedora
Classification: Fedora
Component: cracklib (Show other bugs)
6
All Linux
medium Severity high
: ---
: ---
Assigned To: Nalin Dahyabhai
Brian Brock
http://cracklib.svn.sourceforge.net/v...
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2007-02-14 10:49 EST by Bernhard Weisshuhn
Modified: 2008-01-05 13:02 EST (History)
0 users

See Also:
Fixed In Version: cracklib-2.8.9-10
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2008-01-05 13:02:20 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Bernhard Weisshuhn 2007-02-14 10:49:02 EST
Description of problem:

Syntax error in packer.h, problematic typedef of uint32_t

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

cracklib-2.8.9-3.1

How reproducible:

always.

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:

none.

Additional info:

Fixed upstream, developer seems to need help:
http://cracklib.svn.sourceforge.net/viewvc/cracklib?view=rev&revision=90

Similar Gentoo Bugreport (with patch):
http://bugs.gentoo.org/show_bug.cgi?id=142765
Comment 1 Bernhard Weisshuhn 2007-02-26 07:42:36 EST
bumping severity. imho a completely unusable devel-package is higly severe.
Comment 2 Bernhard Weisshuhn 2007-03-09 08:24:48 EST
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 13:02:20 EST
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)

Note You need to log in before you can comment on or make changes to this bug.