[Bug 222382] security/fwknop: Compiler error with 2.6.9
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Sun Sep 17 06:18:28 UTC 2017
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=222382
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 at FreeBSD.org
Reporter: jan0sch at mykolab.com
CC: sean.greven at gmail.com
CC: sean.greven at gmail.com
Flags: maintainer-feedback?(sean.greven at 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.
==========================================================
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
===> 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=`echo strlcpy.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`; cc -DHAVE_CONFIG_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-aliasing
-Wall -Wformat -Wformat-security -fstack-protector-all -fstack-protector -fPIE
-fPIC -D_FORTIFY_SOURCE=2 -MT strlcpy.o -MD -MP -MF $depbase.Tpo -c -o
strlcpy.o strlcpy.c && mv -f $depbase.Tpo $depbase.Po
--- strlcat.o ---
depbase=`echo strlcat.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`; cc -DHAVE_CONFIG_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-aliasing
-Wall -Wformat -Wformat-security -fstack-protector-all -fstack-protector -fPIE
-fPIC -D_FORTIFY_SOURCE=2 -MT strlcat.o -MD -MP -MF $depbase.Tpo -c -o
strlcat.o strlcat.c && mv -f $depbase.Tpo $depbase.Po
--- fko_util.o ---
depbase=`echo fko_util.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`; cc
-DHAVE_CONFIG_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-aliasing -Wall -Wformat -Wformat-security -fstack-protector-all
-fstack-protector -fPIE -fPIC -D_FORTIFY_SOURCE=2 -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
===> Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=yes 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:
===> The following configuration options are available for fwknop-2.6.9_1:
GPGME=on: Build support for gpgme
====> Firewall Backend: you have to select exactly one of them
IPFW=off: Use the IPFW firewall
PF=on: Use the PF firewall.
===> Use 'make config' to modify these settings
If GPGME is disabled the port builds fine.
Regards,
Jens
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-ports-bugs
mailing list