Bug 1161450

Summary: debhelper-9.20140613-3.fc22 FTBFS on Perl bootstrap: pod2man: command not found
Product: [Fedora] Fedora Reporter: Petr Pisar <ppisar>
Component: debhelperAssignee: Petr Pisar <ppisar>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: oron, sergio
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: debhelper-9.20140613-4.fc22 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-11-07 10:06:50 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:
Embargoed:
Bug Depends On: 1134914    
Bug Blocks:    

Description Petr Pisar 2014-11-07 07:34:21 UTC
debhelper-9.20140613-3.fc22 fails to build while bootstrapping Perl:

+ make -j4 build
printf "package Debian::Debhelper::Dh_Version;\n\$version='9.20140613';\n1" > \
	Debian/Debhelper/Dh_Version.pm
cat debhelper.pod | \
	perl -e ' undef $/; foreach (@ARGV) { open (IN, $_) or die "$_: $!"; $file=<IN>; close IN; if ($file=~m/=head1 .*?\n\n(.*?) - (.*?)\n\n/s) { my $item="=item $1(1)\n\n$2\n\n"; if (" dh_desktop dh_installmanpages dh_scrollkeeper dh_suidregister dh_undocumented " !~ / $1 /) { $list.=$item; } else { $list_deprecated.=$item; } } } END { while (<STDIN>) { s/#LIST#/$list/; s/#LIST_DEPRECATED#/$list_deprecated/; print; }; }' dh_auto_build dh_auto_clean dh_auto_configure dh_auto_install dh_auto_test dh_bugfiles dh_builddeb dh_clean dh_compress dh_desktop dh_fixperms dh_gconf dh_gencontrol dh_icons dh_install dh_installcatalogs dh_installchangelogs dh_installcron dh_installdeb dh_installdebconf dh_installdirs dh_installdocs dh_installemacsen dh_installexamples dh_installgsettings dh_installifupdown dh_installinfo dh_installinit dh_installlogcheck dh_installlogrotate dh_installman dh_installmanpages dh_installmenu dh_installmime dh_installmodules dh_installpam dh_installppp dh_installudev dh_installwm dh_installxfonts dh_link dh_lintian dh_listpackages dh_makeshlibs dh_md5sums dh_movefiles dh_perl dh_prep dh_scrollkeeper dh_shlibdeps dh_strip dh_suidregister dh_testdir dh_testroot dh_ucf dh_undocumented dh_usrlocal | \
	pod2man -c Debhelper -r "9.20140613" --name="debhelper" --section=7  > debhelper.7
/bin/sh: line 2: pod2man: command not found
Makefile:77: recipe for target 'debhelper.7' failed
make: *** [debhelper.7] Error 127

Difference between last working and failing build root is:

Removed packages:
	audit-libs-2.4
	cpp-4.9.1
	gcc-4.9.1
	gcc-c++-4.9.1
	gdb-7.8
	glib2-2.42.0
	libgcc-4.9.1
	libgomp-4.9.1
	libpipeline-1.3.1
	libstdc++-4.9.1
	libstdc++-devel-4.9.1
	perl-HTTP-Tiny-0.050
	perl-Pod-Perldoc-3.24
	perl-Pod-Usage-1.63
	perl-podlators-2.5.3
	perl-Term-ANSIColor-4.03
	perl-Thread-Queue-3.05
	systemd-216
	systemd-libs-216
	tzdata-2014h
Added packages:
	audit-libs-2.4.1
	cpp-4.9.2
	gcc-4.9.2
	gcc-c++-4.9.2
	gdb-7.8.1
	glib2-2.43.0
	libgcc-4.9.2
	libgomp-4.9.2
	libpipeline-1.4.0
	libstdc++-4.9.2
	libstdc++-devel-4.9.2
	systemd-217
	systemd-libs-217
	tzdata-2014i

This is caused by executing pod2man at Makefile:79 without declaring build-time dependency on the tool (perl-podlators package).