Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[Solved] net-analyzer/wireshark-2.6.3 build failure
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
linear
Apprentice
Apprentice


Joined: 12 Aug 2004
Posts: 222

PostPosted: Fri Sep 28, 2018 7:01 pm    Post subject: [Solved] net-analyzer/wireshark-2.6.3 build failure Reply with quote

Greetings,

We are getting the following error trying to build the latest stable version of wireshark:
Code:
-- Looking for tzname
-- Looking for tzname - found
-- Performing Test HAVE_NL80211
-- Performing Test HAVE_NL80211 - Success
-- Performing Test HAVE_NL80211_CMD_SET_CHANNEL
-- Performing Test HAVE_NL80211_CMD_SET_CHANNEL - Success
-- Performing Test HAVE_NL80211_SPLIT_WIPHY_DUMP
-- Performing Test HAVE_NL80211_SPLIT_WIPHY_DUMP - Success
-- Performing Test HAVE_NL80211_VHT_CAPABILITY
-- Performing Test HAVE_NL80211_VHT_CAPABILITY - Success
CMake Error at cmake/modules/FindAsciidoctor.cmake:27 (list):
  list GET given empty list
Call Stack (most recent call first):
  docbook/CMakeLists.txt:15 (find_package)


-- Found ASCIIDOCTOR: /usr/bin/asciidoctor 
-- Found XSLTPROC: /usr/bin/xsltproc 
-- No custom file found in /var/tmp/portage/net-analyzer/wireshark-2.6.3/work/wireshark-2.6.3/epan/crypt
-- No custom file found in /var/tmp/portage/net-analyzer/wireshark-2.6.3/work/wireshark-2.6.3/epan/dissectors
-- No custom file found in /var/tmp/portage/net-analyzer/wireshark-2.6.3/work/wireshark-2.6.3/epan/dissectors/asn1
-- Checking for c-compiler flag: -msse4.2
-- Performing Test COMPILER_CAN_HANDLE_SSE4_2
-- Performing Test COMPILER_CAN_HANDLE_SSE4_2 - Success
-- Looking for emmintrin.h
-- Looking for emmintrin.h - found
-- Looking for nmmintrin.h
-- Looking for nmmintrin.h - found
-- No custom file found in /var/tmp/portage/net-analyzer/wireshark-2.6.3/work/wireshark-2.6.3/ui/gtk
-- No custom file found in /var/tmp/portage/net-analyzer/wireshark-2.6.3/work/wireshark-2.6.3/ui/qt
-- Looking for ssh_userauth_agent
-- Looking for ssh_userauth_agent - found
-- Found python module make-plugin-reg: /var/tmp/portage/net-analyzer/wireshark-2.6.3/work/wireshark-2.6.3/tools/make-plugin-reg.py
-- Checking for 64-bit off_t
-- 64-bit off_t is present with no special flags
-- Checking for fseeko/ftello
-- Checking for fseeko/ftello - present
-- C-Flags: -fvisibility=hidden  -Wall -Wextra -Wendif-labels -Wpointer-arith -Wformat-security -fwrapv -fno-strict-overflow -Wvla -Waddress -Wattributes -Wdiv-by-zero -Wignored-qualifiers -Wpragmas -Wno-overlength-strings -Wno-long-long -Wframe-larger-than=32768 -Wc++-compat -Wunused-const-variable -Wshadow -Wno-pointer-sign -Wold-style-definition -Wstrict-prototypes -Wlogical-op -Wjump-misses-init -Werror=implicit  -fexcess-precision=fast -std=gnu99 -march=native -O2 -pipe
-- CXX-Flags: -std=c++11  -Wall -Wextra -Wendif-labels -Wpointer-arith -Wformat-security -fwrapv -fno-strict-overflow -Wvla -Waddress -Wattributes -Wdiv-by-zero -Wignored-qualifiers -Wpragmas -Wno-overlength-strings -Wno-long-long -Wframe-larger-than=32768  -fexcess-precision=fast -O2 -pipe -fPIC -DPIC
-- Warnings as errors:
-- The following OPTIONAL packages have been found:

 * DOXYGEN
 * GMODULE2
 * GNUTLS (required version >= 2.12.0)
 * GTK3
 * Gettext
 * Git
 * LIBSSH (required version >= 0.6), Library for implementing SSH clients, <https://www.libssh.org/>
   extcap remote SSH interfaces (sshdump, ciscodump)
 * NL
 * PCAP
 * POD
 * Perl
 * PkgConfig
 * ZLIB
 * Asciidoctor (required version >= 1.5)
 * XSLTPROC
 * PythonInterp

-- The following REQUIRED packages have been found:

 * GCRYPT (required version >= 1.4.2)
 * GLIB2
 * GTHREAD2
 * LEX
 * M
 * Qt5Core
 * Qt5LinguistTools
 * Qt5Network (required version >= 5.9.6)
 * Qt5Gui (required version >= 5.9.6)
 * Qt5Multimedia
 * Qt5PrintSupport
 * Qt5Widgets
 * YACC

-- <<< Gentoo configuration >>>
Build type      Gentoo
Install path    /usr
Compiler flags:
C               -fvisibility=hidden  -Wall -Wextra -Wendif-labels -Wpointer-arith -Wformat-security -fwrapv -fno-strict-overflow -Wvla -Waddress -Wattributes -Wdiv-by-zero -Wignored-qualifiers -Wpragmas -Wno-overlength-strings -Wno-long-long -Wframe-larger-than=32768 -Wc++-compat -Wunused-const-variable -Wshadow -Wno-pointer-sign -Wold-style-definition -Wstrict-prototypes -Wlogical-op -Wjump-misses-init -Werror=implicit  -fexcess-precision=fast -std=gnu99 -march=native -O2 -pipe
C++             -std=c++11  -Wall -Wextra -Wendif-labels -Wpointer-arith -Wformat-security -fwrapv -fno-strict-overflow -Wvla -Waddress -Wattributes -Wdiv-by-zero -Wignored-qualifiers -Wpragmas -Wno-overlength-strings -Wno-long-long -Wframe-larger-than=32768  -fexcess-precision=fast -O2 -pipe -fPIC -DPIC
Linker flags:
Executable      -Wl,-O1 -Wl,--as-needed
Module          -Wl,-O1 -Wl,--as-needed
Shared          -Wl,-O1 -Wl,--as-needed

