Bug 1243128 - pam FTBFS during stage2 bootstrap - please, move autoreconf from %build to %prep
Summary: pam FTBFS during stage2 bootstrap - please, move autoreconf from %build to %prep
Alias: None
Product: Fedora
Classification: Fedora
Component: pam
Version: 21
Hardware: Unspecified
OS: Unspecified
Target Milestone: ---
Assignee: Tomas Mraz
QA Contact: Fedora Extras Quality Assurance
Depends On:
Blocks: fedora-bootstrap
TreeView+ depends on / blocked
Reported: 2015-07-14 20:37 UTC by Jaromír Cápík
Modified: 2016-02-01 02:01 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 2015-07-15 13:38:46 UTC

Attachments (Terms of Use)

Description Jaromír Cápík 2015-07-14 20:37:08 UTC
Description of problem:
During the stage2 bootstrap we experience FTBFS caused by the pam-1.1.8-pwhistory-helper.patch that modifies Makefile.am. This breaks the bootstrap procedure since we have no autotools in the stage2 when building Fedora from scratch. Fortunately this can be solved with minimal effort. You call the autoreconf -i in the %build phase. Would it be possible to move the autoreconf call from %build to %prep ? The %prep phase is executed during the stage1 source unpacking and patching using the host's rpmbuild and that should prevent the build from requiring autotools when building stage2 natively. In general, calling autoreconf -i in %prep is probably more correct as it does a very similar task to patching. It prepares the sources for building and allows applying patches on top of auto-reconfigured sources.

Version-Release number of selected component (if applicable):

How reproducible:

Comment 1 Tomas Mraz 2015-07-15 10:01:50 UTC
Do you need this change to be done in F21? Isn't rawhide sufficient?

Comment 2 Jaromír Cápík 2015-07-15 13:38:46 UTC
As discussed online. We're ok with SRPM override in this case. Thanks for the push. I'm closing this bug.

Note You need to log in before you can comment on or make changes to this bug.