Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 2 Dec 2018 01:11:08 GMT
From:      pkg-fallout@FreeBSD.org
To:        greg@unrelenting.technology
Cc:        pkg-fallout@FreeBSD.org
Subject:   [package - 112amd64-quarterly][lang/crystal] Failed for crystal-0.25.1_1 in build
Message-ID:  <201812020111.wB21B8qo063628@beefy3.nyi.freebsd.org>

next in thread | raw e-mail | index | archive | help
You are receiving this mail as a port that you maintain
is failing to build on the FreeBSD package build server.
Please investigate the failure and submit a PR to fix
build.

Maintainer:     greg@unrelenting.technology
Last committer: meta@FreeBSD.org
Ident:          $FreeBSD: branches/2018Q4/lang/crystal/Makefile 485424 2018-11-20 10:20:51Z meta $
Log URL:        http://beefy3.nyi.freebsd.org/data/112amd64-quarterly/486314/logs/crystal-0.25.1_1.log
Build URL:      http://beefy3.nyi.freebsd.org/build.html?mastername=112amd64-quarterly&build=486314
Log:

=>> Building lang/crystal
build started at Sun Dec  2 01:10:07 UTC 2018
port directory: /usr/ports/lang/crystal
package name: crystal-0.25.1_1
building for: FreeBSD 112amd64-quarterly-job-21 11.2-RELEASE-p5 FreeBSD 11.2-RELEASE-p5 amd64
maintained by: greg@unrelenting.technology
Makefile ident:      $FreeBSD: branches/2018Q4/lang/crystal/Makefile 485424 2018-11-20 10:20:51Z meta $
Poudriere version: 3.2.8
Host OSVERSION: 1300002
Jail OSVERSION: 1102000
Job Id: 21

---Begin Environment---
SHELL=/bin/csh
OSVERSION=1102000
UNAME_v=FreeBSD 11.2-RELEASE-p5
UNAME_r=11.2-RELEASE-p5
BLOCKSIZE=K
MAIL=/var/mail/root
STATUS=1
HOME=/root
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin
LOCALBASE=/usr/local
USER=root
LIBEXECPREFIX=/usr/local/libexec/poudriere
POUDRIERE_VERSION=3.2.8
MASTERMNT=/usr/local/poudriere/data/.m/112amd64-quarterly/ref
POUDRIERE_BUILD_TYPE=bulk
PACKAGE_BUILDING=yes
SAVED_TERM=
PWD=/usr/local/poudriere/data/.m/112amd64-quarterly/ref/.p/pool
P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS
MASTERNAME=112amd64-quarterly
SCRIPTPREFIX=/usr/local/share/poudriere
OLDPWD=/usr/local/poudriere/data/.m/112amd64-quarterly/ref/.p
SCRIPTPATH=/usr/local/share/poudriere/bulk.sh
POUDRIEREPATH=/usr/local/bin/poudriere
---End Environment---

---Begin Poudriere Port Flags/Env---
PORT_FLAGS=
PKGENV=
FLAVOR=
DEPENDS_ARGS=
MAKE_ARGS=
---End Poudriere Port Flags/Env---

---Begin OPTIONS List---
===> The following configuration options are available for crystal-0.25.1_1:
     BASH=on: Install programmable completions for Bash
     DOCS=on: Build and/or install documentation
     EXAMPLES=on: Build and/or install examples
     ZSH=on: Install programmable completions for zsh
===> Use 'make config' to modify these settings
---End OPTIONS List---

--MAINTAINER--
greg@unrelenting.technology
--End MAINTAINER--

--CONFIGURE_ARGS--

--End CONFIGURE_ARGS--

--CONFIGURE_ENV--
MAKE=gmake PKG_CONFIG=pkgconf XDG_DATA_HOME=/wrkdirs/usr/ports/lang/crystal/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/lang/crystal/work  HOME=/wrkdirs/usr/ports/lang/crystal/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/lang/crystal/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin SHELL=/bin/sh CONFIG_SHELL=/bin/sh
--End CONFIGURE_ENV--

