=> Building devel/p5-EV Started : Saturday, 6 JUL 2019 at 13:35:51 UTC Platform: 5.7-DEVELOPMENT DragonFly v5.7.0.83.g49866-DEVELOPMENT #40: Sun Jun 30 03:00:04 PDT 2019 root@pkgbox64.dragonflybsd.org:/usr/obj/usr/src/sys/X86_64_GENERIC x86_64 -------------------------------------------------- -- Environment -------------------------------------------------- UNAME_r=5.4-SYNTH UNAME_m=x86_64 UNAME_p=x86_64 UNAME_v=DragonFly 5.4-SYNTH UNAME_s=DragonFly PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin SSL_NO_VERIFY_PEER=1 TERM=dumb PKG_CACHEDIR=/var/cache/pkg8 PKG_DBDIR=/var/db/pkg8 PORTSDIR=/xports LANG=C HOME=/root USER=root -------------------------------------------------- -- Options -------------------------------------------------- -------------------------------------------------- -- CONFIGURE_ENV -------------------------------------------------- PERL_MM_USE_DEFAULT="YES" ac_cv_path_PERL=/usr/local/bin/perl ac_cv_path_PERL_PATH=/usr/local/bin/perl PERL_USE_UNSAFE_INC=1 XDG_DATA_HOME=/construction/devel/p5-EV XDG_CONFIG_HOME=/construction/devel/p5-EV HOME=/construction/devel/p5-EV TMPDIR="/tmp" PATH=/construction/devel/p5-EV/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin SHELL=/bin/sh CONFIG_SHELL=/bin/sh CCVER=gcc80 PERL_EXTUTILS_AUTOINSTALL="--skipdeps" PERL_MM_USE_DEFAULT="YES" -------------------------------------------------- -- CONFIGURE_ARGS -------------------------------------------------- INSTALLDIRS="site" CC="cc" CCFLAGS="-pipe -O2 -fno-strict-aliasing " LD="cc" PREFIX="/usr/local" INSTALLPRIVLIB="/usr/local/lib" INSTALLARCHLIB="/usr/local/lib" -------------------------------------------------- -- MAKE_ENV -------------------------------------------------- PERL_USE_UNSAFE_INC=1 XDG_DATA_HOME=/construction/devel/p5-EV XDG_CONFIG_HOME=/construction/devel/p5-EV HOME=/construction/devel/p5-EV TMPDIR="/tmp" PATH=/construction/devel/p5-EV/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin NO_PIE=yes MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES CCVER=gcc80 PREFIX=/usr/local LOCALBASE=/usr/local NOPROFILE=1 CC="cc" CFLAGS="-pipe -O2 -fno-strict-aliasing " CPP="cpp" CPPFLAGS="" LDFLAGS=" " LIBS="" CXX="c++" CXXFLAGS=" -pipe -O2 -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" -------------------------------------------------- -- MAKE_ARGS -------------------------------------------------- DESTDIR=/construction/devel/p5-EV/stage -------------------------------------------------- -- PLIST_SUB -------------------------------------------------- OSREL=5.4 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local LIB32DIR=lib PERL_VERSION=5.28.2 PERL_VER=5.28 PERL5_MAN1=lib/perl5/site_perl/man/man1 PERL5_MAN3=lib/perl5/site_perl/man/man3 SITE_PERL=lib/perl5/site_perl SITE_ARCH=lib/perl5/site_perl/mach/5.28 PROFILE="@comment " DOCSDIR="share/doc/EV" EXAMPLESDIR="share/examples/EV" DATADIR="share/EV" WWWDIR="www/EV" ETCDIR="etc/EV" -------------------------------------------------- -- SUB_LIST -------------------------------------------------- PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/EV DOCSDIR=/usr/local/share/doc/EV EXAMPLESDIR=/usr/local/share/examples/EV WWWDIR=/usr/local/www/EV ETCDIR=/usr/local/etc/EV -------------------------------------------------- -- /etc/make.conf -------------------------------------------------- SYNTHPROFILE=Release-5.4 USE_PACKAGE_DEPENDS_ONLY=yes PACKAGE_BUILDING=yes BATCH=yes PKG_CREATE_VERBOSE=yes PORTSDIR=/xports DISTDIR=/distfiles WRKDIRPREFIX=/construction PORT_DBDIR=/options PACKAGES=/packages MAKE_JOBS_NUMBER_LIMIT=5 HAVE_COMPAT_IA32_KERN= CONFIGURE_MAX_CMD_LEN=262144 _PERL5_FROM_BIN=5.28.1 _ALTCCVERSION_921dbbb2=none _OBJC_ALTCCVERSION_921dbbb2=none _SMP_CPUS=8 UID=0 ARCH=x86_64 OPSYS=DragonFly DFLYVERSION=500400 OSVERSION=9999999 OSREL=5.4 _OSRELEASE=5.4-SYNTH PYTHONBASE=/usr/local _PKG_CHECKED=1 -------------------------------------------------------------------------------- -- Phase: check-sanity -------------------------------------------------------------------------------- ===> License ART10 GPLv1+ accepted by the user -------------------------------------------------------------------------------- -- Phase: pkg-depends -------------------------------------------------------------------------------- ===> p5-EV-4.22,1 depends on file: /usr/local/sbin/pkg - not found ===> Installing existing package /packages/All/pkg-1.11.1.txz Installing pkg-1.11.1... Extracting pkg-1.11.1: .......... done ===> p5-EV-4.22,1 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of p5-EV-4.22,1 -------------------------------------------------------------------------------- -- Phase: fetch-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: fetch -------------------------------------------------------------------------------- ===> License ART10 GPLv1+ accepted by the user ===> Fetching all distfiles required by p5-EV-4.22,1 for building -------------------------------------------------------------------------------- -- Phase: checksum -------------------------------------------------------------------------------- ===> License ART10 GPLv1+ accepted by the user ===> Fetching all distfiles required by p5-EV-4.22,1 for building => SHA256 Checksum OK for EV-4.22.tar.gz. -------------------------------------------------------------------------------- -- Phase: extract-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: extract -------------------------------------------------------------------------------- ===> License ART10 GPLv1+ accepted by the user ===> Fetching all distfiles required by p5-EV-4.22,1 for building ===> Extracting for p5-EV-4.22,1 => SHA256 Checksum OK for EV-4.22.tar.gz. -------------------------------------------------------------------------------- -- Phase: patch-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: patch -------------------------------------------------------------------------------- ===> Patching for p5-EV-4.22,1 -------------------------------------------------------------------------------- -- Phase: build-depends -------------------------------------------------------------------------------- ===> p5-EV-4.22,1 depends on package: p5-common-sense>=0 - not found ===> Installing existing package /packages/All/p5-common-sense-3.74.txz Installing p5-common-sense-3.74... `-- Installing perl5-5.28.2... `-- Extracting perl5-5.28.2: .......... done Extracting p5-common-sense-3.74: ........ done Message from perl5-5.28.2: 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. ===> p5-EV-4.22,1 depends on package: p5-common-sense>=0 - found ===> Returning to build of p5-EV-4.22,1 ===> p5-EV-4.22,1 depends on package: p5-Canary-Stability>=0 - not found ===> Installing existing package /packages/All/p5-Canary-Stability-2013.txz Installing p5-Canary-Stability-2013... Extracting p5-Canary-Stability-2013: ....... done ===> p5-EV-4.22,1 depends on package: p5-Canary-Stability>=0 - found ===> Returning to build of p5-EV-4.22,1 ===> p5-EV-4.22,1 depends on package: perl5>=5.28.r1<5.29 - found -------------------------------------------------------------------------------- -- Phase: lib-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: configure -------------------------------------------------------------------------------- ===> Configuring for p5-EV-4.22,1 *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** Welcome to EV configuration. If you are in a hurry, just press return here and hope for the best. The defaults should usually do. Skip further questions and use defaults (y/n)? [y] y *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** POSIX optionally offers support for a monotonic clock source. EV can take advantage of this clock source to detect time jumps more reliably. Unfortunately, some systems are bound to be broken, so you can disable this here: you can completely disable the detection and use of the monotonic clock by answering 'n' here. Support for this clock type will otherwise be autodetected at both compile- and runtime. (this setting currently affects the use of nanosleep over select as well). Enable optional support for CLOCK_MONOTONIC (y/n)? [y] y *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** POSIX optionally offers support for a (potentially) high-resolution realtime clock interface. In a good implementation, using it is faster than the normal method of using gettimeofday. Unfortunately, this option is also bound to be broken on some systems, and current EV versions do not actually call gettimeofday very often, so it defaults to no. Prefer clock_gettime (CLOCK_REALTIME) over gettimeofday (y/n)? [n] n *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** EV can use various backends with various portability issues. The select backend is the most portable and makes for a good fallback, but it can be limited to a low number of file descriptors and/or might not compile. If you have problems with compiling ev_select.c, you might try to play around with disabling it here, or forcing it to use the fd_set provided by your OS, via the next question. I highly recommend keeping it in. Enable select backend (y/n)? [y] y *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** The select backend can operate in two modes. One uses the system-provided fd_set and is usually limited to 1024 file descriptors (64 on windows), the other requires your header files to define NFDBITS and declare a suitable fd_mask type. If you run into problems compiling ev_select.c, you can try forcing the use of the system fd_set here. Force use of system fd_set for select backend (y/n)? [n] n *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** The second very portable backend is poll(2). It does not exist on windows and various versions of Mac OS X (and on the other versions it simply doesn't work), but works basically everywhere else. It is recommended to use the default here unless you run into compile problems in ev_poll.c. Enable poll backend (y/n)? [y] y *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** Select and poll make it hard to write efficient servers, especially if the number of active connections is much lower than the watched ones. GNU/Linux systems have a more scalable method called "epoll", which EV can use. For this to work, both your kernel and glibc have to support epoll, but if you can compile it, the detection will be done at runtime, and EV will safely fall back to using select when epoll isn't available. If unsure, accept the default. Enable epoll backend (y/n)? [n] n *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** Similarly to the epoll backend above, EV can take advantage of kqueue on many BSD systems. Support for kqueue will be detected at runtime, with a safe fallback to other methods when it cannot be used. Note that kqueue is broken on most operating systems, so by default it won't be used on many platforms, but you can still create your own event loop with kqueue backend if you ask specifically for it. Here is what we know: NetBSD: partially working in at least 3.1 and later. Yeah! :) FreeBSD: broken on at least 6.2-STABLE, spotty in later versions, sockets *likely* work, ptys definitely don't. OpenBSD: reports indicate that it likely doesn't work (similar problems as on FreeBSD). OS X: completely, utterly broken on at least <= 10.6. Enable kqueue backend (y/n)? [y] y *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** Similarly to the kqueue backend above, EV can take advantage of the solaris 10 event port interface. Support for event ports will be detected at runtime, with a safe fallback to other methods when it cannot be used. Enable event port backend (y/n)? [n] n *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** EV needs the functions pthread_atfork and clock_gettime. On most systems you need some special libraries for this (such as -lrt and -lpthread). You can specify additional libraries to provide these calls (and any other required by EV) now, or accept the default. On GNU/Linux systems, EV uses the LSB 3.1 __register_atfork function to avoid the dependency on libpthread, and directly uses the clock_gettime syscall to avoid a dependency on librt. Extra libraries for pthread_atfork and clock_gettime? [-lpthread -lrt ] -lpthread -lrt *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** A backend of a different kind is the Linux inotify(7) interface, which can be used to speed up (and reduce resource consumption) of stat watchers. If you have the include file and libc support for it, it is usually a good idea to enable it, as kernel availability is detected at runtime. Enable inotify support (y/n)? [n] n *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** Another useful bit of functionality is the Linux eventfd, which is useful for faster signal handling (don't care) and intra-thread communications (more relevant). Kernel support for this will be probed at runtime, but your libc must contain the necessary wrapper. Glibc 2.7 and later should have this wrapper. Enable linux eventfd support (y/n)? [n] n *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** Another sometimes useful bit of functionality is the Linux signalfd, which is useful for faster signal handling (don't care). Kernel support for this will be probed at runtime, but your libc must contain the necessary wrapper. Glibc 2.7 and later should have this wrapper. Enable linux signalfd support (y/n)? [n] n *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** Very rarely, people want to tweak EV even more, e.g. to exclude or include certain watcher types or backends. This can be done by adding extra -D options here, or via the EV_EXTRA_DEFS environment variable. For example, if you run into compile problems because of missing memory fences (or you just want extra performance), you can tell EV to not support smp and threads via -DEV_NO_THREADS. Normal persons just press enter. Any extra -D options? [] *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** Checking if your kit is complete... Looks good Generating a Unix-style Makefile Writing Makefile for EV Writing MYMETA.yml and MYMETA.json -------------------------------------------------------------------------------- -- Phase: build -------------------------------------------------------------------------------- ===> Building for p5-EV-4.22,1 --- blib/lib/.exists --- --- blib/arch/.exists --- --- blib/lib/auto/EV/.exists --- --- blib/arch/auto/EV/.exists --- --- blib/bin/.exists --- --- blib/script/.exists --- --- blib/man1/.exists --- --- blib/man3/.exists --- --- config --- --- subdirs --- --- dynamic --- --- EV.c --- --- EV.bs --- --- pm_to_blib --- --- EV.c --- "/usr/local/bin/perl" "/usr/local/lib/perl5/5.28/ExtUtils/xsubpp" -typemap '/usr/local/lib/perl5/5.28/ExtUtils/typemap' -typemap '/construction/devel/p5-EV/EV-4.22/typemap' EV.xs > EV.xsc --- EV.bs --- Running Mkbootstrap for EV () --- blibdirs --- --- config --- --- EV.bs --- chmod 644 "EV.bs" --- blib/arch/auto/EV/EV.bs --- "/usr/local/bin/perl" -MExtUtils::Command::MM -e 'cp_nonempty' -- EV.bs blib/arch/auto/EV/EV.bs 644 --- pm_to_blib --- cp EV.pm blib/lib/EV.pm cp libev/ev.pod blib/lib/EV/libev.pod cp EV/MakeMaker.pm blib/lib/EV/MakeMaker.pm cp libev/ev.h blib/lib/EV/ev.h cp EV/EVAPI.h blib/lib/EV/EVAPI.h --- EV.c --- mv EV.xsc EV.c --- EV.o --- cc -c -Ilibev -pipe -O2 -fno-strict-aliasing -pipe -O2 -fno-strict-aliasing -DVERSION=\"4.22\" -DXS_VERSION=\"4.22\" -DPIC -fPIC "-I/usr/local/lib/perl5/5.28/mach/CORE" -DEV_USE_REALTIME=0 -DEV_USE_SELECT=1 -DEV_USE_POLL=1 -DEV_USE_EPOLL=0 -DEV_USE_KQUEUE=1 -DEV_USE_PORT=0 -DEV_USE_INOTIFY=0 -DEV_USE_EVENTFD=0 -DEV_USE_SIGNALFD=0 EV.c --- blib/arch/auto/EV/EV.so --- rm -f blib/arch/auto/EV/EV.so LD_RUN_PATH="/usr/lib" cc -shared -L/usr/local/lib/perl5/5.28/mach/CORE -lperl -L/usr/local/lib -fstack-protector-strong EV.o -o blib/arch/auto/EV/EV.so -lpthread -lrt chmod 755 blib/arch/auto/EV/EV.so --- dynamic --- --- linkext --- --- pure_all --- --- manifypods --- Manifying 3 pod documents --- all --- -------------------------------------------------------------------------------- -- Phase: run-depends -------------------------------------------------------------------------------- ===> p5-EV-4.22,1 depends on package: p5-common-sense>=0 - found ===> p5-EV-4.22,1 depends on package: perl5>=5.28.r1<5.29 - found -------------------------------------------------------------------------------- -- Phase: stage -------------------------------------------------------------------------------- ===> Staging for p5-EV-4.22,1 ===> Generating temporary packing list "/usr/local/bin/perl" -MExtUtils::Command::MM -e 'cp_nonempty' -- EV.bs blib/arch/auto/EV/EV.bs 644 Manifying 3 pod documents Files found in blib/arch: installing files in blib/lib into architecture dependent library tree Installing /construction/devel/p5-EV/stage/usr/local/lib/perl5/site_perl/mach/5.28/auto/EV/EV.so Installing /construction/devel/p5-EV/stage/usr/local/lib/perl5/site_perl/mach/5.28/EV.pm Installing /construction/devel/p5-EV/stage/usr/local/lib/perl5/site_perl/mach/5.28/EV/ev.h Installing /construction/devel/p5-EV/stage/usr/local/lib/perl5/site_perl/mach/5.28/EV/EVAPI.h Installing /construction/devel/p5-EV/stage/usr/local/lib/perl5/site_perl/mach/5.28/EV/libev.pod Installing /construction/devel/p5-EV/stage/usr/local/lib/perl5/site_perl/mach/5.28/EV/MakeMaker.pm Installing /construction/devel/p5-EV/stage/usr/local/lib/perl5/site_perl/man/man3/EV::libev.3 Installing /construction/devel/p5-EV/stage/usr/local/lib/perl5/site_perl/man/man3/EV.3 Installing /construction/devel/p5-EV/stage/usr/local/lib/perl5/site_perl/man/man3/EV::MakeMaker.3 ====> Compressing man pages (compress-man) -------------------------------------------------------------------------------- -- Phase: package -------------------------------------------------------------------------------- ===> Building package for p5-EV-4.22,1 file sizes/checksums [14]: . done packing files [14]: . done packing directories [0]: . done -------------------------------------------------- -- Termination -------------------------------------------------- Finished: Saturday, 6 JUL 2019 at 13:36:16 UTC Duration: 00:00:24