Bug 150883 - xcdroast spec file missing BuildRequires
xcdroast spec file missing BuildRequires
Product: Red Hat Enterprise Linux 4
Classification: Red Hat
Component: xcdroast (Show other bugs)
i386 Linux
medium Severity medium
: ---
: ---
Assigned To: Harald Hoyer
Jay Turner
Depends On:
  Show dependency treegraph
Reported: 2005-03-11 12:05 EST by Andrew Gormanly
Modified: 2015-01-07 19:09 EST (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2005-05-02 11:29:38 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Andrew Gormanly 2005-03-11 12:05:57 EST
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):

How reproducible:

Steps to Reproduce:
1. rpmbuild -ba SPECS/xcdroast.spec

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)

# 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
Comment 1 Harald Hoyer 2005-04-21 12:12:44 EDT
the correct fix is to remove it from configure.in

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