Red Hat Bugzilla – Bug 58200
Fails to build
Last modified: 2014-03-16 22:24:57 EDT
Description of Problem:
Rebuilding of gnucash fails because of missing files (probably patched away):
| rpm --rebuild gnucash-1.6.5-1.src.rpm
| config.status: creating src/optional/swig/Makefile
| config.status: error: cannot find input file: src/optional/swig/Makefile.in
| error: Bad exit status from /var/tmp/rpm-tmp.93611 (%build)
| Bad exit status from /var/tmp/rpm-tmp.93611 (%build)
Removing all the swig/* Makefile-entries from configure.in cures the problem.
Version-Release number of selected/related components (if applicable):
Still in gnucash-1.6.5-3.src.rpm
There were files missing in the upstream tarball.
... that cause breakages with newer automake/autoconf.
I do not see where the problem lies. 'autoconf' will be called in the current
package in %build and works with autoconf-2.52-7 and automake-1.5-8. Therefore,
removing the two
lines from AC_OUTPUT in configure.in will not break anything.
A quick & dirty hack without patching would be
| mkdir -p $p/examples
| touch $p/Makefile.in $p/examples/Makefile.in
in the %setup or early %build section of the .spec-file.
Should be fixed with current packages, certainly with 1.7.5-1.