Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 16 Feb 2017 19:40:26 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 217151] net/bird6: cf-parse.y: error: too many arguments to function call
Message-ID:  <bug-217151-13@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D217151

            Bug ID: 217151
           Summary: net/bird6: cf-parse.y: error: too many arguments to
                    function call
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Many People
          Priority: ---
         Component: Individual Port(s)
          Assignee: freebsd-ports-bugs@FreeBSD.org
          Reporter: ohartmann@walstatt.org
                CC: melifaro@ipfw.ru
                CC: melifaro@ipfw.ru
             Flags: maintainer-feedback?(melifaro@ipfw.ru)

The port net/bird6 (as well as net/bird) is miscompiling on CURRENT (jail
OSVERSION: 1200020) is miscompiling now for a very long time (since last ye=
ar).
Build environment is a poudriere jail (Poudriere version: 3.1.14).

The port build fails with:


[...]
cf-parse.y:3491:25: warning: assigning to 'byte *' (aka 'unsigned char *') =
from
'char *' converts between pointers to integer types with different sign
[-Wpointer-sign]
      this_srt->if_name =3D (yyvsp[0].t);
                        ^ ~~~~~~~~~~~~
cf-parse.y:3533:85: error: too many arguments to function call, expected 2,
have 3
     this_proto =3D proto_config_new(&proto_firewall, sizeof(struct
firewall_config), (yyvsp[-1].i));
                  ~~~~~~~~~~~~~~~~=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20
    ^~~~~~~~~~~~~
../../nest/protocol.h:248:1: note: 'proto_config_new' declared here
void *proto_config_new(struct protocol *, int class);
^
4 warnings and 1 error generated.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



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