MidnightBSD Magus

security/yafic

Yet Another File Integrity Checker, similar to Tripwire

Flavor Version Run OSVersion Arch License Restricted Status
1.2.2_1 500 3.0 amd64 bsd2 0 fail

License Permissions:

Events

Machine Type Time Message
m3064b info 2022-11-05 22:43:37.545417 Test Started
m3064b fail 2022-11-05 22:43:43.446534 make build returned non-zero: 1
m3064b fail 2022-11-05 22:43:43.495455 Test complete.

Log

===>  Building for yafic-1.2.2_1
gmake[1]: Entering directory '/magus/work/usr/mports/security/yafic/work/yafic-1.2.2'
gmake  all-am
gmake[2]: Entering directory '/magus/work/usr/mports/security/yafic/work/yafic-1.2.2'
source='yafic.c' object='yafic.o' libtool=no \
depfile='.deps/yafic.Po' tmpdepfile='.deps/yafic.TPo' \
depmode=gcc3 /bin/sh ./depcomp \
cc -DHAVE_CONFIG_H -I. -I. -I.    -Wall -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c `test -f 'yafic.c' || echo './'`yafic.c
source='common.c' object='common.o' libtool=no \
depfile='.deps/common.Po' tmpdepfile='.deps/common.TPo' \
depmode=gcc3 /bin/sh ./depcomp \
cc -DHAVE_CONFIG_H -I. -I. -I.    -Wall -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c `test -f 'common.c' || echo './'`common.c
source='ruleset.c' object='ruleset.o' libtool=no \
depfile='.deps/ruleset.Po' tmpdepfile='.deps/ruleset.TPo' \
depmode=gcc3 /bin/sh ./depcomp \
cc -DHAVE_CONFIG_H -I. -I. -I.    -Wall -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c `test -f 'ruleset.c' || echo './'`ruleset.c
source='view.c' object='view.o' libtool=no \
depfile='.deps/view.Po' tmpdepfile='.deps/view.TPo' \
depmode=gcc3 /bin/sh ./depcomp \
cc -DHAVE_CONFIG_H -I. -I. -I.    -Wall -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c `test -f 'view.c' || echo './'`view.c
common.c:53:19: warning: unused variable 'rcsid' [-Wunused-const-variable]
static const char rcsid[] =
                  ^
