[exp - 112amd64-default-build-as-user][security/ossec-hids-local-config] Failed for ossec-hids-local-config-3.1.0 in stage
pkg-fallout at FreeBSD.org
pkg-fallout at FreeBSD.org
Tue Nov 27 18:50:22 UTC 2018
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: dominik.lisiak at bemsoft.pl
Last committer: swills at FreeBSD.org
Ident: $FreeBSD: head/security/ossec-hids-local-config/Makefile 484537 2018-11-09 18:52:21Z swills $
Log URL: http://package19.nyi.freebsd.org/data/112amd64-default-build-as-user/485969/logs/ossec-hids-local-config-3.1.0.log
Build URL: http://package19.nyi.freebsd.org/build.html?mastername=112amd64-default-build-as-user&build=485969
Log:
=>> Building security/ossec-hids-local-config
build started at Tue Nov 27 18:50:16 UTC 2018
port directory: /usr/ports/security/ossec-hids-local-config
package name: ossec-hids-local-config-3.1.0
building for: FreeBSD 112amd64-default-build-as-user-job-08 11.2-RELEASE-p4 FreeBSD 11.2-RELEASE-p4 amd64
maintained by: dominik.lisiak at bemsoft.pl
Makefile ident: $FreeBSD: head/security/ossec-hids-local-config/Makefile 484537 2018-11-09 18:52:21Z swills $
Poudriere version: 3.2.8
Host OSVERSION: 1300002
Jail OSVERSION: 1102000
Job Id: 08
---Begin Environment---
SHELL=/bin/csh
OSVERSION=1102000
UNAME_v=FreeBSD 11.2-RELEASE-p4
UNAME_r=11.2-RELEASE-p4
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
MASTERMNT=/poudriere/data/.m/112amd64-default-build-as-user/ref
POUDRIERE_BUILD_TYPE=bulk
PACKAGE_BUILDING=yes
SAVED_TERM=
GID=0
UID=0
PWD=/poudriere/data/.m/112amd64-default-build-as-user/ref/.p/pool
P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS
MASTERNAME=112amd64-default-build-as-user
SCRIPTPREFIX=/usr/local/share/poudriere
OLDPWD=/poudriere/data/.m/112amd64-default-build-as-user/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 ossec-hids-local-config-3.1.0:
====> Alerting Rules
DEFAULT_R=on: Rules provided by OSSEC
CONFIG_R=on: Alert changes of the OSSEC main configuration files
CMDOUT_R=on: Alert changes of output of the monitored commands
====> Active Response
DEFAULT_C=on: Commands provided by OSSEC
MERGE_C=on: Commands to merge configuration files
MERGE_AR=on: Merge configuration files when they change
RESTART_AR=on: Restart OSSEC when main configuration files change
HOSTDENY_AR=off: Block the attacker's IP using access control files
FWDROP_AR=off: Block the attacker's IP on the firewall
====> System Audit and Rootkit Detection (rootcheck)
BASIC_RC=on: Basic audit and rootkits
====> File Integrity Checking (syscheck)
BASIC_SC=on: "bin", "sbin" and "etc"
OSSEC_SC=on: OSSEC directories
NEWFILES_SC=on: Alert on new files created
NOAUTO_SC=on: Disable auto_ignore feature
====> Command Output Monitoring
LOGINS=on: Last logins
PORTS_TCP=on: Open TCP ports
PORTS_UDP=on: Open UDP ports
====> Log Monitoring
BASIC=on: Default system logs
OSSEC=on: Active response logs
APACHE=off: Apache logs
NGINX=off: Nginx logs
RADIUS=off: FreeRADIUS logs
VSFTPD=off: Vsftpd logs
====> Active Response Firewall: you have to select exactly one of them
IPF=on: ipfilter
IPFW=off: ipfirewall
PF=off: Packet Filter
===> Use 'make config' to modify these settings
---End OPTIONS List---
--MAINTAINER--
dominik.lisiak at bemsoft.pl
--End MAINTAINER--
--CONFIGURE_ARGS--
--End CONFIGURE_ARGS--
--CONFIGURE_ENV--
XDG_DATA_HOME=/wrkdirs/usr/ports/security/ossec-hids-local-config/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/security/ossec-hids-local-config/work HOME=/wrkdirs/usr/ports/security/ossec-hids-local-config/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/security/ossec-hids-local-config/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin SHELL=/bin/sh CONFIG_SHELL=/bin/sh
--End CONFIGURE_ENV--
--MAKE_ENV--
XDG_DATA_HOME=/wrkdirs/usr/ports/security/ossec-hids-local-config/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/security/ossec-hids-local-config/work HOME=/wrkdirs/usr/ports/security/ossec-hids-local-config/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/security/ossec-hids-local-config/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="" LDFLAGS=" -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--
OSSEC_HOME=/usr/local/ossec-hids APACHE="@comment " NO_APACHE="" BASIC="" NO_BASIC="@comment " BASIC_RC="" NO_BASIC_RC="@comment " BASIC_SC="" NO_BASIC_SC="@comment " CMDOUT_R="" NO_CMDOUT_R="@comment " CONFIG_R="" NO_CONFIG_R="@comment " DEFAULT_C="" NO_DEFAULT_C="@comment " DEFAULT_R="" NO_DEFAULT_R="@comment " FWDROP_AR="@comment " NO_FWDROP_AR="" HOSTDENY_AR="@comment " NO_HOSTDENY_AR="" IPF="" NO_IPF="@comment " IPFW="@comment " NO_IPFW="" LOGINS="" NO_LOGINS="@comment " MERGE_AR="" NO_MERGE_AR="@comment " MERGE_C="" NO_MERGE_C="@comment " NEWFILES_SC="" NO_NEWFILES_SC="@comment " NGINX="@comment " NO_NGINX="" NOAUTO_SC="" NO_NOAUTO_SC="@comment " OSSEC="" NO_OSSEC="@comment " OSSEC_SC="" NO_OSSEC_SC="@comment " PF="@comment " NO_PF="" PORTS_TCP="" NO_PORTS_TCP="@comment " PORTS_UDP="" NO_PORTS_UDP="@comment " RADIUS="@comment " NO_RADIUS="" RESTART_AR="" NO_RESTART_AR="@comment " VSFTPD="@comment " NO_VSFTPD="" OSREL=11.2 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local L
IB32DIR=lib DOCSDIR="share/doc/ossec-hids" EXAMPLESDIR="share/examples/ossec-hids" DATADIR="share/ossec-hids" WWWDIR="www/ossec-hids" ETCDIR="etc/ossec-hids"
--End PLIST_SUB--
--SUB_LIST--
PORTNAME=ossec-hids OSSEC_TYPE=local OSSEC_HOME=/usr/local/ossec-hids VERSION=3.1.0 USER=root OSSEC_USER=ossec OSSEC_GROUP=ossec OSSEC_RC=/usr/local/etc/rc.d/ossec-hids FW_DROP=ipfilter.sh ROOTCHECK_BASIC_PROFILE=basic ROOTCHECK_CIS_PROFILE=cis ROOTCHECK_CIS_L1_PROFILE=cis-level1 ROOTCHECK_CIS_L2_PROFILE=cis-level2 SYSCHECK_BASIC_PROFILE=basic SYSCHECK_OSSEC_PROFILE=ossec LOGS_BASIC_PROFILE=basic LOGS_OSSEC_PROFILE=ossec LOGS_APACHE_PROFILE=apache LOGS_NGINX_PROFILE=nginx LOGS_RADIUS_PROFILE=radius LOGS_VSFTPD_PROFILE=vsftpd CONFIG_PROFILES="" APACHE="@comment " NO_APACHE="" BASIC="" NO_BASIC="@comment " BASIC_RC="" NO_BASIC_RC="@comment " BASIC_SC="" NO_BASIC_SC="@comment " CMDOUT_R="" NO_CMDOUT_R="@comment " CONFIG_R="" NO_CONFIG_R="@comment " DEFAULT_C="" NO_DEFAULT_C="@comment " DEFAULT_R="" NO_DEFAULT_R="@comment " FWDROP_AR="@comment " NO_FWDROP_AR="" HOSTDENY_AR="@comment " NO_HOSTDENY_AR="" IPF="" NO_IPF="@comment " IPFW="@comment " NO_IPFW="" LOGINS="" NO_LOGINS="@co
mment " MERGE_AR="" NO_MERGE_AR="@comment " MERGE_C="" NO_MERGE_C="@comment " NEWFILES_SC="" NO_NEWFILES_SC="@comment " NGINX="@comment " NO_NGINX="" NOAUTO_SC="" NO_NOAUTO_SC="@comment " OSSEC="" NO_OSSEC="@comment " OSSEC_SC="" NO_OSSEC_SC="@comment " PF="@comment " NO_PF="" PORTS_TCP="" NO_PORTS_TCP="@comment " PORTS_UDP="" NO_PORTS_UDP="@comment " RADIUS="@comment " NO_RADIUS="" RESTART_AR="" NO_RESTART_AR="@comment " VSFTPD="@comment " NO_VSFTPD="" PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/ossec-hids DOCSDIR=/usr/local/share/doc/ossec-hids EXAMPLESDIR=/usr/local/share/examples/ossec-hids WWWDIR=/usr/local/www/ossec-hids ETCDIR=/usr/local/etc/ossec-hids
--End SUB_LIST--
---Begin make.conf---
USE_PACKAGE_DEPENDS=yes
BATCH=yes
WRKDIRPREFIX=/wrkdirs
PORTSDIR=/usr/ports
PACKAGES=/packages
DISTDIR=/distfiles
FORCE_PACKAGE=yes
PACKAGE_BUILDING=yes
PACKAGE_BUILDING_FLAVORS=yes
#### /usr/local/etc/poudriere.d/make.conf ####
# 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 6.0.0 (tags/RELEASE_600/final 326565) (based on LLVM 6.0.0) Target: x86_64-unknown-freebsd11.2 Thread model: posix InstalledDir: /usr/bin
_ALTCCVERSION_921dbbb2=none
_CXXINTERNAL_acaad9ca=FreeBSD clang version 6.0.0 (tags/RELEASE_600/final 326565) (based on LLVM 6.0.0) Target: x86_64-unknown-freebsd11.2 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" "-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 6.0.0 (tags/RELEASE_600/final 326565) (based on LLVM 6.0.0) Target: x86_64-unknown-freebsd11.2 Thread model: posix InstalledDir: /usr/bin
_OBJC_ALTCCVERSION_921dbbb2=none
ARCH=amd64
OPSYS=FreeBSD
_OSRELEASE=11.2-RELEASE-p4
OSREL=11.2
OSVERSION=1102000
PYTHONBASE=/usr/local
HAVE_COMPAT_IA32_KERN=YES
CONFIGURE_MAX_CMD_LEN=262144
HAVE_PORTS_ENV=1
#### Misc Poudriere ####
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) 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 >============================
===> License GPLv2 accepted by the user
===========================================================================
=======================<phase: pkg-depends >============================
===> ossec-hids-local-config-3.1.0 depends on file: /usr/local/sbin/pkg - not found
===> Installing existing package /packages/All/pkg-1.10.5_5.txz
[112amd64-default-build-as-user-job-08] Installing pkg-1.10.5_5...
[112amd64-default-build-as-user-job-08] Extracting pkg-1.10.5_5: .......... done
===> ossec-hids-local-config-3.1.0 depends on file: /usr/local/sbin/pkg - found
===> Returning to build of ossec-hids-local-config-3.1.0
===========================================================================
=======================<phase: fetch-depends >============================
===========================================================================
=======================<phase: fetch >============================
===> License GPLv2 accepted by the user
===> Fetching all distfiles required by ossec-hids-local-config-3.1.0 for building
===========================================================================
=======================<phase: checksum >============================
===> License GPLv2 accepted by the user
===> Fetching all distfiles required by ossec-hids-local-config-3.1.0 for building
===========================================================================
=======================<phase: extract-depends>============================
===========================================================================
=======================<phase: extract >============================
===> License GPLv2 accepted by the user
===> Fetching all distfiles required by ossec-hids-local-config-3.1.0 for building
===> Extracting for ossec-hids-local-config-3.1.0
===========================================================================
=======================<phase: patch-depends >============================
===========================================================================
=======================<phase: patch >============================
===> Patching for ossec-hids-local-config-3.1.0
===========================================================================
=======================<phase: build-depends >============================
===========================================================================
=======================<phase: lib-depends >============================
===========================================================================
=======================<phase: configure >============================
===> Configuring for ossec-hids-local-config-3.1.0
===========================================================================
=======================<phase: build >============================
===========================================================================
=======================<phase: run-depends >============================
===> ossec-hids-local-config-3.1.0 depends on package: ossec-hids-local>=3.1.0 - not found
===> Installing existing package /packages/All/ossec-hids-local-3.1.0.txz
[112amd64-default-build-as-user-job-08] Installing ossec-hids-local-3.1.0...
[112amd64-default-build-as-user-job-08] `-- Installing expect-5.45.4_1,1...
[112amd64-default-build-as-user-job-08] | `-- Installing tcl86-8.6.9...
[112amd64-default-build-as-user-job-08] | `-- Extracting tcl86-8.6.9: .......... done
[112amd64-default-build-as-user-job-08] `-- Extracting expect-5.45.4_1,1: .......... done
[112amd64-default-build-as-user-job-08] `-- Installing libinotify-20180201...
[112amd64-default-build-as-user-job-08] `-- Extracting libinotify-20180201: .......... done
[112amd64-default-build-as-user-job-08] `-- Installing readline-7.0.3_2...
[112amd64-default-build-as-user-job-08] | `-- Installing indexinfo-0.3.1...
[112amd64-default-build-as-user-job-08] | `-- Extracting indexinfo-0.3.1: .... done
[112amd64-default-build-as-user-job-08] `-- Extracting readline-7.0.3_2: .......... done
===> Creating groups.
Creating group 'ossec' with gid '966'.
===> Creating users
Creating user 'ossec' with uid '966'.
Creating user 'ossecm' with uid '967'.
Creating user 'ossecr' with uid '968'.
[112amd64-default-build-as-user-job-08] Extracting ossec-hids-local-3.1.0: ......... done
Message from expect-5.45.4_1,1:
To avoid conflicts, example scripts and man pages have been renamed by
prefixing them with "expect_".
They are in /usr/local/bin and /usr/local/man/man1, respectively.
Message from libinotify-20180201:
============================================================================
Libinotify functionality on FreeBSD is missing support for
- detecting a file being moved into or out of a directory within the
same filesystem
- certain modifications to a symbolic link (rather than the
file it points to.)
in addition to the known limitations on all platforms using kqueue(2)
where various open and close notifications are unimplemented.
This means the following regression tests will fail:
Directory notifications:
IN_MOVED_FROM
IN_MOVED_TO
Open/close notifications:
IN_OPEN
IN_CLOSE_NOWRITE
IN_CLOSE_WRITE
Symbolic Link notifications:
IN_DONT_FOLLOW
IN_ATTRIB
IN_MOVE_SELF
IN_DELETE_SELF
Kernel patches to address the missing directory and symbolic link
notifications are available from:
https://github.com/libinotify-kqueue/libinotify-kqueue/tree/master/patches
=============================================================================
You might want to consider increasing the kern.maxfiles tunable if you plan
to use this library for applications that need to monitor activity of a lot
of files.
If the default on your system is too low, add the following line to
/boot/loader.conf, then reboot the system:
kern.maxfiles="25000"
=============================================================================
Message from ossec-hids-local-3.1.0:
All the files related to OSSEC have been installed in:
/usr/local/ossec-hids
You need to create main configuration file:
/usr/local/ossec-hids/etc/ossec.conf
For information on proper configuration see:
https://www.ossec.net/docs/syntax/ossec_config.html
To enable the startup script add ossec_hids_enable="YES" to /etc/rc.conf.
If you intend to use "firewall-drop" active response on this OSSEC instance
create the script:
/usr/local/ossec-hids/active-response/bin/firewall-drop.sh
You can copy or hard link (symbolic link is not supported) one of the scripts
already provided by OSSEC:
/usr/local/ossec-hids/active-response/bin/ipfilter.sh
/usr/local/ossec-hids/active-response/bin/ipfw.sh
/usr/local/ossec-hids/active-response/bin/pf.sh
For further steps see the documentation:
https://www.ossec.net/docs/syntax/head_ossec_config.active-response.html
Consider installing "security/ossec-hids-local-config" to ease
OSSEC configuration.
For additional help execute:
# /usr/local/etc/rc.d/ossec-hids help
===> ossec-hids-local-config-3.1.0 depends on package: ossec-hids-local>=3.1.0 - found
===> Returning to build of ossec-hids-local-config-3.1.0
===========================================================================
=======================<phase: stage >============================
===> Staging for ossec-hids-local-config-3.1.0
===> Generating temporary packing list
chmod: /wrkdirs/usr/ports/security/ossec-hids-local-config/work/stage/usr/local/ossec-hids/etc/ossec.conf.d/disabled/500.rules.local.conf: Permission denied
chmod: /wrkdirs/usr/ports/security/ossec-hids-local-config/work/stage/usr/local/ossec-hids/etc/ossec.conf.d/disabled/510.active-response.local.conf: Permission denied
chmod: /wrkdirs/usr/ports/security/ossec-hids-local-config/work/stage/usr/local/ossec-hids/etc/ossec.conf.d/disabled/520.rootcheck.local.conf: Permission denied
chmod: /wrkdirs/usr/ports/security/ossec-hids-local-config/work/stage/usr/local/ossec-hids/etc/ossec.conf.d/disabled/530.syscheck.local.conf: Permission denied
chmod: /wrkdirs/usr/ports/security/ossec-hids-local-config/work/stage/usr/local/ossec-hids/etc/ossec.conf.d/disabled/540.command-output.local.conf: Permission denied
chmod: /wrkdirs/usr/ports/security/ossec-hids-local-config/work/stage/usr/local/ossec-hids/etc/ossec.conf.d/disabled/550.logs.local.conf: Permission denied
*** Error code 1 (ignored)
*** Error code 1 (ignored)
*** Error code 1 (ignored)
*** Error code 1
Stop.
make: stopped in /usr/ports/security/ossec-hids-local-config
More information about the freebsd-pkg-fallout
mailing list