Bug 1379566

Summary: perl-Razor-Agent-2.85-23.fc26 FTBFS randomly: Can't write-open blib/man5/razor-agent.conf.5: No such file or directory
Product: [Fedora] Fedora Reporter: Petr Pisar <ppisar>
Component: perl-Razor-AgentAssignee: Robert Scheck <redhat-bugzilla>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: perl-devel, redhat-bugzilla
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
URL: https://sourceforge.net/p/razor/bugs/67/
Whiteboard:
Fixed In Version: perl-Razor-Agent-2.85-24.fc25 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-12-07 05:24:28 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:

Description Petr Pisar 2016-09-27 07:20:36 UTC
perl-Razor-Agent-2.85-23.fc26 sometimes fails to build in F26:

+ make -j3 'OPTIMIZE=-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/us
r/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic'
"/usr/bin/perl" "-MExtUtils::Command::MM" -e pod2man "--" \
docs/razor-agent.conf.pod \
blib/man5/razor-agent.conf.5 \
docs/razor-agents.pod \
blib/man5/razor-agents.5 \
docs/razor-whitelist.pod \
blib/man5/razor-whitelist.5
make[1]: Entering directory '/home/test/fedora/perl-Razor-Agent/razor-agents-2.85/Razor2-Preproc-deHTMLxs'
cp lib/Razor2/Preproc/deBase64.pm blib/lib/Razor2/Preproc/deBase64.pm
cp lib/Razor2/Preproc/deHTML_comment.pm blib/lib/Razor2/Preproc/deHTML_comment.pm
cp lib/Razor2/Signature/Ephemeral.pm blib/lib/Razor2/Signature/Ephemeral.pm
cp lib/Razor2/Preproc/Manager.pm blib/lib/Razor2/Preproc/Manager.pm
cp lib/Razor2/Client/Core.pm blib/lib/Razor2/Client/Core.pm
cp lib/Razor2/Preproc/deHTML.pm blib/lib/Razor2/Preproc/deHTML.pm
cp lib/Razor2/Engine/VR8.pm blib/lib/Razor2/Engine/VR8.pm
cp lib/Razor2/Client/Agent.pm blib/lib/Razor2/Client/Agent.pm
cp lib/Razor2/Preproc/enBase64.pm blib/lib/Razor2/Preproc/enBase64.pm
cp lib/Razor2/Logger.pm blib/lib/Razor2/Logger.pm
cp lib/Razor2/Client/Config.pm blib/lib/Razor2/Client/Config.pm
cp lib/Razor2/Errorhandler.pm blib/lib/Razor2/Errorhandler.pm
cp lib/Razor2/Preproc/deNewline.pm blib/lib/Razor2/Preproc/deNewline.pm
cp lib/Razor2/Syslog.pm blib/lib/Razor2/Syslog.pm
AutoSplitting blib/lib/Razor2/Syslog.pm (blib/lib/auto/Razor2/Syslog)
cp lib/Razor2/Preproc/deQP.pm blib/lib/Razor2/Preproc/deQP.pm
cp lib/Razor2/Client/Version.pm blib/lib/Razor2/Client/Version.pm
cp lib/Razor2/String.pm blib/lib/Razor2/String.pm
cp lib/Razor2/Signature/Whiplash.pm blib/lib/Razor2/Signature/Whiplash.pm
cp lib/Razor2/Client/Engine.pm blib/lib/Razor2/Client/Engine.pm
Can't write-open blib/man5/razor-agent.conf.5: No such file or directory at /usr/share/perl5/vendor_perl/ExtUtils/Command/MM.pm line 153.
Manifying 3 pod documents
make: *** [Makefile:541: manifypods-razor] Error 2

This is caused by under-specified dependencies in the Makefile that contains manual man5 code from Makefile.PL. With the bug, it installs the man5 files before creating the man5 directory.

See the upstream report <https://sourceforge.net/p/razor/bugs/67/> with (untested) patch.

Comment 1 Fedora Update System 2016-11-29 08:10:29 UTC
perl-Razor-Agent-2.85-24.fc25 has been submitted as an update to Fedora 25. https://bodhi.fedoraproject.org/updates/FEDORA-2016-be11c6d18c

Comment 2 Fedora Update System 2016-12-02 18:55:43 UTC
perl-Razor-Agent-2.85-24.fc25 has been pushed to the Fedora 25 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-be11c6d18c

Comment 3 Fedora Update System 2016-12-07 05:24:28 UTC
perl-Razor-Agent-2.85-24.fc25 has been pushed to the Fedora 25 stable repository. If problems still persist, please make note of it in this bug report.