Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 22 Feb 2019 22:11:37 GMT
From:      pkg-fallout@FreeBSD.org
To:        pkg-fallout@FreeBSD.org
Subject:   [package - head-armv6-default][security/osiris] Failed for osiris-4.2.3_3 in build
Message-ID:  <201902222211.x1MMBbMe058268@beefy8.nyi.freebsd.org>

next in thread | raw e-mail | index | archive | help

You are receiving this mail as a port that you maintain
is failing to build on the FreeBSD package build server.
Please investigate the failure and submit a PR to fix
build.

Maintainer:     ports@FreeBSD.org
Last committer: sunpoet@FreeBSD.org
Ident:          $FreeBSD: head/security/osiris/Makefile 444463 2017-06-27 13:46:53Z sunpoet $
Log URL:        http://beefy8.nyi.freebsd.org/data/head-armv6-default/p493136_s344218/logs/osiris-4.2.3_3.log
Build URL:      http://beefy8.nyi.freebsd.org/build.html?mastername=head-armv6-default&build=p493136_s344218
Log:

=>> Building security/osiris
build started at Fri Feb 22 22:09:24 UTC 2019
port directory: /usr/ports/security/osiris
package name: osiris-4.2.3_3
building for: FreeBSD head-armv6-default-job-12 13.0-CURRENT FreeBSD 13.0-CURRENT 1300012 arm
maintained by: ports@FreeBSD.org
Makefile ident:      $FreeBSD: head/security/osiris/Makefile 444463 2017-06-27 13:46:53Z sunpoet $
Poudriere version: 3.2.8-3-g02cc9753
Host OSVERSION: 1300009
Jail OSVERSION: 1300012
Job Id: 12




!!! Jail is newer than host. (Jail: 1300012, Host: 1300009) !!!
!!! This is not supported. !!!
!!! Host kernel must be same or newer than jail. !!!
!!! Expect build failures. !!!



---Begin Environment---
SHELL=/bin/csh
UNAME_p=armv6
UNAME_m=arm
ABI_FILE=/usr/lib/crt1.o
OSVERSION=1300012
UNAME_v=FreeBSD 13.0-CURRENT 1300012
UNAME_r=13.0-CURRENT
BLOCKSIZE=K
MAIL=/var/mail/root
STATUS=1
HOME=/root
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin
LOCALBASE=/usr/local
QEMU_EMULATING=1
USER=root
LIBEXECPREFIX=/usr/local/libexec/poudriere
POUDRIERE_VERSION=3.2.8-3-g02cc9753
MASTERMNT=/usr/local/poudriere/data/.m/head-armv6-default/ref
POUDRIERE_BUILD_TYPE=bulk
PACKAGE_BUILDING=yes
SAVED_TERM=
PWD=/usr/local/poudriere/data/.m/head-armv6-default/ref/.p/pool
P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS
MASTERNAME=head-armv6-default
SCRIPTPREFIX=/usr/local/share/poudriere
OLDPWD=/usr/local/poudriere/data/.m/head-armv6-default/ref/.p
SCRIPTPATH=/usr/local/share/poudriere/bulk.sh
POUDRIEREPATH=/usr/local/bin/poudriere
---End Environment---

---Begin Poudriere Port Flags/Env---
PORT_FLAGS=
PKGENV=
FLAVOR=
DEPENDS_ARGS=
MAKE_ARGS=
---End Poudriere Port Flags/Env---

---Begin OPTIONS List---
===> The following configuration options are available for osiris-4.2.3_3:
     CLI=off: Management CLI
     OSIRISD=on: Scan agent
     OSIRISMD=off: Management daemon
     PRINTDB=off: Database print tool
===> Use 'make config' to modify these settings
---End OPTIONS List---

--MAINTAINER--
ports@FreeBSD.org
--End MAINTAINER--

--CONFIGURE_ARGS--
--prefix=/usr/local ${_LATE_CONFIGURE_ARGS}
--End CONFIGURE_ARGS--

--CONFIGURE_ENV--
XDG_DATA_HOME=/wrkdirs/usr/ports/security/osiris/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/security/osiris/work  HOME=/wrkdirs/usr/ports/security/osiris/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/security/osiris/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin SHELL=/bin/sh CONFIG_SHELL=/bin/sh CONFIG_SITE=/usr/ports/Templates/config.site lt_cv_sys_max_cmd_len=262144
--End CONFIGURE_ENV--

