Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 17 Sep 2017 06:18:27 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 222382] security/fwknop: Compiler error with 2.6.9
Message-ID:  <bug-222382-13@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
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.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-222382-13>