yafic.c:163:32: warning: passing 'uint8_t *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
    if ((len = readlink (path, HashBuffer, HASH_BUFFER_SIZE)) != -1) {
                               ^~~~~~~~~~
/usr/include/unistd.h:408:61: note: passing argument to parameter here
ssize_t  readlink(const char * __restrict, char * __restrict, size_t);
                                                            ^
ruleset.c:79:18: warning: initializing 'const uint8_t *' (aka 'const unsigned char *') with an expression of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
  const uint8_t *s = str;
                 ^   ~~~
yafic.c:82:19: warning: unused variable 'rcsid' [-Wunused-const-variable]
static const char rcsid[] =
                  ^
1 warning generated.
ruleset.c:55:19: warning: unused variable 'rcsid' [-Wunused-const-variable]
static const char rcsid[] =
                  ^
view.c:49:19: warning: unused variable 'rcsid' [-Wunused-const-variable]
static const char rcsid[] =
                  ^
1 warning generated.
source='statpack.c' object='statpack.o' libtool=no \
depfile='.deps/statpack.Po' tmpdepfile='.deps/statpack.TPo' \
depmode=gcc3 /bin/sh ./depcomp \
cc -DHAVE_CONFIG_H -I. -I. -I.    -Wall -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c `test -f 'statpack.c' || echo './'`statpack.c
statpack.c:51:19: warning: unused variable 'rcsid' [-Wunused-const-variable]
static const char rcsid[] =
                  ^
1 warning generated.
source='crypto.c' object='crypto.o' libtool=no \
depfile='.deps/crypto.Po' tmpdepfile='.deps/crypto.TPo' \
depmode=gcc3 /bin/sh ./depcomp \
cc -DHAVE_CONFIG_H -I. -I. -I.    -Wall -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c `test -f 'crypto.c' || echo './'`crypto.c
source='sha1.c' object='sha1.o' libtool=no \
depfile='.deps/sha1.Po' tmpdepfile='.deps/sha1.TPo' \
depmode=gcc3 /bin/sh ./depcomp \
cc -DHAVE_CONFIG_H -I. -I. -I.    -Wall -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c `test -f 'sha1.c' || echo './'`sha1.c
2 warnings generated.
source='yafic-sign.c' object='yafic-sign.o' libtool=no \
depfile='.deps/yafic-sign.Po' tmpdepfile='.deps/yafic-sign.TPo' \
depmode=gcc3 /bin/sh ./depcomp \
cc -DHAVE_CONFIG_H -I. -I. -I.    -Wall -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c `test -f 'yafic-sign.c' || echo './'`yafic-sign.c
crypto.c:103:14: error: variable has incomplete type 'EVP_MD_CTX' (aka 'struct evp_md_ctx_st')
  EVP_MD_CTX ctx;
             ^
/usr/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;
               ^
crypto.c:114:31: error: incomplete definition of type 'struct evp_pkey_st'
  mdType = EVP_PKEY_type (pkey->type) == EVP_PKEY_DSA ? EVP_dss1 () :
                          ~~~~^
/usr/include/openssl/ossl_typ.h:93:16: note: forward declaration of 'struct evp_pkey_st'
typedef struct evp_pkey_st EVP_PKEY;
               ^
crypto.c:114:57: warning: implicit declaration of function 'EVP_dss1' is invalid in C99 [-Wimplicit-function-declaration]
  mdType = EVP_PKEY_type (pkey->type) == EVP_PKEY_DSA ? EVP_dss1 () :
                                                        ^
crypto.c:173:14: error: variable has incomplete type 'EVP_MD_CTX' (aka 'struct evp_md_ctx_st')
  EVP_MD_CTX ctx;
             ^
/usr/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;
               ^
crypto.c:184:31: error: incomplete definition of type 'struct evp_pkey_st'
  mdType = EVP_PKEY_type (pkey->type) == EVP_PKEY_DSA ? EVP_dss1 () :
                          ~~~~^
/usr/include/openssl/ossl_typ.h:93:16: note: forward declaration of 'struct evp_pkey_st'
typedef struct evp_pkey_st EVP_PKEY;
               ^
crypto.c:184:57: warning: implicit declaration of function 'EVP_dss1' is invalid in C99 [-Wimplicit-function-declaration]
  mdType = EVP_PKEY_type (pkey->type) == EVP_PKEY_DSA ? EVP_dss1 () :
                                                        ^
crypto.c:268:35: error: incomplete definition of type 'struct evp_pkey_st'
    int type = EVP_PKEY_type (pkey->type);
                              ~~~~^
/usr/include/openssl/ossl_typ.h:93:16: note: forward declaration of 'struct evp_pkey_st'
typedef struct evp_pkey_st EVP_PKEY;
               ^
2 warnings and 5 errors generated.
2 warnings generated.
gmake[2]: *** [Makefile:242: crypto.o] Error 1
gmake[2]: *** Waiting for unfinished jobs....
yafic-sign.c:45:19: warning: unused variable 'rcsid' [-Wunused-const-variable]
static const char rcsid[] =
                  ^
1 warning generated.
sha1.c:57:19: warning: unused variable 'rcsid' [-Wunused-const-variable]
static const char rcsid[] =
                  ^
1 warning generated.
gmake[2]: Leaving directory '/magus/work/usr/mports/security/yafic/work/yafic-1.2.2'
gmake[1]: *** [Makefile:150: all] Error 2
gmake[1]: Leaving directory '/magus/work/usr/mports/security/yafic/work/yafic-1.2.2'
===> Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to
the maintainer.
*** Error code 1

Stop.
make: stopped in /usr/mports/security/yafic

Links

Depends On

Depend Of

Nothing

Categories

CVEs

  • Loading CVE information...

LLM Analysis