--MAKE_ENV--
XDG_DATA_HOME=/wrkdirs/usr/ports/lang/crystal/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/lang/crystal/work  HOME=/wrkdirs/usr/ports/lang/crystal/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/lang/crystal/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin NO_PIE=yes MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES PREFIX=/usr/local  LOCALBASE=/usr/local  CC="cc" CFLAGS="-O2 -pipe  -fstack-protector -fno-strict-aliasing "  CPP="cpp" CPPFLAGS=""  LDFLAGS=" -fstack-protector " LIBS=""  CXX="c++" CXXFLAGS="-O2 -pipe -fstack-protector -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"
--End MAKE_ENV--

--PLIST_SUB--
PORTDOCS="" PORTEXAMPLES="" BASH="" NO_BASH="@comment " DOCS="" NO_DOCS="@comment " EXAMPLES="" NO_EXAMPLES="@comment " ZSH="" NO_ZSH="@comment " OSREL=11.2 PREFIX=%D LOCALBASE=/usr/local  RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/crystal"  EXAMPLESDIR="share/examples/crystal"  DATADIR="share/crystal"  WWWDIR="www/crystal"  ETCDIR="etc/crystal"
--End PLIST_SUB--

--SUB_LIST--
BASH="" NO_BASH="@comment " DOCS="" NO_DOCS="@comment " EXAMPLES="" NO_EXAMPLES="@comment " ZSH="" NO_ZSH="@comment " PREFIX=/usr/local LOCALBASE=/usr/local  DATADIR=/usr/local/share/crystal DOCSDIR=/usr/local/share/doc/crystal EXAMPLESDIR=/usr/local/share/examples/crystal  WWWDIR=/usr/local/www/crystal ETCDIR=/usr/local/etc/crystal
--End SUB_LIST--

---Begin make.conf---
USE_PACKAGE_DEPENDS=yes
BATCH=yes
WRKDIRPREFIX=/wrkdirs
PORTSDIR=/usr/ports
PACKAGES=/packages
DISTDIR=/distfiles
PACKAGE_BUILDING=yes
PACKAGE_BUILDING_FLAVORS=yes
#### /usr/local/etc/poudriere.d/make.conf ####
# XXX: We really need this but cannot use it while 'make checksum' does not
# try the next mirror on checksum failure.  It currently retries the same
# failed mirror and then fails rather then trying another.  It *does*
# try the next if the size is mismatched though.
#MASTER_SITE_FREEBSD=yes
# Build ALLOW_MAKE_JOBS_PACKAGES with 2 jobs
MAKE_JOBS_NUMBER=2