--MAKE_ENV--
OPENSSLBASE=/usr OPENSSLDIR=/etc/ssl OPENSSLINC=/usr/include OPENSSLLIB=/usr/lib XDG_DATA_HOME=/wrkdirs/usr/ports/security/osiris/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/security/osiris/work  HOME=/wrkdirs/usr/ports/security/osiris/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/security/osiris/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin NO_PIE=yes MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES PREFIX=/usr/local  LOCALBASE=/usr/local  CC="/nxb-bin/usr/bin/cc" CFLAGS="-O2 -pipe  -fno-strict-aliasing "  CPP="/nxb-bin/usr/bin/cpp" CPPFLAGS="-I/usr/local/include"  LDFLAGS=" -L/usr/local/lib  " LIBS=""  CXX="/nxb-bin/usr/bin/c++" CXXFLAGS="-O2 -pipe -fno-strict-aliasing  "  MANPREFIX="/usr/local" BSD_INSTALL_PROGRAM="install  -s -m 555"  BSD_INSTALL_LIB="install  -s -m 0644"  BSD_INSTALL_SCRIPT="install  -m 555"  BSD_INSTALL_DATA="install  -m 0644"  BSD_INSTALL_MAN="install  -m 444"
--End MAKE_ENV--

--PLIST_SUB--
CLI="@comment " NO_CLI="" OSIRISD="" NO_OSIRISD="@comment " OSIRISMD="@comment " NO_OSIRISMD="" PRINTDB="@comment " NO_PRINTDB="" OSREL=13.0 PREFIX=%D LOCALBASE=/usr/local  RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/osiris"  EXAMPLESDIR="share/examples/osiris"  DATADIR="share/osiris"  WWWDIR="www/osiris"  ETCDIR="etc/osiris"
--End PLIST_SUB--

--SUB_LIST--
CLI="@comment " NO_CLI="" OSIRISD="" NO_OSIRISD="@comment " OSIRISMD="@comment " NO_OSIRISMD="" PRINTDB="@comment " NO_PRINTDB="" PREFIX=/usr/local LOCALBASE=/usr/local  DATADIR=/usr/local/share/osiris DOCSDIR=/usr/local/share/doc/osiris EXAMPLESDIR=/usr/local/share/examples/osiris  WWWDIR=/usr/local/www/osiris ETCDIR=/usr/local/etc/osiris
--End SUB_LIST--

---Begin make.conf---
.sinclude "/etc/make.nxb.conf"
USE_PACKAGE_DEPENDS=yes
BATCH=yes
WRKDIRPREFIX=/wrkdirs
PORTSDIR=/usr/ports
PACKAGES=/packages
DISTDIR=/distfiles
PACKAGE_BUILDING=yes
PACKAGE_BUILDING_FLAVORS=yes
MACHINE=arm
MACHINE_ARCH=armv6
ARCH=${MACHINE_ARCH}
#### /usr/local/etc/poudriere.d/make.conf ####
# XXX: We really need this but cannot use it while 'make checksum' does not
# try the next mirror on checksum failure.  It currently retries the same
# failed mirror and then fails rather then trying another.  It *does*
# try the next if the size is mismatched though.
#MASTER_SITE_FREEBSD=yes
# Build ALLOW_MAKE_JOBS_PACKAGES with 2 jobs
MAKE_JOBS_NUMBER=2

