https://bugzilla.redhat.com/show_bug.cgi?id=1416691
Bug ID: 1416691
Summary: gettext-0.19.8.1-3.fc25 FTBFS when building without
git
Product: Fedora
Version: 25
Component: gettext
Assignee: praiskup(a)redhat.com
Reporter: mmathesi(a)redhat.com
QA Contact: extras-qa(a)fedoraproject.org
CC: dueno(a)redhat.com, i18n-bugs(a)lists.fedoraproject.org,
petersen(a)redhat.com, praiskup(a)redhat.com,
psabata(a)redhat.com, sgallagh(a)redhat.com
Blocks: 1400162 (BaseRuntimeFTBFS)
Description of problem:
When attempting to rebuild portions of the frozen package set of Fedora 25 for
the Base Runtime effort, we discovered that gettext has an undesirable hard
runtime requirement upon git. When making a test build without git, it was also
found that the package fails to build due to %autosetup's use of git.
Version-Release number of selected component (if applicable):
gettext-0.19.8.1-3.fc25
How reproducible:
Every time
Steps to Reproduce (rawhide):
1. fedpkg clone gettext && cd gettext
2. fedpkg switch-branch master
3. fedpkg srpm
4. mock --root=fedora-25-x86_64 --without=git gettext-0.19.8.1-6.fc26.src.rpm
Actual results:
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.42u1jg
+ umask 022
+ cd /builddir/build/BUILD
+ cd /builddir/build/BUILD
+ rm -rf gettext-0.19.8.1
+ /usr/bin/tar -xof -
+ /usr/bin/xz -dc /builddir/build/SOURCES/gettext-0.19.8.1.tar.xz
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd gettext-0.19.8.1
+ /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ /usr/bin/git init -q
/var/tmp/rpm-tmp.42u1jg: line 42: /usr/bin/git: No such file or directory
Expected results:
Successful build of the package.
Additional info:
Attached is a patch that corrects the error when building without git. The
patch also fixes the default "with git" case so the gettext-devel subpackage
only Recommends: git rather than the strict Requires to avoid at unnecessary
mandatory dependency upon git. This is needed for the Base Runtime Project.
Please apply the patch or respond with a reason it should not be applied within
two weeks. After that time, a provenpackager will go ahead and apply it.
Referenced Bugs:
https://bugzilla.redhat.com/show_bug.cgi?id=1400162
[Bug 1400162] Base Runtime FTBFS tracker
--
You are receiving this mail because:
You are on the CC list for the bug.