Bug 992091

Summary: cpm: FTBFS in rawhide
Product: [Fedora] Fedora Reporter: Dennis Gilmore <dennis>
Component: cpmAssignee: Marek Mahut <mmahut>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: mmahut, paul, ppisar
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: cpm-0.23-0.12.beta.fc20 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-08-11 18:45:24 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 991858    

Description Dennis Gilmore 2013-08-05 03:14:21 UTC
Your package cpm failed to build from source in current rawhide.

http://koji.fedoraproject.org/koji/taskinfo?taskID=5703895

Build logs:
root.log: http://kojipkgs.fedoraproject.org/work/tasks/3895/5703895/root.log
build.log: http://kojipkgs.fedoraproject.org/work/tasks/3895/5703895/build.log
state.log: http://kojipkgs.fedoraproject.org/work/tasks/3895/5703895/state.log
NOTE: build logs are cleaned up after 1 week

For details on mass rebuild see https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild

Comment 1 Petr Pisar 2013-08-06 10:28:52 UTC
configure: error: cracklib dictionary /usr/lib/cracklib_dict.pwd does not exist
error: Bad exit status from /var/tmp/rpm-tmp.2nyB1I (%build)

Current cracklib dictionary is gzipped (cracklib_dict.pwd.gz).

Comment 2 Paul Howarth 2013-08-11 18:45:24 UTC
The configure script was a bit fussy, looking for the exact filenames of the dictionaries despite not actually needing to know them itself as the cracklib API does not require knowledge of the file extensions used. I patched it to check for a compressed dictionary too, which fixed that problem.

There was also a problem with the cpm.pod documentation file, which included UTF8 characters but didn't specify its encoding, which the current pod tools object to, so I added an appropriate encoding specification.

Build done: http://koji.fedoraproject.org/koji/taskinfo?taskID=5806187