pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/51559: net/wireshark build fails on NetBSD/macppc-7.99.39

>Number:         51559
>Category:       pkg
>Synopsis:       net/wireshark build fails on NetBSD/macppc-7.99.39
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Oct 17 01:25:00 +0000 2016
>Originator:     John D. Baker
>Release:        NetBSD/macppc-7.99.39, pkgsrc-2016Q3
NetBSD ed 7.99.39 NetBSD 7.99.39 (ED) #2: Fri Sep 30 18:46:03 CDT 2016  sysop%dpe2850b.technoskunk.fur@localhost:/d0/build/current/obj/macppc/sys/arch/macppc/compile/ED macppc

Attempting to build "net/wireshark" on NetBSD/macppc-current fails
as follows:

  CC       packet-mux27010.lo
In file included from /usr/include/macppc/frame.h:3:0,
                 from /usr/include/powerpc/signal.h:42,
                 from /usr/include/macppc/signal.h:3,
                 from /usr/include/sys/siginfo.h:35,
                 from /usr/include/sys/signal.h:112,
                 from /usr/include/signal.h:45,
                 from /usr/pkg/include/glib/glib-2.0/glib/gbacktrace.h:36,
                 from /usr/pkg/include/glib/glib-2.0/glib.h:34,
                 from ../../epan/proto.h:40,
                 from ../../epan/packet.h:26,
                 from packet-mux27010.c:37:
packet-mux27010.c: In function 'dissect_mux27010':
packet-mux27010.c:764:58: error: expected '=', ',', ';', 'asm' or '__attribute__' before '.' token
     proto_item *ti, *tf, *tf_extended_header, *tf_addr, *tf_ctr;
packet-mux27010.c:862:13: error: 'tf_ureg' undeclared (first use in this function)
             tf_ctr = proto_tree_add_item(field_tree, hf_mux27010_controlchannelframetype, tvb, offset, 1, ENC_BIG_ENDIAN);
packet-mux27010.c:862:13: note: each undeclared identifier is reported only once for each function it appears in
Makefile:4326: recipe for target 'packet-mux27010.lo' failed
gmake[6]: *** [packet-mux27010.lo] Error 1
gmake[6]: Leaving directory '/var/tmp/pkgsrc/net/wireshark/work/wireshark-2.2.0/epan/dissectors'
Makefile:4374: recipe for target 'all-recursive' failed
gmake[5]: *** [all-recursive] Error 1
gmake[5]: Leaving directory '/var/tmp/pkgsrc/net/wireshark/work/wireshark-2.2.0/epan/dissectors'
Makefile:2921: recipe for target 'all' failed
gmake[4]: *** [all] Error 2
gmake[4]: Leaving directory '/var/tmp/pkgsrc/net/wireshark/work/wireshark-2.2.0/epan/dissectors'
Makefile:2082: recipe for target 'all-recursive' failed
gmake[3]: *** [all-recursive] Error 1
gmake[3]: Leaving directory '/var/tmp/pkgsrc/net/wireshark/work/wireshark-2.2.0/epan'
Makefile:1188: recipe for target 'all' failed
gmake[2]: *** [all] Error 2
gmake[2]: Leaving directory '/var/tmp/pkgsrc/net/wireshark/work/wireshark-2.2.0/epan'
Makefile:3408: recipe for target 'all-recursive' failed
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory '/var/tmp/pkgsrc/net/wireshark/work/wireshark-2.2.0'
Makefile:1737: recipe for target 'all' failed
gmake: *** [all] Error 2
*** Error code 2

make[1]: stopped in /x/pkgsrc/net/wireshark
*** Error code 1

make: stopped in /x/pkgsrc/net/wireshark

See above.

The cited line in the first error is the first local variable
declaration after the function header.  The last argument in the
function's parameter list is:

  void* data _U_)

which looks to me like some macro "_U_" should have either expanded to
nothing at all, or perhaps something else appropriate (although I
have no idea what it could be given the context).

(As a quick test, deleting the "_U_" did not change the behavior.)


Home | Main Index | Thread Index | Old Index