Bug 142557 - SRPM in Rawhide is missing build-requires for elfutils-libelf-devel
Summary: SRPM in Rawhide is missing build-requires for elfutils-libelf-devel
Alias: None
Product: Fedora
Classification: Fedora
Component: net-snmp (Show other bugs)
(Show other bugs)
Version: rawhide
Hardware: All Linux
Target Milestone: ---
Assignee: Radek Vokal
QA Contact: David Lawrence
Depends On:
TreeView+ depends on / blocked
Reported: 2004-12-10 17:01 UTC by Joe Christy
Modified: 2007-11-30 22:10 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2004-12-13 09:54:21 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 Joe Christy 2004-12-10 17:01:11 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.5)
Gecko/20041111 Firefox/1.0

Description of problem:
rpmbuild dies in config, giving errors:
checking for SNMP support... yes, shared
checking OpenSSL dir for SNMP... no
checking for snmp_parse_oid in -lnetsnmp... no
checking for init_snmp in -lnetsnmp... no
configure: error: SNMP sanity check failed. Please check config.log
for more inf
error: Bad exit status from /usr/local/rpm/tmp/rpm-tmp.92234 (%build)

RPM build errors:
    Bad exit status from /usr/local/rpm/tmp/rpm-tmp.92234 (%build)

This turns out to refer to .../BUILD/php-5.0.2/build-cgi/config.log,
which (I'm sorry to say I just overwrote that log, having fixed the
problem locally, so no actual output) is dying trying to compile an
SNMP test program because it can't find the libelf.h header.

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
1. Be sure that elfutils-libelf-devel isn't installed
2. rpm -ivh php-5.0.2-8.src.rpm
3. rpmbuild -ba php.spec

Actual Results:  rpmbuild doesn't complain about the missing
build-requires; it simply dies during config as per my description.

Expected Results:  rpmbuild complains about missing build-requires
_before_ moving on to config

Additional info:

Installing elfutils-libelf-devel allows rpmbuild to succeed.

Comment 1 Joe Christy 2004-12-10 17:03:48 UTC
PS I hate the new bug writing wizard, which demeans my intelligence at
the same time it allowed me to submit the bug report without knowing
that the package that it refers to is buried deep within the report
instead of somewhere obvious at the beginning.

Comment 2 Joe Orton 2004-12-10 17:07:55 UTC
Sounds like Requires: elfutils-libelf-devel is missing in netsnmp-devel.

Comment 3 Joe Orton 2004-12-10 17:10:53 UTC
If you don't like the Wizard interface then use the "Expert"
interface, BTW.  I have a firefox keyword bookmark for:


so that I just type "newbug php" in the URL bar to enter a PHP bug
report against raw hide.

Comment 4 Radek Vokal 2004-12-13 09:54:21 UTC
Joe, may I have your net-snmp version. net-snmp-devel requires
elfutils-libelf-devel. I've fixed this in net-snmp-devel-5.1.2-4. 

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