# stable/10 includes src.conf too late but make.conf is in sys.mk
.if ${.CURDIR:M/poudriere/jails/10*/usr/src/usr.bin/xlint*}
# Disable build of llib now that head no longer has lint(1)
LINT=	true
.endif
#### /usr/ports/Mk/Scripts/ports_env.sh ####
_CCVERSION_9d218390=FreeBSD clang version 7.0.1 (tags/RELEASE_701/final 349250) (based on LLVM 7.0.1) Target: armv6-unknown-freebsd13.0-gnueabihf Thread model: posix InstalledDir: /nxb-bin/usr/bin
_ALTCCVERSION_9d218390=none
_CXXINTERNAL_9c45a5b1=FreeBSD clang version 7.0.1 (tags/RELEASE_701/final 349250) (based on LLVM 7.0.1) Target: armv6-unknown-freebsd13.0-gnueabihf Thread model: posix InstalledDir: /nxb-bin/usr/bin "/nxb-bin/usr/bin/ld" "--eh-frame-hdr" "-dynamic-linker" "/libexec/ld-elf.so.1" "--hash-style=both" "--enable-new-dtags" "-o" "a.out" "/usr/lib/crt1.o" "/usr/lib/crti.o" "/usr/lib/crtbegin.o" "-L/usr/lib" "/dev/null" "-lc++" "-lm" "-lgcc" "--as-needed" "-lgcc_s" "--no-as-needed" "-lc" "-lgcc" "--as-needed" "-lgcc_s" "--no-as-needed" "/usr/lib/crtend.o" "/usr/lib/crtn.o"
CC_OUTPUT_9d218390_58173849=yes
CC_OUTPUT_9d218390_9bdba57c=yes
CC_OUTPUT_9d218390_6a4fe7f5=yes
CC_OUTPUT_9d218390_6bcac02b=yes
CC_OUTPUT_9d218390_67d20829=yes
CC_OUTPUT_9d218390_bfa62e83=yes
CC_OUTPUT_9d218390_f0b4d593=yes
CC_OUTPUT_9d218390_308abb44=yes
CC_OUTPUT_9d218390_f00456e5=yes
CC_OUTPUT_9d218390_65ad290d=yes
CC_OUTPUT_9d218390_f2776b26=yes
CC_OUTPUT_9d218390_b2657cc3=yes
CC_OUTPUT_9d218390_380987f7=yes
CC_OUTPUT_9d218390_160933ec=yes
CC_OUTPUT_9d218390_fb62803b=yes
_OBJC_CCVERSION_9d218390=FreeBSD clang version 7.0.1 (tags/RELEASE_701/final 349250) (based on LLVM 7.0.1) Target: armv6-unknown-freebsd13.0-gnueabihf Thread model: posix InstalledDir: /nxb-bin/usr/bin
_OBJC_ALTCCVERSION_9d218390=none
ARCH=armv6
OPSYS=FreeBSD
_OSRELEASE=13.0-CURRENT
OSREL=13.0
OSVERSION=1300012
PYTHONBASE=/usr/local
CONFIGURE_MAX_CMD_LEN=262144
HAVE_PORTS_ENV=1
#### Misc Poudriere ####
GID=0
UID=0
DISABLE_MAKE_JOBS=poudriere
---End make.conf---
---Begin make.nxb.conf---
CC=/nxb-bin/usr/bin/cc
CPP=/nxb-bin/usr/bin/cpp
CXX=/nxb-bin/usr/bin/c++
AS=/nxb-bin/usr/bin/as
NM=/nxb-bin/usr/bin/nm
LD=/nxb-bin/usr/bin/ld
OBJCOPY=/nxb-bin/usr/bin/objcopy
SIZE=/nxb-bin/usr/bin/size
STRIPBIN=/nxb-bin/usr/bin/strip
SED=/nxb-bin/usr/bin/sed
RANLIB=/nxb-bin/usr/bin/ranlib
YACC=/nxb-bin/usr/bin/yacc
MAKE=/nxb-bin/usr/bin/make
STRINGS=/nxb-bin/usr/bin/strings
AWK=/nxb-bin/usr/bin/awk
FLEX=/nxb-bin/usr/bin/flex
---End make.nxb.conf---
--Resource limits--
cpu time               (seconds, -t)  unlimited
file size           (512-blocks, -f)  unlimited
data seg size           (kbytes, -d)  33554432
stack size              (kbytes, -s)  524288
core file size      (512-blocks, -c)  unlimited
max memory size         (kbytes, -m)  unlimited
locked memory           (kbytes, -l)  unlimited
max user processes              (-u)  89999
open files                      (-n)  1024
virtual mem size        (kbytes, -v)  unlimited
swap limit              (kbytes, -w)  unlimited
socket buffer size       (bytes, -b)  unlimited
pseudo-terminals                (-p)  unlimited
kqueues                         (-k)  unlimited
umtx shared locks               (-o)  unlimited
--End resource limits--
=======================<phase: check-sanity   >============================
===>   NOTICE:

The osiris port currently does not have a maintainer. As a result, it is
more likely to have unresolved issues, not be up-to-date, or even be removed in
the future. To volunteer to maintain this port, please create an issue at:

https://bugs.freebsd.org/bugzilla

