==> Creating clean working copy [build]...done
==> Making package: ruby-eventmachine 1.0.3-2 (Wed Oct 14 08:37:20 EDT 2015)
==> Retrieving sources...
-> Found eventmachine-1.0.3.gem
==> Validating source files with md5sums...
eventmachine-1.0.3.gem ... Passed
==> Making package: ruby-eventmachine 1.0.3-2 (Wed Oct 14 08:37:21 EDT 2015)
==> Checking runtime dependencies...
==> Installing missing dependencies...
resolving dependencies...
looking for conflicting packages...
Packages (2) libyaml-0.1.6-1 ruby-2.2.3-1
Total Installed Size: 18.81 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 eventmachine-1.0.3.gem
==> WARNING: Skipping verification of source file PGP signatures.
==> Validating source files with md5sums...
eventmachine-1.0.3.gem ... Passed
==> Extracting sources...
==> Entering fakeroot environment...
==> Starting package()...
Building native extensions. This could take a while...
ERROR: Error installing eventmachine-1.0.3.gem:
ERROR: Failed to build gem native extension.
/usr/bin/ruby -r ./siteconf20151014-174-3foo9f.rb extconf.rb
checking for rb_trap_immediate in ruby.h,rubysig.h... no
checking for rb_thread_blocking_region()... no
checking for inotify_init() in sys/inotify.h... yes
checking for writev() in sys/uio.h... yes
checking for rb_wait_for_single_fd()... yes
checking for rb_enable_interrupt()... no
checking for rb_time_new()... yes
checking for sys/event.h... no
checking for epoll_create() in sys/epoll.h... yes
creating Makefile
make "DESTDIR=" clean
make "DESTDIR="
compiling ssl.cpp
compiling ed.cpp
compiling page.cpp
compiling kb.cpp
kb.cpp: In member function 'virtual void KeyboardDescriptor::Read()':
kb.cpp:77:27: warning: ignoring return value of 'ssize_t read(int, void*, size_t)', declared with attribute warn_unused_result [-Wunused-result]
read (GetSocket(), &c, 1);
^
compiling binder.cpp
compiling pipe.cpp
compiling cmain.cpp
compiling rubymain.cpp
compiling em.cpp
em.cpp: In member function 'void EventMachine_t::_RunEpollOnce()':
em.cpp:574:37: error: 'rb_thread_select' was not declared in this scope
EmSelect (0, NULL, NULL, NULL, &tv);
^
em.cpp: In member function 'int SelectData_t::_Select()':
em.cpp:827:67: error: 'rb_thread_select' was not declared in this scope
return EmSelect (maxsocket+1, &fdreads, &fdwrites, &fderrors, &tv);
^
em.cpp: In member function 'void EventMachine_t::_RunSelectOnce()':
em.cpp:946:40: error: 'rb_thread_select' was not declared in this scope
EmSelect (0, NULL, NULL, NULL, &tv);
^
em.cpp: In member function 'void EventMachine_t::SignalLoopBreaker()':
em.cpp:282:34: warning: ignoring return value of 'ssize_t write(int, const void*, size_t)', declared with attribute warn_unused_result [-Wunused-result]
write (LoopBreakerWriter, "", 1);
^
em.cpp: In member function 'void EventMachine_t::_ReadLoopBreaker()':
em.cpp:991:50: warning: ignoring return value of 'ssize_t read(int, void*, size_t)', declared with attribute warn_unused_result [-Wunused-result]
read (LoopBreakerReader, buffer, sizeof(buffer));
^
Makefile:229: recipe for target 'em.o' failed
make: *** [em.o] Error 1
make failed, exit code 2
Gem files will remain installed in /build/ruby-eventmachine/pkg/ruby-eventmachine/usr/lib/ruby/gems/2.2.0/gems/eventmachine-1.0.3 for inspection.
Results logged to /build/ruby-eventmachine/pkg/ruby-eventmachine/usr/lib/ruby/gems/2.2.0/extensions/armv6l-linux/2.2.0/eventmachine-1.0.3/gem_make.out
==> ERROR: A failure occurred in package().
Aborting...
==> Removing installed dependencies...
checking dependencies...
Packages (2) libyaml-0.1.6-1 ruby-2.2.3-1
Total Removed Size: 18.81 MiB
:: Do you want to remove these packages? [Y/n]
removing ruby...
removing libyaml...
==> ERROR: Build failed, check /chroot/armv6/build/build