Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 41457 - ppp-2.4.2 depends on libpcap
Summary: ppp-2.4.2 depends on libpcap
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Dialup Developers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-02-13 05:31 UTC by Harris Landgarten
Modified: 2004-02-14 19:22 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Harris Landgarten 2004-02-13 05:31:02 UTC
if libpcap is not installed emerging ppp-2.4.2 will fail when when option.c tries to include pcap.h. Even if libcap is installed demand.c will fail to compile because it tries to include /net/bpf.h instead of pcap-bpf.h

The ebuild only lists libpcap as a dependency if activefilter is selected.

Reproducible: Always
Steps to Reproduce:
1.emerge ppp
2.
3.




Gentoo Base System version 1.4.3.13
Portage 2.0.50-r1 (default-x86-1.4, gcc-3.3.2, glibc-2.3.3_pre20040207-r0,
2.6.2-gentoo)
=================================================================
System uname: 2.6.2-gentoo i686 Intel(R) Pentium(R) 4 CPU 2.40GHz
Autoconf: sys-devel/autoconf-2.59
Automake: sys-devel/automake-1.8.2
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-O3 -march=pentium4 -fprefetch-loop-arrays -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3.1/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config
/usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-O3 -march=pentium4 -fprefetch-loop-arrays -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="ftp://gentoo.mirrors.pair.com/"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X alsa apm arts avi berkdb bonobo cdr crypt cups directfb encode esd
foomaticdb gdbm gif gnome gpm gtk gtk2 gtkhtml guile imlib java jpeg kde ldap
libg++ libwww mad mikmod motif mozilla mpeg mysql ncurses nls oggvorbis opengl
oss pam pdflib perl png python qt quicktime readline sdl slang spell ssl svga
tcltk tcpd truetype x86 xml2 xmms xv zlib"
Comment 1 Heinrich Wendel (RETIRED) gentoo-dev 2004-02-13 13:12:02 UTC

*** This bug has been marked as a duplicate of 41416 ***
Comment 2 Harris Landgarten 2004-02-13 14:05:50 UTC
This bug is only a partial duplicate of 41416. Libpcap should be, but it not currently listed as a dependency in the ebuild file. 41416 only deals with the /net/bhp.net problem in demand.c which is not even reached if libpcap is not installed.
Comment 3 Florian Loitsch 2004-02-14 08:45:27 UTC
the ebuild-patch at bug 41416 includes the dependency on libcap. so while this bug is not a real duplicate of 41416, it is resolved by 41416.
(i'm not changing the status, though)
Comment 4 Aron Griffis (RETIRED) gentoo-dev 2004-02-14 19:22:16 UTC
fixed