Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 29 Oct 2016 07:54:42 GMT
From:      pkg-fallout@FreeBSD.org
To:        pkg-fallout@FreeBSD.org
Subject:   [package - 110arm64-quarterly][databases/ruby-cdb] Failed for ruby22-cdb-0.5a_1 in build
Message-ID:  <201610290754.u9T7sgQZ031077@thunderx1.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:     ruby@FreeBSD.org
Last committer: adamw@FreeBSD.org
Ident:          $FreeBSD: branches/2016Q4/databases/ruby-cdb/Makefile 362014 2014-07-15 23:11:12Z adamw $
Log URL:        http://thunderx1.nyi.freebsd.org/data/110arm64-quarterly/424729/logs/ruby22-cdb-0.5a_1.log
Build URL:      http://thunderx1.nyi.freebsd.org/build.html?mastername=110arm64-quarterly&build=424729
Log:

====>> Building databases/ruby-cdb
build started at Sat Oct 29 07:53:45 UTC 2016
port directory: /usr/ports/databases/ruby-cdb
building for: FreeBSD 110arm64-quarterly-job-19 11.0-RELEASE-p1 FreeBSD 11.0-RELEASE-p1 arm64
maintained by: ruby@FreeBSD.org
Makefile ident:      $FreeBSD: branches/2016Q4/databases/ruby-cdb/Makefile 362014 2014-07-15 23:11:12Z adamw $
Poudriere version: 3.1.14
Host OSVERSION: 1100121
Jail OSVERSION: 1100122




!!! Jail is newer than host. (Jail: 1100122, Host: 1100121) !!!
!!! This is not supported. !!!
!!! Host kernel must be same or newer than jail. !!!
!!! Expect build failures. !!!



---Begin Environment---
SHELL=/bin/csh
UNAME_v=FreeBSD 11.0-RELEASE-p1
UNAME_r=11.0-RELEASE-p1
BLOCKSIZE=K
MAIL=/var/mail/root
STATUS=1
OPSYS=FreeBSD
ARCH=aarch64
SAVED_TERM=
MASTERMNT=/usr/local/poudriere/data/.m/110arm64-quarterly/ref
UID=0
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin
_JAVA_VERSION_LIST_REGEXP=1.6\|1.7\|1.8\|1.6+\|1.7+\|1.8+
POUDRIERE_BUILD_TYPE=bulk
PKGNAME=ruby22-cdb-0.5a_1
OSREL=11.0
_OSRELEASE=11.0-RELEASE-p1
PYTHONBASE=/usr/local
OLDPWD=/
_SMP_CPUS=48
PWD=/usr/local/poudriere/data/.m/110arm64-quarterly/ref/.p/pool
MASTERNAME=110arm64-quarterly
SCRIPTPREFIX=/usr/local/share/poudriere
_JAVA_VENDOR_LIST_REGEXP=openjdk\|oracle\|sun
USER=root
HOME=/root
POUDRIERE_VERSION=3.1.14
SCRIPTPATH=/usr/local/share/poudriere/bulk.sh
CONFIGURE_MAX_CMD_LEN=262144
LIBEXECPREFIX=/usr/local/libexec/poudriere
LOCALBASE=/usr/local
PACKAGE_BUILDING=yes
_JAVA_OS_LIST_REGEXP=native\|linux
OSVERSION=1100122
---End Environment---

---Begin OPTIONS List---
===> The following configuration options are available for ruby22-cdb-0.5a_1:
     DOCS=on: Build and/or install documentation
===> Use 'make config' to modify these settings
---End OPTIONS List---

--CONFIGURE_ARGS--
--with-opt-dir="/usr/local"
--End CONFIGURE_ARGS--

--CONFIGURE_ENV--
RB_USER_INSTALL=yes XDG_DATA_HOME=/wrkdirs/usr/ports/databases/ruby-cdb/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/databases/ruby-cdb/work  HOME=/wrkdirs/usr/ports/databases/ruby-cdb/work TMPDIR="/tmp" SHELL=/bin/sh CONFIG_SHELL=/bin/sh
--End CONFIGURE_ENV--

