=> Building devel/rubygem-fastri Started : Thursday, 19 APR 2018 at 11:25:30 UTC Platform: 5.3-DEVELOPMENT DragonFly v5.3.0.81.g32506c-DEVELOPMENT #29: Tue Apr 10 08:49:52 PDT 2018 marino@pkgbox64.dragonflybsd.org:/usr/obj/usr/src/sys/X86_64_GENERIC x86_64 -------------------------------------------------- -- Environment -------------------------------------------------- UNAME_r=5.0-SYNTH UNAME_m=x86_64 UNAME_p=x86_64 UNAME_v=DragonFly 5.0-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 -------------------------------------------------- XDG_DATA_HOME=/construction/devel/rubygem-fastri XDG_CONFIG_HOME=/construction/devel/rubygem-fastri HOME=/construction/devel/rubygem-fastri TMPDIR="/tmp" PATH=/construction/devel/rubygem-fastri/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin SHELL=/bin/sh CONFIG_SHELL=/bin/sh CCVER=gcc50 LANG=en_US.UTF-8 LC_ALL=en_US.UTF-8 -------------------------------------------------- -- CONFIGURE_ARGS -------------------------------------------------- -------------------------------------------------- -- MAKE_ENV -------------------------------------------------- XDG_DATA_HOME=/construction/devel/rubygem-fastri XDG_CONFIG_HOME=/construction/devel/rubygem-fastri HOME=/construction/devel/rubygem-fastri TMPDIR="/tmp" PATH=/construction/devel/rubygem-fastri/.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=gcc50 LANG=en_US.UTF-8 LC_ALL=en_US.UTF-8 PREFIX=/usr/local LOCALBASE=/usr/local LIBDIR="/usr/lib" 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/rubygem-fastri/stage -------------------------------------------------- -- PLIST_SUB -------------------------------------------------- PORTDOCS="" PORTEXAMPLES="" RUBY_LIBDIR="lib/ruby/2.4" RUBY_ARCHLIBDIR="lib/ruby/2.4/x86_64-dragonfly5" RUBY_SITELIBDIR="lib/ruby/site_ruby/2.4" RUBY_SITEARCHLIBDIR="lib/ruby/site_ruby/2.4/x86_64-dragonfly5" RUBY_VENDORLIBDIR="lib/ruby/vendor_ruby/2.4" RUBY_VENDORARCHLIBDIR="lib/ruby/vendor_ruby/2.4/x86_64-dragonfly5" RUBY_MODDOCDIR="share/doc/ruby24/fastri" RUBY_MODEXAMPLESDIR="share/examples/ruby24/fastri" RUBY_DOCDIR="share/doc/ruby24" RUBY_EXAMPLESDIR="share/examples/ruby24" RUBY_RIDIR="share/ri/2.4/system" RUBY_SITERIDIR="share/ri/2.4/site" RUBY_VERSION="2.4.4" RUBY_VER="2.4" RUBY_SHLIBVER="24" RUBY_ARCH="x86_64-dragonfly5" RUBY_SUFFIX="24" RUBY_NAME="ruby24" RUBY_DEFAULT_SUFFIX="24" RUBY23="@comment " RUBY24="" RUBY25="@comment " PORTVERSION="0.3.1.1" REV="" GEMS_BASE_DIR="lib/ruby/gems/2.4" GEMS_DIR="lib/ruby/gems/2.4/gems" DOC_DIR="lib/ruby/gems/2.4/doc" CACHE_DIR="lib/ruby/gems/2.4/cache" SPEC_DIR="lib/ruby/gems/2.4/specifications" EXT_DIR="lib/ruby/gems/2.4/extensions" PORT="fastri-0.3.1.1" GEM_NAME="fastri-0.3.1.1" GEM_LIB_DIR="lib/ruby/gems/2.4/gems/fastri-0.3.1.1" GEM_DOC_DIR="lib/ruby/gems/2.4/doc/fastri-0.3.1.1" GEM_SPEC="lib/ruby/gems/2.4/specifications/fastri-0.3.1.1.gemspec" GEM_CACHE="lib/ruby/gems/2.4/cache/fastri-0.3.1.1.gem" EXTRACT_SUFX=".gem" OSREL=5.0 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local LIB32DIR=lib PROFILE="@comment " DOCSDIR="share/doc/fastri" EXAMPLESDIR="share/examples/fastri" DATADIR="share/fastri" WWWDIR="www/fastri" ETCDIR="etc/fastri" -------------------------------------------------- -- SUB_LIST -------------------------------------------------- PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/fastri DOCSDIR=/usr/local/share/doc/fastri EXAMPLESDIR=/usr/local/share/examples/fastri WWWDIR=/usr/local/www/fastri ETCDIR=/usr/local/etc/fastri -------------------------------------------------- -- /etc/make.conf -------------------------------------------------- SYNTHPROFILE=Release-5.0 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 LICENSES_ACCEPTED= NONE HAVE_COMPAT_IA32_KERN= CONFIGURE_MAX_CMD_LEN=262144 _SMP_CPUS=8 UID=0 ARCH=x86_64 OPSYS=DragonFly DFLYVERSION=500000 OSVERSION=9999999 OSREL=5.0 _OSRELEASE=5.0-SYNTH -------------------------------------------------------------------------------- -- Phase: check-sanity -------------------------------------------------------------------------------- ===> License GPLv2 RUBY accepted by the user -------------------------------------------------------------------------------- -- Phase: pkg-depends -------------------------------------------------------------------------------- ===> rubygem-fastri-0.3.1.1 depends on file: /usr/local/sbin/pkg - not found ===> Installing existing package /packages/All/pkg-1.10.5.txz Installing pkg-1.10.5... Extracting pkg-1.10.5: .......... done ===> rubygem-fastri-0.3.1.1 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of rubygem-fastri-0.3.1.1 -------------------------------------------------------------------------------- -- Phase: fetch-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: fetch -------------------------------------------------------------------------------- ===> License GPLv2 RUBY accepted by the user ===> Fetching all distfiles required by rubygem-fastri-0.3.1.1 for building -------------------------------------------------------------------------------- -- Phase: checksum -------------------------------------------------------------------------------- ===> License GPLv2 RUBY accepted by the user ===> Fetching all distfiles required by rubygem-fastri-0.3.1.1 for building => SHA256 Checksum OK for rubygem/fastri-0.3.1.1.gem. -------------------------------------------------------------------------------- -- Phase: extract-depends -------------------------------------------------------------------------------- ===> rubygem-fastri-0.3.1.1 depends on file: /usr/local/bin/ruby24 - not found ===> Installing existing package /packages/All/ruby-2.4.4,1.txz Installing ruby-2.4.4,1... `-- Installing libedit-3.1.20170329_2,1... | `-- Installing ncurses-6.0.0s20171223_1... | `-- Extracting ncurses-6.0.0s20171223_1: .......... done `-- Extracting libedit-3.1.20170329_2,1: .......... done `-- Installing libffi-3.2.1_2... | `-- Installing indexinfo-0.3.1... | `-- Extracting indexinfo-0.3.1: .... done `-- Extracting libffi-3.2.1_2: .......... done `-- Installing libressl-2.6.4... `-- Extracting libressl-2.6.4: .......... done `-- Installing libyaml-0.1.6_2... `-- Extracting libyaml-0.1.6_2: ......... done Extracting ruby-2.4.4,1: .......... done Message from ruby-2.4.4,1: ==== Some of the standard commands are provided as separate ports for ease of upgrading: devel/ruby-gems: gem - RubyGems package manager devel/rubygem-rake: rake - Ruby Make And some of the standard libraries are provided as separate ports since they require extra dependencies: databases/ruby-gdbm: GDBM module Install them as occasion demands. ==== ===> rubygem-fastri-0.3.1.1 depends on file: /usr/local/bin/ruby24 - found ===> Returning to build of rubygem-fastri-0.3.1.1 ===> rubygem-fastri-0.3.1.1 depends on file: /usr/local/bin/gem24 - not found ===> Installing existing package /packages/All/ruby24-gems-2.7.6.txz Installing ruby24-gems-2.7.6... Extracting ruby24-gems-2.7.6: .......... done ===> rubygem-fastri-0.3.1.1 depends on file: /usr/local/bin/gem24 - found ===> Returning to build of rubygem-fastri-0.3.1.1 -------------------------------------------------------------------------------- -- Phase: extract -------------------------------------------------------------------------------- ===> License GPLv2 RUBY accepted by the user ===> Fetching all distfiles required by rubygem-fastri-0.3.1.1 for building ===> Extracting for rubygem-fastri-0.3.1.1 => SHA256 Checksum OK for rubygem/fastri-0.3.1.1.gem. Unpacked gem: '/construction/devel/rubygem-fastri/fastri-0.3.1.1' -------------------------------------------------------------------------------- -- Phase: patch-depends -------------------------------------------------------------------------------- ===> rubygem-fastri-0.3.1.1 depends on file: /usr/local/bin/ruby24 - found -------------------------------------------------------------------------------- -- Phase: patch -------------------------------------------------------------------------------- ===> Patching for rubygem-fastri-0.3.1.1 -------------------------------------------------------------------------------- -- Phase: build-depends -------------------------------------------------------------------------------- ===> rubygem-fastri-0.3.1.1 depends on file: /usr/local/bin/ruby24 - found ===> rubygem-fastri-0.3.1.1 depends on file: /usr/local/bin/gem24 - found -------------------------------------------------------------------------------- -- Phase: lib-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: configure -------------------------------------------------------------------------------- ===> Configuring for rubygem-fastri-0.3.1.1 -------------------------------------------------------------------------------- -- Phase: build -------------------------------------------------------------------------------- ===> Building for rubygem-fastri-0.3.1.1 Successfully built RubyGem Name: fastri Version: 0.3.1.1 File: fastri-0.3.1.1.gem -------------------------------------------------------------------------------- -- Phase: run-depends -------------------------------------------------------------------------------- ===> rubygem-fastri-0.3.1.1 depends on file: /usr/local/bin/ruby24 - found ===> rubygem-fastri-0.3.1.1 depends on file: /usr/local/bin/gem24 - found -------------------------------------------------------------------------------- -- Phase: stage -------------------------------------------------------------------------------- ===> Staging for rubygem-fastri-0.3.1.1 ===> Generating temporary packing list (cd /construction/devel/rubygem-fastri/fastri-0.3.1.1; /usr/bin/env RB_USER_INSTALL=yes LANG=en_US.UTF-8 LC_ALL=en_US.UTF-8 /usr/local/bin/gem24 install -l --no-update-sources --install-dir /construction/devel/rubygem-fastri/stage/usr/local/lib/ruby/gems/2.4 --ignore-dependencies --bindir=/construction/devel/rubygem-fastri/stage/usr/local/bin --no-rdoc --no-ri fastri-0.3.1.1.gem -- --build-args ) A small note about RubyGems + FastRI ==================================== RubyGems adds a noticeable overhead to fri, making it run slower than if you installed it directly from the tarball with setup.rb. Compare the execution time when installed with RubyGems: $ time fri -f plain String > /dev/null real 0m0.385s user 0m0.244s sys 0m0.036s to the time fri actually takes to run, without the overhead introduced by RubyGems: $ time ruby bin/fri -f plain String > /dev/null real 0m0.088s user 0m0.040s sys 0m0.008s If you care about those extra 300ms (and there are situations where they will matter, e.g. when using fri for method completion), get FastRI from the tarballs. Successfully installed fastri-0.3.1.1 1 gem installed /bin/rm -f -r /construction/devel/rubygem-fastri/stage/usr/local/lib/ruby/gems/2.4/build_info/ /usr/bin/find /construction/devel/rubygem-fastri/stage/usr/local/lib/ruby/gems/2.4 -type f -name '*.so' -exec /usr/bin/strip {} + /usr/bin/find /construction/devel/rubygem-fastri/stage/usr/local/lib/ruby/gems/2.4 -type f \( -name mkmf.log -or -name gem_make.out \) -delete /bin/rm -f -r /construction/devel/rubygem-fastri/stage/usr/local/lib/ruby/gems/2.4/gems/fastri-0.3.1.1/ext /construction/devel/rubygem-fastri/stage/usr/local/lib/ruby/gems/2.4/cache 2> /dev/null || true /bin/rmdir /construction/devel/rubygem-fastri/stage/usr/local/lib/ruby/gems/2.4/extensions 2> /dev/null || true /bin/rmdir /construction/devel/rubygem-fastri/stage/usr/local/lib/ruby/gems/2.4/doc find: /construction/devel/rubygem-fastri/stage/usr/local/lib/ruby/gems/2.4/doc: No such file or directory ====> Compressing man pages (compress-man) -------------------------------------------------------------------------------- -- Phase: package -------------------------------------------------------------------------------- ===> Building package for rubygem-fastri-0.3.1.1 file sizes/checksums [35]: . done packing files [35]: . done packing directories [0]: . done -------------------------------------------------- -- Termination -------------------------------------------------- Finished: Thursday, 19 APR 2018 at 11:25:40 UTC Duration: 00:00:10