from linuxport.h:27, from portmanager.cpp:23: /usr/include/pcap/pcap.h:531:26: fatal error: remote-ext.h: No such file or directory compilation terminated. make[1]: *** [Makefile.drone:299: portmanager.o] Error 1 make[1]: Leaving directory '/var/tmp/portage/net-analyzer/ostinato-0.8/work/ostinato-0.8/server' $ cat emerge-info.txt ----------------------------------------------------------------- This is an unstable amd64 chroot image (named amd64-plasma-systemd-unstable_20161201-113634) at a hardened host acting as a tinderbox. ----------------------------------------------------------------- USE flags in make.conf: USE=" pax_kernel xtpax -cdinstall -oci8 -bindist ssp aes-ni bugzilla corefonts -dbus -dnssec egl ext4 -fontconfig -gcj gnome-keyring go gzip -hdf5 ldap mdnsresponder-compat melt -mp4 mysql php plasma pypy rdoc smpeg snmp sqlite svc system-ffmpeg v4l webstart xetex -xvfb zlib" ----------------------------------------------------------------- gcc-config -l: [1] x86_64-pc-linux-gnu-5.4.0 * llvm-config --version: 3.9.0 Available Java Virtual Machines: [1] icedtea-7 system-vm [2] icedtea-bin-7 [3] icedtea-bin-8 Available Python interpreters, in order of preference: [1] python3.4 [2] python2.7 (fallback) [3] pypy3 (fallback) [4] jython2.7 (fallback) Available Ruby profiles: [1] ruby20 (with Rubygems) [2] ruby21 (with Rubygems) * java-config: The following VMs are available for generation-2: *) IcedTea JDK 7.2.6.8 [icedtea-7] 2) IcedTea JDK 7.2.6.8 [icedtea-bin-7] 3) IcedTea JDK 3.2.0 [icedtea-bin-8] ----------------------------------------------------------------- Portage 2.3.3 (python 3.4.5-final-0, default/linux/amd64/13.0/desktop/plasma/systemd, gcc-5.4.0, glibc-2.23-r3, 4.8.12-hardened-r1 x86_64) ================================================================= System Settings ================================================================= System uname: Linux-4.8.12-hardened-r1-x86_64-Intel-R-_Core-TM-_i7-3930K_CPU_@_3.20GHz-with-gentoo-2.3 KiB Mem: 65285560 total, 1934028 free KiB Swap: 67108860 total, 67108860 free Timestamp of repository gentoo: Fri, 09 Dec 2016 05:22:12 +0000 sh bash 4.4_p5-r1 ld GNU ld (Gentoo 2.25.1 p1.1) 2.25.1 distcc 3.2rc1 x86_64-pc-linux-gnu [disabled] app-shells/bash: 4.4_p5-r1::gentoo dev-java/java-config: 2.2.0-r3::gentoo dev-lang/perl: 5.24.1_rc4::gentoo dev-lang/python: 2.7.12::gentoo, 3.4.5::gentoo dev-util/cmake: 3.7.1::gentoo dev-util/pkgconfig: 0.29.1::gentoo sys-apps/baselayout: 2.3::gentoo sys-apps/openrc: 0.22.4::gentoo sys-apps/sandbox: 2.10-r2::gentoo sys-devel/autoconf: 2.13::gentoo, 2.69-r2::gentoo sys-devel/automake: 1.10.3-r2::gentoo, 1.11.6-r2::gentoo, 1.12.6-r1::gentoo, 1.13.4-r1::gentoo, 1.14.1-r1::gentoo, 1.15-r2::gentoo sys-devel/binutils: 2.25.1-r1::gentoo, 2.27::gentoo sys-devel/gcc: 5.4.0::gentoo sys-devel/gcc-config: 1.8-r1::gentoo sys-devel/libtool: 2.4.6-r2::gentoo sys-devel/make: 4.2.1::gentoo sys-kernel/linux-headers: 4.8::gentoo (virtual/os-headers) sys-libs/glibc: 2.23-r3::gentoo Repositories: gentoo location: /usr/portage sync-type: rsync sync-uri: rsync://rsync.gentoo.org/gentoo-portage priority: 1 tinderbox location: /tmp/tb/data/portage masters: gentoo priority: 2 local location: /usr/local/portage masters: gentoo priority: 3 ACCEPT_KEYWORDS="amd64 ~amd64" ACCEPT_LICENSE="*" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=native -O2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /etc/grs/systems.conf /opt/openfire/resources/security/ /usr/lib64/fax /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/qpsmtpd/plugins /var/lib/hsqldb /var/lib/i2pd/certificates /var/spool/fax/etc" CONFIG_PROTECT_MASK="/etc/angband/gamedata/ /etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo" CXXFLAGS="-march=native -O2 -pipe" DISTDIR="/var/tmp/distfiles" EMERGE_DEFAULT_OPTS="--verbose --verbose-conflicts --color=n --nospinner --tree --quiet-build" FCFLAGS="-O2 -pipe" FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync network-sandbox parallel-fetch preserve-libs protect-owned sandbox sfperms strict test-fail-continue unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr" FFLAGS="-O2 -pipe" GENTOO_MIRRORS="http://ftp.uni-erlangen.de/pub/mirrors/gentoo rsync://mirror.netcologne.de/gentoo/ ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gor.bytemark.co.uk/gentoo/ rsync://ftp.snt.utwente.nl/gentoo" LANG="en_US.utf8" LDFLAGS="-Wl,-O1 -Wl,--as-needed" MAKEOPTS="-j1" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git" PORTAGE_TMPDIR="/var/tmp" USE="X a52 aac acl acpi aes-ni alsa amd64 berkdb bluetooth branding bugzilla bzip2 cairo cdda cdr cli corefonts cracklib crypt cups cxx declarative dri dts dvd dvdr egl emboss encode exif ext4 fam firefox flac fortran gdbm gif glamor gnome-keyring go gpm gtk gzip iconv ipv6 jpeg kde kipi lcms ldap libnotify mad mdnsresponder-compat melt mmx mmxext mng modules mp3 mpeg multilib mysql ncurses nls nptl ogg opengl openmp pam pango pax_kernel pcre pdf phonon php plasma png policykit ppds pypy qml qt3support qt4 qt5 rdoc readline sdl seccomp semantic-desktop session smpeg snmp spell sqlite sse sse2 ssl ssp startup-notification svc svg system-ffmpeg systemd tcpd tiff truetype udev udisks unicode upower usb v4l vorbis webstart widgets wxwidgets x264 xattr xcb xcomposite xetex xinerama xml xscreensaver xtpax xv xvid zlib" ABI_X86="64" ALSA_CARDS="hda-intel" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="evdev synaptics" KERNEL="linux" L10N="bn bn-IN en-US ml" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_4" RUBY_TARGETS="ruby21" USERLAND="GNU" VIDEO_CARDS="intel i965" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" Unset: CC, CPPFLAGS, CTARGET, CXX, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Created attachment 455574 [details] emerge-history.txt
Created attachment 455576 [details] environment
Created attachment 455578 [details] etc.portage.tbz2
Created attachment 455580 [details] net-analyzer:ostinato-0.8:20161209-052500.log
Also seeing the same behavior in ostinato-0.5.1, for both gcc 4.9.4 and 5.4.0. Posting my "emerge --info".
Created attachment 507528 [details] Emerge --info for ostinato-0.5.1
According to the Debian bug at https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=843384 , the issue here is the fact that libpcap stopped including "remote-ext.h" in it's source starting at libpcap-1.8.1 and was purportedly restored in libpcap-1.8.1-3. I confirmed it still isn't provided in our net-libs/libpcap-1.8.1-r1, and our libpcap-9999 fails to finish it's own patching on my system: screen # emerge -1v =net-libs/libpcap-9999 These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild U *] net-libs/libpcap-9999::gentoo [1.8.1-r1::gentoo] USE="dbus usb -bluetooth -netlink -static-libs" ABI_X86="32 (64) (-x32)" 0 KiB Total: 1 package (1 upgrade), Size of downloads: 0 KiB >>> Verifying ebuild manifests >>> Emerging (1 of 1) net-libs/libpcap-9999::gentoo >>> Unpacking source... Initialized empty Git repository in /usr/portage/distfiles/git3-src/the-tcpdump-group_libpcap.git/ * Fetching https://github.com/the-tcpdump-group/libpcap ... git fetch https://github.com/the-tcpdump-group/libpcap +HEAD:refs/git-r3/HEAD remote: Counting objects: 14955, done. remote: Total 14955 (delta 0), reused 1 (delta 0), pack-reused 14954 Receiving objects: 100% (14955/14955), 8.86 MiB | 297.00 KiB/s, done. Resolving deltas: 100% (10527/10527), done. From https://github.com/the-tcpdump-group/libpcap * [new ref] -> refs/git-r3/HEAD * [new tag] libpcap-0.6.1 -> libpcap-0.6.1 * [new tag] libpcap-0.7.1 -> libpcap-0.7.1 * [new tag] libpcap-1.5.0 -> libpcap-1.5.0 * [new tag] libpcap-1.6.0-bp -> libpcap-1.6.0-bp * [new tag] libpcap-1.7.0-bp -> libpcap-1.7.0-bp * [new tag] libpcap-1.8.0-bp -> libpcap-1.8.0-bp * [new tag] libpcap-1.8.1 -> libpcap-1.8.1 * [new tag] libpcap_0_8_bp -> libpcap_0_8_bp * [new tag] libpcap_1.3_base -> libpcap_1.3_base git symbolic-ref refs/git-r3/net-libs/libpcap/0/__main__ refs/git-r3/HEAD * Checking out https://github.com/the-tcpdump-group/libpcap to /var/tmp/portage/net-libs/libpcap-9999/work/libpcap-9999 ... git checkout --quiet refs/git-r3/HEAD GIT NEW branch --> repository: https://github.com/the-tcpdump-group/libpcap at the commit: 2e1f6cd4ac8985a4ea07b97eca9cb5f16df8defc >>> Source unpacked in /var/tmp/portage/net-libs/libpcap-9999/work >>> Preparing source in /var/tmp/portage/net-libs/libpcap-9999/work/libpcap-9999 ... * Applying libpcap-1.6.1-prefix-solaris.patch ... [ ok ] * Applying libpcap-9999-libnl.patch ... 1 out of 2 hunks FAILED -- saving rejects to file configure.ac.rej [ !! ] * ERROR: net-libs/libpcap-9999::gentoo failed (prepare phase): * patch -p1 failed with /var/tmp/portage/net-libs/libpcap-9999/files/libpcap-9999-libnl.patch * * Call stack: * ebuild.sh, line 124: Called src_prepare * environment, line 3390: Called default * phase-functions.sh, line 853: Called default_src_prepare * phase-functions.sh, line 918: Called __eapi6_src_prepare * environment, line 208: Called eapply '/var/tmp/portage/net-libs/libpcap-9999/files/libpcap-1.6.1-prefix-solaris.patch' '/var/tmp/portage/net-libs/libpcap-9999/files/libpcap-9999-libnl.patch' '/var/tmp/portage/net-libs/libpcap-9999/files/libpcap-9999-prefix-darwin.patch' * environment, line 996: Called _eapply_patch '/var/tmp/portage/net-libs/libpcap-9999/files/libpcap-9999-libnl.patch' * environment, line 934: Called __helpers_die 'patch -p1 failed with /var/tmp/portage/net-libs/libpcap-9999/files/libpcap-9999-libnl.patch' * isolated-functions.sh, line 117: Called die * The specific snippet of code: * die "$@" * * If you need support, post the output of `emerge --info '=net-libs/libpcap-9999::gentoo'`, * the complete build log and the output of `emerge -pqv '=net-libs/libpcap-9999::gentoo'`. * The complete build log is located at '/var/tmp/portage/net-libs/libpcap-9999/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/net-libs/libpcap-9999/temp/environment'. * Working directory: '/var/tmp/portage/net-libs/libpcap-9999/work/libpcap-9999' * S: '/var/tmp/portage/net-libs/libpcap-9999/work/libpcap-9999' >>> Failed to emerge net-libs/libpcap-9999, Log file: >>> '/var/tmp/portage/net-libs/libpcap-9999/temp/build.log' * Messages for package net-libs/libpcap-9999: * ERROR: net-libs/libpcap-9999::gentoo failed (prepare phase): * patch -p1 failed with /var/tmp/portage/net-libs/libpcap-9999/files/libpcap-9999-libnl.patch * * Call stack: * ebuild.sh, line 124: Called src_prepare * environment, line 3390: Called default * phase-functions.sh, line 853: Called default_src_prepare * phase-functions.sh, line 918: Called __eapi6_src_prepare * environment, line 208: Called eapply '/var/tmp/portage/net-libs/libpcap-9999/files/libpcap-1.6.1-prefix-solaris.patch' '/var/tmp/portage/net-libs/libpcap-9999/files/libpcap-9999-libnl.patch' '/var/tmp/portage/net-libs/libpcap-9999/files/libpcap-9999-prefix-darwin.patch' * environment, line 996: Called _eapply_patch '/var/tmp/portage/net-libs/libpcap-9999/files/libpcap-9999-libnl.patch' * environment, line 934: Called __helpers_die 'patch -p1 failed with /var/tmp/portage/net-libs/libpcap-9999/files/libpcap-9999-libnl.patch' * isolated-functions.sh, line 117: Called die * The specific snippet of code: * die "$@" * * If you need support, post the output of `emerge --info '=net-libs/libpcap-9999::gentoo'`, * the complete build log and the output of `emerge -pqv '=net-libs/libpcap-9999::gentoo'`. * The complete build log is located at '/var/tmp/portage/net-libs/libpcap-9999/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/net-libs/libpcap-9999/temp/environment'. * Working directory: '/var/tmp/portage/net-libs/libpcap-9999/work/libpcap-9999' * S: '/var/tmp/portage/net-libs/libpcap-9999/work/libpcap-9999' screen # Hope that helps.
Digging a little deeper, I cannot find that header from libpcap (all the way back to version 1.4 on github), but I did find it in nmap under "mswin32/pcap-include/remote-ext.h". HTH.
fixed in libpcap 1.8.1-r2 and ostinato was bumped to 0.9