Bug 151455 - rpmbuild of FreeType fails if with_freetype1==0
Summary: rpmbuild of FreeType fails if with_freetype1==0
Alias: None
Product: Fedora
Classification: Fedora
Component: freetype (Show other bugs)
(Show other bugs)
Version: rawhide
Hardware: i386 Linux
Target Milestone: ---
Assignee: Carl Worth
QA Contact: Brock Organ
Depends On:
TreeView+ depends on / blocked
Reported: 2005-03-18 03:10 UTC by Mike Duigou
Modified: 2007-11-30 22:11 UTC (History)
0 users

Fixed In Version: 2.2.1-1
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2006-09-10 17:35:04 UTC
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

Description Mike Duigou 2005-03-18 03:10:17 UTC
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):

How reproducible:

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:

> %if %{with_freetype1}
> %endif

Comment 1 David Zeuthen 2005-03-18 03:23:44 UTC
Please provide a unified patch (option -u). Thanks.

Comment 2 Matthias Clasen 2006-09-10 17:35:04 UTC
Probably obsolete, since we dropped freetype 1.x from the rpm now.

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