Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 51059 - net-dialup/ppp-2.4.1-r14 build fails when USE contains activefilter
Summary: net-dialup/ppp-2.4.1-r14 build fails when USE contains activefilter
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-05-14 07:57 UTC by Mark Davies
Modified: 2004-09-27 03:47 UTC (History)
0 users

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


Attachments
pcap.patch (pcap.patch,782 bytes, patch)
2004-09-19 10:12 UTC, Alin Năstac (RETIRED)
Details | Diff
modification in ppp-2.4.1-r14.ebuild (ppp-2.4.1-r14.patch,289 bytes, patch)
2004-09-19 10:16 UTC, Alin Năstac (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Mark Davies 2004-05-14 07:57:32 UTC
The latest stable net-dialup/ppp fails to build when USEing the activefilter option. Compilation error is

demand.c:37:21: net/bpf.h: No such file or directory
make[1]: *** [demand.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: Leaving directory `/usr/portage/tmp/portage/ppp-2.4.1-r14/work/ppp-2.4.1.pppoe4/pppd'
make: *** [all] Error 2

!!! ERROR: net-dialup/ppp-2.4.1-r14 failed.
!!! Function src_compile, Line 86, Exitcode 2
!!! (no error message)

Downgrading to net-libs/libpcap-0.7.2-r1 fixes problem (noticed problem when libpcap was upgraded to 0.8.3).

Reproducible: Always
Steps to Reproduce:
1. emerge net-libs/libpcap
2. USE=activefilter emerge net-dialup/ppp


Actual Results:  
emerge of net-dialup/ppp fails with error

demand.c:37:21: net/bpf.h: No such file or directory

Expected Results:  
Successful emerging of net-dialup/ppp

Gentoo Base System version 1.4.10
Portage 2.0.50-r6 (default-x86-1.4, gcc-3.3.2, glibc-2.3.2-r9, 2.4.26)
=================================================================
System uname: 2.4.26 i686 Pentium Pro
Autoconf: sys-devel/autoconf-2.58-r1
Automake: sys-devel/automake-1.8.3
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=pentiumpro -O3 -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3/share/config /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=pentiumpro -O3 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="http://www.mirror.ac.uk/sites/www.ibiblio.org/gentoo
ftp://www.mirror.ac.uk/sites/www.ibiblio.org/gentoo
http://gentoo.oregonstate.edu http://www.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2 -l2.5"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/usr/portage/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dfx X apm avi berkdb crypt emacs encode foomaticdb gdbm gif gtk gtk2 imlib
java jpeg libg++ libwww mad mikmod mpeg ncurses nls oggvorbis opengl oss pam
pdflib perl png python quicktime readline sdl spell ssl truetype voodoo3 x86
xml2 xmms xv zlib"
Comment 1 Torsten Veller (RETIRED) gentoo-dev 2004-05-15 02:39:30 UTC
I heard of this in gentoo-user.de two weeks ago.

Karsten Keil (SuSE) was cited that the libpcap maintainers had removed inbound/outbound for ppp, because it isn't part of the ppp spec.

It works with 0.7.2 but not with newer versions.
Comment 2 Mark Davies 2004-05-15 05:25:47 UTC
The compilation error is caused by the header file net/bpf.h being renamed to pcap-bpf.h in the newer version of libpcap. ppp-2.4.2 seems to have a fix (see net-dialup/ppp/files/2.4.2/pcap.patch) but is not marked as stable. No idea if the thing will actually work properly when compilation is fixed!
Comment 3 Torsten Veller (RETIRED) gentoo-dev 2004-05-15 06:12:03 UTC
forget #1, it was about the use of inbound/outbound.
Thx for correction, Mark.
Comment 4 Alin Năstac (RETIRED) gentoo-dev 2004-09-19 10:12:58 UTC
Created attachment 39923 [details, diff]
pcap.patch

patch to be included in /usr/portage/net-dialup/ppp/files
Comment 5 Alin Năstac (RETIRED) gentoo-dev 2004-09-19 10:16:09 UTC
Created attachment 39924 [details, diff]
modification in ppp-2.4.1-r14.ebuild
Comment 6 Heinrich Wendel (RETIRED) gentoo-dev 2004-09-27 03:47:19 UTC
added the patch