# stable/10 includes src.conf too late but make.conf is in sys.mk
.if ${.CURDIR:M/poudriere/jails/10*/usr/src/usr.bin/xlint*}
# Disable build of llib now that head no longer has lint(1)
LINT=	true
.endif
#### /usr/ports/Mk/Scripts/ports_env.sh ####
_CCVERSION_921dbbb2=FreeBSD clang version 6.0.0 (tags/RELEASE_600/final 326565) (based on LLVM 6.0.0) Target: x86_64-unknown-freebsd11.2 Thread model: posix InstalledDir: /usr/bin
_ALTCCVERSION_921dbbb2=none
_CXXINTERNAL_acaad9ca=FreeBSD clang version 6.0.0 (tags/RELEASE_600/final 326565) (based on LLVM 6.0.0) Target: x86_64-unknown-freebsd11.2 Thread model: posix InstalledDir: /usr/bin "/usr/bin/ld" "--eh-frame-hdr" "-dynamic-linker" "/libexec/ld-elf.so.1" "--hash-style=both" "--enable-new-dtags" "-o" "a.out" "/usr/lib/crt1.o" "/usr/lib/crti.o" "/usr/lib/crtbegin.o" "-L/usr/lib" "/dev/null" "-lc++" "-lm" "-lgcc" "--as-needed" "-lgcc_s" "--no-as-needed" "-lc" "-lgcc" "--as-needed" "-lgcc_s" "--no-as-needed" "/usr/lib/crtend.o" "/usr/lib/crtn.o"
CC_OUTPUT_921dbbb2_58173849=yes
CC_OUTPUT_921dbbb2_9bdba57c=yes
CC_OUTPUT_921dbbb2_6a4fe7f5=yes
CC_OUTPUT_921dbbb2_6bcac02b=yes
CC_OUTPUT_921dbbb2_67d20829=yes
CC_OUTPUT_921dbbb2_bfa62e83=yes
CC_OUTPUT_921dbbb2_f0b4d593=yes
CC_OUTPUT_921dbbb2_308abb44=yes
CC_OUTPUT_921dbbb2_f00456e5=yes
CC_OUTPUT_921dbbb2_65ad290d=yes
CC_OUTPUT_921dbbb2_f2776b26=yes
CC_OUTPUT_921dbbb2_b2657cc3=yes
CC_OUTPUT_921dbbb2_380987f7=yes
CC_OUTPUT_921dbbb2_160933ec=yes
CC_OUTPUT_921dbbb2_fb62803b=yes
_OBJC_CCVERSION_921dbbb2=FreeBSD clang version 6.0.0 (tags/RELEASE_600/final 326565) (based on LLVM 6.0.0) Target: x86_64-unknown-freebsd11.2 Thread model: posix InstalledDir: /usr/bin
_OBJC_ALTCCVERSION_921dbbb2=none
ARCH=amd64
OPSYS=FreeBSD
_OSRELEASE=11.2-RELEASE-p5
OSREL=11.2
OSVERSION=1102000
PYTHONBASE=/usr/local
HAVE_COMPAT_IA32_KERN=YES
CONFIGURE_MAX_CMD_LEN=262144
HAVE_PORTS_ENV=1
#### Misc Poudriere ####
GID=0
UID=0
DISABLE_MAKE_JOBS=poudriere
---End make.conf---
--Resource limits--
cpu time               (seconds, -t)  unlimited
file size           (512-blocks, -f)  unlimited
data seg size           (kbytes, -d)  33554432
stack size              (kbytes, -s)  524288
core file size      (512-blocks, -c)  unlimited
max memory size         (kbytes, -m)  unlimited
locked memory           (kbytes, -l)  unlimited
max user processes              (-u)  89999
open files                      (-n)  1024
virtual mem size        (kbytes, -v)  unlimited
swap limit              (kbytes, -w)  unlimited
socket buffer size       (bytes, -b)  unlimited
pseudo-terminals                (-p)  unlimited
kqueues                         (-k)  unlimited
umtx shared locks               (-o)  unlimited
--End resource limits--
=======================<phase: check-sanity   >============================
===>  License APACHE20 accepted by the user
===========================================================================
=======================<phase: pkg-depends    >============================
===>   crystal-0.25.1_1 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-1.10.5_5.txz
[112amd64-quarterly-job-21] Installing pkg-1.10.5_5...
[112amd64-quarterly-job-21] Extracting pkg-1.10.5_5: .......... done
===>   crystal-0.25.1_1 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of crystal-0.25.1_1
===========================================================================
=======================<phase: fetch-depends  >============================
===========================================================================
=======================<phase: fetch          >============================
===>  License APACHE20 accepted by the user
===> Fetching all distfiles required by crystal-0.25.1_1 for building
===========================================================================
=======================<phase: checksum       >============================
===>  License APACHE20 accepted by the user
===> Fetching all distfiles required by crystal-0.25.1_1 for building
=> SHA256 Checksum OK for crystal/crystal-0.25.0-freebsd11.2.
=> SHA256 Checksum OK for crystal/crystal-lang-crystal-0.25.1_GH0.tar.gz.
=> SHA256 Checksum OK for crystal/8fef4e4.patch.
===========================================================================
=======================<phase: extract-depends>============================
===========================================================================
=======================<phase: extract        >============================
===>  License APACHE20 accepted by the user
===> Fetching all distfiles required by crystal-0.25.1_1 for building
===>  Extracting for crystal-0.25.1_1
=> SHA256 Checksum OK for crystal/crystal-0.25.0-freebsd11.2.
=> SHA256 Checksum OK for crystal/crystal-lang-crystal-0.25.1_GH0.tar.gz.
=> SHA256 Checksum OK for crystal/8fef4e4.patch.
/bin/mkdir -p /wrkdirs/usr/ports/lang/crystal/work/crystal-0.25.1/.build
cp -f /portdistfiles/crystal/crystal-0.25.0-freebsd11.2 /wrkdirs/usr/ports/lang/crystal/work/crystal-0.25.1/.build/crystal
/bin/chmod +x /wrkdirs/usr/ports/lang/crystal/work/crystal-0.25.1/.build/crystal
/bin/ln -s x86_64-portbld-freebsd /wrkdirs/usr/ports/lang/crystal/work/crystal-0.25.1/src/lib_c/aarch64-portbld-freebsd
===========================================================================
=======================<phase: patch-depends  >============================
===========================================================================
=======================<phase: patch          >============================
===>  Patching for crystal-0.25.1_1
===>  Applying distribution patches for crystal-0.25.1_1
===========================================================================
<snip>
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.
Message from python27-2.7.15:

