[Bug 243854] net-mgmt/net-snmp: Failed: build

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Mon Feb 3 21:17:33 UTC 2020


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=243854

            Bug ID: 243854
           Summary: net-mgmt/net-snmp: Failed: build
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: zi at FreeBSD.org
          Reporter: danmcgrath.ca at gmail.com
             Flags: maintainer-feedback?(zi at FreeBSD.org)
          Assignee: zi at FreeBSD.org

Seems I can't get net-snmp-5.7.3_20,1 to build for 11.3. I have pasted the most
relevant/obvious logs. Any ideas?

keytools.c:155:24: error: invalid application of 'sizeof' to an incomplete type
'EVP_MD_CTX' (aka 'struct evp_md_ctx_st')
    ctx = malloc(sizeof(*ctx));
                       ^~~~~~
/usr/local/include/openssl/ossl_typ.h:92:16: note: forward declaration of
'struct evp_md_ctx_st'
typedef struct evp_md_ctx_st EVP_MD_CTX;
               ^
keytools.c:265:9: warning: implicit declaration of function
'EVP_MD_CTX_cleanup' is invalid in C99 [-Wimplicit-function-declaration]
        EVP_MD_CTX_cleanup(ctx);
        ^
1 warning and 1 error generated.
*** Error code 1

Stop.
make[2]: stopped in
/wrkdirs/usr/ports/net-mgmt/net-snmp/work/net-snmp-5.7.3/snmplib
*** Error code 1

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list