--MAKE_ENV--
XDG_DATA_HOME=/wrkdirs/usr/ports/databases/ruby-cdb/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/databases/ruby-cdb/work  HOME=/wrkdirs/usr/ports/databases/ruby-cdb/work TMPDIR="/tmp" NO_PIE=yes MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES PREFIX=/usr/local  LOCALBASE=/usr/local  LIBDIR="/usr/lib"  CC="cc" CFLAGS="-O2 -pipe  -fno-strict-aliasing"  CPP="cpp" CPPFLAGS=""  LDFLAGS="" LIBS=""  CXX="c++" CXXFLAGS="-O2 -pipe -fno-strict-aliasing "  MANPREFIX="/usr/local" BSD_INSTALL_PROGRAM="install  -s -m 555"  BSD_INSTALL_LIB="install  -s -m 444"  BSD_INSTALL_SCRIPT="install  -m 555"  BSD_INSTALL_DATA="install  -m 0644"  BSD_INSTALL_MAN="install  -m 444"
--End MAKE_ENV--

--PLIST_SUB--
RUBY_LIBDIR="lib/ruby/2.2"
RUBY_ARCHLIBDIR="lib/ruby/2.2/aarch64-freebsd11"
RUBY_SITELIBDIR="lib/ruby/site_ruby/2.2"
RUBY_SITEARCHLIBDIR="lib/ruby/site_ruby/2.2/aarch64-freebsd11"
RUBY_VENDORLIBDIR="lib/ruby/vendor_ruby/2.2"
RUBY_VENDORARCHLIBDIR="lib/ruby/vendor_ruby/2.2/aarch64-freebsd11"
RUBY_MODDOCDIR="share/doc/ruby22/cdb"
RUBY_MODEXAMPLESDIR="share/examples/ruby22/cdb"
RUBY_DOCDIR="share/doc/ruby22"
RUBY_EXAMPLESDIR="share/examples/ruby22"
RUBY_RIDIR="share/ri/2.2/system"
RUBY_SITERIDIR="share/ri/2.2/site"
RUBY_VERSION="2.2.5"
RUBY_VER="2.2"
RUBY_SHLIBVER="22"
RUBY_ARCH="aarch64-freebsd11"
RUBY_SUFFIX="22"
RUBY_NAME="ruby22"
RUBY_DEFAULT_SUFFIX="22"
RUBY21="@comment
"
RUBY22=""
RUBY23="@comment
"
OSREL=11.0
PREFIX=%D
LOCALBASE=/usr/local
RESETPREFIX=/usr/local
PORTDOCS=""
PORTEXAMPLES=""
LIB32DIR=lib
DOCSDIR="share/doc/cdb"
EXAMPLESDIR="share/examples/cdb"
DATADIR="share/cdb"
WWWDIR="www/cdb"
ETCDIR="etc/cdb"
--End PLIST_SUB--

--SUB_LIST--
PREFIX=/usr/local
LOCALBASE=/usr/local
DATADIR=/usr/local/share/cdb
DOCSDIR=/usr/local/share/doc/cdb
EXAMPLESDIR=/usr/local/share/examples/cdb
WWWDIR=/usr/local/www/cdb
ETCDIR=/usr/local/etc/cdb
--End SUB_LIST--

