[Bug 263826] security/xmlsec1: build fail

From: <bugzilla-noreply_at_freebsd.org>
Date: Fri, 06 May 2022 19:27:28 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=263826

            Bug ID: 263826
           Summary: security/xmlsec1: build fail
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: hrs@FreeBSD.org
          Reporter: rozhuk.im@gmail.com
             Flags: maintainer-feedback?(hrs@FreeBSD.org)
          Assignee: hrs@FreeBSD.org

libtool: compile:  cc -DHAVE_CONFIG_H -I. -I../.. -DPACKAGE=\"xmlsec1\"
-I../../include -I../../include -D__XMLSEC_FUNCTION__=__func__
-DXMLSEC_NO_SIZE_T -DXMLSEC_NO_GOST=1 -DXMLSEC_NO_GOST2012=1
-DXMLSEC_DL_LIBLTDL=1 -I/usr/local/include -I/usr/local/include/openssl
-DXMLSEC_CRYPTO_OPENSSL=1 -I/usr/local/include -I/usr/local/include/libxml2
-I/usr/local/include/libxml2 -isystem /usr/local/include -O2 -pipe -O3 -pipe
-funroll-loops -mretpoline -fstack-protector-strong -isystem /usr/local/include
-fno-strict-aliasing
-fdebug-prefix-map=/tmp/ports/usr/ports/security/xmlsec1/work/xmlsec1-1.2.34=.
-Werror -fno-builtin-memset -MT libxmlsec1_openssl_la-bn.lo -MD -MP -MF
.deps/libxmlsec1_openssl_la-bn.Tpo -c bn.c -o libxmlsec1_openssl_la-bn.o
>/dev/null 2>&1
app.c:440:65: error: implicit declaration of function 'UI_null' is invalid in
C99 [-Werror,-Wimplicit-function-declaration]
    if(ENGINE_ctrl_cmd(engine, "SET_USER_INTERFACE", 0, (void *)UI_null(), 0,
1) < 0) {
                                                                ^
app.c:440:57: error: cast to 'void *' from smaller integer type 'int'
[-Werror,-Wint-to-void-pointer-cast]
    if(ENGINE_ctrl_cmd(engine, "SET_USER_INTERFACE", 0, (void *)UI_null(), 0,
1) < 0) {
                                                        ^~~~~~~~~~~~~~~~~
app.c:456:36: error: cast to 'UI_METHOD *' (aka 'struct ui_method_st *') from
smaller integer type 'int' [-Werror,-Wint-to-pointer-cast]
                                   (UI_METHOD *)UI_null(),
                                   ^~~~~~~~~~~~~~~~~~~~~~
3 errors generated.
gmake[5]: *** [Makefile:625: libxmlsec1_openssl_la-app.lo] Error 1
gmake[5]: *** Waiting for unfinished jobs....

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