<snip>
/usr/include/openssl/opensslconf.h:150:34: note: expanded from macro 'DEPRECATEDIN_1_0_0'
# define DEPRECATEDIN_1_0_0(f)   DECLARE_DEPRECATED(f)
                                 ^
/usr/include/openssl/opensslconf.h:107:55: note: expanded from macro 'DECLARE_DEPRECATED'
#   define DECLARE_DEPRECATED(f)    f __attribute__ ((deprecated));
                                                      ^
md_control.c:634:9: warning: unused variable 'result_size' [-Wunused-variable]
    int result_size;
        ^
md_control.c:2052:50: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
                        osi_config_receive( cfg, line, strlen( line ) );
                                                 ^~~~
./../src/libosiris/configuration.h:160:67: note: passing argument to parameter 'data' here
osi_bool osi_config_receive( OSI_SCAN_CONFIG *cfg, unsigned char *data,
                                                                  ^
md_control.c:2063:56: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
                        osi_config_receive_first( cfg, line, strlen( line ) );
                                                       ^~~~
./../src/libosiris/configuration.h:157:73: note: passing argument to parameter 'data' here
osi_bool osi_config_receive_first( OSI_SCAN_CONFIG *cfg, unsigned char *data,
                                                                        ^
md_control.c:2072:55: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
                        osi_config_receive_last( cfg, line, strlen( line ) );
                                                      ^~~~
./../src/libosiris/configuration.h:163:72: note: passing argument to parameter 'data' here
osi_bool osi_config_receive_last( OSI_SCAN_CONFIG *cfg, unsigned char *data,
                                                                       ^
md_control.c:2634:55: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
                        osi_host_config_receive( cfg, line, strlen( line ) );
                                                      ^~~~
./../src/libosirism/host_config.h:131:50: note: passing argument to parameter 'data' here
                                  unsigned char *data, int data_length );
                                                 ^
md_control.c:2645:61: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
                        osi_host_config_receive_first( cfg, line,
                                                            ^~~~
./../src/libosirism/host_config.h:128:56: note: passing argument to parameter 'data' here
                                        unsigned char *data, int data_length );
                                                       ^
md_control.c:2655:60: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
                        osi_host_config_receive_last( cfg, line,
                                                           ^~~~
./../src/libosirism/host_config.h:134:55: note: passing argument to parameter 'data' here
                                       unsigned char *data, int data_length );
                                                      ^
md_control.c:2825:61: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
                        osi_management_config_receive( cfg, line,
                                                            ^~~~
./../src/libosirism/management_config.h:131:56: note: passing argument to parameter 'data' here
                                        unsigned char *data, int data_length );
                                                       ^
md_control.c:2837:67: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
                        osi_management_config_receive_first( cfg, line,
                                                                  ^~~~
./../src/libosirism/management_config.h:127:62: note: passing argument to parameter 'data' here
                                              unsigned char *data,
                                                             ^
md_control.c:2847:66: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
                        osi_management_config_receive_last( cfg, line,
                                                                 ^~~~
./../src/libosirism/management_config.h:134:61: note: passing argument to parameter 'data' here
                                             unsigned char *data,
                                                            ^
md_control.c:3262:13: warning: implicit declaration of function 'SHA_Init' is invalid in C99 [-Wimplicit-function-declaration]
            SHA_Init( &context );
            ^
md_control.c:3263:13: warning: implicit declaration of function 'SHA_Update' is invalid in C99 [-Wimplicit-function-declaration]
            SHA_Update( &context, key, (unsigned long)keysize );
            ^
md_control.c:3264:13: warning: implicit declaration of function 'SHA_Final' is invalid in C99 [-Wimplicit-function-declaration]
            SHA_Final( &( digest[0] ), &context );
            ^
md_control.c:3272:26: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
            osi_strlcpy( buffer, checksum, buffer_size );
                         ^~~~~~
./../src/libosiris/utilities.h:73:27: note: passing argument to parameter 'dst' here
size_t osi_strlcpy( char *dst, const char *src, size_t nchars );
                          ^
15 warnings generated.
source='md_compare.c' object='md_compare.o' libtool=no  depfile='.deps/md_compare.Po' tmpdepfile='.deps/md_compare.TPo'  depmode=gcc3 /bin/sh ../../depcomp  /nxb-bin/usr/bin/cc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src  -I../../src/libosiris  -I../../src/libfileapi  -I../../src/libosirisctl  -I../../src/libosirisdb  -I../../src/libosirism  -I../../src/db-4.2.52/build_unix   -I/usr/local/include  -Wall -O2 -pipe  -fno-strict-aliasing -c `test -f 'md_compare.c' || echo './'`md_compare.c
source='md_log.c' object='md_log.o' libtool=no  depfile='.deps/md_log.Po' tmpdepfile='.deps/md_log.TPo'  depmode=gcc3 /bin/sh ../../depcomp  /nxb-bin/usr/bin/cc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src  -I../../src/libosiris  -I../../src/libfileapi  -I../../src/libosirisctl  -I../../src/libosirisdb  -I../../src/libosirism  -I../../src/db-4.2.52/build_unix   -I/usr/local/include  -Wall -O2 -pipe  -fno-strict-aliasing -c `test -f 'md_log.c' || echo './'`md_log.c
md_log.c:198:23: warning: comparison of array 'directory.filename' not equal to a null pointer is always true [-Wtautological-pointer-compare]
        if( directory.filename != NULL )
            ~~~~~~~~~~^~~~~~~~    ~~~~
1 warning generated.
source='md_schedule.c' object='md_schedule.o' libtool=no  depfile='.deps/md_schedule.Po' tmpdepfile='.deps/md_schedule.TPo'  depmode=gcc3 /bin/sh ../../depcomp  /nxb-bin/usr/bin/cc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src  -I../../src/libosiris  -I../../src/libfileapi  -I../../src/libosirisctl  -I../../src/libosirisdb  -I../../src/libosirism  -I../../src/db-4.2.52/build_unix   -I/usr/local/include  -Wall -O2 -pipe  -fno-strict-aliasing -c `test -f 'md_schedule.c' || echo './'`md_schedule.c
md_schedule.c:108:9: warning: unused variable 'result' [-Wunused-variable]
    int result;
        ^
md_schedule.c:210:1: warning: unused label 'exit_gracefully' [-Wunused-label]
exit_gracefully:
^~~~~~~~~~~~~~~~
2 warnings generated.
source='md_scan.c' object='md_scan.o' libtool=no  depfile='.deps/md_scan.Po' tmpdepfile='.deps/md_scan.TPo'  depmode=gcc3 /bin/sh ../../depcomp  /nxb-bin/usr/bin/cc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src  -I../../src/libosiris  -I../../src/libfileapi  -I../../src/libosirisctl  -I../../src/libosirisdb  -I../../src/libosirism  -I../../src/db-4.2.52/build_unix   -I/usr/local/include  -Wall -O2 -pipe  -fno-strict-aliasing -c `test -f 'md_scan.c' || echo './'`md_scan.c
md_scan.c:607:14: warning: comparison of array 'cfg->id' not equal to a null pointer is always true [-Wtautological-pointer-compare]
    if( cfg->id != NULL )
        ~~~~~^~    ~~~~
md_scan.c:610:57: warning: passing 'unsigned char [10]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
                                       cfg->id, strlen( cfg->id ) );
                                                        ^~~~~~~
/usr/include/string.h:97:28: note: passing argument to parameter here
size_t   strlen(const char *) __pure;
                            ^
md_scan.c:613:14: warning: comparison of array 'cfg->name' not equal to a null pointer is always true [-Wtautological-pointer-compare]
    if( cfg->name != NULL )
        ~~~~~^~~~    ~~~~
3 warnings generated.
source='md_auth.c' object='md_auth.o' libtool=no  depfile='.deps/md_auth.Po' tmpdepfile='.deps/md_auth.TPo'  depmode=gcc3 /bin/sh ../../depcomp  /nxb-bin/usr/bin/cc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src  -I../../src/libosiris  -I../../src/libfileapi  -I../../src/libosirisctl  -I../../src/libosirisdb  -I../../src/libosirism  -I../../src/db-4.2.52/build_unix   -I/usr/local/include  -Wall -O2 -pipe  -fno-strict-aliasing -c `test -f 'md_auth.c' || echo './'`md_auth.c
md_auth.c:245:9: warning: comparison of array 'auth_db_path' equal to a null pointer is always false [-Wtautological-pointer-compare]
    if( auth_db_path == NULL )
        ^~~~~~~~~~~~    ~~~~
1 warning generated.
source='md_utilities.c' object='md_utilities.o' libtool=no  depfile='.deps/md_utilities.Po' tmpdepfile='.deps/md_utilities.TPo'  depmode=gcc3 /bin/sh ../../depcomp  /nxb-bin/usr/bin/cc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src  -I../../src/libosiris  -I../../src/libfileapi  -I../../src/libosirisctl  -I../../src/libosirisdb  -I../../src/libosirism  -I../../src/db-4.2.52/build_unix   -I/usr/local/include  -Wall -O2 -pipe  -fno-strict-aliasing -c `test -f 'md_utilities.c' || echo './'`md_utilities.c
md_utilities.c:66:17: warning: address of array 'config->hosts_directory' will always evaluate to 'true' [-Wpointer-bool-conversion]
    if( config->hosts_directory && strlen( config->hosts_directory ) )
        ~~~~~~~~^~~~~~~~~~~~~~~ ~~
md_utilities.c:383:45: warning: passing 'unsigned char [41]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
            osi_strlcpy( host->session_key, checksum,
                                            ^~~~~~~~
./../src/libosiris/utilities.h:73:44: note: passing argument to parameter 'src' here
size_t osi_strlcpy( char *dst, const char *src, size_t nchars );
                                           ^
md_utilities.c:393:40: warning: passing 'unsigned char [41]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        if( strcmp( host->session_key, checksum ) == 0 )
                                       ^~~~~~~~
/usr/include/string.h:82:39: note: passing argument to parameter here
int      strcmp(const char *, const char *) __pure;
                                          ^
md_utilities.c:475:45: warning: passing 'unsigned char [41]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
            osi_strlcpy( host->session_key, checksum,
                                            ^~~~~~~~
./../src/libosiris/utilities.h:73:44: note: passing argument to parameter 'src' here
size_t osi_strlcpy( char *dst, const char *src, size_t nchars );
                                           ^
md_utilities.c:685:18: warning: comparison of array 'config->notify_app' equal to a null pointer is always false [-Wtautological-pointer-compare]
    if ( config->notify_app == NULL || strlen(config->notify_app) == 0 )
         ~~~~~~~~^~~~~~~~~~    ~~~~
5 warnings generated.
source='md_notify.c' object='md_notify.o' libtool=no  depfile='.deps/md_notify.Po' tmpdepfile='.deps/md_notify.TPo'  depmode=gcc3 /bin/sh ../../depcomp  /nxb-bin/usr/bin/cc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src  -I../../src/libosiris  -I../../src/libfileapi  -I../../src/libosirisctl  -I../../src/libosirisdb  -I../../src/libosirism  -I../../src/db-4.2.52/build_unix   -I/usr/local/include  -Wall -O2 -pipe  -fno-strict-aliasing -c `test -f 'md_notify.c' || echo './'`md_notify.c
md_notify.c:662:20: warning: address of array 'config->notify_app' will always evaluate to 'true' [-Wpointer-bool-conversion]
    if ( ( config->notify_app ) && ( strlen( config->notify_app ) > 0 ) )
           ~~~~~~~~^~~~~~~~~~   ~~
1 warning generated.
source='md_http.c' object='md_http.o' libtool=no  depfile='.deps/md_http.Po' tmpdepfile='.deps/md_http.TPo'  depmode=gcc3 /bin/sh ../../depcomp  /nxb-bin/usr/bin/cc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src  -I../../src/libosiris  -I../../src/libfileapi  -I../../src/libosirisctl  -I../../src/libosirisdb  -I../../src/libosirism  -I../../src/db-4.2.52/build_unix   -I/usr/local/include  -Wall -O2 -pipe  -fno-strict-aliasing -c `test -f 'md_http.c' || echo './'`md_http.c
md_http.c:419:16: warning: equality comparison with extraneous parentheses [-Wparentheses-equality]
    if( ( user == NULL ) )
          ~~~~~^~~~~~~
md_http.c:419:16: note: remove extraneous parentheses around the comparison to silence this warning
    if( ( user == NULL ) )
        ~~     ^       ~~
md_http.c:419:16: note: use '=' to turn this equality comparison into an assignment
    if( ( user == NULL ) )
               ^~
               =
md_http.c:426:5: warning: implicit declaration of function 'sha1_buffer' is invalid in C99 [-Wimplicit-function-declaration]
    sha1_buffer( pass, strlen( pass), buf, sizeof(buf) );
    ^
2 warnings generated.
source='md_filter.c' object='md_filter.o' libtool=no  depfile='.deps/md_filter.Po' tmpdepfile='.deps/md_filter.TPo'  depmode=gcc3 /bin/sh ../../depcomp  /nxb-bin/usr/bin/cc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src  -I../../src/libosiris  -I../../src/libfileapi  -I../../src/libosirisctl  -I../../src/libosirisdb  -I../../src/libosirism  -I../../src/db-4.2.52/build_unix   -I/usr/local/include  -Wall -O2 -pipe  -fno-strict-aliasing -c `test -f 'md_filter.c' || echo './'`md_filter.c
md_filter.c:105:37: warning: passing 'unsigned char [256]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        unpack_cmp_filter( &filter, buffer, sizeof( buffer ) );
                                    ^~~~~~
./../src/libosirism/cmp_filter.h:52:55: note: passing argument to parameter 'buffer' here
void unpack_cmp_filter( OSI_CMP_FILTER *filter, char *buffer,
                                                      ^
md_filter.c:202:37: warning: passing 'unsigned char [256]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        unpack_cmp_filter( &filter, buffer, sizeof( buffer ) );
                                    ^~~~~~
./../src/libosirism/cmp_filter.h:52:55: note: passing argument to parameter 'buffer' here
void unpack_cmp_filter( OSI_CMP_FILTER *filter, char *buffer,
                                                      ^
2 warnings generated.
source='logging.c' object='logging.o' libtool=no  depfile='.deps/logging.Po' tmpdepfile='.deps/logging.TPo'  depmode=gcc3 /bin/sh ../../depcomp  /nxb-bin/usr/bin/cc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src  -I../../src/libosiris  -I../../src/libfileapi  -I../../src/libosirisctl  -I../../src/libosirisdb  -I../../src/libosirism  -I../../src/db-4.2.52/build_unix   -I/usr/local/include  -Wall -O2 -pipe  -fno-strict-aliasing -c `test -f 'logging.c' || echo './'`logging.c
source='windows_service.c' object='windows_service.o' libtool=no  depfile='.deps/windows_service.Po' tmpdepfile='.deps/windows_service.TPo'  depmode=gcc3 /bin/sh ../../depcomp  /nxb-bin/usr/bin/cc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src  -I../../src/libosiris  -I../../src/libfileapi  -I../../src/libosirisctl  -I../../src/libosirisdb  -I../../src/libosirism  -I../../src/db-4.2.52/build_unix   -I/usr/local/include  -Wall -O2 -pipe  -fno-strict-aliasing -c `test -f 'windows_service.c' || echo './'`windows_service.c
/nxb-bin/usr/bin/cc  -Wall -O2 -pipe  -fno-strict-aliasing  -L/usr/local/lib -o osirismd  osirismd.o md_hosts.o  md_database.o md_config.o md_control.o  md_compare.o md_log.o md_schedule.o  md_scan.o md_auth.o md_utilities.o  md_notify.o md_http.o md_filter.o  logging.o windows_service.o -L../../src/libfileapi -lfileapi  -L../../src/libosirisctl -losirisctl  -L../../src/libosirisdb -losirisdb  -L../../src/libosirism -losirism  -L../../src/libosiris -losiris  -L../../src/db-4.2.52/build_unix -ldb -lpthread  -lssl -lcrypto
md_control.o: In function `generate_session_key_hash':
md_control.c:(.text+0x3968): undefined reference to `SHA_Init'
md_control.c:(.text+0x3978): undefined reference to `SHA_Update'
md_control.c:(.text+0x3988): undefined reference to `SHA_Final'
cc: error: linker command failed with exit code 1 (use -v to see invocation)
*** Error code 1

Stop.
make[4]: stopped in /wrkdirs/usr/ports/security/osiris/work/osiris-4.2.3/src/osirismd
*** Error code 1

Stop.
make[3]: stopped in /wrkdirs/usr/ports/security/osiris/work/osiris-4.2.3/src
*** Error code 1

Stop.
make[2]: stopped in /wrkdirs/usr/ports/security/osiris/work/osiris-4.2.3
*** Error code 1

Stop.
make[1]: stopped in /wrkdirs/usr/ports/security/osiris/work/osiris-4.2.3
*** Error code 1

Stop.
make: stopped in /usr/ports/security/osiris



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