---Begin make.conf---
USE_PACKAGE_DEPENDS=yes
BATCH=yes
WRKDIRPREFIX=/wrkdirs
PORTSDIR=/usr/ports
PACKAGES=/packages
DISTDIR=/distfiles
#### /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
DISABLE_MAKE_JOBS=poudriere
---End make.conf---
=======================<phase: check-sanity   >============================
===========================================================================
=======================<phase: pkg-depends    >============================
===>   ruby22-cdb-0.5a_1 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-1.8.7_3.txz
[110arm64-quarterly-job-19] Installing pkg-1.8.7_3...
[110arm64-quarterly-job-19] Extracting pkg-1.8.7_3: .......... done
===>   ruby22-cdb-0.5a_1 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of ruby22-cdb-0.5a_1
===========================================================================
=======================<phase: fetch-depends  >============================
===>   cdb-0.75 depends on file: /usr/local/sbin/pkg - found
===> Fetching all distfiles required by cdb-0.75 for building
===>  Extracting for cdb-0.75
=> SHA256 Checksum OK for cdb-0.75.tar.gz.
===>  Patching for cdb-0.75
===>  Configuring for cdb-0.75
echo /usr/local > /wrkdirs/usr/ports/databases/cdb/work/cdb-0.75/conf-home
echo cc -O2 -pipe  -fno-strict-aliasing > /wrkdirs/usr/ports/databases/cdb/work/cdb-0.75/conf-cc
echo cc -s > /wrkdirs/usr/ports/databases/cdb/work/cdb-0.75/conf-ld
===>  Building for cdb-0.75
( cat warn-auto.sh;  echo 'main="$1"; shift';  echo exec "`head -1 conf-ld`"  '-o "$main" "$main".o ${1+"$@"}'  ) > load
chmod 755 load
( cat warn-auto.sh;  echo exec "`head -1 conf-cc`" '-c ${1+"$@"}'  ) > compile
chmod 755 compile
( ( ./compile tryulong32.c && ./load tryulong32 &&  ./tryulong32 ) >/dev/null 2>&1  && cat uint32.h2 || cat uint32.h1 ) > uint32.h
rm -f tryulong32.o tryulong32
./compile cdbget.c
cdbget.c:26:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
main(int argc,char **argv)
^
1 warning generated.
( cat warn-auto.sh;  echo CC=\'`head -1 conf-cc`\';  echo LD=\'`head -1 conf-ld`\';  cat find-systype.sh;  ) | sh > systype
( cat warn-auto.sh;  echo 'main="$1"; shift';  echo 'rm -f "$main"';  echo 'ar cr "$main" ${1+"$@"}';  case "`cat systype`" in  sunos-5.*) ;;  unix_sv*) ;;  irix64-*) ;;  irix-*) ;;  dgux-*) ;;  hp-ux-*) ;;  sco*) ;;  *) echo 'ranlib "$main"' ;;  esac  ) > makelib
chmod 755 makelib
./compile cdb.c
./compile cdb_hash.c
./compile cdb_make.c
./makelib cdb.a cdb.o cdb_hash.o cdb_make.o
./compile strerr_sys.c
./compile buffer.c
./compile buffer_put.c
buffer_put.c:16:17: warning: if statement has empty body [-Wempty-body]
    if (w == 0) ; /* luser's fault */
                ^
buffer_put.c:16:17: note: put the semicolon on a separate line to silence this warning
1 warning generated.
./compile buffer_2.c
./compile strerr_die.c
./compile buffer_get.c
./compile buffer_copy.c
./compile buffer_1.c
./compile buffer_0.c
./compile buffer_1s.c
./makelib buffer.a strerr_sys.o buffer.o buffer_put.o  buffer_2.o strerr_die.o buffer_get.o buffer_copy.o  buffer_1.o buffer_0.o buffer_1s.o
./compile error.c
./compile open_read.c
./compile open_trunc.c
./compile error_str.c
./compile seek_set.c
<snip>
2 warnings generated.
./load cdbdump buffer.a unix.a byte.a
./compile cdbstats.c
cdbstats.c:58:13: warning: implicit declaration of function 'str_len' is invalid in C99 [-Wimplicit-function-declaration]
  put(label,str_len(label));
            ^
cdbstats.c:71:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
main()
^
cdbstats.c:124:3: warning: implicitly declaring library function '_exit' with type 'void (int) __attribute__((noreturn))' [-Wimplicit-function-declaration]
  _exit(0);
  ^
cdbstats.c:124:3: note: include the header <unistd.h> or explicitly provide a declaration for '_exit'
3 warnings generated.
./load cdbstats cdb.a buffer.a unix.a byte.a
./compile cdbtest.c
cdbtest.c:54:13: warning: implicit declaration of function 'str_len' is invalid in C99 [-Wimplicit-function-declaration]
  put(label,str_len(label));
            ^
cdbtest.c:69:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
main()
^
cdbtest.c:118:3: warning: implicitly declaring library function '_exit' with type 'void (int) __attribute__((noreturn))' [-Wimplicit-function-declaration]
  _exit(0);
  ^
