Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 23 Feb 2019 15:53:42 GMT
From:      pkg-fallout@FreeBSD.org
To:        pkg-fallout@FreeBSD.org
Subject:   [package - head-i386-default][security/osiris] Failed for osiris-4.2.3_3 in build
Message-ID:  <201902231553.x1NFrgmi086348@beefy11.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://beefy11.nyi.freebsd.org/data/head-i386-default/p493484_s344398/logs/osiris-4.2.3_3.log
Build URL:      http://beefy11.nyi.freebsd.org/build.html?mastername=head-i386-default&build=p493484_s344398
Log:

=>> Building security/osiris
build started at Sat Feb 23 15:51:32 UTC 2019
port directory: /usr/ports/security/osiris
package name: osiris-4.2.3_3
building for: FreeBSD head-i386-default-job-09 13.0-CURRENT FreeBSD 13.0-CURRENT 1300013 i386
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: 1300013
Job Id: 09




!!! Jail is newer than host. (Jail: 1300013, 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=i386
UNAME_m=i386
OSVERSION=1300013
UNAME_v=FreeBSD 13.0-CURRENT 1300013
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
USER=root
LIBEXECPREFIX=/usr/local/libexec/poudriere
POUDRIERE_VERSION=3.2.8-3-g02cc9753
MASTERMNT=/usr/local/poudriere/data/.m/head-i386-default/ref
POUDRIERE_BUILD_TYPE=bulk
PACKAGE_BUILDING=yes
SAVED_TERM=
PWD=/usr/local/poudriere/data/.m/head-i386-default/ref/.p/pool
P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS
MASTERNAME=head-i386-default
SCRIPTPREFIX=/usr/local/share/poudriere
OLDPWD=/usr/local/poudriere/data/.m/head-i386-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="cc" CFLAGS="-O2 -pipe  -fstack-protector -fno-strict-aliasing "  CPP="cpp" CPPFLAGS="-I/usr/local/include"  LDFLAGS=" -L/usr/local/lib  -fstack-protector " LIBS=""  CXX="c++" CXXFLAGS="-O2 -pipe -fstack-protector -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---
USE_PACKAGE_DEPENDS=yes
BATCH=yes
WRKDIRPREFIX=/wrkdirs
PORTSDIR=/usr/ports
PACKAGES=/packages
DISTDIR=/distfiles
PACKAGE_BUILDING=yes
PACKAGE_BUILDING_FLAVORS=yes
MACHINE=i386
MACHINE_ARCH=i386
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_921dbbb2=FreeBSD clang version 7.0.1 (tags/RELEASE_701/final 349250) (based on LLVM 7.0.1) Target: i386-unknown-freebsd13.0 Thread model: posix InstalledDir: /usr/bin
_ALTCCVERSION_921dbbb2=none
_CXXINTERNAL_acaad9ca=FreeBSD clang version 7.0.1 (tags/RELEASE_701/final 349250) (based on LLVM 7.0.1) Target: i386-unknown-freebsd13.0 Thread model: posix InstalledDir: /usr/bin "/usr/bin/ld" "--eh-frame-hdr" "-dynamic-linker" "/libexec/ld-elf.so.1" "--hash-style=both" "--enable-new-dtags" "-m" "elf_i386_fbsd" "-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_921dbbb2_58173849=yes
CC_OUTPUT_921dbbb2_9bdba57c=yes
CC_OUTPUT_921dbbb2_6a4fe7f5=yes
CC_OUTPUT_921dbbb2_6bcac02b=yes
CC_OUTPUT_921dbbb2_67d20829=yes
CC_OUTPUT_921dbbb2_bfa62e83=yes
CC_OUTPUT_921dbbb2_f0b4d593=yes
CC_OUTPUT_921dbbb2_308abb44=yes
CC_OUTPUT_921dbbb2_f00456e5=yes
CC_OUTPUT_921dbbb2_65ad290d=yes
CC_OUTPUT_921dbbb2_f2776b26=yes
CC_OUTPUT_921dbbb2_b2657cc3=yes
CC_OUTPUT_921dbbb2_380987f7=yes
CC_OUTPUT_921dbbb2_160933ec=yes
CC_OUTPUT_921dbbb2_fb62803b=yes
_OBJC_CCVERSION_921dbbb2=FreeBSD clang version 7.0.1 (tags/RELEASE_701/final 349250) (based on LLVM 7.0.1) Target: i386-unknown-freebsd13.0 Thread model: posix InstalledDir: /usr/bin
_OBJC_ALTCCVERSION_921dbbb2=none
ARCH=i386
OPSYS=FreeBSD
_OSRELEASE=13.0-CURRENT
OSREL=13.0
OSVERSION=1300013
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---
--Resource limits--
cpu time               (seconds, -t)  unlimited
file size           (512-blocks, -f)  unlimited
data seg size           (kbytes, -d)  524288
stack size              (kbytes, -s)  65536
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

More information about port maintainership is available at:

https://www.freebsd.org/doc/en/articles/contributing/ports-contributing.html#maintain-port

===========================================================================
=======================<phase: pkg-depends    >============================
===>   osiris-4.2.3_3 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-1.10.5_5.txz
[head-i386-default-job-09] Installing pkg-1.10.5_5...
[head-i386-default-job-09] Extracting pkg-1.10.5_5: .......... done
===>   osiris-4.2.3_3 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of osiris-4.2.3_3
===========================================================================
=======================<phase: fetch-depends  >============================
===========================================================================
=======================<phase: fetch          >============================
===>   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:
<snip>
    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  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  -fstack-protector -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  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  -fstack-protector -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  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  -fstack-protector -fno-strict-aliasing -c `test -f 'md_schedule.c' || echo './'`md_schedule.c
md_schedule.c:210:1: warning: unused label 'exit_gracefully' [-Wunused-label]
exit_gracefully:
^~~~~~~~~~~~~~~~
md_schedule.c:108:9: warning: unused variable 'result' [-Wunused-variable]
    int result;
        ^
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  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  -fstack-protector -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  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  -fstack-protector -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  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  -fstack-protector -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  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  -fstack-protector -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  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  -fstack-protector -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  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  -fstack-protector -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  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  -fstack-protector -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  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  -fstack-protector -fno-strict-aliasing -c `test -f 'windows_service.c' || echo './'`windows_service.c
cc  -Wall -O2 -pipe  -fstack-protector -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
ld: error: undefined symbol: SHA_Init
>>> referenced by md_control.c
>>>               md_control.o:(generate_session_key_hash)

ld: error: undefined symbol: SHA_Update
>>> referenced by md_control.c
>>>               md_control.o:(generate_session_key_hash)

ld: error: undefined symbol: SHA_Final
>>> referenced by md_control.c
>>>               md_control.o:(generate_session_key_hash)
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?201902231553.x1NFrgmi086348>