Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 21 Feb 2008 02:11:09 GMT
From:      Doug White <dwhite@FreeBSD.org>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/120921: wireshark does not compile on RELENG_7_0
Message-ID:  <200802210211.m1L2B9qL084798@www.freebsd.org>
Resent-Message-ID: <200802210220.m1L2K1Aj089977@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         120921
>Category:       ports
>Synopsis:       wireshark does not compile on RELENG_7_0
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Feb 21 02:20:01 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator:     Doug White
>Release:        7.0-RC2
>Organization:
Personal
>Environment:
FreeBSD dwpara1.sfo1.bitgravity.com 7.0-RC2 FreeBSD 7.0-RC2 #11: Tue Feb 19 17:06:07 PST 2008     dwhite@dwpara1.sfo1.bitgravity.com:/usr/obj/usr/src/sys/DWPARA  i386

>Description:
Wireshark 0.99.7 does not compile on RELENG_7_0 due to incomplete types in teh Heimdahl Kerberos headers:

 cc -DHAVE_CONFIG_H -I. -I../.. -I./../.. -I./.. -I/usr/local/include -I/usr/local/include -I/usr/local/include -I/usr/local/include -I/usr/local/include -I/usr/local/include -I/usr/local/lib/include -I/usr/include -DPLUGIN_DIR=\"/usr/local/lib/wireshark/plugins/0.99.7\" -DINET6 "-D_U_=__attribute__((unused))" -O2 -fno-strict-aliasing -pipe -funit-at-a-time -Wall -W -Wdeclaration-after-statement -Wendif-labels -Wpointer-arith -Wno-pointer-sign -I/usr/local/include -D_THREAD_SAFE -D_REENTRANT -I/usr/local/include/gtk-2.0 -I/usr/local/lib/gtk-2.0/include -I/usr/local/include/atk-1.0 -I/usr/local/include/cairo -I/usr/local/include/pango-1.0 -I/usr/local/include -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/freetype2 -I/usr/local/lib/include -I/usr/include -MT libcleandissectors_la-packet-kerberos.lo -MD -MP -MF .deps/libcleandissectors_la-packet-kerberos.Tpo -c packet-kerberos.c  -fPIC -DPIC -o .libs/libcleandissectors_la-packet-kerberos.o
In file included from /usr/include/krb5.h:47,
                 from packet-kerberos.c:382:
/usr/include/krb5_asn1.h:349: error: array type has incomplete element type
/usr/include/krb5_asn1.h:397: error: array type has incomplete element type
/usr/include/krb5_asn1.h:453: error: array type has incomplete element type
gmake[4]: *** [libcleandissectors_la-packet-kerberos.lo] Error 1
gmake[4]: Leaving directory `/usr/tmp/usr/ports/net/wireshark/work/wireshark-0.99.7/epan/dissectors'
gmake[3]: *** [all] Error 2
gmake[3]: Leaving directory `/usr/tmp/usr/ports/net/wireshark/work/wireshark-0.99.7/epan/dissectors'
gmake[2]: *** [all-recursive] Error 1
gmake[2]: Leaving directory `/usr/tmp/usr/ports/net/wireshark/work/wireshark-0.99.7/epan'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/usr/tmp/usr/ports/net/wireshark/work/wireshark-0.99.7'
gmake: *** [all] Error 2
*** Error code 2

Stop in /usr/ports/net/wireshark.
*** Error code 1

Stop in /usr/ports/net/wireshark.

The flagged lines in krb5_asn1.h point to declarations of "extern struct units ..."  struct units is defined in a libroken header file which is not installed in the system.
>How-To-Repeat:
Compile wireshark on RELENG_7_0
>Fix:
Either hack in a definition to 'struct units' or use --without-kerberos to disable kerberos packet parsing.

>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200802210211.m1L2B9qL084798>