From owner-freebsd-ports-bugs@freebsd.org Sun Sep 17 06:18:28 2017 Return-Path: Delivered-To: freebsd-ports-bugs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 52D8EE2645A for ; Sun, 17 Sep 2017 06:18:28 +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 mx1.freebsd.org (Postfix) with ESMTPS id 407FD73EFC for ; Sun, 17 Sep 2017 06:18:28 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id v8H6IRui005127 for ; Sun, 17 Sep 2017 06:18:28 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-ports-bugs@FreeBSD.org Subject: [Bug 222382] security/fwknop: Compiler error with 2.6.9 Date: Sun, 17 Sep 2017 06:18:27 +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: jan0sch@mykolab.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-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.23 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 17 Sep 2017 06:18:28 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D222382 Bug ID: 222382 Summary: security/fwknop: Compiler error with 2.6.9 Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: freebsd-ports-bugs@FreeBSD.org Reporter: jan0sch@mykolab.com CC: sean.greven@gmail.com CC: sean.greven@gmail.com Flags: maintainer-feedback?(sean.greven@gmail.com) Hi, compiling the latest 2.6.9 gives the following error (I tried on 2 machines, both 11.1-RELEASE-p1): fwknop-2.6.9 configuration. =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D Client build: yes Server build: yes GPG encryption support: yes Gpgme engine: /usr/local/bin/gpg Installation prefix: /usr/local Server support: firewall type: pf firewall program path: /sbin/pfctl =3D=3D=3D> Building for fwknop-2.6.9_1 --- all --- /usr/bin/make all-recursive --- all-recursive --- Making all in common --- strlcpy.o --- --- strlcat.o --- --- fko_util.o --- --- strlcpy.o --- depbase=3D`echo strlcpy.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`; cc -DHAVE_CO= NFIG_H -I. -I.. -I/usr/local/include -I ../common -I ../lib -I/usr/local/include -I/usr/local/include/gpgme -O2 -pipe -fstack-protector -fno-strict-aliasi= ng -Wall -Wformat -Wformat-security -fstack-protector-all -fstack-protector -f= PIE -fPIC -D_FORTIFY_SOURCE=3D2 -MT strlcpy.o -MD -MP -MF $depbase.Tpo -c -o strlcpy.o strlcpy.c && mv -f $depbase.Tpo $depbase.Po --- strlcat.o --- depbase=3D`echo strlcat.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`; cc -DHAVE_CO= NFIG_H -I. -I.. -I/usr/local/include -I ../common -I ../lib -I/usr/local/include -I/usr/local/include/gpgme -O2 -pipe -fstack-protector -fno-strict-aliasi= ng -Wall -Wformat -Wformat-security -fstack-protector-all -fstack-protector -f= PIE -fPIC -D_FORTIFY_SOURCE=3D2 -MT strlcat.o -MD -MP -MF $depbase.Tpo -c -o strlcat.o strlcat.c && mv -f $depbase.Tpo $depbase.Po --- fko_util.o --- depbase=3D`echo fko_util.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`; cc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -I ../common -I ../lib=20 -I/usr/local/include -I/usr/local/include/gpgme -O2 -pipe -fstack-protect= or -fno-strict-aliasing -Wall -Wformat -Wformat-security -fstack-protector-all -fstack-protector -fPIE -fPIC -D_FORTIFY_SOURCE=3D2 -MT fko_util.o -MD -MP = -MF $depbase.Tpo -c -o fko_util.o fko_util.c && mv -f $depbase.Tpo $depbase.Po fko_util.c:256:16: error: use of undeclared identifier 'FKO_DIGEST_SHA3_256= '; did you mean 'FKO_DIGEST_SHA256'? return(FKO_DIGEST_SHA3_256); ^~~~~~~~~~~~~~~~~~~ FKO_DIGEST_SHA256 /usr/local/include/fko.h:78:5: note: 'FKO_DIGEST_SHA256' declared here FKO_DIGEST_SHA256, ^ fko_util.c:258:16: error: use of undeclared identifier 'FKO_DIGEST_SHA3_512= '; did you mean 'FKO_DIGEST_SHA512'? return(FKO_DIGEST_SHA3_512); ^~~~~~~~~~~~~~~~~~~ FKO_DIGEST_SHA512 /usr/local/include/fko.h:80:5: note: 'FKO_DIGEST_SHA512' declared here FKO_DIGEST_SHA512, ^ fko_util.c:299:14: error: use of undeclared identifier 'FKO_DIGEST_SHA3_256= '; did you mean 'FKO_DIGEST_SHA256'? case FKO_DIGEST_SHA3_256: ^~~~~~~~~~~~~~~~~~~ FKO_DIGEST_SHA256 /usr/local/include/fko.h:78:5: note: 'FKO_DIGEST_SHA256' declared here FKO_DIGEST_SHA256, ^ fko_util.c:302:14: error: use of undeclared identifier 'FKO_DIGEST_SHA3_512= '; did you mean 'FKO_DIGEST_SHA512'? case FKO_DIGEST_SHA3_512: ^~~~~~~~~~~~~~~~~~~ FKO_DIGEST_SHA512 /usr/local/include/fko.h:80:5: note: 'FKO_DIGEST_SHA512' declared here FKO_DIGEST_SHA512, ^ fko_util.c:299:14: error: duplicate case value 'FKO_DIGEST_SHA256' case FKO_DIGEST_SHA3_256: ^ fko_util.c:290:14: note: previous case defined here case FKO_DIGEST_SHA256: ^ fko_util.c:302:14: error: duplicate case value 'FKO_DIGEST_SHA512' case FKO_DIGEST_SHA3_512: ^ fko_util.c:296:14: note: previous case defined here case FKO_DIGEST_SHA512: ^ fko_util.c:328:16: error: use of undeclared identifier 'FKO_HMAC_SHA3_256';= did you mean 'FKO_HMAC_SHA256'? return(FKO_HMAC_SHA3_256); ^~~~~~~~~~~~~~~~~ FKO_HMAC_SHA256 /usr/local/include/fko.h:91:5: note: 'FKO_HMAC_SHA256' declared here FKO_HMAC_SHA256, ^ fko_util.c:330:16: error: use of undeclared identifier 'FKO_HMAC_SHA3_512';= did you mean 'FKO_HMAC_SHA512'? return(FKO_HMAC_SHA3_512); ^~~~~~~~~~~~~~~~~ FKO_HMAC_SHA512 /usr/local/include/fko.h:93:5: note: 'FKO_HMAC_SHA512' declared here FKO_HMAC_SHA512, ^ fko_util.c:409:14: error: use of undeclared identifier 'FKO_HMAC_SHA3_256';= did you mean 'FKO_HMAC_SHA256'? case FKO_HMAC_SHA3_256: ^~~~~~~~~~~~~~~~~ FKO_HMAC_SHA256 /usr/local/include/fko.h:91:5: note: 'FKO_HMAC_SHA256' declared here FKO_HMAC_SHA256, ^ fko_util.c:412:14: error: use of undeclared identifier 'FKO_HMAC_SHA3_512';= did you mean 'FKO_HMAC_SHA512'? case FKO_HMAC_SHA3_512: ^~~~~~~~~~~~~~~~~ FKO_HMAC_SHA512 /usr/local/include/fko.h:93:5: note: 'FKO_HMAC_SHA512' declared here FKO_HMAC_SHA512, ^ fko_util.c:409:14: error: duplicate case value 'FKO_HMAC_SHA256' case FKO_HMAC_SHA3_256: ^ fko_util.c:400:14: note: previous case defined here case FKO_HMAC_SHA256: ^ fko_util.c:412:14: error: duplicate case value 'FKO_HMAC_SHA512' case FKO_HMAC_SHA3_512: ^ fko_util.c:406:14: note: previous case defined here case FKO_HMAC_SHA512: ^ 12 errors generated. *** [fko_util.o] Error code 1 make[4]: stopped in /usr/ports/security/fwknop/work/fwknop-2.6.9/common 1 error make[4]: stopped in /usr/ports/security/fwknop/work/fwknop-2.6.9/common *** [all-recursive] Error code 1 make[3]: stopped in /usr/ports/security/fwknop/work/fwknop-2.6.9 1 error make[3]: stopped in /usr/ports/security/fwknop/work/fwknop-2.6.9 *** [all] Error code 2 make[2]: stopped in /usr/ports/security/fwknop/work/fwknop-2.6.9 1 error make[2]: stopped in /usr/ports/security/fwknop/work/fwknop-2.6.9 =3D=3D=3D> Compilation failed unexpectedly. Try to set MAKE_JOBS_UNSAFE=3Dyes and rebuild before reporting the failure = to the maintainer. *** Error code 1 Stop. make[1]: stopped in /usr/ports/security/fwknop *** Error code 1 Stop. make: stopped in /usr/ports/security/fwknop Configuration as follows: =3D=3D=3D> The following configuration options are available for fwknop-2.6= .9_1: GPGME=3Don: Build support for gpgme =3D=3D=3D=3D> Firewall Backend: you have to select exactly one of them IPFW=3Doff: Use the IPFW firewall PF=3Don: Use the PF firewall. =3D=3D=3D> Use 'make config' to modify these settings If GPGME is disabled the port builds fine. Regards, Jens --=20 You are receiving this mail because: You are the assignee for the bug.=