Bug 442719 - BuildRequires: net-snmp-devel needs to specify version
Summary: BuildRequires: net-snmp-devel needs to specify version
Keywords:
Status: CLOSED WORKSFORME
Alias: None
Product: Fedora
Classification: Fedora
Component: php
Version: 9
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Joe Orton
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2008-04-16 12:50 UTC by Matthew Miller
Modified: 2008-10-15 16:35 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2008-10-15 16:35:33 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Matthew Miller 2008-04-16 12:50:42 UTC
I'm attempting to rebuild F9 php on a hacked-up CentOS 5 test machine, and I get
a build failure with this error:

  configure: error: SNMP sanity check failed. Please check config.log for more 
  information.
  error: Bad exit status from /home/mattdm/tmp/rpm-tmp.57048 (%build)

I've got net-snmp-devel-5.3.1-19.el5_1.4 installed. Updating to net-snmp version  
5.4.1 from Rawhide cures the problem.

Comment 1 John Poelstra 2008-04-18 16:16:06 UTC
If the latest package from rawhide cures your problem, can you be more specific
what the bug is here?

Thanks,
John

Comment 2 Bug Zapper 2008-05-14 09:31:56 UTC
Changing version to '9' as part of upcoming Fedora 9 GA.
More information and reason for this action is here:
http://fedoraproject.org/wiki/BugZappers/HouseKeeping

Comment 3 Brennan Ashton 2008-06-08 02:49:38 UTC
Reporter, could you please reply to the previous question? If you won't reply in
one month, I will have to close this bug as INSUFFICIENT_DATA. Thank you.

Comment 4 Matthew Miller 2008-10-15 14:12:29 UTC
From my point of view, the bug is "php requires net-snmp > 5.3 to build; spec file does not contain this information".

It's possible that php or net-snmp could be patched to work around this, but that's apparently the state of upstream.

Comment 5 Joe Orton 2008-10-15 15:39:57 UTC
How does this fail with the latest 5.2.6 package?  Can you attach the config.log & rpmbuild output?

If a newer version of net-snmp were required at build time then I'd expect there to be a check in configure, but there isn't, so, it could either be something more subtle or it could be some problem in your "hacked-up" build environment.

Comment 6 Matthew Miller 2008-10-15 16:35:02 UTC
It's building okay now on a newly-installed CentOS 5 + EPEL host, so either something has changed or my build environment was worse than I thought. I have no strong recollection of the details of the situation six months ago (an eternity!) so I'll just apologize for the noise.


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