cdbtest.c:118:3: note: include the header <unistd.h> or explicitly provide a declaration for '_exit'
3 warnings generated.
./load cdbtest cdb.a buffer.a unix.a byte.a
cat warn-auto.sh cdbmake-12.sh  | sed s}HOME}"`head -1 conf-home`"}g  > cdbmake-12
chmod 755 cdbmake-12
cat warn-auto.sh cdbmake-sv.sh  | sed s}HOME}"`head -1 conf-home`"}g  > cdbmake-sv
chmod 755 cdbmake-sv
cat warn-auto.sh rts.sh  | sed s}HOME}"`head -1 conf-home`"}g  > rts
chmod 755 rts
./compile testzero.c
testzero.c:17:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
main(int argc,char **argv)
^
testzero.c:22:15: warning: implicitly declaring library function '_exit' with type 'void (int) __attribute__((noreturn))' [-Wimplicit-function-declaration]
  if (!*argv) _exit(0);
              ^
testzero.c:22:15: note: include the header <unistd.h> or explicitly provide a declaration for '_exit'
2 warnings generated.
./load testzero cdb.a alloc.a buffer.a unix.a byte.a
./compile install.c
install.c:20:7: warning: implicit declaration of function 'mkdir' is invalid in C99 [-Wimplicit-function-declaration]
  if (mkdir(home,0700) == -1)
      ^
install.c:23:7: warning: implicit declaration of function 'chown' is invalid in C99 [-Wimplicit-function-declaration]
  if (chown(home,uid,gid) == -1)
      ^
install.c:25:7: warning: implicit declaration of function 'chmod' is invalid in C99 [-Wimplicit-function-declaration]
  if (chmod(home,mode) == -1)
      ^
install.c:36:7: warning: implicit declaration of function 'chdir' is invalid in C99 [-Wimplicit-function-declaration]
  if (chdir(home) == -1)
      ^
install.c:63:7: warning: implicit declaration of function 'fchdir' is invalid in C99 [-Wimplicit-function-declaration]
  if (fchdir(fdsourcedir) == -1)
      ^
install.c:88:3: warning: implicit declaration of function 'close' is invalid in C99 [-Wimplicit-function-declaration]
  close(fdin);
  ^
install.c:91:7: warning: implicit declaration of function 'fsync' is invalid in C99 [-Wimplicit-function-declaration]
  if (fsync(fdout) == -1)
      ^
install.c:140:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
main()
^
install.c:146:3: warning: implicit declaration of function 'umask' is invalid in C99 [-Wimplicit-function-declaration]
  umask(077);
  ^
9 warnings generated.
./compile hier.c
hier.c:5:3: warning: implicit declaration of function 'h' is invalid in C99 [-Wimplicit-function-declaration]
  h(auto_home,-1,-1,02755);
  ^
hier.c:6:3: warning: implicit declaration of function 'd' is invalid in C99 [-Wimplicit-function-declaration]
  d(auto_home,"bin",-1,-1,02755);
  ^
hier.c:8:3: warning: implicit declaration of function 'c' is invalid in C99 [-Wimplicit-function-declaration]
  c(auto_home,"bin","cdbget",-1,-1,0755);
  ^
