From Bugzilla Helper: User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4.3) Gecko/20050104 Red Hat/1.4.3-3.0.7 Description of problem: The spec file for xcdroast is missing some buildrequires. Version-Release number of selected component (if applicable): xcdroast-0.98a15-6 How reproducible: Always Steps to Reproduce: 1. rpmbuild -ba SPECS/xcdroast.spec 2. 3. Actual Results: Without glib-devel and gtk+devel installed: # rpmbuild -ba SPECS/xcdroast.spec [...] ./configure: line 5008: syntax error near unexpected token `1.2.3,,' ./configure: line 5008: ` AM_PATH_GLIB(1.2.3,, { { echo "$as_me:$LINENO: error: Test for GLIB failed. See the file 'INSTALL' for help." >&5' make: *** [config.status] Error 2 error: Bad exit status from /var/tmp/rpm-tmp.9547 (%build) Fixed by: # up2date glib-devel but then have: # rpmbuild -ba SPECS/xcdroast.spec [...] ./configure: line 5329: syntax error near unexpected token `1.2.3,,' ./configure: line 5329: ` AM_PATH_GTK(1.2.3,, { { echo "$as_me:$LINENO: error: Test for GTK failed. See the file 'INSTALL' for help." >&5' make: *** [config.status] Error 2 error: Bad exit status from /var/tmp/rpm-tmp.59246 (%build) until # up2date gtk+-devel at which point the compile works. Expected Results: spec file should produce the binary RPM. Additional info: Actual fix is one line in the spec file: BuildRequires: glib-devel >= 1.2.3, gtk+-devel >= 1.2.3
the correct fix is to remove it from configure.in