Bug 713872 - libpcap-devel is missing from Fedora 14 and 15
Summary: libpcap-devel is missing from Fedora 14 and 15
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: distribution
Version: 15
Hardware: Unspecified
OS: Linux
unspecified
unspecified
Target Milestone: ---
Assignee: Bill Nottingham
QA Contact: Bill Nottingham
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-06-16 16:14 UTC by Jeff Morriss
Modified: 2014-03-17 03:28 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-06-16 16:58:06 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Jeff Morriss 2011-06-16 16:14:02 UTC
Description of problem:
A Wireshark user reported that s/he was unable to compile Wireshark because pcap.h was not found.  Wireshark's instructions suggest installing the libpcap-dev or libpcap-devel package which the user tried but the packages were not found.

It appears that the libpcap-devel package is missing from both Fedora 14 and 15.  It is present in the 14 updates/testing directory, but it is not present in 15's updates/testing area.

Version-Release number of selected component (if applicable):
(whatever libpcap version Fedora supports in these versions)

How reproducible:
100%

Steps to Reproduce:
1. yum install libpcap-devel
  
Actual results:
package not found

Expected results:
package found, able to compile Wireshark [with libpcap support]

Additional info:

User's question is on Wireshark's Q&A site:

http://ask.wireshark.org/questions/4576/building-wireshark-fedora-pcaph-issue

Also: the search interface for bugzilla does not seem to admit that libpcap is a component.  I was surprised when the bug submission page *did* list it as a component.

Comment 1 Dennis Gilmore 2011-06-16 16:58:06 UTC
yum install libpcap-devel works for me.

Our repos are not at all like Debians,  to use updates you need to layer it on top of the base, and updates-testing on top of updates and base.

Comment 2 Jeff Morriss 2011-06-16 17:29:49 UTC
On Fedora 14 I can understand that: libpcap-devel is present in updates-testing.  (The Wireshark user's problem, undoubtedly, is that s/he does not have updates-testing in his repo list--why would s/he?)  So the question from the user then becomes: when will it make it out of testing?  (For 14, then, this bug could just be used to track the delivery--I guess the only remaining work is testing.)

But on 15 I don't libpcap-devel anywhere (neither updates nor updates-testing).

Comment 3 Dennis Gilmore 2011-06-16 17:45:25 UTC
http://dl.fedoraproject.org/pub/fedora/linux/releases/14/Everything/i386/os/Packages/libpcap-devel-1.1.1-1.fc14.i686.rpm
http://dl.fedoraproject.org/pub/fedora/linux/releases/14/Everything/x86_64/os/Packages/libpcap-devel-1.1.1-1.fc14.x86_64.rpm

it is in the base os and has been there since fedora 14 was released,  i suspect the issue is more than likely the user mistyped the package name when doing the yum install

for f15 its in the base also

http://dl.fedoraproject.org/pub/fedora/linux/releases/15/Everything/x86_64/os/Packages/libpcap-devel-1.1.1-3.fc15.x86_64.rpm
http://dl.fedoraproject.org/pub/fedora/linux/releases/15/Everything/i386/os/Packages/libpcap-devel-1.1.1-3.fc15.i686.rpm

those links are to the master mirror. there has not been any updates for libpcap built at all. which is why it does not show up in updates or updates-testing

Comment 4 Jeff Morriss 2011-06-16 18:08:32 UTC
Oy!  I can see them on the master (which I could not find until now: everything redirected me to mirrors) and on this mirror (which I didn't check until now):

http://mirror.web-ster.com/fedora/releases/14/Everything/x86_64/os/Packages/

but not on this one (for either 14 or 15):

http://mirrors.reflected.net/fedora/linux/releases/15/Fedora/x86_64/os/Packages/
http://mirrors.reflected.net/fedora/linux/releases/14/Fedora/x86_64/os/Packages/

It was this latter one which is what I was redirected to when I first went to check the user's complaint.  Since the files were missing there and this exactly matched the user's complaint...  <sigh>

I wonder if the user's system is refusing to install because he's got a bad mirror or something.

Anyway, sorry for the noise.

Comment 5 Jeff Morriss 2011-06-17 15:25:15 UTC
The user came back and said:

~~~
I'm actually working on an isolated network, and I was using the packages on the Fedora 14 DVD (which does not contain libpcap-devel). Also I realized that I needed to select the "Everything" directory instead of the "Fedora" directory to find this package (from http://dl.fedoraproject.org/pub/fedora/linux/releases/14/).
~~~

Now I notice, too, that I was looking in different places on the two mirrors (one in Everything and one in Fedora).

Is it normal that libpcap-devel is not in the "Fedora" directory (base OS, I guess)?  There are other -devel packages there.

Comment 6 Dennis Gilmore 2011-06-17 15:39:29 UTC
the Fedora directory is whats on the install media. its limited in space, there is nothing pulling it in. we ship wireshark on the dvd so they can use it as we ship it. there just happens to be nothing pulling in libpcap-devel onto the install media, it is installable via the network at either install time or via yum at anytime.


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