Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 06 Jul 2018 05:34:09 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 229560] net/isc-dhcp43-server: connection.c:842:59: error: too few arguments to function call (CURRENT)
Message-ID:  <bug-229560-7788@https.bugs.freebsd.org/bugzilla/>

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

            Bug ID: 229560
           Summary: net/isc-dhcp43-server: connection.c:842:59: error: too
                    few arguments to function call (CURRENT)
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Many People
          Priority: ---
         Component: Individual Port(s)
          Assignee: zi@FreeBSD.org
          Reporter: ohartmann@walstatt.org
          Assignee: zi@FreeBSD.org
             Flags: maintainer-feedback?(zi@FreeBSD.org)

The compilation of port net/isc-dhcp43-server fails on CURRENT (FreeBSD
12.0-CURRENT #94 r335931: Wed Jul  4 07:40:15 CEST 2018) amd64) with the er=
ror
shown below. Building the port with poudriere jails pre-r335873 works fine,=
 so
I suspekt this is due to changes via r335873, see below.


This PR is technically a duplicate of Bug 229559 since it targets the same
issue, but for a different port.

[...]

cc -DHAVE_CONFIG_H -I. -I../includes=20=20
-D_PATH_DHCLIENT_SCRIPT=3D'"/usr/local/sbin/dhclient-script"'
-D_PATH_DHCLIENT_CONF=3D'"/usr/local/etc/dhclient.conf"'
-D_PATH_DHCPD_CONF=3D'"/usr/local/etc/dhcpd.conf"' -I/usr/local/include
-L/usr/local/lib  -O2 -pipe  -fPIC -fstack-protector -DLDAP_DEPRECATED
-fno-strict-aliasing  -I../includes -I../bind/include -MT connection.o -MD =
-MP
-MF .deps/connection.Tpo -c -o connection.o connection.c
cc: warning: argument unused during compilation: '-L/usr/local/lib'
[-Wunused-command-line-argument]
connection.c:353:2: warning: implicit declaration of function 'POST' is inv=
alid
in C99 [-Wimplicit-function-declaration]
        POST(s);
        ^
connection.c:842:59: error: too few arguments to function call, expected 6,
have 3
                status =3D dst_context_create(key, dhcp_gbl_ctx.mctx, dctx);
                         ~~~~~~~~~~~~~~~~~~                             ^
/usr/local/include/dst/dst.h:174:1: note: 'dst_context_create' declared here
isc_result_t
^
1 warning and 1 error generated.
gmake[3]: *** [Makefile:443: connection.o] Error 1
gmake[3]: Leaving directory
'/usr/ports/net/isc-dhcp43-server/work/dhcp-4.3.6-P1/omapip'
gmake[2]: *** [Makefile:437: all-recursive] Error 1
gmake[2]: Leaving directory
'/usr/ports/net/isc-dhcp43-server/work/dhcp-4.3.6-P1'
*** Error code 1

Stop.
make[1]: stopped in /usr/ports/net/isc-dhcp43-server
*** Error code 1

Stop.
make: stopped in /usr/ports/net/isc-dhcp43-server

=3D=3D=3D>>> make build failed for net/isc-dhcp43-server
=3D=3D=3D>>> Aborting update

--=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-229560-7788>