Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 717466 - net-analyzer/barnyard2-1.13 : configure: checking for pcap.h... no // ERROR! Libpcap headers (pcap.h) not found,
Summary: net-analyzer/barnyard2-1.13 : configure: checking for pcap.h... no // ERROR!...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Patrick Lauer
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-04-14 18:40 UTC by Toralf Förster
Modified: 2020-04-15 07:34 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,18.49 KB, text/plain)
2020-04-14 18:40 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,323.39 KB, text/plain)
2020-04-14 18:40 UTC, Toralf Förster
Details
environment (environment,66.07 KB, text/plain)
2020-04-14 18:40 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,18.98 KB, application/x-bzip)
2020-04-14 18:41 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,13.62 KB, application/x-bzip)
2020-04-14 18:41 UTC, Toralf Förster
Details
net-analyzer:barnyard2-1.13:20200414-171213.log (net-analyzer:barnyard2-1.13:20200414-171213.log,13.33 KB, text/plain)
2020-04-14 18:41 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,21.75 KB, application/x-bzip)
2020-04-14 18:41 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2020-04-14 18:40:51 UTC
 * ERROR: net-analyzer/barnyard2-1.13::gentoo failed (configure phase):
 *   econf failed
 * 

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_developer-libressl-20200405-030058

  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-8.3.1
 [2] x86_64-pc-linux-gnu-9.3.0 *
clang version 10.0.0 
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/10/bin
/usr/lib/llvm/10
10.0.0
Available Python interpreters, in order of preference:
  [1]   python3.8
  [2]   python3.7
  [3]   python3.6
  [4]   python2.7 (fallback)
  [5]   pypy3 (fallback)
Available Ruby profiles:
  [1]   ruby24 (with Rubygems)
  [2]   ruby25 (with Rubygems) *
Available Rust versions:
  [1]   rust-1.42.0 *
The following VMs are available for generation-2:
*)	IcedTea JDK 3.15.0 [icedtea-bin-8]
2)	JamVM JDK 2.0.0 [jamvm]
Available Java Virtual Machines:
  [1]   icedtea-bin-8  system-vm
  [2]   jamvm 

The Glorious Glasgow Haskell Compilation System, version 8.0.2

timestamp of HEAD at this tinderbox image:
/var/db/repos/gentoo	Tue 14 Apr 2020 04:39:59 PM UTC
/var/db/repos/libressl	Sat 11 Apr 2020 05:02:25 AM UTC

emerge -qpvO net-analyzer/barnyard2
[ebuild  N    ] net-analyzer/barnyard2-1.13  USE="-debug -gre -mpls -mysql -odbc -postgres -sguil"
Comment 1 Toralf Förster gentoo-dev 2020-04-14 18:40:53 UTC
Created attachment 632962 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-04-14 18:40:56 UTC
Created attachment 632964 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2020-04-14 18:40:59 UTC
Created attachment 632966 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2020-04-14 18:41:02 UTC
Created attachment 632968 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2020-04-14 18:41:05 UTC
Created attachment 632970 [details]
logs.tbz2
Comment 6 Toralf Förster gentoo-dev 2020-04-14 18:41:07 UTC
Created attachment 632972 [details]
net-analyzer:barnyard2-1.13:20200414-171213.log
Comment 7 Toralf Förster gentoo-dev 2020-04-14 18:41:10 UTC
Created attachment 632974 [details]
temp.tbz2
Comment 8 Jeroen Roovers (RETIRED) gentoo-dev 2020-04-15 07:18:03 UTC
configure:11404: checking pcap.h usability
configure:11404: x86_64-pc-linux-gnu-gcc -c -O2 -pipe -march=native -falign-functions=32:25:16 -fno-common -Wformat =format-security  conftest.c >&5
x86_64-pc-linux-gnu-gcc: error: =format-security: No such file or directory
configure:11404: $? = 1
configure: failed program was:
[..]
Comment 9 Jeroen Roovers (RETIRED) gentoo-dev 2020-04-15 07:22:09 UTC
configure.in:
# Test for -Werror and sed it out for now since some of the auto tests,
# for example AC_CHECK_LIB, will fail because of
# warning: conflicting types for built-in function <func>
if eval "echo $CFLAGS | grep -e -Werror"; then
    CFLAGS=`echo $CFLAGS | sed -e "s/-Werror//g"`
    ADD_WERROR="yes"
fi
Comment 10 Larry the Git Cow gentoo-dev 2020-04-15 07:34:16 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fe843648c530f6c6e8a7c3a9ed06dd3c63611366

commit fe843648c530f6c6e8a7c3a9ed06dd3c63611366
Author:     Jeroen Roovers <jer@gentoo.org>
AuthorDate: 2020-04-15 07:33:01 +0000
Commit:     Jeroen Roovers <jer@gentoo.org>
CommitDate: 2020-04-15 07:34:13 +0000

    net-analyzer/barnyard2: Prevent editing out -Werror
    
    Package-Manager: Portage-2.3.99, Repoman-2.3.22
    Closes: https://bugs.gentoo.org/717466
    Signed-off-by: Jeroen Roovers <jer@gentoo.org>

 net-analyzer/barnyard2/barnyard2-1.13.ebuild            |  1 +
 .../barnyard2/files/barnyard2-1.13-Werror.patch         | 17 +++++++++++++++++
 2 files changed, 18 insertions(+)