From Bugzilla Helper: User-Agent: Mozilla/5.0 (X11; U; Linux i586; en-US; rv:1.2.1) Gecko/20030225 Description of problem: The source rpm specfile is missing a BuildRequires tag for flex. It will not compile if flex is missing. Version-Release number of selected component (if applicable): binutils-2.14.90.0.8-8 How reproducible: Always Steps to Reproduce: 1. rpmbuild -bb /usr/src/redhat/SPEC/binutils.spec Actual Results: Error building rpm Expected Results: rpm package created Additional info:
http://people.redhat.com/wtogami/temp/binutils-build-failure.txt Confirmed flex in fedora.us-buildsys, however the build fails later due to other missing BuildRequires. Please find the exact missing BuildRequires and report back.
Installing flex made it work for me. I'm not sure what else it needed. But according to the missing file: aclocal, autoconf, autoheader, automake, bison, flex, help2man, makeinfo, & tar.
Commited to cvs.devel, so will show up in 2.15.90.0.3-8 when it is built.
FWIW, this is what I'm using now: --- working/binutils/binutils.spec 2004-05-19 12:16:05.000000000 -0400 +++ /opt/specs/binutils.spec 2004-05-31 12:21:03.000000000 -0400 @@ -21,7 +21,7 @@ Patch13: binutils-2.15.90.0.3-ia64-lib64.patch Buildroot: /var/tmp/binutils-root -BuildRequires: texinfo >= 4.0, dejagnu, gettext +BuildRequires: texinfo >= 4.0, dejagnu, gettext, flex, bison Prereq: /sbin/install-info %ifarch ia64 Obsoletes: gnupro
Added bison too and set it building