Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.

Bug 1926184

Summary: bugzilla-5.0.6-11.fc34 FTBFS: Can't exec "make": No such file or directory at docs/makedocs.pl line 56.
Product: [Fedora] Fedora Reporter: Petr Pisar <ppisar>
Component: bugzillaAssignee: Emmanuel Seyman <emmanuel>
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 34CC: emmanuel, itamar, perl-devel
Target Milestone: ---Flags: emmanuel: needinfo+
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
URL: https://koschei.fedoraproject.org/package/bugzilla?collection=f34
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-02-14 10:03:11 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:    
Bug Blocks: 1868278    

Description Petr Pisar 2021-02-08 12:26:38 UTC
bugzilla-5.0.6-11.fc34 fails to build in Fedora 34:

Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.DaBHvL
+ umask 022
+ cd /builddir/build/BUILD
+ cd bugzilla-release-5.0.6
+ docs/makedocs.pl --with-pdf
Creating API documentation...
Creating HTML documentation ...
Can't exec "make": No such file or directory at docs/makedocs.pl line 56.
Creating TXT documentation ...
Can't exec "make": No such file or directory at docs/makedocs.pl line 56.
Creating PDF documentation ...
Can't exec "make": No such file or directory at docs/makedocs.pl line 56.
Error occurred building the documentation
error: Bad exit status from /var/tmp/rpm-tmp.DaBHvL (%build)

A difference between passing and failing build root is at <https://koschei.fedoraproject.org/build/9772160>. This is probably triggered by removing "make" packages from a minimal build root.

docs/makedocs.pl indeed executes make:

  say "Creating $name documentation ..." if defined $name;
→ system('make', $cmdline) == 0 or $error_found = 1;
  print "\n";

I propose to add "BuildRequires: make" into "for building docs" section in a spec file.

Comment 1 Ben Cotton 2021-02-09 16:06:21 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 34 development cycle.
Changing version to 34.

Comment 2 Fedora Release Engineering 2021-02-14 04:28:53 UTC
Dear Maintainer,

your package has an open Fails To Build From Source bug for Fedora 34.
Action is required from you.

If you can fix your package to build, perform a build in koji, and either create
an update in bodhi, or close this bug without creating an update, if updating is
not appropriate [1]. If you are working on a fix, set the status to ASSIGNED to
acknowledge this. If you have already fixed this issue, please close this Bugzilla report.

Following the policy for such packages [2], your package will be orphaned if
this bug remains in NEW state more than 8 weeks (not sooner than 2021-04-05).

A week before the mass branching of Fedora 35 according to the schedule [3],
any packages not successfully rebuilt at least on Fedora 33 will be
retired regardless of the status of this bug.

[1] https://docs.fedoraproject.org/en-US/fesco/Updates_Policy/
[2] https://docs.fedoraproject.org/en-US/fesco/Fails_to_build_from_source_Fails_to_install/
[3] https://fedorapeople.org/groups/schedule/f-35/f-35-key-tasks.html

Comment 3 Emmanuel Seyman 2021-02-14 08:38:39 UTC
I'll take this.

Comment 4 Emmanuel Seyman 2021-02-14 10:03:11 UTC
I have added the BuildRequires and released updates for rawhide and f34.

f34: https://koji.fedoraproject.org/koji/buildinfo?buildID=1709298
rawhide: https://koji.fedoraproject.org/koji/buildinfo?buildID=1709289