Bug 229560 - net/isc-dhcp43-server: connection.c:842:59: error: too few arguments to function call (CURRENT)
Summary: net/isc-dhcp43-server: connection.c:842:59: error: too few arguments to funct...
Status: Closed Overcome By Events
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Many People
Assignee: Ryan Steinmetz
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-07-06 05:34 UTC by O. Hartmann
Modified: 2018-07-31 09:05 UTC (History)
1 user (show)

See Also:
bugzilla: maintainer-feedback? (zi)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description O. Hartmann 2018-07-06 05:34:09 UTC
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 error 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   -D_PATH_DHCLIENT_SCRIPT='"/usr/local/sbin/dhclient-script"' -D_PATH_DHCLIENT_CONF='"/usr/local/etc/dhclient.conf"' -D_PATH_DHCPD_CONF='"/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 invalid in C99 [-Wimplicit-function-declaration]
        POST(s);
        ^
connection.c:842:59: error: too few arguments to function call, expected 6, have 3
                status = 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

===>>> make build failed for net/isc-dhcp43-server
===>>> Aborting update
Comment 1 Rene Ladan freebsd_committer freebsd_triage 2018-07-31 09:05:02 UTC
Expired port removed, please use net/isc-dhcp44-server instead.