3 warnings generated.
./compile auto-str.c
auto-str.c:14:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
main(argc,argv)
^
auto-str.c:32:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
  while (ch = *value++) {
         ~~~^~~~~~~~~~
auto-str.c:32:13: note: place parentheses around the assignment to silence this warning
  while (ch = *value++) {
            ^
         (            )
auto-str.c:32:13: note: use '==' to turn this assignment into an equality comparison
  while (ch = *value++) {
            ^
            ==
2 warnings generated.
./load auto-str buffer.a unix.a byte.a
./auto-str auto_home `head -1 conf-home` > auto_home.c
./compile auto_home.c
./load install hier.o auto_home.o buffer.a unix.a byte.a
./compile instcheck.c
instcheck.c:59:7: warning: implicit declaration of function 'chdir' is invalid in C99 [-Wimplicit-function-declaration]
  if (chdir(home) == -1)
      ^
instcheck.c:104:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
main()
^
2 warnings generated.
./load instcheck hier.o auto_home.o buffer.a unix.a byte.a
===>   Returning to build of ruby22-cdb-0.5a_1
===========================================================================
=======================<phase: fetch          >============================
===> Fetching all distfiles required by ruby22-cdb-0.5a_1 for building
===> Fetching all distfiles required by cdb-0.75 for building
===========================================================================
=======================<phase: checksum       >============================
===> Fetching all distfiles required by ruby22-cdb-0.5a_1 for building
===> Fetching all distfiles required by cdb-0.75 for building
=> SHA256 Checksum OK for ruby/ruby-cdb-0.5a.tar.gz.
===========================================================================
=======================<phase: extract-depends>============================
===>   ruby22-cdb-0.5a_1 depends on file: /usr/local/bin/ruby22 - not found
===>   Installing existing package /packages/All/ruby-2.2.5_1,1.txz
[110arm64-quarterly-job-19] Installing ruby-2.2.5_1,1...
[110arm64-quarterly-job-19] `-- Installing libffi-3.2.1...
[110arm64-quarterly-job-19] |   `-- Installing indexinfo-0.2.5...
[110arm64-quarterly-job-19] |   `-- Extracting indexinfo-0.2.5: .... done
[110arm64-quarterly-job-19] `-- Extracting libffi-3.2.1: .......... done
[110arm64-quarterly-job-19] `-- Installing libyaml-0.1.6_2...
[110arm64-quarterly-job-19] `-- Extracting libyaml-0.1.6_2: ......... done
[110arm64-quarterly-job-19] `-- Installing libedit-3.1.20150325_2,1...
[110arm64-quarterly-job-19] `-- Extracting libedit-3.1.20150325_2,1: .......... done
[110arm64-quarterly-job-19] Extracting ruby-2.2.5_1,1: .......... done
Message from ruby-2.2.5_1,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.
====
===>   ruby22-cdb-0.5a_1 depends on file: /usr/local/bin/ruby22 - found
===>   Returning to build of ruby22-cdb-0.5a_1
===========================================================================
=======================<phase: extract        >============================
===> Fetching all distfiles required by ruby22-cdb-0.5a_1 for building
===> Fetching all distfiles required by cdb-0.75 for building
===>  Extracting for ruby22-cdb-0.5a_1
=> SHA256 Checksum OK for ruby/ruby-cdb-0.5a.tar.gz.
/bin/rm -f -f /wrkdirs/usr/ports/databases/ruby-cdb/work/ruby-cdb-0.5a/cdb
/bin/ln -s `cd /usr/ports/databases/cdb; /usr/bin/make -V WRKSRC` /wrkdirs/usr/ports/databases/ruby-cdb/work/ruby-cdb-0.5a/cdb
===========================================================================
=======================<phase: patch-depends  >============================
===>   ruby22-cdb-0.5a_1 depends on file: /usr/local/bin/ruby22 - found
===========================================================================
=======================<phase: patch          >============================
===>  Patching for ruby22-cdb-0.5a_1
/usr/bin/sed -i.bak -E  -e 's|RSTRING\(([^)]+)\)->len|RSTRING_LEN(\1)|g'  -e 's|RSTRING\(([^)]+)\)->ptr|RSTRING_PTR(\1)|g'  /wrkdirs/usr/ports/databases/ruby-cdb/work/ruby-cdb-0.5a/cdb.c
===========================================================================
=======================<phase: build-depends  >============================
===>   ruby22-cdb-0.5a_1 depends on file: /usr/local/bin/ruby22 - found
===========================================================================
=======================<phase: lib-depends    >============================
===========================================================================
=======================<phase: configure      >============================
===>  Configuring for ruby22-cdb-0.5a_1
===>  Running extconf.rb to configure
creating Makefile
===========================================================================
=======================<phase: build          >============================
===>  Building for ruby22-cdb-0.5a_1
compiling cdb.c
cdb.c:114:11: warning: implicit declaration of function 'seek_set' is invalid in C99 [-Wimplicit-function-declaration]
      if (seek_set(cdb->fd, pos) == -1) rb_sys_fail(0);
          ^
1 warning generated.
linking shared-object cdb.so
/usr/bin/ld: cdb/cdb.a(cdb.o): relocation R_AARCH64_ADR_PREL_PG_HI21 against external symbol `errno@@FBSD_1.0' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: cdb/cdb.a(cdb.o)(.text+0x134): unresolvable R_AARCH64_ADR_PREL_PG_HI21 relocation against symbol `errno@@FBSD_1.0'
/usr/bin/ld: final link failed: Bad value
cc: error: linker command failed with exit code 1 (use -v to see invocation)
*** Error code 1

Stop.
make[1]: stopped in /wrkdirs/usr/ports/databases/ruby-cdb/work/ruby-cdb-0.5a
*** Error code 1

Stop.
make: stopped in /usr/ports/databases/ruby-cdb



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