Building p5-EV-4.15,1.txz (origin /buildshare/ports/355755/devel/p5-EV) for powerpc-10-0 on XXX slot1: created x distfiles/ x distfiles/EV-4.15.tar.gz x packages/ x packages/perl5-5.16.3_10.txz x packages/pkg-1.2.7_2.txz x packages/p5-common-sense-3.6.txz ELF ldconfig path: /lib /usr/lib /usr/lib/compat Make depends ===> p5-EV-4.15,1 depends on file: /usr/local/sbin/pkg - not found ===> Verifying install for /usr/local/sbin/pkg in /buildshare/ports/355755/ports-mgmt/pkg ===> Installing existing package /packages/pkg-1.2.7_2.txz Installing pkg-1.2.7_2... done If you are upgrading from the old package format, first run: # pkg2ng ===> Returning to build of p5-EV-4.15,1 ===> p5-EV-4.15,1 depends on package: p5-common-sense>=0 - not found ===> Verifying install for p5-common-sense>=0 in /buildshare/ports/355755/devel/p5-common-sense ===> Installing existing package /packages/p5-common-sense-3.6.txz Installing p5-common-sense-3.6...Installing perl5-5.16.3_10... done done ===> Returning to build of p5-EV-4.15,1 ===> p5-EV-4.15,1 depends on file: /usr/local/bin/perl5.16.3 - found ===> p5-EV-4.15,1 depends on package: p5-common-sense>=0 - found ===> p5-EV-4.15,1 depends on file: /usr/local/bin/perl5.16.3 - found Make install ===> p5-EV-4.15,1 depends on file: /usr/local/sbin/pkg - found ===> Fetching all distfiles required by p5-EV-4.15,1 for building ===> Extracting for p5-EV-4.15,1 => SHA256 Checksum OK for EV-4.15.tar.gz. ===> Patching for p5-EV-4.15,1 ===> p5-EV-4.15,1 depends on package: p5-common-sense>=0 - found ===> p5-EV-4.15,1 depends on file: /usr/local/bin/perl5.16.3 - found ===> Configuring for p5-EV-4.15,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 Writing Makefile for EV Writing MYMETA.yml and MYMETA.json ===> Building for p5-EV-4.15,1 cp EV/MakeMaker.pm blib/lib/EV/MakeMaker.pm cp libev/ev.pod blib/lib/EV/libev.pod cp EV/EVAPI.h blib/lib/EV/EVAPI.h cp EV.pm blib/lib/EV.pm cp libev/ev.h blib/lib/EV/ev.h /usr/local/bin/perl5 /usr/local/lib/perl5/5.16/ExtUtils/xsubpp -typemap /usr/local/lib/perl5/5.16/ExtUtils/typemap -typemap typemap EV.xs > EV.xsc && mv EV.xsc EV.c cc -c -Ilibev -O2 -pipe -fno-strict-aliasing -O2 -pipe -fno-strict-aliasing -DVERSION=\"4.15\" -DXS_VERSION=\"4.15\" -DPIC -fPIC "-I/usr/local/lib/perl5/5.16/mach/CORE" -DEV_USE_MONOTONIC=1 -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 EV.c: In function 'XS_EV_embed': EV.c:1291: warning: cast to pointer from integer of different size EV.c: In function 'XS_EV__Embed_set': EV.c:3244: warning: cast to pointer from integer of different size EV.c: In function 'XS_EV__Loop_DESTROY': EV.c:3473: warning: cast to pointer from integer of different size EV.c: In function 'XS_EV__Loop_loop_fork': EV.c:3498: warning: cast to pointer from integer of different size EV.c: In function 'XS_EV__Loop_now': EV.c:3521: warning: cast to pointer from integer of different size EV.c: In function 'XS_EV__Loop_now_update': EV.c:3543: warning: cast to pointer from integer of different size EV.c: In function 'XS_EV__Loop_suspend': EV.c:3564: warning: cast to pointer from integer of different size EV.c: In function 'XS_EV__Loop_resume': EV.c:3585: warning: cast to pointer from integer of different size EV.c: In function 'XS_EV__Loop_set_io_collect_interval': EV.c:3608: warning: cast to pointer from integer of different size EV.c: In function 'XS_EV__Loop_set_timeout_collect_interval': EV.c:3631: warning: cast to pointer from integer of different size EV.c: In function 'XS_EV__Loop_backend': EV.c:3654: warning: cast to pointer from integer of different size EV.c: In function 'XS_EV__Loop_verify': EV.c:3677: warning: cast to pointer from integer of different size EV.c: In function 'XS_EV__Loop_iteration': EV.c:3701: warning: cast to pointer from integer of different size EV.c: In function 'XS_EV__Loop_depth': EV.c:3726: warning: cast to pointer from integer of different size EV.c: In function 'XS_EV__Loop_run': EV.c:3752: warning: cast to pointer from integer of different size EV.c: In function 'XS_EV__Loop_break': EV.c:3783: warning: cast to pointer from integer of different size EV.c: In function 'XS_EV__Loop_feed_fd_event': EV.c:3814: warning: cast to pointer from integer of different size EV.c: In function 'XS_EV__Loop_pending_count': EV.c:3844: warning: cast to pointer from integer of different size EV.c: In function 'XS_EV__Loop_invoke_pending': EV.c:3866: warning: cast to pointer from integer of different size EV.c: In function 'XS_EV__Loop_io': EV.c:3928: warning: cast to pointer from integer of different size EV.c: In function 'XS_EV__Loop_timer': EV.c:3968: warning: cast to pointer from integer of different size EV.c: In function 'XS_EV__Loop_periodic': EV.c:4007: warning: cast to pointer from integer of different size EV.c: In function 'XS_EV__Loop_signal': EV.c:4047: warning: cast to pointer from integer of different size EV.c: In function 'XS_EV__Loop_idle': EV.c:4082: warning: cast to pointer from integer of different size EV.c: In function 'XS_EV__Loop_prepare': EV.c:4112: warning: cast to pointer from integer of different size EV.c: In function 'XS_EV__Loop_check': EV.c:4142: warning: cast to pointer from integer of different size EV.c: In function 'XS_EV__Loop_fork': EV.c:4172: warning: cast to pointer from integer of different size EV.c: In function 'XS_EV__Loop_child': EV.c:4241: warning: cast to pointer from integer of different size EV.c: In function 'XS_EV__Loop_stat': EV.c:4279: warning: cast to pointer from integer of different size EV.c: In function 'XS_EV__Loop_embed': EV.c:4310: warning: cast to pointer from integer of different size EV.c:4316: warning: cast to pointer from integer of different size EV.c: In function 'XS_EV__Loop_async': EV.c:4359: warning: cast to pointer from integer of different size EV.c: In function 'XS_EV__Loop_once': EV.c:4393: warning: cast to pointer from integer of different size EV.xs: In function 'boot_EV': EV.xs:519: warning: cast from pointer to integer of different size Running Mkbootstrap for EV () chmod 644 EV.bs rm -f blib/arch/auto/EV/EV.so LD_RUN_PATH="/usr/lib" cc -shared -L/usr/local/lib -fstack-protector EV.o -o blib/arch/auto/EV/EV.so -lpthread -lrt chmod 755 blib/arch/auto/EV/EV.so cp EV.bs blib/arch/auto/EV/EV.bs chmod 644 blib/arch/auto/EV/EV.bs Manifying blib/man3/EV::MakeMaker.3 Manifying blib/man3/EV::libev.3 Manifying blib/man3/EV.3 ===> Staging for p5-EV-4.15,1 ===> p5-EV-4.15,1 depends on package: p5-common-sense>=0 - found ===> p5-EV-4.15,1 depends on file: /usr/local/bin/perl5.16.3 - found ===> Generating temporary packing list Files found in blib/arch: installing files in blib/lib into architecture dependent library tree Installing /obj/buildshare/ports/355755/devel/p5-EV/work/stage/usr/local/lib/perl5/site_perl/5.16/mach/auto/EV/EV.so Installing /obj/buildshare/ports/355755/devel/p5-EV/work/stage/usr/local/lib/perl5/site_perl/5.16/mach/auto/EV/EV.bs Installing /obj/buildshare/ports/355755/devel/p5-EV/work/stage/usr/local/lib/perl5/site_perl/5.16/mach/EV.pm Installing /obj/buildshare/ports/355755/devel/p5-EV/work/stage/usr/local/lib/perl5/site_perl/5.16/mach/EV/MakeMaker.pm Installing /obj/buildshare/ports/355755/devel/p5-EV/work/stage/usr/local/lib/perl5/site_perl/5.16/mach/EV/libev.pod Installing /obj/buildshare/ports/355755/devel/p5-EV/work/stage/usr/local/lib/perl5/site_perl/5.16/mach/EV/EVAPI.h Installing /obj/buildshare/ports/355755/devel/p5-EV/work/stage/usr/local/lib/perl5/site_perl/5.16/mach/EV/ev.h Installing /obj/buildshare/ports/355755/devel/p5-EV/work/stage/usr/local/lib/perl5/5.16/man/man3/EV::MakeMaker.3 Installing /obj/buildshare/ports/355755/devel/p5-EV/work/stage/usr/local/lib/perl5/5.16/man/man3/EV::libev.3 Installing /obj/buildshare/ports/355755/devel/p5-EV/work/stage/usr/local/lib/perl5/5.16/man/man3/EV.3 ====> Compressing man pages (compress-man) ===> Installing for p5-EV-4.15,1 ===> Checking if devel/p5-EV already installed ===> Registering installation for p5-EV-4.15,1 Installing p5-EV-4.15,1... done Make package ===> Building package for p5-EV-4.15,1 slot1: removed