Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 601334 - sys-freebsd/freebsd-usbin with =net-libs/libpcap-1.8.1 - In file included from ipfwpcap.c:48: /usr/include/pcap-int.h:369:10: fatal error: 'portability.h' file not found
Summary: sys-freebsd/freebsd-usbin with =net-libs/libpcap-1.8.1 - In file included fro...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: FreeBSD (show other bugs)
Hardware: All FreeBSD
: Normal normal (vote)
Assignee: Gentoo/BSD Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-12-01 10:46 UTC by Yuta SATOH
Modified: 2017-07-22 21:34 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 Yuta SATOH 2016-12-01 10:46:32 UTC
# equery b pcap-int.h
net-libs/libpcap-1.8.1 (/usr/include/pcap-int.h)

# emerge sys-freebsd/freebsd-usbin

===> ipfwpcap (all)
Warning: Object directory not changed from original /var/tmp/portage/sys-freebsd/freebsd-usbin-11.0-r1/work/usr.sbin/ipfwpcap
echo ipfwpcap: /usr/lib/libc.a /usr/lib/libpcap.a >> .depend
clang -O2 -pipe -fno-strict-aliasing   -MD  -MF.depend.ipfwpcap.o -MTipfwpcap.o -std=gnu99 -fstack-protector-strong -Wsystem-headers -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wunused-parameter -Wcast-align -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls -Wold-style-definition -Wno-pointer-sign -Wmissing-variable-declarations -Wthread-safety -Wno-empty-body -Wno-string-plus-int -Wno-unused-const-variable  -Qunused-arguments  -c ipfwpcap.c -o ipfwpcap.o
In file included from ipfwpcap.c:48:
/usr/include/pcap-int.h:369:10: fatal error: 'portability.h' file not found
#include "portability.h"
         ^
1 error generated.
*** [ipfwpcap.o] Error code 1

make[1]: stopped in /var/tmp/portage/sys-freebsd/freebsd-usbin-11.0-r1/work/usr.sbin/ipfwpcap
1 error

make[1]: stopped in /var/tmp/portage/sys-freebsd/freebsd-usbin-11.0-r1/work/usr.sbin/ipfwpcap
*** [all_subdir_ipfwpcap] Error code 2

make: stopped in /var/tmp/portage/sys-freebsd/freebsd-usbin-11.0-r1/work/usr.sbin
1 error

make: stopped in /var/tmp/portage/sys-freebsd/freebsd-usbin-11.0-r1/work/usr.sbin
 * ERROR: sys-freebsd/freebsd-usbin-11.0-r1::gentoo failed (compile phase):
 *   make failed
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2016-12-11 11:17:59 UTC
(In reply to Yuta SATOH from comment #0)
> # equery b pcap-int.h
> net-libs/libpcap-1.8.1 (/usr/include/pcap-int.h)

That's because of an ebuild hack apparently introduced to build pppd based on libpcap's internal headers.
Comment 2 Yuta SATOH 2017-07-22 21:34:19 UTC
My pull request has been merged into the main tree by mgorny.
Thanks mgorny!

closing.