-- Configuring incomplete, errors occurred!
See also "/var/tmp/portage/net-analyzer/wireshark-2.6.3/work/wireshark-2.6.3_build/CMakeFiles/CMakeOutput.log".
See also "/var/tmp/portage/net-analyzer/wireshark-2.6.3/work/wireshark-2.6.3_build/CMakeFiles/CMakeError.log".
 * ERROR: net-analyzer/wireshark-2.6.3::gentoo failed (configure phase):
 *   cmake failed
 *
 * Call stack:
 *     ebuild.sh, line  124:  Called src_configure
 *   environment, line 3870:  Called cmake-utils_src_configure
 *   environment, line  982:  Called die
 * The specific snippet of code:
 *       "${CMAKE_BINARY}" "${cmakeargs[@]}" "${CMAKE_USE_DIR}" || die "cmake failed";
 *
 * If you need support, post the output of `emerge --info '=net-analyzer/wireshark-2.6.3::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=net-analyzer/wireshark-2.6.3::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/net-analyzer/wireshark-2.6.3/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/net-analyzer/wireshark-2.6.3/temp/environment'.
 * Working directory: '/var/tmp/portage/net-analyzer/wireshark-2.6.3/work/wireshark-2.6.3_build'
 * S: '/var/tmp/portage/net-analyzer/wireshark-2.6.3/work/wireshark-2.6.3'

>>> Failed to emerge net-analyzer/wireshark-2.6.3, Log file:

>>>  '/var/tmp/portage/net-analyzer/wireshark-2.6.3/temp/build.log'

 * Messages for package net-analyzer/wireshark-2.6.3:

 * ERROR: net-analyzer/wireshark-2.6.3::gentoo failed (configure phase):
 *   cmake failed
 *
 * Call stack:
 *     ebuild.sh, line  124:  Called src_configure
 *   environment, line 3870:  Called cmake-utils_src_configure
 *   environment, line  982:  Called die
 * The specific snippet of code:
 *       "${CMAKE_BINARY}" "${cmakeargs[@]}" "${CMAKE_USE_DIR}" || die "cmake failed";
 *
 * If you need support, post the output of `emerge --info '=net-analyzer/wireshark-2.6.3::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=net-analyzer/wireshark-2.6.3::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/net-analyzer/wireshark-2.6.3/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/net-analyzer/wireshark-2.6.3/temp/environment'.
 * Working directory: '/var/tmp/portage/net-analyzer/wireshark-2.6.3/work/wireshark-2.6.3_build'
 * S: '/var/tmp/portage/net-analyzer/wireshark-2.6.3/work/wireshark-2.6.3'


Here is the "emerge --info =net-analyzer/wireshark-2.6.3":
Code:
 ~ # emerge --info =net-analyzer/wireshark-2.6.3
