------------------------------------------------------------------------------- -- Phase: setup ------------------------------------------------------------------------------- Installing /packages/All/openssl-1.1.1d,1.txz pkg: Cannot runscript POST-INSTALL:Bad file descriptor Installing /packages/All/dovecot-2.3.10_1.txz pkg: Cannot runscript PRE-INSTALL:Bad file descriptor pkg: Cannot runscript POST-INSTALL:Bad file descriptor ===== Message from dovecot-2.3.10_1: -- You must create the configuration files yourself. Copy them over to /usr/local/etc/dovecot and edit them as desired: cp -R /usr/local/etc/dovecot/example-config/* \ /usr/local/etc/dovecot The default configuration includes IMAP and POP3 services, will authenticate users agains the system's passwd file, and will use the default /var/mail/$USER mbox files. Next, enable dovecot in /etc/rc.conf: dovecot_enable="YES" To avoid a risk of mailbox corruption, do not set the security.bsd.see_other_uids or .see_other_gids sysctls to 0 if Dovecot is storing mail for multiple concurrent users (PR 218392). Similarly, setting sysctls security.bsd.hardlink_check_uid or security.bsd.hardlink_check_gid to 1 might result in non-working mailboxes, depending on what mailbox locking mechanism is used (PR 242223). If you want to be able to search within attachments using the decode2text plugin, you'll need to install textproc/catdoc, and one of graphics/xpdf or graphics/poppler-utils. There are some potentially breaking changes in Dovecot 2.3. If you are upgrading from Dovecot 2.2: * Read https://wiki2.dovecot.org/Upgrading/2.3 * Merge the configuration file changes from /usr/local/etc/dovecot/examples-config/ Installing /packages/All/pkgconf-1.6.3,1.txz pkg: Cannot runscript POST-INSTALL:Bad file descriptor Installing /packages/All/indexinfo-0.3.1.txz Installing /packages/All/m4-1.4.18_1,1.txz pkg: Cannot runscript POST-INSTALL:Bad file descriptor Installing /packages/All/autoconf-wrapper-20131203.txz 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/autoconf-2.69_3.txz pkg: Cannot runscript POST-INSTALL:Bad file descriptor Installing /packages/All/automake-1.16.1_2.txz pkg: Cannot runscript POST-INSTALL:Bad file descriptor Installing /packages/All/libtool-2.4.6_1.txz pkg: Cannot runscript POST-INSTALL:Bad file descriptor Installing /packages/All/xapian-core-1.4.15,1.txz pkg: Cannot runscript POST-INSTALL:Bad file descriptor Installing /packages/All/icu-66.1,1.txz pkg: Cannot runscript POST-INSTALL:Bad file descriptor SUCCEEDED 00:00:08 ------------------------------------------------------------------------------- -- Phase: check-sanity ------------------------------------------------------------------------------- SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: pkg-depends ------------------------------------------------------------------------------- ===> dovecot-fts-xapian-1.2.10_2 depends on file: /usr/local/sbin/pkg - found SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: fetch-depends ------------------------------------------------------------------------------- SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: fetch ------------------------------------------------------------------------------- ===> dovecot-fts-xapian-1.2.10_2 depends on file: /usr/local/sbin/pkg - found => grosjo-fts-xapian-1.2.10_GH0.tar.gz doesn't seem to exist in /distfiles/. => Attempting to fetch https://codeload.github.com/grosjo/fts-xapian/tar.gz/1.2.10?dummy=/grosjo-fts-xapian-1.2.10_GH0.tar.gz fetch: https://codeload.github.com/grosjo/fts-xapian/tar.gz/1.2.10?dummy=/grosjo-fts-xapian-1.2.10_GH0.tar.gz: size unknown fetch: https://codeload.github.com/grosjo/fts-xapian/tar.gz/1.2.10?dummy=/grosjo-fts-xapian-1.2.10_GH0.tar.gz: size of remote file is not known grosjo-fts-xapian-1.2.10_GH0.tar.gz 0 B 0 Bps grosjo-fts-xapian-1.2.10_GH0.tar.gz 25 kB 1370 kBps 00s ===> Fetching all distfiles required by dovecot-fts-xapian-1.2.10_2 for building SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: checksum ------------------------------------------------------------------------------- ===> dovecot-fts-xapian-1.2.10_2 depends on file: /usr/local/sbin/pkg - found ===> Fetching all distfiles required by dovecot-fts-xapian-1.2.10_2 for building => SHA256 Checksum OK for grosjo-fts-xapian-1.2.10_GH0.tar.gz. SUCCEEDED 00:00:01 ------------------------------------------------------------------------------- -- Phase: extract-depends ------------------------------------------------------------------------------- SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: extract ------------------------------------------------------------------------------- ===> dovecot-fts-xapian-1.2.10_2 depends on file: /usr/local/sbin/pkg - found ===> Fetching all distfiles required by dovecot-fts-xapian-1.2.10_2 for building ===> Extracting for dovecot-fts-xapian-1.2.10_2 => SHA256 Checksum OK for grosjo-fts-xapian-1.2.10_GH0.tar.gz. Extracted Memory Use: 0.12M SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: patch-depends ------------------------------------------------------------------------------- SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: patch ------------------------------------------------------------------------------- ===> Patching for dovecot-fts-xapian-1.2.10_2 SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: build-depends ------------------------------------------------------------------------------- ===> dovecot-fts-xapian-1.2.10_2 depends on package: dovecot>=2.3.7 - found ===> dovecot-fts-xapian-1.2.10_2 depends on package: pkgconf>=1.3.0_1 - found ===> dovecot-fts-xapian-1.2.10_2 depends on package: autoconf>=2.69 - found ===> dovecot-fts-xapian-1.2.10_2 depends on package: automake>=1.16.1 - found ===> dovecot-fts-xapian-1.2.10_2 depends on executable: libtoolize - found SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: lib-depends ------------------------------------------------------------------------------- ===> dovecot-fts-xapian-1.2.10_2 depends on shared library: libxapian.so - found (/usr/local/lib/libxapian.so) ===> dovecot-fts-xapian-1.2.10_2 depends on shared library: libicuuc.so - found (/usr/local/lib/libicuuc.so) SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: configure ------------------------------------------------------------------------------- ===> dovecot-fts-xapian-1.2.10_2 depends on package: dovecot>=2.3.7 - found ===> dovecot-fts-xapian-1.2.10_2 depends on package: pkgconf>=1.3.0_1 - found ===> dovecot-fts-xapian-1.2.10_2 depends on package: autoconf>=2.69 - found ===> dovecot-fts-xapian-1.2.10_2 depends on package: automake>=1.16.1 - found ===> dovecot-fts-xapian-1.2.10_2 depends on executable: libtoolize - found ===> dovecot-fts-xapian-1.2.10_2 depends on shared library: libxapian.so - found (/usr/local/lib/libxapian.so) ===> dovecot-fts-xapian-1.2.10_2 depends on shared library: libicuuc.so - found (/usr/local/lib/libicuuc.so) ===> Configuring for dovecot-fts-xapian-1.2.10_2 libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, '.'. libtoolize: copying file './ltmain.sh' libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'. libtoolize: copying file 'm4/libtool.m4' libtoolize: copying file 'm4/ltoptions.m4' libtoolize: copying file 'm4/ltsugar.m4' libtoolize: copying file 'm4/ltversion.m4' libtoolize: copying file 'm4/lt~obsolete.m4' configure.ac:19: installing './compile' configure.ac:22: installing './config.guess' configure.ac:22: installing './config.sub' configure.ac:17: installing './install-sh' configure.ac:17: installing './missing' src/Makefile.am: installing './depcomp' configure: loading site script /xports/Templates/config.site checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... (cached) /bin/mkdir -p checking for gawk... (cached) /usr/bin/awk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking whether UID '0' is supported by ustar format... yes checking whether GID '0' is supported by ustar format... yes checking how to create a ustar tar archive... (cached) /usr/bin/tar checking whether to enable maintainer-specific portions of Makefiles... no checking for gcc... cc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether cc accepts -g... yes checking for cc option to accept ISO C89... none needed checking whether cc understands -c and -o together... yes checking whether make supports the include directive... yes (GNU style) checking dependency style of cc... gcc3 checking how to run the C preprocessor... cpp checking whether we are using the GNU C++ compiler... yes checking whether c++ accepts -g... yes checking dependency style of c++... gcc3 checking build system type... x86_64-portbld-dragonfly5.9 checking host system type... x86_64-portbld-dragonfly5.9 checking how to print strings... printf checking for a sed that does not truncate output... (cached) /usr/bin/sed checking for grep that handles long lines and -e... (cached) /usr/bin/grep checking for egrep... (cached) /usr/bin/egrep checking for fgrep... (cached) /usr/bin/fgrep checking for ld used by cc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... (cached) 262144 checking how to convert x86_64-portbld-dragonfly5.9 file names to x86_64-portbld-dragonfly5.9 format... func_convert_file_noop checking how to convert x86_64-portbld-dragonfly5.9 file names to toolchain format... func_convert_file_noop checking for /usr/bin/ld option to reload object files... -r checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for ar... ar checking for archiver @FILE support... @ checking for strip... strip checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from cc object... ok checking for sysroot... no checking for a working dd... /bin/dd checking how to truncate binary pipes... /bin/dd bs=4096 count=1 checking for mt... mt checking if mt is a manifest tool... no checking for ANSI C header files... (cached) yes checking for sys/types.h... (cached) yes checking for sys/stat.h... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for memory.h... (cached) yes checking for strings.h... (cached) yes checking for inttypes.h... (cached) yes checking for stdint.h... (cached) yes checking for unistd.h... (cached) yes checking for dlfcn.h... (cached) yes checking for objdir... .libs checking if cc supports -fno-rtti -fno-exceptions... no checking for cc option to produce PIC... -fPIC -DPIC checking if cc PIC flag -fPIC -DPIC works... yes checking if cc static flag -static works... yes checking if cc supports -c -o file.o... yes checking if cc supports -c -o file.o... (cached) yes checking whether the cc linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... dragonfly5.9 ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes checking how to run the C++ preprocessor... c++ -E checking for ld used by c++... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking whether the c++ linker (/usr/bin/ld) supports shared libraries... yes checking for c++ option to produce PIC... -fPIC -DPIC checking if c++ PIC flag -fPIC -DPIC works... yes checking if c++ static flag -static works... yes checking if c++ supports -c -o file.o... yes checking if c++ supports -c -o file.o... (cached) yes checking whether the c++ linker (/usr/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... dragonfly5.9 ld.so checking how to hardcode library paths into programs... immediate checking pkg-config is at least version 0.9.0... yes checking whether C compiler handles -Werror -Wunknown-warning-option... no checking for "/usr/local/lib/dovecot/dovecot-config"... /usr/local/lib/dovecot/dovecot-config checking whether cc is clang 3.3+... no checking Whether to enable hardening... yes checking whether C compiler handles -pie... yes checking whether C compiler handles -fstack-protector-strong... yes checking whether C compiler handles -O2 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2... yes checking whether C compiler handles -mfunction-return=thunk -mindirect-branch=thunk... yes checking for how to force completely read-only GOT table... -Wl,-z -Wl,relro -Wl,-z -Wl,now checking whether OS supports plugin dependencies... yes checking for valgrind... no checking pkg-config is at least version 0.25... yes checking for ICU_UC... yes checking for ICU_I18N... yes checking for xapian-config... xapian-config checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating stamp.h config.status: creating dummy-config.h config.status: creating fts-xapian-config.h config.status: fts-xapian-config.h is unchanged config.status: executing depfiles commands config.status: executing libtool commands SUCCEEDED 00:00:19 ------------------------------------------------------------------------------- -- Phase: build ------------------------------------------------------------------------------- ===> Building for dovecot-fts-xapian-1.2.10_2 --- fts-xapian-config.h --- --- all --- /usr/bin/make all-recursive --- all-recursive --- Making all in src --- fts-xapian-plugin.lo --- --- fts-backend-xapian.lo --- --- fts-xapian-plugin.lo --- /bin/sh ../libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include/dovecot -I/usr/local/include -std=gnu99 -pipe -O2 -fno-strict-aliasing -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wpointer-arith -Wchar-subscripts -Wformat=2 -Wbad-function-cast -fno-builtin-strftime -Wstrict-aliasing=2 -fstack-protector-strong -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -mfunction-return=thunk -mindirect-branch=thunk -MT fts-xapian-plugin.lo -MD -MP -MF .deps/fts-xapian-plugin.Tpo -c -o fts-xapian-plugin.lo fts-xapian-plugin.c --- fts-backend-xapian.lo --- /bin/sh ../libtool --tag=CXX --mode=compile c++ -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include/dovecot -I/usr/local/include -std=gnu++11 -I/usr/local/include/dovecot -I/usr/local/include -L/usr/local/lib -lxapian -L/usr/local/lib -licuio -licui18n -licuuc -licudata -Wl,-rpath=/usr/local/lib -pipe -O2 -fno-strict-aliasing -MT fts-backend-xapian.lo -MD -MP -MF .deps/fts-backend-xapian.Tpo -c -o fts-backend-xapian.lo fts-backend-xapian.cpp --- fts-xapian-plugin.lo --- libtool: compile: cc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include/dovecot -I/usr/local/include -std=gnu99 -pipe -O2 -fno-strict-aliasing -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wpointer-arith -Wchar-subscripts -Wformat=2 -Wbad-function-cast -fno-builtin-strftime -Wstrict-aliasing=2 -fstack-protector-strong -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -mfunction-return=thunk -mindirect-branch=thunk -MT fts-xapian-plugin.lo -MD -MP -MF .deps/fts-xapian-plugin.Tpo -c fts-xapian-plugin.c -fPIC -DPIC -o .libs/fts-xapian-plugin.o --- fts-backend-xapian.lo --- libtool: compile: c++ -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include/dovecot -I/usr/local/include -std=gnu++11 -I/usr/local/include/dovecot -I/usr/local/include -L/usr/local/lib -lxapian -L/usr/local/lib -licuio -licui18n -licuuc -licudata -Wl,-rpath=/usr/local/lib -pipe -O2 -fno-strict-aliasing -MT fts-backend-xapian.lo -MD -MP -MF .deps/fts-backend-xapian.Tpo -c fts-backend-xapian.cpp -fPIC -DPIC -o .libs/fts-backend-xapian.o --- fts-xapian-plugin.lo --- libtool: compile: cc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include/dovecot -I/usr/local/include -std=gnu99 -pipe -O2 -fno-strict-aliasing -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wpointer-arith -Wchar-subscripts -Wformat=2 -Wbad-function-cast -fno-builtin-strftime -Wstrict-aliasing=2 -fstack-protector-strong -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -mfunction-return=thunk -mindirect-branch=thunk -MT fts-xapian-plugin.lo -MD -MP -MF .deps/fts-xapian-plugin.Tpo -c fts-xapian-plugin.c -o fts-xapian-plugin.o >/dev/null 2>&1 mv -f .deps/fts-xapian-plugin.Tpo .deps/fts-xapian-plugin.Plo --- fts-backend-xapian.lo --- libtool: compile: c++ -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include/dovecot -I/usr/local/include -std=gnu++11 -I/usr/local/include/dovecot -I/usr/local/include -L/usr/local/lib -lxapian -L/usr/local/lib -licuio -licui18n -licuuc -licudata -Wl,-rpath=/usr/local/lib -pipe -O2 -fno-strict-aliasing -MT fts-backend-xapian.lo -MD -MP -MF .deps/fts-backend-xapian.Tpo -c fts-backend-xapian.cpp -o fts-backend-xapian.o >/dev/null 2>&1 mv -f .deps/fts-backend-xapian.Tpo .deps/fts-backend-xapian.Plo --- lib21_fts_xapian_plugin.la --- /bin/sh ../libtool --tag=CXX --mode=link c++ -std=gnu++11 -I/usr/local/include/dovecot -I/usr/local/include -L/usr/local/lib -lxapian -L/usr/local/lib -licuio -licui18n -licuuc -licudata -Wl,-rpath=/usr/local/lib -pipe -O2 -fno-strict-aliasing -module -avoid-version -o lib21_fts_xapian_plugin.la -rpath /usr/local/lib/dovecot fts-xapian-plugin.lo fts-backend-xapian.lo -L/usr/local/lib -lxapian -L/usr/local/lib -licuio -licui18n -licuuc -licudata libtool: link: c++ -fPIC -DPIC -shared -nostdlib /usr/lib/crti.o /usr/lib/gcc80/crtbeginS.o .libs/fts-xapian-plugin.o .libs/fts-backend-xapian.o -L/usr/local/lib -lxapian -licuio -licui18n -licuuc -licudata -L/usr/lib/gcc80 -lstdc++ -lm -lc -lgcc -lgcc_pic /usr/lib/gcc80/crtendS.o /usr/lib/crtn.o -Wl,-rpath=/usr/local/lib -O2 -Wl,-soname -Wl,lib21_fts_xapian_plugin.so -o .libs/lib21_fts_xapian_plugin.so libtool: link: ar cru .libs/lib21_fts_xapian_plugin.a fts-xapian-plugin.o fts-backend-xapian.o /usr/libexec/binutils227/elf/ar: `u' modifier ignored since `D' is the default (see `U') libtool: link: ranlib .libs/lib21_fts_xapian_plugin.a libtool: link: ( cd ".libs" && rm -f "lib21_fts_xapian_plugin.la" && ln -s "../lib21_fts_xapian_plugin.la" "lib21_fts_xapian_plugin.la" ) --- fts-xapian-config.h --- SUCCEEDED 00:00:08 ------------------------------------------------------------------------------- -- Phase: run-depends ------------------------------------------------------------------------------- ===> dovecot-fts-xapian-1.2.10_2 depends on package: dovecot>=2.3.7 - found SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: stage ------------------------------------------------------------------------------- ===> Staging for dovecot-fts-xapian-1.2.10_2 ===> dovecot-fts-xapian-1.2.10_2 depends on package: dovecot>=2.3.7 - found ===> Generating temporary packing list Making install in src /bin/mkdir -p '/construction/mail/dovecot-fts-xapian/stage/usr/local/lib/dovecot' /bin/sh ../libtool --mode=install /usr/bin/install -c lib21_fts_xapian_plugin.la '/construction/mail/dovecot-fts-xapian/stage/usr/local/lib/dovecot' libtool: install: /usr/bin/install -c .libs/lib21_fts_xapian_plugin.so /construction/mail/dovecot-fts-xapian/stage/usr/local/lib/dovecot/lib21_fts_xapian_plugin.so libtool: install: /usr/bin/install -c .libs/lib21_fts_xapian_plugin.lai /construction/mail/dovecot-fts-xapian/stage/usr/local/lib/dovecot/lib21_fts_xapian_plugin.la libtool: install: /usr/bin/install -c .libs/lib21_fts_xapian_plugin.a /construction/mail/dovecot-fts-xapian/stage/usr/local/lib/dovecot/lib21_fts_xapian_plugin.a libtool: install: chmod 644 /construction/mail/dovecot-fts-xapian/stage/usr/local/lib/dovecot/lib21_fts_xapian_plugin.a libtool: install: ranlib /construction/mail/dovecot-fts-xapian/stage/usr/local/lib/dovecot/lib21_fts_xapian_plugin.a libtool: warning: remember to run 'libtool --finish /usr/local/lib/dovecot' /usr/bin/strip /construction/mail/dovecot-fts-xapian/stage/usr/local/lib/dovecot/lib21_fts_xapian_plugin.so ====> Compressing man pages (compress-man) ====> Running Q/A tests (stage-qa) Warning: You have disabled the licenses framework with DISABLE_LICENSES, unable to run checks SUCCEEDED 00:00:01 ------------------------------------------------------------------------------- -- Phase: package ------------------------------------------------------------------------------- ===> Building package for dovecot-fts-xapian-1.2.10_2 file sizes/checksums [2]: 0% file sizes/checksums [2]: 100% packing files [2]: 0% packing files [2]: 100% packing directories [0]: 0% packing directories [0]: 100% SUCCEEDED 00:00:00 TOTAL TIME 00:00:37