------------------------------------------------------------------------------- -- Phase: setup ------------------------------------------------------------------------------- Installing /packages/All/perl5-5.30.1.txz pkg: Cannot runscript POST-INSTALL:Bad file descriptor ===== Message from perl5-5.30.1: -- The /usr/bin/perl symlink has been removed starting with Perl 5.20. For shebangs, you should either use: #!/usr/local/bin/perl or #!/usr/bin/env perl The first one will only work if you have a /usr/local/bin/perl, the second will work as long as perl is in PATH. Installing /packages/All/bglibs-2.04_1,1.txz pkg: Cannot runscript POST-INSTALL:Bad file descriptor Installing /packages/All/cvm-0.97.txz pkg: Cannot runscript POST-INSTALL:Bad file descriptor Installing /packages/All/ncurses-6.1.20190525.txz pkg: Cannot runscript POST-INSTALL:Bad file descriptor Installing /packages/All/libedit-3.1.20191211,1.txz pkg: Cannot runscript POST-INSTALL:Bad file descriptor Installing /packages/All/lua51-5.1.5_9.txz pkg: Cannot runscript POST-INSTALL:Bad file descriptor SUCCEEDED 00:00:04 ------------------------------------------------------------------------------- -- Phase: check-sanity ------------------------------------------------------------------------------- SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: pkg-depends ------------------------------------------------------------------------------- ===> mailfront-2.22 depends on file: /usr/local/sbin/pkg - found SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: fetch-depends ------------------------------------------------------------------------------- SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: fetch ------------------------------------------------------------------------------- ===> mailfront-2.22 depends on file: /usr/local/sbin/pkg - found ===> Fetching all distfiles required by mailfront-2.22 for building SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: checksum ------------------------------------------------------------------------------- ===> mailfront-2.22 depends on file: /usr/local/sbin/pkg - found ===> Fetching all distfiles required by mailfront-2.22 for building => SHA256 Checksum OK for mailfront-2.22.tar.gz. SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: extract-depends ------------------------------------------------------------------------------- SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: extract ------------------------------------------------------------------------------- ===> mailfront-2.22 depends on file: /usr/local/sbin/pkg - found ===> Fetching all distfiles required by mailfront-2.22 for building ===> Extracting for mailfront-2.22 => SHA256 Checksum OK for mailfront-2.22.tar.gz. Extracted Memory Use: 0.84M SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: patch-depends ------------------------------------------------------------------------------- SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: patch ------------------------------------------------------------------------------- ===> Patching for mailfront-2.22 ===> Applying ports patches for mailfront-2.22 SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: build-depends ------------------------------------------------------------------------------- SUCCEEDED 00:00:01 ------------------------------------------------------------------------------- -- Phase: lib-depends ------------------------------------------------------------------------------- ===> mailfront-2.22 depends on shared library: libcvm-v2client.so - found (/usr/local/lib/libcvm-v2client.so) ===> mailfront-2.22 depends on shared library: libbg.so - found (/usr/local/lib/bglibs/libbg.so) ===> mailfront-2.22 depends on shared library: liblua-5.1.so - found (/usr/local/lib/liblua-5.1.so) SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: configure ------------------------------------------------------------------------------- ===> mailfront-2.22 depends on shared library: libcvm-v2client.so - found (/usr/local/lib/libcvm-v2client.so) ===> mailfront-2.22 depends on shared library: libbg.so - found (/usr/local/lib/bglibs/libbg.so) ===> mailfront-2.22 depends on shared library: liblua-5.1.so - found (/usr/local/lib/liblua-5.1.so) ===> Configuring for mailfront-2.22 echo "/usr/local/bin" > /construction/mail/mailfront/mailfront-2.22/conf-bin echo "/usr/local/include" > /construction/mail/mailfront/mailfront-2.22/conf-include echo "/usr/local/libexec/mailfront" > /construction/mail/mailfront/mailfront-2.22/conf-modules echo "cc -pipe -I/usr/local/include -DHAVE_LUASCRIPT -I/usr/local/include/lua51 -O2 -fno-strict-aliasing " > /construction/mail/mailfront/mailfront-2.22/conf-cc echo "cc -pipe -I/usr/local/include -DHAVE_LUASCRIPT -I/usr/local/include/lua51 -O2 -fno-strict-aliasing -fPIC -shared -L/usr/local/lib"> /construction/mail/mailfront/mailfront-2.22/conf-ccso echo "cc -s -g -L/usr/local/lib -rdynamic -L/usr/local/lib -llua-5.1 -L/usr/local/lib " > /construction/mail/mailfront/mailfront-2.22/conf-ld echo "/usr/local/include/bglibs" > /construction/mail/mailfront/mailfront-2.22/conf-bgincs echo "/usr/local/lib/bglibs" > /construction/mail/mailfront/mailfront-2.22/conf-bglibs echo "/var/qmail" > /construction/mail/mailfront/mailfront-2.22/conf-qmail SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: build ------------------------------------------------------------------------------- ===> Building for mailfront-2.22 --- makelib --- --- tls.lib --- --- load --- --- auto_testcvm.c --- --- compile --- --- makeso --- --- conf_qmail.c --- --- starttls.c --- --- conf_modules.c --- --- qmqpfront-echo --- --- auto_testcvm.c --- echo \#define TESTCVM_UID $(id -u) > auto_testcvm.c echo \#define TESTCVM_GID $(id -g) >> auto_testcvm.c echo \#define TESTCVM_PWD \"$(pwd)\" >> auto_testcvm.c --- tls.lib --- sh make-tls.sh tls.lib make-tls.sh: pkg-config: not found --- makelib --- ( echo '#!/bin/sh'; echo 'lib="$1"; shift'; echo 'rm -f "$lib"'; echo 'ar cr "$lib" ${1+"$@"}'; echo 'ranlib "$lib"'; ) >makelib --- load --- ( bglibs=`head -n 1 conf-bglibs`; echo '#!/bin/sh'; echo 'main="$1"; shift'; echo exec `head -n 1 conf-ld` -L. "-L'${bglibs}'" "-Wl,-R'${bglibs}'" '-o "$main" "$main.o" ${1+"$@"}'; ) >load --- compile --- ( bgincs=`head -n 1 conf-bgincs`; echo '#!/bin/sh'; echo 'source=$1; shift'; echo 'base=`echo "$source" | sed -e s:\\\\.c$::`'; echo exec `head -n 1 conf-cc` -I. "-I /usr/local/include/" "-I'${bgincs}'" '-o ${base}.o -c $source ${1+"$@"}'; ) >compile --- smtpfront-echo --- --- qmtpfront-qmail --- --- qmqpfront-echo --- cat warn-auto.sh qmqpfront-echo.sh >qmqpfront-echo chmod 755 qmqpfront-echo --- conf_modules.c --- head -n 1 conf-modules | sed -e 's/"/\\"/g' -e 's/^/const char conf_modules[] = "/' -e 's/$/";/' >conf_modules.c --- conf_qmail.c --- head -n 1 conf-qmail | sed -e 's/"/\\"/g' -e 's/^/const char conf_qmail[] = "/' -e 's/$/";/' >conf_qmail.c --- makelib --- chmod 755 makelib --- starttls.c --- sh make-tls.sh starttls.c make-tls.sh: pkg-config: not found --- qmtpfront-qmail --- cat warn-auto.sh qmtpfront-qmail.sh >qmtpfront-qmail chmod 755 qmtpfront-qmail --- makeso --- ( bglibs=`head -n 1 conf-bglibs`; bgincs=`head -n 1 conf-bgincs`; echo '#!/bin/sh'; echo 'source=$1; shift'; echo 'base=`echo "$source" | sed -e s:\\\\.c$::`'; echo exec `head -n 1 conf-ccso` -DSHARED -I. -L. "-L'${bglibs}'" "-Wl,-R'${bglibs}'" "-I'${bgincs}'" "-I /usr/local/include" '-o ${base}.so $source ${1+"$@"}'; ) >makeso --- load --- chmod 755 load --- qmtpfront-echo --- --- qmqpfront-qmail --- --- smtpfront-qmail --- --- smtpfront-echo --- cat warn-auto.sh smtpfront-echo.sh >smtpfront-echo chmod 755 smtpfront-echo --- makeso --- chmod 755 makeso --- qmtpfront-echo --- cat warn-auto.sh qmtpfront-echo.sh >qmtpfront-echo chmod 755 qmtpfront-echo --- compile --- chmod 755 compile --- backend-echo.so --- --- backend-qmail.so --- --- backend-queuedir.so --- --- plugin-add-received.so --- --- plugin-check-fqdn.so --- --- plugin-clamav.so --- --- plugin-counters.so --- --- qmqpfront-qmail --- cat warn-auto.sh qmqpfront-qmail.sh >qmqpfront-qmail chmod 755 qmqpfront-qmail --- smtpfront-qmail --- cat warn-auto.sh smtpfront-qmail.sh >smtpfront-qmail --- backend-echo.so --- ./makeso backend-echo.c -lbg --- backend-qmail.so --- ./makeso backend-qmail.c -lbg --- backend-queuedir.so --- ./makeso backend-queuedir.c queuedir.c -lbg --- plugin-add-received.so --- ./makeso plugin-add-received.c -lbg --- plugin-cvm-authenticate.so --- --- plugin-cvm-validate.so --- --- plugin-counters.so --- ./makeso plugin-counters.c -lbg --- plugin-clamav.so --- ./makeso plugin-clamav.c -lbg --- plugin-check-fqdn.so --- ./makeso plugin-check-fqdn.c -lbg --- plugin-cvm-authenticate.so --- ./makeso plugin-cvm-authenticate.c -lcvm-sasl -lcvm-v2client -lbg --- plugin-cvm-validate.so --- ./makeso plugin-cvm-validate.c -lcvm-v2client -lbg --- smtpfront-qmail --- chmod 755 smtpfront-qmail --- plugin-lua.so --- ./makeso plugin-lua.c -lbg -llua-5.1 --- plugin-mailrules.so --- ./makeso plugin-mailrules.c -lbg --- plugin-patterns.so --- ./makeso plugin-patterns.c -lbg --- plugin-qmail-validate.so --- ./makeso plugin-qmail-validate.c -lbg --- plugin-rbl.so --- ./makeso plugin-rbl.c queuedir.c -lbg --- plugin-spamassassin.so --- ./makeso plugin-spamassassin.c -lbg --- plugin-starttls-ucspi.so --- --- plugin-clamav.so --- In file included from plugin-clamav.c:9: /usr/local/include/bglibs/bglibs/resolve.h:30:48: warning: 'struct dns_transmit' declared inside parameter list will not be visible outside of this definition or declaration extern int resolve_qualdns(int (*dnsfn)(struct dns_transmit*, struct dns_result* out, const char*), ^~~~~~~~~~~~ --- plugin-starttls-ucspi.so --- ./makeso plugin-starttls-ucspi.c -lbg --- protocol-qmqp.so --- ./makeso protocol-qmqp.c qmtp-respond.c netstring.c -lbg --- plugin-spamassassin.so --- In file included from plugin-spamassassin.c:9: /usr/local/include/bglibs/bglibs/resolve.h:30:48: warning: 'struct dns_transmit' declared inside parameter list will not be visible outside of this definition or declaration extern int resolve_qualdns(int (*dnsfn)(struct dns_transmit*, struct dns_result* out, const char*), ^~~~~~~~~~~~ --- protocol-qmtp.so --- --- protocol-smtp.so --- ./makeso protocol-smtp.c starttls.c -lbg `cat tls.lib` --- protocol-qmtp.so --- ./makeso protocol-qmtp.c qmtp-respond.c netstring.c -lbg --- builtins.o --- ./compile builtins.c --- dl.lib --- --- getprotoenv.o --- --- imapfront-auth.o --- --- getprotoenv.o --- ./compile getprotoenv.c --- imapfront-auth.o --- ./compile imapfront-auth.c --- iobytes.o --- ./compile iobytes.c --- mailfront.o --- ./compile mailfront.c --- dl.lib --- Checking for -ldl: yes --- modules.o --- --- pop3-capa.o --- --- modules.o --- ./compile modules.c --- pop3-capa.o --- ./compile pop3-capa.c --- pop3-mainloop.o --- ./compile pop3-mainloop.c --- pop3-response.o --- ./compile pop3-response.c --- pop3front-auth.o --- --- pop3front-maildir.o --- --- responses.o --- --- pop3front-auth.o --- ./compile pop3front-auth.c --- pop3front-maildir.o --- ./compile pop3front-maildir.c --- responses.o --- ./compile responses.c --- session.o --- ./compile session.c --- socket.lib --- --- testcvm.o --- --- timeout.o --- ./compile timeout.c --- testcvm.o --- ./compile testcvm.c --- socket.lib --- Checking for socket libraries: no --- testcvm --- ./load testcvm -lcvm-module -lbg --- pop3.a --- ./makelib pop3.a iobytes.o timeout.o pop3-capa.o pop3-mainloop.o pop3-response.o --- pop3front-auth --- ./load pop3front-auth pop3.a -lcvm-sasl -lcvm-v2client -lbg `cat socket.lib` --- imapfront-auth --- ./load imapfront-auth timeout.o -lcvm-sasl -lcvm-v2client -lbg `cat socket.lib` --- mailfront --- ./load mailfront builtins.o getprotoenv.o iobytes.o modules.o responses.o session.o timeout.o -lbg -rdynamic `cat socket.lib` `cat dl.lib` --- pop3front-maildir --- ./load pop3front-maildir pop3.a -lbg -lcvm-sasl -lcvm-v2client SUCCEEDED 00:00:01 ------------------------------------------------------------------------------- -- Phase: run-depends ------------------------------------------------------------------------------- SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: stage ------------------------------------------------------------------------------- ===> Staging for mailfront-2.22 ===> Generating temporary packing list bg-installer -v Compressing man pages (compress-man) ====> Running Q/A tests (stage-qa) Warning: 'libexec/mailfront/plugin-mailrules.so' is not stripped consider trying INSTALL_TARGET=install-strip or using ${STRIP_CMD} Warning: 'libexec/mailfront/plugin-lua.so' is not stripped consider trying INSTALL_TARGET=install-strip or using ${STRIP_CMD} Warning: 'libexec/mailfront/plugin-counters.so' is not stripped consider trying INSTALL_TARGET=install-strip or using ${STRIP_CMD} Warning: 'libexec/mailfront/plugin-cvm-authenticate.so' is not stripped consider trying INSTALL_TARGET=install-strip or using ${STRIP_CMD} Warning: 'libexec/mailfront/plugin-qmail-validate.so' is not stripped consider trying INSTALL_TARGET=install-strip or using ${STRIP_CMD} Warning: 'libexec/mailfront/plugin-rbl.so' is not stripped consider trying INSTALL_TARGET=install-strip or using ${STRIP_CMD} Warning: 'libexec/mailfront/plugin-spamassassin.so' is not stripped consider trying INSTALL_TARGET=install-strip or using ${STRIP_CMD} Warning: 'libexec/mailfront/protocol-qmtp.so' is not stripped consider trying INSTALL_TARGET=install-strip or using ${STRIP_CMD} Warning: 'libexec/mailfront/protocol-smtp.so' is not stripped consider trying INSTALL_TARGET=install-strip or using ${STRIP_CMD} Warning: 'libexec/mailfront/protocol-qmqp.so' is not stripped consider trying INSTALL_TARGET=install-strip or using ${STRIP_CMD} Warning: 'libexec/mailfront/plugin-patterns.so' is not stripped consider trying INSTALL_TARGET=install-strip or using ${STRIP_CMD} Warning: 'libexec/mailfront/plugin-starttls-ucspi.so' is not stripped consider trying INSTALL_TARGET=install-strip or using ${STRIP_CMD} Warning: 'libexec/mailfront/backend-echo.so' is not stripped consider trying INSTALL_TARGET=install-strip or using ${STRIP_CMD} Warning: 'libexec/mailfront/plugin-clamav.so' is not stripped consider trying INSTALL_TARGET=install-strip or using ${STRIP_CMD} Warning: 'libexec/mailfront/plugin-add-received.so' is not stripped consider trying INSTALL_TARGET=install-strip or using ${STRIP_CMD} Warning: 'libexec/mailfront/plugin-check-fqdn.so' is not stripped consider trying INSTALL_TARGET=install-strip or using ${STRIP_CMD} Warning: 'libexec/mailfront/backend-queuedir.so' is not stripped consider trying INSTALL_TARGET=install-strip or using ${STRIP_CMD} Warning: 'libexec/mailfront/plugin-cvm-validate.so' is not stripped consider trying INSTALL_TARGET=install-strip or using ${STRIP_CMD} Warning: 'libexec/mailfront/backend-qmail.so' is not stripped consider trying INSTALL_TARGET=install-strip or using ${STRIP_CMD} Warning: You have disabled the licenses framework with DISABLE_LICENSES, unable to run checks SUCCEEDED 00:00:01 ------------------------------------------------------------------------------- -- Phase: package ------------------------------------------------------------------------------- ===> Building package for mailfront-2.22 file sizes/checksums [70]: 0% file sizes/checksums [70]: 100% packing files [70]: 0% packing files [70]: 100% packing directories [0]: 0% packing directories [0]: 100% SUCCEEDED 00:00:00 TOTAL TIME 00:00:07