Portage 2.3.49 (python 3.5.5-final-0, default/linux/amd64/17.0, gcc-7.3.0, glibc-2.26-r7, 4.12.3-gentoo-20171011-01 x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-4.12.3-gentoo-20171011-01-x86_64-Intel-R-_Core-TM-2_Quad_CPU_Q6700_@_2.66GHz-with-gentoo-2.4.1
KiB Mem:     8158676 total,    628736 free
KiB Swap:    7653372 total,   7644924 free
Timestamp of repository gentoo: Fri, 28 Sep 2018 16:45:01 +0000
Head commit of repository gentoo: 8da80fbb9085253f7f35fb062fdf520a6c94ef26
Head commit of repository wine: 1b956b8f5fea3aece1d17c7b0b3ef9a3a97e7ceb

sh bash 4.4_p12
ld GNU ld (Gentoo 2.29.1 p3) 2.29.1
app-shells/bash:          4.4_p12::gentoo
dev-java/java-config:     2.2.0-r4::gentoo
dev-lang/perl:            5.24.3-r1::gentoo
dev-lang/python:          2.7.14-r1::gentoo, 3.4.8::gentoo, 3.5.5::gentoo, 3.6.5::gentoo
dev-util/cmake:           3.9.6::gentoo
dev-util/pkgconfig:       0.29.2::gentoo
sys-apps/baselayout:      2.4.1-r2::gentoo
sys-apps/openrc:          0.34.11::gentoo
sys-apps/sandbox:         2.13::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69-r4::gentoo
sys-devel/automake:       1.11.6-r3::gentoo, 1.12.6-r2::gentoo, 1.13.4-r2::gentoo, 1.14.1-r2::gentoo, 1.15.1-r2::gentoo
sys-devel/binutils:       2.29.1-r1::gentoo, 2.30-r2::gentoo
sys-devel/gcc:            4.9.4::gentoo, 5.4.0-r3::gentoo, 6.4.0-r1::gentoo, 7.3.0-r3::gentoo
sys-devel/gcc-config:     1.8-r1::gentoo
sys-devel/libtool:        2.4.6-r3::gentoo
sys-devel/make:           4.2.1-r4::gentoo
sys-kernel/linux-headers: 4.13::gentoo (virtual/os-headers)
sys-libs/glibc:           2.26-r7::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.namerica.gentoo.org/gentoo-portage
    priority: -1000
    sync-rsync-verify-jobs: 1
    sync-rsync-extra-opts:
    sync-rsync-verify-max-age: 24
    sync-rsync-verify-metamanifest: yes

local
    location: /usr/local/portage
    masters: gentoo

wine
    location: /var/db/package-manager/repos/wine
    sync-type: git
    sync-uri: https://anongit.gentoo.org/git/repo/proj/wine.git
    masters: gentoo

x-portage
    location: /usr/local/portage
    masters: gentoo
    priority: 0

dotnet
    location: /var/lib/layman/dotnet
    masters: gentoo
    priority: 50

zugaina
    location: /var/lib/layman/zugaina
    masters: gentoo
    priority: 50

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA dlj-1.1"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe "
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/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="-O2 -pipe"
DISTDIR="/usr/portage/distfiles"
ENV_UNSET="DBUS_SESSION_BUS_ADDRESS DISPLAY PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync multilib-strict news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://gentoo.osuosl.org/ http://mirror.lug.udel.edu/pub/gentoo/ http://gentoo.mirrors.easynews.com/linux/gentoo/ ftp://mirrors.rit.edu/gentoo/ http://mirror.usu.edu/pub/mirrors/gentoo/ "
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j3"
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 aalib acl acpi alsa amd64 apache2 apm audiofile avi berkdb browserplugin bzip2 cairo cdda cddb cdr clamav cli consolekit crypt css cups curl cxx dbus divx4linux djvu dri dv dvd dvdr exif ffmpeg flac flash fontconfig fortran gdbm gif gimp glut gnutls gtk gtk2 gzip iconv icu imagemagick imlib ipv6 java jpeg jpeg2k junit lame libtirpc lm_sensors matroska mime ming mmx mng modules mono mozcalendar mozilla mozsvg mozxmlterm mp3 mp4 mpeg mplayer multilib mysql mysqli ncurses nls nptl nsplugin ogg openexr opengl openmp pam pcre pdf perl png policykit qt quicktime raw readline samba sandbox seccomp sensord smp sockets speex sse sse2 sse3 ssl svg tcpd theora tiff truetype udev udisks unicode usb vcd vorbis wmf x264 xattr xinerama xml xpm xprint xscreensaver xv xvid zlib" ABI_X86="64 32" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" 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="karbon plan sheets stage words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext sse sse2 sse3 ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" 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 php7-0" POSTGRES_TARGETS="postgres9_5 postgres10" PYTHON_SINGLE_TARGET="python3_6" PYTHON_TARGETS="python3_6 python3_4 python3_5 python2_7" RUBY_TARGETS="ruby23" USERLAND="GNU" VIDEO_CARDS="nvidia vesa vga" 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, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS


Now, we can see where the failures in the files are:

From cmake/modules/FindAsciidoctor.cmake:
Code:
if(ASCIIDOCTOR_EXECUTABLE)
    # The AsciidctorJ wrapper script sets -Xmx256m. This isn't enough
    # for the User's Guide.
    set(_asciidoctorj_opts -Xmx800m $ENV{ASCIIDOCTORJ_OPTS})
    execute_process( COMMAND ${ASCIIDOCTOR_EXECUTABLE} --version OUTPUT_VARIABLE _ad_full_version )
    separate_arguments(_ad_full_version)
    list(GET _ad_full_version 1 ASCIIDOCTOR_VERSION) # <=- Line 27

From docbook/CMakeLists.txt:
Code:
# To do:
# - Rename *.asciidoc to *.adoc
# - Make the build targets top-level on Windows, similar to the NSIS,
#   WiX, and PortableApps targets?

find_package( Asciidoctor 1.5 )  # <=- Line 15
find_package( XSLTPROC )


Now, we have dev-ruby/asciidoctor-1.5.5-r1 installed, so what needs to be done to get wireshark to build?

Thanks in advance for your assistance.


Last edited by linear on Tue Oct 30, 2018 11:30 pm; edited 1 time in total
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 30909
Location: here

PostPosted: Fri Sep 28, 2018 7:03 pm    Post subject: Reply with quote

You can also post /var/tmp/portage/net-analyzer/wireshark-2.6.3/work/wireshark-2.6.3_build/CMakeFiles/CMakeError.log?
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
linear
Apprentice
Apprentice


Joined: 12 Aug 2004
Posts: 222

PostPosted: Fri Sep 28, 2018 8:36 pm    Post subject: Reply with quote

Certainly!
Code:
Performing C SOURCE FILE Test C__Wheader_guard_VALID failed with the following output:
Change Dir: /var/tmp/portage/net-analyzer/wireshark-2.6.3/work/wireshark-2.6.3_build/CMakeFiles/CMakeTmp

Run Build Command:"/usr/bin/gmake" "cmTC_42b30/fast"
/usr/bin/gmake -f CMakeFiles/cmTC_42b30.dir/build.make CMakeFiles/cmTC_42b30.dir/build
gmake[1]: Entering directory '/var/tmp/portage/net-analyzer/wireshark-2.6.3/work/wireshark-2.6.3_build/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_42b30.dir/src.c.o
/usr/bin/x86_64-pc-linux-gnu-gcc    -DNDEBUG -fexcess-precision=fast -std=gnu99 -march=native -O2 -pipe -DC__Wheader_guard_VALID -fPIE   -fexcess-precision=fast -Wheader-guard -o CMakeFiles/cmTC_42b30.dir/src.c.o -c /var/tmp/portage/net-analyzer/wireshark-2.6.3/work/wireshark-2.6.3_build/CMakeFiles/CMakeTmp/src.c
x86_64-pc-linux-gnu-gcc: error: unrecognized command line option '-Wheader-guard'
gmake[1]: *** [CMakeFiles/cmTC_42b30.dir/build.make:66: CMakeFiles/cmTC_42b30.dir/src.c.o] Error 1
gmake[1]: Leaving directory '/var/tmp/portage/net-analyzer/wireshark-2.6.3/work/wireshark-2.6.3_build/CMakeFiles/CMakeTmp'
gmake: *** [Makefile:126: cmTC_42b30/fast] Error 2

Source file was:
int main(void) { return 0; }
Performing C SOURCE FILE Test C__Wshorten_64_to_32_VALID failed with the following output:
Change Dir: /var/tmp/portage/net-analyzer/wireshark-2.6.3/work/wireshark-2.6.3_build/CMakeFiles/CMakeTmp

Run Build Command:"/usr/bin/gmake" "cmTC_81377/fast"
/usr/bin/gmake -f CMakeFiles/cmTC_81377.dir/build.make CMakeFiles/cmTC_81377.dir/build
gmake[1]: Entering directory '/var/tmp/portage/net-analyzer/wireshark-2.6.3/work/wireshark-2.6.3_build/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_81377.dir/src.c.o
/usr/bin/x86_64-pc-linux-gnu-gcc    -DNDEBUG -fexcess-precision=fast -std=gnu99 -march=native -O2 -pipe -DC__Wshorten_64_to_32_VALID -fPIE   -fexcess-precision=fast -Wshorten-64-to-32 -o CMakeFiles/cmTC_81377.dir/src.c.o -c /var/tmp/portage/net-analyzer/wireshark-2.6.3/work/wireshark-2.6.3_build/CMakeFiles/CMakeTmp/src.c
x86_64-pc-linux-gnu-gcc: error: unrecognized command line option '-Wshorten-64-to-32'
gmake[1]: *** [CMakeFiles/cmTC_81377.dir/build.make:66: CMakeFiles/cmTC_81377.dir/src.c.o] Error 1
gmake[1]: Leaving directory '/var/tmp/portage/net-analyzer/wireshark-2.6.3/work/wireshark-2.6.3_build/CMakeFiles/CMakeTmp'
gmake: *** [Makefile:126: cmTC_81377/fast] Error 2

Source file was:
int main(void) { return 0; }
Performing C SOURCE FILE Test C__Wcomma_VALID failed with the following output:
Change Dir: /var/tmp/portage/net-analyzer/wireshark-2.6.3/work/wireshark-2.6.3_build/CMakeFiles/CMakeTmp

Run Build Command:"/usr/bin/gmake" "cmTC_d073c/fast"
/usr/bin/gmake -f CMakeFiles/cmTC_d073c.dir/build.make CMakeFiles/cmTC_d073c.dir/build
gmake[1]: Entering directory '/var/tmp/portage/net-analyzer/wireshark-2.6.3/work/wireshark-2.6.3_build/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_d073c.dir/src.c.o
/usr/bin/x86_64-pc-linux-gnu-gcc    -DNDEBUG -fexcess-precision=fast -std=gnu99 -march=native -O2 -pipe -DC__Wcomma_VALID -fPIE   -fexcess-precision=fast -Wcomma -o CMakeFiles/cmTC_d073c.dir/src.c.o -c /var/tmp/portage/net-analyzer/wireshark-2.6.3/work/wireshark-2.6.3_build/CMakeFiles/CMakeTmp/src.c
x86_64-pc-linux-gnu-gcc: error: unrecognized command line option '-Wcomma'; did you mean '-Wcomment'?
gmake[1]: *** [CMakeFiles/cmTC_d073c.dir/build.make:66: CMakeFiles/cmTC_d073c.dir/src.c.o] Error 1
gmake[1]: Leaving directory '/var/tmp/portage/net-analyzer/wireshark-2.6.3/work/wireshark-2.6.3_build/CMakeFiles/CMakeTmp'
gmake: *** [Makefile:126: cmTC_d073c/fast] Error 2

Source file was:
int main(void) { return 0; }
Performing C++ SOURCE FILE Test CXX__Wheader_guard_VALID failed with the following output:
Change Dir: /var/tmp/portage/net-analyzer/wireshark-2.6.3/work/wireshark-2.6.3_build/CMakeFiles/CMakeTmp

Run Build Command:"/usr/bin/gmake" "cmTC_a81f2/fast"
/usr/bin/gmake -f CMakeFiles/cmTC_a81f2.dir/build.make CMakeFiles/cmTC_a81f2.dir/build
gmake[1]: Entering directory '/var/tmp/portage/net-analyzer/wireshark-2.6.3/work/wireshark-2.6.3_build/CMakeFiles/CMakeTmp'
Building CXX object CMakeFiles/cmTC_a81f2.dir/src.cxx.o
/usr/bin/x86_64-pc-linux-gnu-g++    -DNDEBUG -fexcess-precision=fast -O2 -pipe -fPIC -DPIC -DCXX__Wheader_guard_VALID -fPIE   -fexcess-precision=fast -Wheader-guard -o CMakeFiles/cmTC_a81f2.dir/src.cxx.o -c /var/tmp/portage/net-analyzer/wireshark-2.6.3/work/wireshark-2.6.3_build/CMakeFiles/CMakeTmp/src.cxx
x86_64-pc-linux-gnu-g++: error: unrecognized command line option '-Wheader-guard'
gmake[1]: *** [CMakeFiles/cmTC_a81f2.dir/build.make:66: CMakeFiles/cmTC_a81f2.dir/src.cxx.o] Error 1
gmake[1]: Leaving directory '/var/tmp/portage/net-analyzer/wireshark-2.6.3/work/wireshark-2.6.3_build/CMakeFiles/CMakeTmp'
gmake: *** [Makefile:126: cmTC_a81f2/fast] Error 2

Source file was:
int main(void) { return 0; }
Performing C++ SOURCE FILE Test CXX__Wshorten_64_to_32_VALID failed with the following output:
Change Dir: /var/tmp/portage/net-analyzer/wireshark-2.6.3/work/wireshark-2.6.3_build/CMakeFiles/CMakeTmp

Run Build Command:"/usr/bin/gmake" "cmTC_61d10/fast"
/usr/bin/gmake -f CMakeFiles/cmTC_61d10.dir/build.make CMakeFiles/cmTC_61d10.dir/build
gmake[1]: Entering directory '/var/tmp/portage/net-analyzer/wireshark-2.6.3/work/wireshark-2.6.3_build/CMakeFiles/CMakeTmp'
Building CXX object CMakeFiles/cmTC_61d10.dir/src.cxx.o
/usr/bin/x86_64-pc-linux-gnu-g++    -DNDEBUG -fexcess-precision=fast -O2 -pipe -fPIC -DPIC -DCXX__Wshorten_64_to_32_VALID -fPIE   -fexcess-precision=fast -Wshorten-64-to-32 -o CMakeFiles/cmTC_61d10.dir/src.cxx.o -c /var/tmp/portage/net-analyzer/wireshark-2.6.3/work/wireshark-2.6.3_build/CMakeFiles/CMakeTmp/src.cxx
x86_64-pc-linux-gnu-g++: error: unrecognized command line option '-Wshorten-64-to-32'
gmake[1]: *** [CMakeFiles/cmTC_61d10.dir/build.make:66: CMakeFiles/cmTC_61d10.dir/src.cxx.o] Error 1
gmake[1]: Leaving directory '/var/tmp/portage/net-analyzer/wireshark-2.6.3/work/wireshark-2.6.3_build/CMakeFiles/CMakeTmp'
gmake: *** [Makefile:126: cmTC_61d10/fast] Error 2

Source file was:
int main(void) { return 0; }
Performing C++ SOURCE FILE Test CXX__Wcomma_VALID failed with the following output:
Change Dir: /var/tmp/portage/net-analyzer/wireshark-2.6.3/work/wireshark-2.6.3_build/CMakeFiles/CMakeTmp

Run Build Command:"/usr/bin/gmake" "cmTC_ef40b/fast"
/usr/bin/gmake -f CMakeFiles/cmTC_ef40b.dir/build.make CMakeFiles/cmTC_ef40b.dir/build
gmake[1]: Entering directory '/var/tmp/portage/net-analyzer/wireshark-2.6.3/work/wireshark-2.6.3_build/CMakeFiles/CMakeTmp'
Building CXX object CMakeFiles/cmTC_ef40b.dir/src.cxx.o
/usr/bin/x86_64-pc-linux-gnu-g++    -DNDEBUG -fexcess-precision=fast -O2 -pipe -fPIC -DPIC -DCXX__Wcomma_VALID -fPIE   -fexcess-precision=fast -Wcomma -o CMakeFiles/cmTC_ef40b.dir/src.cxx.o -c /var/tmp/portage/net-analyzer/wireshark-2.6.3/work/wireshark-2.6.3_build/CMakeFiles/CMakeTmp/src.cxx
x86_64-pc-linux-gnu-g++: error: unrecognized command line option '-Wcomma'; did you mean '-Wcomment'?
gmake[1]: *** [CMakeFiles/cmTC_ef40b.dir/build.make:66: CMakeFiles/cmTC_ef40b.dir/src.cxx.o] Error 1
gmake[1]: Leaving directory '/var/tmp/portage/net-analyzer/wireshark-2.6.3/work/wireshark-2.6.3_build/CMakeFiles/CMakeTmp'
gmake: *** [Makefile:126: cmTC_ef40b/fast] Error 2

Source file was:
int main(void) { return 0; }
Determining if the function pcap_open exists failed with the following output:
Change Dir: /var/tmp/portage/net-analyzer/wireshark-2.6.3/work/wireshark-2.6.3_build/CMakeFiles/CMakeTmp

Run Build Command:"/usr/bin/gmake" "cmTC_336c4/fast"
/usr/bin/gmake -f CMakeFiles/cmTC_336c4.dir/build.make CMakeFiles/cmTC_336c4.dir/build
gmake[1]: Entering directory '/var/tmp/portage/net-analyzer/wireshark-2.6.3/work/wireshark-2.6.3_build/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_336c4.dir/CheckFunctionExists.c.o
/usr/bin/x86_64-pc-linux-gnu-gcc    -DNDEBUG -fvisibility=hidden  -Wall -Wextra -Wendif-labels -Wpointer-arith -Wformat-security -fwrapv -fno-strict-overflow -Wvla -Waddress -Wattributes -Wdiv-by-zero -Wignored-qualifiers -Wpragmas -Wno-overlength-strings -Wno-long-long -Wframe-larger-than=32768 -Wc++-compat -Wunused-const-variable -Wshadow -Wno-pointer-sign -Wold-style-definition -Wstrict-prototypes -Wlogical-op -Wjump-misses-init -Werror=implicit  -fexcess-precision=fast -std=gnu99 -march=native -O2 -pipe -DCHECK_FUNCTION_EXISTS=pcap_open -fPIE   -o CMakeFiles/cmTC_336c4.dir/CheckFunctionExists.c.o -c /usr/share/cmake/Modules/CheckFunctionExists.c
Linking C executable cmTC_336c4
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_336c4.dir/link.txt --verbose=1
/usr/bin/x86_64-pc-linux-gnu-gcc -fvisibility=hidden  -Wall -Wextra -Wendif-labels -Wpointer-arith -Wformat-security -fwrapv -fno-strict-overflow -Wvla -Waddress -Wattributes -Wdiv-by-zero -Wignored-qualifiers -Wpragmas -Wno-overlength-strings -Wno-long-long -Wframe-larger-than=32768 -Wc++-compat -Wunused-const-variable -Wshadow -Wno-pointer-sign -Wold-style-definition -Wstrict-prototypes -Wlogical-op -Wjump-misses-init -Werror=implicit  -fexcess-precision=fast -std=gnu99 -march=native -O2 -pipe -DCHECK_FUNCTION_EXISTS=pcap_open  -Wl,-O1 -Wl,--as-needed  -rdynamic CMakeFiles/cmTC_336c4.dir/CheckFunctionExists.c.o  -o cmTC_336c4 /usr/lib/libpcap.so
CMakeFiles/cmTC_336c4.dir/CheckFunctionExists.c.o: In function `main':
CheckFunctionExists.c:(.text.startup+0xc): undefined reference to `pcap_open'
collect2: error: ld returned 1 exit status
gmake[1]: *** [CMakeFiles/cmTC_336c4.dir/build.make:99: cmTC_336c4] Error 1
gmake[1]: Leaving directory '/var/tmp/portage/net-analyzer/wireshark-2.6.3/work/wireshark-2.6.3_build/CMakeFiles/CMakeTmp'
gmake: *** [Makefile:126: cmTC_336c4/fast] Error 2


Determining if the include file sys/sockio.h exists failed with the following output:
Change Dir: /var/tmp/portage/net-analyzer/wireshark-2.6.3/work/wireshark-2.6.3_build/CMakeFiles/CMakeTmp

Run Build Command:"/usr/bin/gmake" "cmTC_d0cf4/fast"
/usr/bin/gmake -f CMakeFiles/cmTC_d0cf4.dir/build.make CMakeFiles/cmTC_d0cf4.dir/build
gmake[1]: Entering directory '/var/tmp/portage/net-analyzer/wireshark-2.6.3/work/wireshark-2.6.3_build/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_d0cf4.dir/CheckIncludeFile.c.o
/usr/bin/x86_64-pc-linux-gnu-gcc    -DNDEBUG -fvisibility=hidden  -Wall -Wextra -Wendif-labels -Wpointer-arith -Wformat-security -fwrapv -fno-strict-overflow -Wvla -Waddress -Wattributes -Wdiv-by-zero -Wignored-qualifiers -Wpragmas -Wno-overlength-strings -Wno-long-long -Wframe-larger-than=32768 -Wc++-compat -Wunused-const-variable -Wshadow -Wno-pointer-sign -Wold-style-definition -Wstrict-prototypes -Wlogical-op -Wjump-misses-init -Werror=implicit  -fexcess-precision=fast -std=gnu99 -march=native -O2 -pipe  -fPIE   -o CMakeFiles/cmTC_d0cf4.dir/CheckIncludeFile.c.o -c /var/tmp/portage/net-analyzer/wireshark-2.6.3/work/wireshark-2.6.3_build/CMakeFiles/CMakeTmp/CheckIncludeFile.c
/var/tmp/portage/net-analyzer/wireshark-2.6.3/work/wireshark-2.6.3_build/CMakeFiles/CMakeTmp/CheckIncludeFile.c:1:10: fatal error: sys/sockio.h: No such file or directory
 #include <sys/sockio.h>
          ^~~~~~~~~~~~~~
compilation terminated.
gmake[1]: *** [CMakeFiles/cmTC_d0cf4.dir/build.make:66: CMakeFiles/cmTC_d0cf4.dir/CheckIncludeFile.c.o] Error 1
gmake[1]: Leaving directory '/var/tmp/portage/net-analyzer/wireshark-2.6.3/work/wireshark-2.6.3_build/CMakeFiles/CMakeTmp'
gmake: *** [Makefile:126: cmTC_d0cf4/fast] Error 2


Determining if the optreset exist failed with the following output:
Change Dir: /var/tmp/portage/net-analyzer/wireshark-2.6.3/work/wireshark-2.6.3_build/CMakeFiles/CMakeTmp

Run Build Command:"/usr/bin/gmake" "cmTC_8e7a8/fast"
/usr/bin/gmake -f CMakeFiles/cmTC_8e7a8.dir/build.make CMakeFiles/cmTC_8e7a8.dir/build
gmake[1]: Entering directory '/var/tmp/portage/net-analyzer/wireshark-2.6.3/work/wireshark-2.6.3_build/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_8e7a8.dir/CheckSymbolExists.c.o
/usr/bin/x86_64-pc-linux-gnu-gcc    -DNDEBUG -fvisibility=hidden  -Wall -Wextra -Wendif-labels -Wpointer-arith -Wformat-security -fwrapv -fno-strict-overflow -Wvla -Waddress -Wattributes -Wdiv-by-zero -Wignored-qualifiers -Wpragmas -Wno-overlength-strings -Wno-long-long -Wframe-larger-than=32768 -Wc++-compat -Wunused-const-variable -Wshadow -Wno-pointer-sign -Wold-style-definition -Wstrict-prototypes -Wlogical-op -Wjump-misses-init -Werror=implicit  -fexcess-precision=fast -std=gnu99 -march=native -O2 -pipe  -fPIE   -o CMakeFiles/cmTC_8e7a8.dir/CheckSymbolExists.c.o -c /var/tmp/portage/net-analyzer/wireshark-2.6.3/work/wireshark-2.6.3_build/CMakeFiles/CMakeTmp/CheckSymbolExists.c
/var/tmp/portage/net-analyzer/wireshark-2.6.3/work/wireshark-2.6.3_build/CMakeFiles/CMakeTmp/CheckSymbolExists.c: In function ‘main’:
/var/tmp/portage/net-analyzer/wireshark-2.6.3/work/wireshark-2.6.3_build/CMakeFiles/CMakeTmp/CheckSymbolExists.c:8:19: error: ‘optreset’ undeclared (first use in this function); did you mean ‘optopt’?
   return ((int*)(&optreset))[argc];
                   ^~~~~~~~
                   optopt
/var/tmp/portage/net-analyzer/wireshark-2.6.3/work/wireshark-2.6.3_build/CMakeFiles/CMakeTmp/CheckSymbolExists.c:8:19: note: each undeclared identifier is reported only once for each function it appears in
/var/tmp/portage/net-analyzer/wireshark-2.6.3/work/wireshark-2.6.3_build/CMakeFiles/CMakeTmp/CheckSymbolExists.c:4:14: warning: parameter ‘argc’ set but not used [-Wunused-but-set-parameter]
 int main(int argc, char** argv)
              ^~~~
gmake[1]: *** [CMakeFiles/cmTC_8e7a8.dir/build.make:66: CMakeFiles/cmTC_8e7a8.dir/CheckSymbolExists.c.o] Error 1
gmake[1]: Leaving directory '/var/tmp/portage/net-analyzer/wireshark-2.6.3/work/wireshark-2.6.3_build/CMakeFiles/CMakeTmp'
gmake: *** [Makefile:126: cmTC_8e7a8/fast] Error 2

File /var/tmp/portage/net-analyzer/wireshark-2.6.3/work/wireshark-2.6.3_build/CMakeFiles/CMakeTmp/CheckSymbolExists.c:
/* */
#include <getopt.h>

int main(int argc, char** argv)
{
  (void)argv;
#ifndef optreset
  return ((int*)(&optreset))[argc];
#else
  (void)argc;
  return 0;
#endif
}

Determining if the function issetugid exists failed with the following output:
Change Dir: /var/tmp/portage/net-analyzer/wireshark-2.6.3/work/wireshark-2.6.3_build/CMakeFiles/CMakeTmp

Run Build Command:"/usr/bin/gmake" "cmTC_37007/fast"
/usr/bin/gmake -f CMakeFiles/cmTC_37007.dir/build.make CMakeFiles/cmTC_37007.dir/build
gmake[1]: Entering directory '/var/tmp/portage/net-analyzer/wireshark-2.6.3/work/wireshark-2.6.3_build/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_37007.dir/CheckFunctionExists.c.o
/usr/bin/x86_64-pc-linux-gnu-gcc    -DNDEBUG -fvisibility=hidden  -Wall -Wextra -Wendif-labels -Wpointer-arith -Wformat-security -fwrapv -fno-strict-overflow -Wvla -Waddress -Wattributes -Wdiv-by-zero -Wignored-qualifiers -Wpragmas -Wno-overlength-strings -Wno-long-long -Wframe-larger-than=32768 -Wc++-compat -Wunused-const-variable -Wshadow -Wno-pointer-sign -Wold-style-definition -Wstrict-prototypes -Wlogical-op -Wjump-misses-init -Werror=implicit  -fexcess-precision=fast -std=gnu99 -march=native -O2 -pipe -DCHECK_FUNCTION_EXISTS=issetugid -fPIE   -o CMakeFiles/cmTC_37007.dir/CheckFunctionExists.c.o -c /usr/share/cmake/Modules/CheckFunctionExists.c
Linking C executable cmTC_37007
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_37007.dir/link.txt --verbose=1
/usr/bin/x86_64-pc-linux-gnu-gcc -fvisibility=hidden  -Wall -Wextra -Wendif-labels -Wpointer-arith -Wformat-security -fwrapv -fno-strict-overflow -Wvla -Waddress -Wattributes -Wdiv-by-zero -Wignored-qualifiers -Wpragmas -Wno-overlength-strings -Wno-long-long -Wframe-larger-than=32768 -Wc++-compat -Wunused-const-variable -Wshadow -Wno-pointer-sign -Wold-style-definition -Wstrict-prototypes -Wlogical-op -Wjump-misses-init -Werror=implicit  -fexcess-precision=fast -std=gnu99 -march=native -O2 -pipe -DCHECK_FUNCTION_EXISTS=issetugid  -Wl,-O1 -Wl,--as-needed  -rdynamic CMakeFiles/cmTC_37007.dir/CheckFunctionExists.c.o  -o cmTC_37007
CMakeFiles/cmTC_37007.dir/CheckFunctionExists.c.o: In function `main':
CheckFunctionExists.c:(.text.startup+0xc): undefined reference to `issetugid'
collect2: error: ld returned 1 exit status
gmake[1]: *** [CMakeFiles/cmTC_37007.dir/build.make:98: cmTC_37007] Error 1
gmake[1]: Leaving directory '/var/tmp/portage/net-analyzer/wireshark-2.6.3/work/wireshark-2.6.3_build/CMakeFiles/CMakeTmp'
gmake: *** [Makefile:126: cmTC_37007/fast] Error 2


Performing C SOURCE FILE Test HAVE_STRUCT_SOCKADDR_SA_LEN failed with the following output:
Change Dir: /var/tmp/portage/net-analyzer/wireshark-2.6.3/work/wireshark-2.6.3_build/CMakeFiles/CMakeTmp

Run Build Command:"/usr/bin/gmake" "cmTC_b0faf/fast"
/usr/bin/gmake -f CMakeFiles/cmTC_b0faf.dir/build.make CMakeFiles/cmTC_b0faf.dir/build
gmake[1]: Entering directory '/var/tmp/portage/net-analyzer/wireshark-2.6.3/work/wireshark-2.6.3_build/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_b0faf.dir/src.c.o
/usr/bin/x86_64-pc-linux-gnu-gcc    -DNDEBUG -fvisibility=hidden  -Wall -Wextra -Wendif-labels -Wpointer-arith -Wformat-security -fwrapv -fno-strict-overflow -Wvla -Waddress -Wattributes -Wdiv-by-zero -Wignored-qualifiers -Wpragmas -Wno-overlength-strings -Wno-long-long -Wframe-larger-than=32768 -Wc++-compat -Wunused-const-variable -Wshadow -Wno-pointer-sign -Wold-style-definition -Wstrict-prototypes -Wlogical-op -Wjump-misses-init -Werror=implicit  -fexcess-precision=fast -std=gnu99 -march=native -O2 -pipe -DHAVE_STRUCT_SOCKADDR_SA_LEN -fPIE   -o CMakeFiles/cmTC_b0faf.dir/src.c.o -c /var/tmp/portage/net-analyzer/wireshark-2.6.3/work/wireshark-2.6.3_build/CMakeFiles/CMakeTmp/src.c
/var/tmp/portage/net-analyzer/wireshark-2.6.3/work/wireshark-2.6.3_build/CMakeFiles/CMakeTmp/src.c:4:5: warning: function declaration isn’t a prototype [-Wstrict-prototypes]
 int main()
     ^~~~
/var/tmp/portage/net-analyzer/wireshark-2.6.3/work/wireshark-2.6.3_build/CMakeFiles/CMakeTmp/src.c: In function ‘main’:
/var/tmp/portage/net-analyzer/wireshark-2.6.3/work/wireshark-2.6.3_build/CMakeFiles/CMakeTmp/src.c:4:5: warning: old-style function definition [-Wold-style-definition]
/var/tmp/portage/net-analyzer/wireshark-2.6.3/work/wireshark-2.6.3_build/CMakeFiles/CMakeTmp/src.c:6:39: error: ‘struct sockaddr’ has no member named ‘sa_len’
    (void)sizeof(((struct sockaddr *)0)->sa_len);
                                       ^~
gmake[1]: *** [CMakeFiles/cmTC_b0faf.dir/build.make:66: CMakeFiles/cmTC_b0faf.dir/src.c.o] Error 1
gmake[1]: Leaving directory '/var/tmp/portage/net-analyzer/wireshark-2.6.3/work/wireshark-2.6.3_build/CMakeFiles/CMakeTmp'
gmake: *** [Makefile:126: cmTC_b0faf/fast] Error 2

Source file was:

#include <sys/socket.h>

int main()
{
   (void)sizeof(((struct sockaddr *)0)->sa_len);
   return 0;
}

Performing C SOURCE FILE Test HAVE_STRUCT_STAT_ST_FLAGS failed with the following output:
Change Dir: /var/tmp/portage/net-analyzer/wireshark-2.6.3/work/wireshark-2.6.3_build/CMakeFiles/CMakeTmp

Run Build Command:"/usr/bin/gmake" "cmTC_3948d/fast"
/usr/bin/gmake -f CMakeFiles/cmTC_3948d.dir/build.make CMakeFiles/cmTC_3948d.dir/build
gmake[1]: Entering directory '/var/tmp/portage/net-analyzer/wireshark-2.6.3/work/wireshark-2.6.3_build/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_3948d.dir/src.c.o
/usr/bin/x86_64-pc-linux-gnu-gcc    -DNDEBUG -fvisibility=hidden  -Wall -Wextra -Wendif-labels -Wpointer-arith -Wformat-security -fwrapv -fno-strict-overflow -Wvla -Waddress -Wattributes -Wdiv-by-zero -Wignored-qualifiers -Wpragmas -Wno-overlength-strings -Wno-long-long -Wframe-larger-than=32768 -Wc++-compat -Wunused-const-variable -Wshadow -Wno-pointer-sign -Wold-style-definition -Wstrict-prototypes -Wlogical-op -Wjump-misses-init -Werror=implicit  -fexcess-precision=fast -std=gnu99 -march=native -O2 -pipe -DHAVE_STRUCT_STAT_ST_FLAGS -fPIE   -o CMakeFiles/cmTC_3948d.dir/src.c.o -c /var/tmp/portage/net-analyzer/wireshark-2.6.3/work/wireshark-2.6.3_build/CMakeFiles/CMakeTmp/src.c
/var/tmp/portage/net-analyzer/wireshark-2.6.3/work/wireshark-2.6.3_build/CMakeFiles/CMakeTmp/src.c:4:5: warning: function declaration isn’t a prototype [-Wstrict-prototypes]
 int main()
     ^~~~
/var/tmp/portage/net-analyzer/wireshark-2.6.3/work/wireshark-2.6.3_build/CMakeFiles/CMakeTmp/src.c: In function ‘main’:
/var/tmp/portage/net-analyzer/wireshark-2.6.3/work/wireshark-2.6.3_build/CMakeFiles/CMakeTmp/src.c:4:5: warning: old-style function definition [-Wold-style-definition]
/var/tmp/portage/net-analyzer/wireshark-2.6.3/work/wireshark-2.6.3_build/CMakeFiles/CMakeTmp/src.c:6:37: error: ‘struct stat’ has no member named ‘st_flags’; did you mean ‘st_nlink’?
    (void)sizeof(((struct stat *)0)->st_flags);
                                     ^~~~~~~~
                                     st_nlink
gmake[1]: *** [CMakeFiles/cmTC_3948d.dir/build.make:66: CMakeFiles/cmTC_3948d.dir/src.c.o] Error 1
gmake[1]: Leaving directory '/var/tmp/portage/net-analyzer/wireshark-2.6.3/work/wireshark-2.6.3_build/CMakeFiles/CMakeTmp'
gmake: *** [Makefile:126: cmTC_3948d/fast] Error 2

Source file was:

#include <sys/stat.h>

int main()
{
   (void)sizeof(((struct stat *)0)->st_flags);
   return 0;
}

Performing C SOURCE FILE Test HAVE_STRUCT_STAT_ST_BIRTHTIME failed with the following output:
Change Dir: /var/tmp/portage/net-analyzer/wireshark-2.6.3/work/wireshark-2.6.3_build/CMakeFiles/CMakeTmp

Run Build Command:"/usr/bin/gmake" "cmTC_a50cc/fast"
/usr/bin/gmake -f CMakeFiles/cmTC_a50cc.dir/build.make CMakeFiles/cmTC_a50cc.dir/build
gmake[1]: Entering directory '/var/tmp/portage/net-analyzer/wireshark-2.6.3/work/wireshark-2.6.3_build/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_a50cc.dir/src.c.o
/usr/bin/x86_64-pc-linux-gnu-gcc    -DNDEBUG -fvisibility=hidden  -Wall -Wextra -Wendif-labels -Wpointer-arith -Wformat-security -fwrapv -fno-strict-overflow -Wvla -Waddress -Wattributes -Wdiv-by-zero -Wignored-qualifiers -Wpragmas -Wno-overlength-strings -Wno-long-long -Wframe-larger-than=32768 -Wc++-compat -Wunused-const-variable -Wshadow -Wno-pointer-sign -Wold-style-definition -Wstrict-prototypes -Wlogical-op -Wjump-misses-init -Werror=implicit  -fexcess-precision=fast -std=gnu99 -march=native -O2 -pipe -DHAVE_STRUCT_STAT_ST_BIRTHTIME -fPIE   -o CMakeFiles/cmTC_a50cc.dir/src.c.o -c /var/tmp/portage/net-analyzer/wireshark-2.6.3/work/wireshark-2.6.3_build/CMakeFiles/CMakeTmp/src.c
/var/tmp/portage/net-analyzer/wireshark-2.6.3/work/wireshark-2.6.3_build/CMakeFiles/CMakeTmp/src.c:4:5: warning: function declaration isn’t a prototype [-Wstrict-prototypes]
 int main()
     ^~~~
/var/tmp/portage/net-analyzer/wireshark-2.6.3/work/wireshark-2.6.3_build/CMakeFiles/CMakeTmp/src.c: In function ‘main’:
/var/tmp/portage/net-analyzer/wireshark-2.6.3/work/wireshark-2.6.3_build/CMakeFiles/CMakeTmp/src.c:4:5: warning: old-style function definition [-Wold-style-definition]
/var/tmp/portage/net-analyzer/wireshark-2.6.3/work/wireshark-2.6.3_build/CMakeFiles/CMakeTmp/src.c:6:37: error: ‘struct stat’ has no member named ‘st_birthtime’; did you mean ‘st_blksize’?
    (void)sizeof(((struct stat *)0)->st_birthtime);
                                     ^~~~~~~~~~~~
                                     st_blksize
gmake[1]: *** [CMakeFiles/cmTC_a50cc.dir/build.make:66: CMakeFiles/cmTC_a50cc.dir/src.c.o] Error 1
gmake[1]: Leaving directory '/var/tmp/portage/net-analyzer/wireshark-2.6.3/work/wireshark-2.6.3_build/CMakeFiles/CMakeTmp'
gmake: *** [Makefile:126: cmTC_a50cc/fast] Error 2

Source file was:

#include <sys/stat.h>

int main()
{
   (void)sizeof(((struct stat *)0)->st_birthtime);
   return 0;
}

Performing C SOURCE FILE Test HAVE_STRUCT_STAT___ST_BIRTHTIME failed with the following output:
Change Dir: /var/tmp/portage/net-analyzer/wireshark-2.6.3/work/wireshark-2.6.3_build/CMakeFiles/CMakeTmp

Run Build Command:"/usr/bin/gmake" "cmTC_c7a32/fast"
/usr/bin/gmake -f CMakeFiles/cmTC_c7a32.dir/build.make CMakeFiles/cmTC_c7a32.dir/build
gmake[1]: Entering directory '/var/tmp/portage/net-analyzer/wireshark-2.6.3/work/wireshark-2.6.3_build/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_c7a32.dir/src.c.o
/usr/bin/x86_64-pc-linux-gnu-gcc    -DNDEBUG -fvisibility=hidden  -Wall -Wextra -Wendif-labels -Wpointer-arith -Wformat-security -fwrapv -fno-strict-overflow -Wvla -Waddress -Wattributes -Wdiv-by-zero -Wignored-qualifiers -Wpragmas -Wno-overlength-strings -Wno-long-long -Wframe-larger-than=32768 -Wc++-compat -Wunused-const-variable -Wshadow -Wno-pointer-sign -Wold-style-definition -Wstrict-prototypes -Wlogical-op -Wjump-misses-init -Werror=implicit  -fexcess-precision=fast -std=gnu99 -march=native -O2 -pipe -DHAVE_STRUCT_STAT___ST_BIRTHTIME -fPIE   -o CMakeFiles/cmTC_c7a32.dir/src.c.o -c /var/tmp/portage/net-analyzer/wireshark-2.6.3/work/wireshark-2.6.3_build/CMakeFiles/CMakeTmp/src.c
/var/tmp/portage/net-analyzer/wireshark-2.6.3/work/wireshark-2.6.3_build/CMakeFiles/CMakeTmp/src.c:4:5: warning: function declaration isn’t a prototype [-Wstrict-prototypes]
 int main()
     ^~~~
/var/tmp/portage/net-analyzer/wireshark-2.6.3/work/wireshark-2.6.3_build/CMakeFiles/CMakeTmp/src.c: In function ‘main’:
/var/tmp/portage/net-analyzer/wireshark-2.6.3/work/wireshark-2.6.3_build/CMakeFiles/CMakeTmp/src.c:4:5: warning: old-style function definition [-Wold-style-definition]
/var/tmp/portage/net-analyzer/wireshark-2.6.3/work/wireshark-2.6.3_build/CMakeFiles/CMakeTmp/src.c:6:35: error: ‘struct stat’ has no member named ‘__st_birthtime’
    (void)sizeof(((struct stat *)0)->__st_birthtime);
                                   ^~
gmake[1]: *** [CMakeFiles/cmTC_c7a32.dir/build.make:66: CMakeFiles/cmTC_c7a32.dir/src.c.o] Error 1
gmake[1]: Leaving directory '/var/tmp/portage/net-analyzer/wireshark-2.6.3/work/wireshark-2.6.3_build/CMakeFiles/CMakeTmp'
gmake: *** [Makefile:126: cmTC_c7a32/fast] Error 2

Source file was:

#include <sys/stat.h>

int main()
{
   (void)sizeof(((struct stat *)0)->__st_birthtime);
   return 0;
}


And, as a note on this: In our trying to run down possible solutions on this issue, we came across this thread from the wireshark-dev mailing list on seclists.org which stated that, in this case, the contents of the error log were less important than the actual failure during the configuration checking.

Hope that helps. Let us know.
Back to top
View user's profile Send private message
linear
Apprentice
Apprentice


Joined: 12 Aug 2004
Posts: 222

PostPosted: Mon Oct 22, 2018 7:30 pm    Post subject: Reply with quote

Has anyone been able to build the latest stable versions of wireshark?

TIA.
Back to top
View user's profile Send private message
ct85711
Veteran
Veteran


Joined: 27 Sep 2005
Posts: 1791

PostPosted: Mon Oct 22, 2018 9:30 pm    Post subject: Reply with quote

Quote:
Has anyone been able to build the latest stable versions of wireshark?


As for this question, yes I can build 2.6.3 and 2.6.4-r1 successfully on my system.

As far as the error log you posted, you need to post the full thing, as you didn't post the actual error message (The actual error tends to be up much farther in the log, you always look at the first error message, as that often clears a lot of the followup errors).

Note: My system is running unstable branch without asciidoctor (I refuse to accept ruby).
Back to top
View user's profile Send private message
linear
Apprentice
Apprentice


Joined: 12 Aug 2004
Posts: 222

PostPosted: Mon Oct 22, 2018 10:18 pm    Post subject: Reply with quote

Greetings and thanks for the response,

@ct85711: That *is* the complete CMakeError.log, but that is not the build.log from emerge. So, for completeness, I will include the full build.log below.

Again, if you need any other output I can provide, just let me know. And, thanks again for your assistance.


Last edited by linear on Tue Oct 23, 2018 1:12 am; edited 1 time in total
Back to top
View user's profile Send private message
linear
Apprentice
Apprentice


Joined: 12 Aug 2004
Posts: 222

PostPosted: Mon Oct 22, 2018 10:50 pm    Post subject: Reply with quote

@ct85711: I have pasted the complete CMakeOutput.log at http://bpaste.net/show/99d9ca5137ee to make sure you had that available to you.

I have also pasted the full CMakeError.log at http://bpaste.net/show/3e586bdadc25 and the full build.log at http://bpaste.net/show/3e896512fc4c for you.

If you need anything else, let me know and thanks again for your assistance.
Back to top
View user's profile Send private message
linear
Apprentice
Apprentice


Joined: 12 Aug 2004
Posts: 222

PostPosted: Tue Oct 30, 2018 1:18 am    Post subject: Reply with quote

Bump...

Any other thoughts on how to get wireshark to successfully build?

Thanks in advance for any assistance.
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 30909
Location: here

PostPosted: Tue Oct 30, 2018 6:47 am    Post subject: Reply with quote

Same result with latest 2.6.4-r1 version?
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
linear
Apprentice
Apprentice


Joined: 12 Aug 2004
Posts: 222

PostPosted: Tue Oct 30, 2018 8:16 pm    Post subject: Reply with quote

@fedeliallalinea: Thank you for your response... Yes, same "Configuring incomplete, errors occurred!" output, same warnings on c-ares and same error on Asciidoctor in the build log.

Should I just purge dev-ruby/asciidoctor? Doing an "emerge -pv --depclean ..." against it shows no required dependencies. I know it got installed on a @world update in February of last year, but I'm not exactly sure why.

And, at this point, I am not sure why it even cares about asciidoctor when I have "-doc" USE flag for wireshark.
Code:
 ~ # emerge -pvu wireshark

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild     U  ] net-analyzer/wireshark-2.6.4-r1:0/2.6.4::gentoo [2.4.6:0/2.4.6::gentoo] USE="capinfos captype dftest dumpcap editcap filecaps gtk mergecap netlink pcap qt5 randpkt randpktdump reordercap sharkd ssl text2pcap tshark udpdump zlib -adns -androiddump -bcg729% -ciscodump -doc -kerberos -libxml2 -lua -lz4 -maxminddb% -nghttp2 -portaudio -sbc (-selinux) -smi -snappy -spandsp -sshdump -tfshark (-caps%*) (-doc-pdf%) (-geoip%) (-libssh%)" CPU_FLAGS_X86="(-sse4_2%)" 0 KiB

Total: 1 package (1 upgrade), Size of downloads: 0 KiB
 ~ #


Thoughts?
Back to top
View user's profile Send private message
linear
Apprentice
Apprentice


Joined: 12 Aug 2004
Posts: 222

PostPosted: Tue Oct 30, 2018 11:30 pm    Post subject: Reply with quote

Well,

Apparently that was it!

I removed dev-ruby/asciidoctor, and while it made some small complaints about missing asciidoctor, it continued and completed the build.

@fedeliallalinea and @ct85711: Thanks for your assistance.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum