Bug 1327040

Summary: perl-Crypt-Cracklib-1.7-15.fc25 FTBFS: .pwd.gz: No such file or directory
Product: [Fedora] Fedora Reporter: Petr Pisar <ppisar>
Component: perl-Crypt-CracklibAssignee: Petr Pisar <ppisar>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: fedora, perl-devel, tmraz
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
URL: http://koji.fedoraproject.org/koji/taskinfo?taskID=13641484
Whiteboard:
Fixed In Version: perl-Crypt-Cracklib-1.7-16.fc25 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-04-20 13:41:36 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Petr Pisar 2016-04-14 07:19:05 UTC
perl-Crypt-Cracklib-1.7-15.fc25 fails to build in F25 because tests fail:

+ make test
PERL_DL_NONLAZY=1 "/usr/bin/perl" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'inc', 'blib/lib', 'blib/arch')" t/*.t
.pwd.gz: No such file or directory
#   Failed test 'username'
#   at t/01use.t line 9.
#                   'error loading dictionary'
#     doesn't match '(?^:username)'

Difference between working and failing build root:

        perl-Devel-Symdump 	1:2.15-3.fc24 	> 	1:2.16-1.fc25
	perl-Encode 	3:2.83-7.fc25 	> 	3:2.84-8.fc25
	rpm-build-libs 	4.13.0-0.rc1.28.fc25 	> 	4.13.0-0.rc1.29.fc25
	libmount 	2.28-0.3.fc25 	> 	2.28-1.fc25
	libtasn1 	4.7-2.fc24 	> 	4.8-1.fc25
	libuuid 	2.28-0.3.fc25 	> 	2.28-1.fc25
	rpm-build 	4.13.0-0.rc1.28.fc25 	> 	4.13.0-0.rc1.29.fc25
	rpm-libs 	4.13.0-0.rc1.28.fc25 	> 	4.13.0-0.rc1.29.fc25
	kernel-headers 	4.6.0-0.rc2.git4.1.... 	> 	4.6.0-0.rc3.git0.1....
	libpwquality 	1.3.0-4.fc24 	> 	1.3.0-5.fc25
	util-linux 	2.28-0.3.fc25 	> 	2.28-1.fc25
	librepo 	1.7.18-1.fc25 	> 	1.7.18-2.fc25
	gnutls 	3.4.10-1.fc25 	> 	3.4.11-1.fc25
	openldap 	2.4.43-2.fc24 	> 	2.4.43-3.fc25
	fpc-srpm-macros 		> 	1.0-1.fc25
	device-mapper-libs 	1.02.121-2.fc25 	> 	1.02.122-1.fc25
	rpm-plugin-selinux 	4.13.0-0.rc1.28.fc25 	> 	4.13.0-0.rc1.29.fc25
	pam 	1.2.1-7.fc25 	> 	1.2.1-8.fc25
	libcap 	2.24-9.fc24 	> 	2.25-1.fc25
	fontconfig 	2.11.94-7.fc25 	> 	2.11.95-1.fc25
	gnupg2 	2.1.11-3.fc25 	> 	2.1.11-4.fc25
	libcomps 	0.1.7-3.fc24 	> 	0.1.7-4.fc25
	redhat-rpm-config 	40-2.fc24 	> 	42-1.fc25
	python3-libcomps 	0.1.7-3.fc24 	> 	0.1.7-4.fc25
	rpm-python3 	4.13.0-0.rc1.28.fc25 	> 	4.13.0-0.rc1.29.fc25
	rpm 	4.13.0-0.rc1.28.fc25 	> 	4.13.0-0.rc1.29.fc25
	libsmartcols 	2.28-0.3.fc25 	> 	2.28-1.fc25
	libipt 	1.4.4-2.fc24 	> 	1.5-1.fc25
	gnupg2-smime 	2.1.11-3.fc25 	> 	2.1.11-4.fc25
	device-mapper 	1.02.121-2.fc25 	> 	1.02.122-1.fc25
	libfdisk 	2.28-0.3.fc25 	> 	2.28-1.fc25
	libblkid 	2.28-0.3.fc25 	> 	2.28-1.fc25
	rpm-plugin-systemd-inhibit 	4.13.0-0.rc1.28.fc25 	> 	4.13.0-0.rc1.29.fc25
	python3-librepo 	1.7.18-1.fc25 	> 	1.7.18-2.fc25
	systemtap-sdt-devel 	3.1-0.20160329git... 	> 	3.1-0.20160411git...
	python3-iniparse 	0.4-18.fc24 	> 	0.4-19.fc25

That's caused by libpwquality probably. libpwquality changed dependency on cracklib-dicts from a hard requirement to a soft recommends.

Comment 1 Petr Pisar 2016-04-20 13:41:36 UTC
I added the dependency to BuildRequires and raised a question to the libpwquality maintainer.

Comment 2 Tomas Mraz 2016-04-20 13:58:09 UTC
I think that adding the BuildRequires is the right thing.