===========================================================================

Note that some standard Python modules are provided as separate ports
as they require additional dependencies. They are available as:

bsddb           databases/py-bsddb
gdbm            databases/py-gdbm
sqlite3         databases/py-sqlite3
tkinter         x11-toolkits/py-tkinter

===========================================================================
===>   crystal-0.25.1_1 depends on file: /usr/local/bin/llvm-config60 - found
===>   Returning to build of crystal-0.25.1_1
===>   crystal-0.25.1_1 depends on executable: gmake - not found
===>   Installing existing package /packages/All/gmake-4.2.1_2.txz
[112amd64-quarterly-job-21] Installing gmake-4.2.1_2...
[112amd64-quarterly-job-21] Extracting gmake-4.2.1_2: .......... done
===>   crystal-0.25.1_1 depends on executable: gmake - found
===>   Returning to build of crystal-0.25.1_1
===>   crystal-0.25.1_1 depends on package: pkgconf>=1.3.0_1 - not found
===>   Installing existing package /packages/All/pkgconf-1.4.2,1.txz
[112amd64-quarterly-job-21] Installing pkgconf-1.4.2,1...
[112amd64-quarterly-job-21] Extracting pkgconf-1.4.2,1: .......... done
===>   crystal-0.25.1_1 depends on package: pkgconf>=1.3.0_1 - found
===>   Returning to build of crystal-0.25.1_1
===========================================================================
=======================<phase: lib-depends    >============================
===>   crystal-0.25.1_1 depends on shared library: libgc-threaded.so - not found
===>   Installing existing package /packages/All/boehm-gc-threaded-7.6.8.txz
[112amd64-quarterly-job-21] Installing boehm-gc-threaded-7.6.8...
[112amd64-quarterly-job-21] `-- Installing boehm-gc-7.6.8...
[112amd64-quarterly-job-21] `-- Extracting boehm-gc-7.6.8: .......... done
[112amd64-quarterly-job-21] Extracting boehm-gc-threaded-7.6.8: .......... done
===>   crystal-0.25.1_1 depends on shared library: libgc-threaded.so - found (/usr/local/lib/libgc-threaded.so)
===>   Returning to build of crystal-0.25.1_1
===>   crystal-0.25.1_1 depends on shared library: libevent.so - not found
===>   Installing existing package /packages/All/libevent-2.1.8_2.txz
[112amd64-quarterly-job-21] Installing libevent-2.1.8_2...
[112amd64-quarterly-job-21] Extracting libevent-2.1.8_2: .......... done
===>   crystal-0.25.1_1 depends on shared library: libevent.so - found (/usr/local/lib/libevent.so)
===>   Returning to build of crystal-0.25.1_1
===>   crystal-0.25.1_1 depends on shared library: libpcre.so - not found
===>   Installing existing package /packages/All/pcre-8.42.txz
[112amd64-quarterly-job-21] Installing pcre-8.42...
[112amd64-quarterly-job-21] Extracting pcre-8.42: .......... done
===>   crystal-0.25.1_1 depends on shared library: libpcre.so - found (/usr/local/lib/libpcre.so)
===>   Returning to build of crystal-0.25.1_1
===>   crystal-0.25.1_1 depends on shared library: libLLVM-6.0.so - found (/usr/local/llvm60/lib/libLLVM-6.0.so)
===========================================================================
=======================<phase: configure      >============================
===>  Configuring for crystal-0.25.1_1
===========================================================================
=======================<phase: build          >============================
===>  Building for crystal-0.25.1_1
gmake[1]: Entering directory '/wrkdirs/usr/ports/lang/crystal/work/crystal-0.25.1'
Using /usr/local/bin/llvm-config60 [version=6.0.1]
c++ -c -O2 -pipe -fstack-protector -fno-strict-aliasing    -o src/llvm/ext/llvm_ext.o src/llvm/ext/llvm_ext.cc -I/usr/local/llvm60/include -O2 -pipe -fstack-protector -isystem /usr/local/include -fno-strict-aliasing  -isystem /usr/local/include -fPIC -fvisibility-inlines-hidden -Werror=date-time -Werror=unguarded-availability-new -std=c++11 -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -pedantic -Wno-long-long -Wcovered-switch-default -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wstring-conversion -fcolor-diagnostics -ffunction-sections -fdata-sections -O2 -pipe -fstack-protector -isystem /usr/local/include -fno-strict-aliasing  -isystem /usr/local/include  -fno-exceptions -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS
cc -O2 -pipe  -fstack-protector -fno-strict-aliasing  -fPIC    -c -o src/ext/sigfault.o src/ext/sigfault.c
ar -rcs src/ext/libcrystal.a src/ext/sigfault.o
CRYSTAL_CONFIG_PATH="lib:/usr/local/lib/crystal" ./bin/crystal build --release --no-debug --progress --link-flags=" -fstack-protector "  -o .build/crystal src/compiler/crystal.cr -D without_openssl -D without_zlib
Using compiled compiler at `.build/crystal'
[1/13] Parse                             
[1/13] Parse                             
[2/13] Semantic (top level)              
[2/13] Semantic (top level)              
[3/13] Semantic (new)                    
[3/13] Semantic (new)                    
[4/13] Semantic (type declarations)      
[4/13] Semantic (type declarations)      
[5/13] Semantic (abstract def check)     
[5/13] Semantic (abstract def check)     
[6/13] Semantic (ivars initializers)     
[6/13] Semantic (ivars initializers)     
[7/13] Semantic (cvars initializers)     
[7/13] Semantic (cvars initializers)     
[8/13] Semantic (main)                   
Error in src/compiler/crystal.cr:8: instantiating 'Crystal::Command:Class#run()'

Crystal::Command.run
                 ^~~

in src/compiler/crystal/command.cr:47: instantiating 'run(Array(String))'

  def self.run(options = ARGV)
  ^

in src/compiler/crystal/command.cr:48: instantiating 'Crystal::Command#run()'

    new(options).run
                 ^~~

in src/compiler/crystal/command.cr:66: instantiating 'init()'

      init
      ^~~~

in src/compiler/crystal/command.cr:155: instantiating 'Crystal::Init:Module#run(Array(String))'

    Init.run(options)
         ^~~

in src/compiler/crystal/tools/init.cr:27: instantiating 'Crystal::Init::InitProject#run()'

        InitProject.new(config).run
                                ^~~

in src/compiler/crystal/tools/init.cr:232: instantiating 'Array(Crystal::Init::View)#each()'

        views.each &.render
              ^~~~

in src/indexable.cr:148: instantiating 'each_index()'

    each_index do |i|
    ^~~~~~~~~~

in src/indexable.cr:148: instantiating 'each_index()'

    each_index do |i|
    ^~~~~~~~~~

in src/compiler/crystal/tools/init.cr:232: instantiating 'Array(Crystal::Init::View)#each()'

        views.each &.render
              ^~~~

in src/compiler/crystal/tools/init.cr:232: instantiating 'Crystal::Init::View+#render()'

        views.each &.render
                     ^~~~~~

in src/compiler/crystal/tools/init.cr:188: instantiating 'to_s()'

        File.write(full_path, to_s)
                              ^~~~

in src/object.cr:95: instantiating 'String:Class#build()'

    String.build do |io|
           ^~~~~

in src/string.cr:268: instantiating 'String::Builder:Class#build(Int32)'

    String::Builder.build(capacity) do |builder|
                    ^~~~~

in src/string.cr:268: instantiating 'String::Builder:Class#build(Int32)'

    String::Builder.build(capacity) do |builder|
                    ^~~~~

in src/object.cr:95: instantiating 'String:Class#build()'

    String.build do |io|
           ^~~~~

in src/object.cr:96: instantiating 'to_s(String::Builder)'

      to_s io
      ^~~~

in macro 'def_to_s' /wrkdirs/usr/ports/lang/crystal/work/crystal-0.25.1/src/ecr/macros.cr:35, line 2:

   1.     def to_s(__io__)
>  2.       ECR.embed "/wrkdirs/usr/ports/lang/crystal/work/crystal-0.25.1/src/compiler/crystal/tools/init/template/example_spec.cr.ecr", "__io__"
   3.     end
   4.   

expanding macro
in macro 'embed' /wrkdirs/usr/ports/lang/crystal/work/crystal-0.25.1/src/ecr/macros.cr:69, line 1:

>  1.     {{ run("ecr/process", "/wrkdirs/usr/ports/lang/crystal/work/crystal-0.25.1/src/compiler/crystal/tools/init/template/example_spec.cr.ecr", "__io__") }}
   2.   

expanding macro
in macro 'def_to_s' /wrkdirs/usr/ports/lang/crystal/work/crystal-0.25.1/src/ecr/macros.cr:35, line 2:

   1.     def to_s(__io__)
>  2.       ECR.embed "/wrkdirs/usr/ports/lang/crystal/work/crystal-0.25.1/src/compiler/crystal/tools/init/template/example_spec.cr.ecr", "__io__"
   3.     end
   4.   

expanding macro
in macro 'embed' /wrkdirs/usr/ports/lang/crystal/work/crystal-0.25.1/src/ecr/macros.cr:69, line 1:

>  1.     {{ run("ecr/process", "/wrkdirs/usr/ports/lang/crystal/work/crystal-0.25.1/src/compiler/crystal/tools/init/template/example_spec.cr.ecr", "__io__") }}
   2.   

Error executing run (exit code: 1): ecr/process "/wrkdirs/usr/ports/lang/crystal/work/crystal-0.25.1/src/compiler/crystal/tools/init/template/example_spec.cr.ecr" "__io__"

stderr:

    Unhandled exception: Failed to access secure source to generate random bytes! (Exception)
      from __crystal_get_exception
      from __crystal_get_exception
      from __crystal_main
      from main
      from _start
      from ???


gmake[1]: *** [Makefile:120: .build/crystal] Error 1
gmake[1]: Leaving directory '/wrkdirs/usr/ports/lang/crystal/work/crystal-0.25.1'
*** Error code 1

Stop.
make: stopped in /usr/ports/lang/crystal



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201812020111.wB21B8qo063628>