Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 75356 - ebuild of dhcp-agent-0.37 fails in dhcp-net.c with: net/bpf.h: no such file or directory.
Summary: ebuild of dhcp-agent-0.37 fails in dhcp-net.c with: net/bpf.h: no such file o...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Netmon project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-12-22 12:36 UTC by sultansofswing
Modified: 2005-03-31 06:21 UTC (History)
2 users (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 sultansofswing 2004-12-22 12:36:51 UTC
Since I cannot search not-installed packages for files, I don't know what package I had to install to get a 'net/bpf.h'. I don't know what 'bpf' is. After symlinking /usr/include/pcap-bpf.h to /usr/include/net/bpf.h the build succeeds.

Reproducible: Always
Steps to Reproduce:




Gentoo Base System version 1.4.16
Portage 2.0.51-r2 (default-x86-2004.0, gcc-3.3.3, glibc-2.3.3.20040420-r0, 2.6.
8-gentoo-r3 i686)
=================================================================
System uname: 2.6.8-gentoo-r3 i686 AMD Athlon(tm) XP 1800+
Autoconf: sys-devel/autoconf-2.59-r3
Automake: sys-devel/automake-1.8.3
Binutils: sys-devel/binutils-2.14.90.0.8-r1
Headers:  sys-kernel/linux-headers-2.4.21-r1
Libtools: sys-devel/libtool-1.4.3-r4
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -march=athlon-xp -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.
2/share/config /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/
share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /
usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/
share/texmf/xdvi/ /var/lib/jboss /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=athlon-xp -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache distlocks sandbox"
GENTOO_MIRRORS="ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ ftp://
mirrors.sec.informatik.tu-darmstadt.de/gentoo/ ftp://ftp.caliu.info/pub/gentoo/ 
ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror/"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dfx 3dnow X aalib alsa apm arts avi berkdb bitmap-fonts cdr crypt cups 
directfb encode esd f77 foomaticdb gatos gdbm gif gnome gpm gtk gtk2 imap imlib 
java jpeg ldap libg++ libwww mad mikmod mmx motif mozilla mpeg mysql ncurses nls 
oggvorbis opengl oss pam pdflib perl png postgres python qt quicktime readline 
scanner sdl slang spell sse ssl svga tcltk tcpd tetex truetype x86 xml2 xmms xv 
zlib video_cards_rage128"
Comment 1 Nick Dimiduk (RETIRED) gentoo-dev 2004-12-26 09:40:59 UTC
No metadata; CCed blocke@shivan.org as per ChangeLog entry.  Does this package have a maintainer/herd?
Comment 2 Mr. Bones. (RETIRED) gentoo-dev 2004-12-29 10:09:28 UTC
This is because the latest version of libpcap doesn't install a /usr/include/net/bpf.h file anymore.  Maybe the netmon folks have an idea of what to do about this.
Comment 3 Daniel Black (RETIRED) gentoo-dev 2005-01-08 16:28:11 UTC
dhcp-agent-0.41 added. Please test this version and if it works I'll remove the old version.
Comment 4 Fernando Usero 2005-03-30 00:55:07 UTC
same error here for dhcp-agent-0.41:

gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include -I/usr/include -DDHCPSYSCONFDIR=\"/etc/dhcp-agent\" -DDHCPSYSCONF_CLIENTDIR=\"/etc/dhcp-agent/dhcp-client\" -DDHCPSYSCONF_SERVERDIR=\"/etc/dhcp-agent/dhcp-server\" -DDHCPLOCALSTATEDIR=\"/var/lib/dhcp-agent\" -DDHCPLOCALSTATE_CLIENTDIR=\"/var/lib/dhcp-agent/dhcp-client\" -DDHCPLOCALSTATE_SERVERDIR=\"/var/lib/dhcp-agent/dhcp-server\" -Wall -march=pentium4 -fforce-addr -fomit-frame-pointer -funroll-loops -frerun-loop-opt -frerun-cse-after-loop -falign-functions=4 -O3 -pipe -mno-sse2 -MT dhcp-util.lo -MD -MP -MF .deps/dhcp-util.Tpo -c dhcp-util.c  -fPIC -DPIC -o .libs/dhcp-util.o
In file included from dhcp-util.c:29:
dhcp-local.h:84:21: net/bpf.h: No such file or directory
make[2]: *** [dhcp-util.lo] Error 1
make[2]: Leaving directory `/var/tmp/portage/dhcp-agent-0.41/work/dhcp-agent-0.41/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/dhcp-agent-0.41/work/dhcp-agent-0.41'
make: *** [all] Error 2

!!! ERROR: net-misc/dhcp-agent-0.41 failed.
!!! Function src_compile, Line 28, Exitcode 2
!!! (no error message)
!!! If you need support, post the topmost build error, NOT this status message.
Comment 5 Aaron Walker (RETIRED) gentoo-dev 2005-03-31 05:14:20 UTC
Verified.
Comment 6 Aaron Walker (RETIRED) gentoo-dev 2005-03-31 06:21:23 UTC
Fixed in both 0.37 and 0.41.