From Bugzilla Helper: User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.6) Gecko/20050313 Fedora/1.7.6-0.cvs.20050313 Description of problem: Building of freetype fails if you attempt to disable building of freetype 1.X. The failure is due to some of the build steps not being correctly conditionalized for freetype 1.x being deconfigured. Version-Release number of selected component (if applicable): freetype-2.1.9-2 How reproducible: Always Steps to Reproduce: 1. Install freetype-2.1.9.src.rpm 2. Edit freetype.spec file to disable with_freetype1 (%define with_freetype1 0) 3. rpmbuild -ba SPECS/freetype.spec 4. kaboom! Actual Results: .... + aclocal net.m4:35: warning: underquoted definition of AC_LIBRARY_NET run info '(automake)Extending aclocal' or see http://sources.redhat.com/automake/automake.html#Extending-aclocal configure.in:62: error: AC_REQUIRE: cannot be used outside of an m4_defun'd macro configure.in:62: AC_PROG_MAKE_SET is required by... configure.in:62: the top level autom4te: /usr/bin/m4 failed with exit status: 1 aclocal: autom4te failed with exit status: 1 error: Bad exit status from /usr/src/redhat/tmp/rpm-tmp.12568 (%prep) Expected Results: build completes Additional info: Patch that fixes it: 115a116 > %if %{with_freetype1} 120a122 > %endif
Please provide a unified patch (option -u). Thanks.
Probably obsolete, since we dropped freetype 1.x from the rpm now.