Bug 229559 - net/isc-dhcp44-server: connection.c:841:59: error: too few arguments to function call (CURRENT)
Summary: net/isc-dhcp44-server: connection.c:841:59: error: too few arguments to funct...
Status: New
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:27 UTC by O. Hartmann
Modified: 2019-08-08 20:21 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:27:48 UTC
The compilation of port net/isc-dhcp44-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:

[...]
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/usr/ports/net/isc-dhcp44-server/work/dhcp-4.4.1/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:841: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 error generated.
gmake[3]: *** [Makefile:461: connection.o] Error 1
gmake[3]: Leaving directory '/usr/ports/net/isc-dhcp44-server/work/dhcp-4.4.1/omapip'
gmake[2]: *** [Makefile:462: all-recursive] Error 1
gmake[2]: Leaving directory '/usr/ports/net/isc-dhcp44-server/work/dhcp-4.4.1'
*** Error code 1
Comment 1 Walter Schwarzenfeld freebsd_triage 2019-08-08 20:21:57 UTC
Is this still relevant?