From owner-freebsd-ports-bugs@freebsd.org Sat Oct 27 19:11:09 2018 Return-Path: Delivered-To: freebsd-ports-bugs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id D4C1310D0CF0 for ; Sat, 27 Oct 2018 19:11:08 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 70BA277A8C for ; Sat, 27 Oct 2018 19:11:08 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 3092310D0CEF; Sat, 27 Oct 2018 19:11:08 +0000 (UTC) Delivered-To: ports-bugs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 0DD2810D0CED for ; Sat, 27 Oct 2018 19:11:08 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id A051377A86 for ; Sat, 27 Oct 2018 19:11:07 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id E30A01251C for ; Sat, 27 Oct 2018 19:11:06 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id w9RJB677022729 for ; Sat, 27 Oct 2018 19:11:06 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w9RJB6AA022728 for ports-bugs@FreeBSD.org; Sat, 27 Oct 2018 19:11:06 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 232749] net/dhcpd fails to build with NO PF support Date: Sat, 27 Oct 2018 19:11:06 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: driesm.michiels@gmail.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: ports-bugs@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter cc flagtypes.name Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 27 Oct 2018 19:11:09 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D232749 Bug ID: 232749 Summary: net/dhcpd fails to build with NO PF support Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: ports-bugs@FreeBSD.org Reporter: driesm.michiels@gmail.com CC: koue@chaosophia.net Flags: maintainer-feedback?(koue@chaosophia.net) CC: koue@chaosophia.net When trying to build net/dhcpd on 12-stable using poudriere and setting PF support to OFF. (so option enabled) I get the error below. =3D=3D=3D> Building for dhcpd-6.0.20170207_2 echo dhcpd: /usr/lib/libc.a >> .depend Warning: Object directory not changed from original /wrkdirs/usr/ports/net/dhcpd/work/dhcpd-6.0.20170207/src/usr.sbin/dhcpd cc -O2 -pipe -Wall -DNO_PF=3D1 -fstack-protector -fno-strict-aliasing = -Wall -D__dead=3D'' -MD -MF.depend.bootp.o -MTbootp.o -std=3Dgnu99 -fstack-protector-strong -Qunused-arguments -c bootp.c -o bootp.o cc -O2 -pipe -Wall -DNO_PF=3D1 -fstack-protector -fno-strict-aliasing = -Wall -D__dead=3D'' -MD -MF.depend.confpars.o -MTconfpars.o -std=3Dgnu99 -fstack-protector-strong -Qunused-arguments -c confpars.c -o confpars.o confpars.c:913:20: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] rv =3D tree_const(h->h_addr_list[0], h->h_length); ^~~~~~~~~~~~~~~~~ ./dhcpd.h:534:41: note: passing argument to parameter here struct tree *tree_const(unsigned char *, int); ^ 1 warning generated. cc -O2 -pipe -Wall -DNO_PF=3D1 -fstack-protector -fno-strict-aliasing = -Wall -D__dead=3D'' -MD -MF.depend.db.o -MTdb.o -std=3Dgnu99 -fstack-protector-s= trong=20=20=20 -Qunused-arguments -c db.c -o db.o cc -O2 -pipe -Wall -DNO_PF=3D1 -fstack-protector -fno-strict-aliasing = -Wall -D__dead=3D'' -MD -MF.depend.dhcp.o -MTdhcp.o -std=3Dgnu99 -fstack-protector-strong -Qunused-arguments -c dhcp.c -o dhcp.o cc -O2 -pipe -Wall -DNO_PF=3D1 -fstack-protector -fno-strict-aliasing = -Wall -D__dead=3D'' -MD -MF.depend.dhcpd.o -MTdhcpd.o -std=3Dgnu99 -fstack-protector-strong -Qunused-arguments -c dhcpd.c -o dhcpd.o dhcpd.c:381:25: warning: unused variable 's' [-Wunused-variable] struct shared_network *s; ^ dhcpd.c:382:17: warning: unused variable 'l' [-Wunused-variable] struct lease *l; ^ 2 warnings generated. cc -O2 -pipe -Wall -DNO_PF=3D1 -fstack-protector -fno-strict-aliasing = -Wall -D__dead=3D'' -MD -MF.depend.bpf.o -MTbpf.o -std=3Dgnu99 -fstack-protector= -strong=20 -Qunused-arguments -c bpf.c -o bpf.o cc -O2 -pipe -Wall -DNO_PF=3D1 -fstack-protector -fno-strict-aliasing = -Wall -D__dead=3D'' -MD -MF.depend.packet.o -MTpacket.o -std=3Dgnu99 -fstack-protector-strong -Qunused-arguments -c packet.c -o packet.o cc -O2 -pipe -Wall -DNO_PF=3D1 -fstack-protector -fno-strict-aliasing = -Wall -D__dead=3D'' -MD -MF.depend.errwarn.o -MTerrwarn.o -std=3Dgnu99 -fstack-protector-strong -Qunused-arguments -c errwarn.c -o errwarn.o cc -O2 -pipe -Wall -DNO_PF=3D1 -fstack-protector -fno-strict-aliasing = -Wall -D__dead=3D'' -MD -MF.depend.dispatch.o -MTdispatch.o -std=3Dgnu99 -fstack-protector-strong -Qunused-arguments -c dispatch.c -o dispatch.o cc -O2 -pipe -Wall -DNO_PF=3D1 -fstack-protector -fno-strict-aliasing = -Wall -D__dead=3D'' -MD -MF.depend.print.o -MTprint.o -std=3Dgnu99 -fstack-protector-strong -Qunused-arguments -c print.c -o print.o cc -O2 -pipe -Wall -DNO_PF=3D1 -fstack-protector -fno-strict-aliasing = -Wall -D__dead=3D'' -MD -MF.depend.memory.o -MTmemory.o -std=3Dgnu99 -fstack-protector-strong -Qunused-arguments -c memory.c -o memory.o cc -O2 -pipe -Wall -DNO_PF=3D1 -fstack-protector -fno-strict-aliasing = -Wall -D__dead=3D'' -MD -MF.depend.options.o -MToptions.o -std=3Dgnu99 -fstack-protector-strong -Qunused-arguments -c options.c -o options.o cc -O2 -pipe -Wall -DNO_PF=3D1 -fstack-protector -fno-strict-aliasing = -Wall -D__dead=3D'' -MD -MF.depend.inet.o -MTinet.o -std=3Dgnu99 -fstack-protector-strong -Qunused-arguments -c inet.c -o inet.o cc -O2 -pipe -Wall -DNO_PF=3D1 -fstack-protector -fno-strict-aliasing = -Wall -D__dead=3D'' -MD -MF.depend.conflex.o -MTconflex.o -std=3Dgnu99 -fstack-protector-strong -Qunused-arguments -c conflex.c -o conflex.o cc -O2 -pipe -Wall -DNO_PF=3D1 -fstack-protector -fno-strict-aliasing = -Wall -D__dead=3D'' -MD -MF.depend.parse.o -MTparse.o -std=3Dgnu99 -fstack-protector-strong -Qunused-arguments -c parse.c -o parse.o cc -O2 -pipe -Wall -DNO_PF=3D1 -fstack-protector -fno-strict-aliasing = -Wall -D__dead=3D'' -MD -MF.depend.alloc.o -MTalloc.o -std=3Dgnu99 -fstack-protector-strong -Qunused-arguments -c alloc.c -o alloc.o cc -O2 -pipe -Wall -DNO_PF=3D1 -fstack-protector -fno-strict-aliasing = -Wall -D__dead=3D'' -MD -MF.depend.tables.o -MTtables.o -std=3Dgnu99 -fstack-protector-strong -Qunused-arguments -c tables.c -o tables.o cc -O2 -pipe -Wall -DNO_PF=3D1 -fstack-protector -fno-strict-aliasing = -Wall -D__dead=3D'' -MD -MF.depend.tree.o -MTtree.o -std=3Dgnu99 -fstack-protector-strong -Qunused-arguments -c tree.c -o tree.o cc -O2 -pipe -Wall -DNO_PF=3D1 -fstack-protector -fno-strict-aliasing = -Wall -D__dead=3D'' -MD -MF.depend.hash.o -MThash.o -std=3Dgnu99 -fstack-protector-strong -Qunused-arguments -c hash.c -o hash.o cc -O2 -pipe -Wall -DNO_PF=3D1 -fstack-protector -fno-strict-aliasing = -Wall -D__dead=3D'' -MD -MF.depend.convert.o -MTconvert.o -std=3Dgnu99 -fstack-protector-strong -Qunused-arguments -c convert.c -o convert.o cc -O2 -pipe -Wall -DNO_PF=3D1 -fstack-protector -fno-strict-aliasing = -Wall -D__dead=3D'' -MD -MF.depend.icmp.o -MTicmp.o -std=3Dgnu99 -fstack-protector-strong -Qunused-arguments -c icmp.c -o icmp.o cc -O2 -pipe -Wall -DNO_PF=3D1 -fstack-protector -fno-strict-aliasing = -Wall -D__dead=3D'' -MD -MF.depend.pfutils.o -MTpfutils.o -std=3Dgnu99 -fstack-protector-strong -Qunused-arguments -c pfutils.c -o pfutils.o cc -O2 -pipe -Wall -DNO_PF=3D1 -fstack-protector -fno-strict-aliasing = -Wall -D__dead=3D'' -MD -MF.depend.sync.o -MTsync.o -std=3Dgnu99 -fstack-protector-strong -Qunused-arguments -c sync.c -o sync.o sync.c:412:11: error: variable has incomplete type 'HMAC_CTX' (aka 'struct hmac_ctx_st') HMAC_CTX ctx; ^ /usr/include/openssl/ossl_typ.h:102:16: note: forward declaration of 'struct hmac_ctx_st' typedef struct hmac_ctx_st HMAC_CTX; ^ sync.c:422:2: warning: implicit declaration of function 'HMAC_CTX_init' is invalid in C99 [-Wimplicit-function-declaration] HMAC_CTX_init(&ctx); ^ sync.c:423:2: warning: 'HMAC_Init' is deprecated [-Wdeprecated-declarations] HMAC_Init(&ctx, sync_key, strlen(sync_key), EVP_sha1()); ^ /usr/include/openssl/hmac.h:30:1: note: 'HMAC_Init' has been explicitly mar= ked deprecated here DEPRECATEDIN_1_1_0(__owur int HMAC_Init(HMAC_CTX *ctx, const void *key, int len, ^ /usr/include/openssl/opensslconf.h:147:34: note: expanded from macro 'DEPRECATEDIN_1_1_0' # define DEPRECATEDIN_1_1_0(f) DECLARE_DEPRECATED(f) ^ /usr/include/openssl/opensslconf.h:110:55: note: expanded from macro 'DECLARE_DEPRECATED' # define DECLARE_DEPRECATED(f) f __attribute__ ((deprecated)); ^ sync.c:473:2: warning: implicit declaration of function 'HMAC_CTX_cleanup' = is invalid in C99 [-Wimplicit-function-declaration] HMAC_CTX_cleanup(&ctx); ^ 3 warnings and 1 error generated. *** Error code 1 Stop. make[1]: stopped in /wrkdirs/usr/ports/net/dhcpd/work/dhcpd-6.0.20170207/src/usr.sbin/dhcpd *** Error code 1 Stop. make: stopped in /usr/ports/net/dhcpd --=20 You are receiving this mail because: You are the assignee for the bug.=