[Bug 232763] net-mgmt/net-snmp: Build failed on 12-BETA2: keytools.c:156:9: error: invalid argument type 'void' to unary expression

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sun Oct 28 14:56:56 UTC 2018


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

            Bug ID: 232763
           Summary: net-mgmt/net-snmp: Build failed on 12-BETA2:
                    keytools.c:156:9: error: invalid argument type 'void'
                    to unary expression
           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: iron.udjin at gmail.com
             Flags: maintainer-feedback?(zi at FreeBSD.org)
          Assignee: zi at FreeBSD.org

Hello,

I'm trying to build net-snmp-5.7.3 on 12.0-BETA2 r339834:

/bin/sh ../libtool --mode=compile cc -I../include -I.   -I../snmplib
-I/usr/include -fno-strict-aliasing -O2 -pipe -march=native -march=native 
-I/usr/local/include -I/include -fstack-protector -fno-strict-aliasing -std=c99
 -Ufreebsd12 -Dfreebsd12=freebsd12  -DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H
-fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include
-D_FORTIFY_SOURCE=2  -I/usr/local/lib/perl5/5.24/mach/CORE -c -o keytools.lo
keytools.c
libtool: compile:  cc -I../include -I. -I../snmplib -I/usr/include
-fno-strict-aliasing -O2 -pipe -march=native -march=native -I/usr/local/include
-I/include -fstack-protector -fno-strict-aliasing -std=c99 -Ufreebsd12
-Dfreebsd12=freebsd12 -DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H
-fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include
-D_FORTIFY_SOURCE=2 -I/usr/local/lib/perl5/5.24/mach/CORE -c keytools.c  -fPIC
-DPIC -o .libs/keytools.o
keytools.c:156:9: error: invalid argument type 'void' to unary expression
    if (!EVP_MD_CTX_init(ctx))
        ^~~~~~~~~~~~~~~~~~~~~
1 error generated.
*** 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