==> Creating clean working copy [build]...done ==> Making package: ruby-sqlite3 1.3.7-2 (Tue Jan 5 09:21:12 EST 2016) ==> Retrieving sources... -> Found sqlite3-1.3.7.gem ==> Validating source files with md5sums... sqlite3-1.3.7.gem ... Passed ==> Making package: ruby-sqlite3 1.3.7-2 (Tue Jan 5 09:21:13 EST 2016) ==> Checking runtime dependencies... ==> Installing missing dependencies... warning: skipping target: ruby resolving dependencies... looking for conflicting packages... Packages (2) libyaml-0.1.6-1 ruby-2.3.0-1 Total Installed Size: 20.08 MiB :: Proceed with installation? [Y/n] checking keyring... checking package integrity... loading package files... checking for file conflicts... checking available disk space... installing libyaml... installing ruby... The default location of gem installs is $HOME/.gem/ruby Add the following line to your PATH if you plan to install using gem $(ruby -rubygems -e "puts Gem.user_dir")/bin If you want to install to the system wide location, you must either: edit /etc/gemrc or run gem with the --no-user-install flag. Optional dependencies for ruby ruby-docs: Ruby documentation tk: for Ruby/TK ==> Checking buildtime dependencies... ==> Retrieving sources... -> Found sqlite3-1.3.7.gem ==> WARNING: Skipping verification of source file PGP signatures. ==> Validating source files with md5sums... sqlite3-1.3.7.gem ... Passed ==> Extracting sources... ==> Entering fakeroot environment... ==> Starting package()... Building native extensions. This could take a while... ERROR: Error installing sqlite3-1.3.7.gem: ERROR: Failed to build gem native extension. current directory: /build/ruby-sqlite3/pkg/ruby-sqlite3/usr/lib/ruby/gems/2.3.0/gems/sqlite3-1.3.7/ext/sqlite3 /usr/bin/ruby -r ./siteconf20160105-196-1qvgj47.rb extconf.rb checking for sqlite3.h... yes checking for sqlite3_libversion_number() in -lsqlite3... yes checking for rb_proc_arity()... yes checking for sqlite3_initialize()... yes checking for sqlite3_backup_init()... yes checking for sqlite3_column_database_name()... yes checking for sqlite3_enable_load_extension()... yes checking for sqlite3_load_extension()... yes checking for sqlite3_open_v2()... yes checking for sqlite3_prepare_v2()... yes checking for sqlite3_int64 in sqlite3.h... yes checking for sqlite3_uint64 in sqlite3.h... yes creating Makefile To see why this extension failed to compile, please check the mkmf.log which can be found here: /build/ruby-sqlite3/pkg/ruby-sqlite3/usr/lib/ruby/gems/2.3.0/extensions/armv6l-linux/2.3.0/sqlite3-1.3.7/mkmf.log current directory: /build/ruby-sqlite3/pkg/ruby-sqlite3/usr/lib/ruby/gems/2.3.0/gems/sqlite3-1.3.7/ext/sqlite3 make "DESTDIR=" clean current directory: /build/ruby-sqlite3/pkg/ruby-sqlite3/usr/lib/ruby/gems/2.3.0/gems/sqlite3-1.3.7/ext/sqlite3 make "DESTDIR=" compiling sqlite3.c compiling database.c In file included from database.c:1:0: database.c: In function 'set_sqlite3_func_result': ./sqlite3_ruby.h:16:24: warning: implicit declaration of function 'RBIGNUM' [-Wimplicit-function-declaration] #define RBIGNUM_LEN(x) RBIGNUM(x)->len ^ database.c:306:11: note: in expansion of macro 'RBIGNUM_LEN' if (RBIGNUM_LEN(result) * SIZEOF_BDIGITS <= 8) { ^ ./sqlite3_ruby.h:16:34: error: invalid type argument of '->' (have 'int') #define RBIGNUM_LEN(x) RBIGNUM(x)->len ^ database.c:306:11: note: in expansion of macro 'RBIGNUM_LEN' if (RBIGNUM_LEN(result) * SIZEOF_BDIGITS <= 8) { ^ database.c:306:33: error: 'SIZEOF_BDIGITS' undeclared (first use in this function) if (RBIGNUM_LEN(result) * SIZEOF_BDIGITS <= 8) { ^ database.c:306:33: note: each undeclared identifier is reported only once for each function it appears in Makefile:238: recipe for target 'database.o' failed make: *** [database.o] Error 1 make failed, exit code 2 Gem files will remain installed in /build/ruby-sqlite3/pkg/ruby-sqlite3/usr/lib/ruby/gems/2.3.0/gems/sqlite3-1.3.7 for inspection. Results logged to /build/ruby-sqlite3/pkg/ruby-sqlite3/usr/lib/ruby/gems/2.3.0/extensions/armv6l-linux/2.3.0/sqlite3-1.3.7/gem_make.out ==> ERROR: A failure occurred in package(). Aborting... ==> Removing installed dependencies... checking dependencies... Packages (2) libyaml-0.1.6-1 ruby-2.3.0-1 Total Removed Size: 20.08 MiB :: Do you want to remove these packages? [Y/n] removing ruby... removing libyaml... ==> ERROR: Build failed, check /chroot/armv6/build/build