D-Alex / ropencv

ffi ruby wrapper for opencv
Other
67 stars 14 forks source link

Error when building gem on heroku #42

Open gregormelhorn opened 8 years ago

gregormelhorn commented 8 years ago

I am tryng to build ropencv on heroku, first using the apt buildpack to install libopencv-dev, g++ and cmake, then installing ropencv with the standard buildpck.

I get the following error:

Counting objects: 19, done. Delta compression using up to 8 threads. Compressing objects: 100% (14/14), done. Writing objects: 100% (15/15), 483.39 KiB | 0 bytes/s, done. Total 15 (delta 4), reused 0 (delta 0) remote: Compressing source files... done. remote: Building source: remote: remote: -----> Fetching set buildpack https://github.com/ddollar/heroku-buildpack-apt.git... done remote: -----> Apt app detected remote: WARNING: This buildpack is no longer maintained. remote: remote: Please choose a different buildpack or go to https://github.com/ddollar/heroku-buildpack-apt remote: and fork it to your own account. remote: remote: This buildpack will cease to function at the stroke of midnight on January 1, 2017. remote: -----> Updating apt caches remote: Hit http://apt.postgresql.org trusty-pgdg InRelease remote: Ign http://archive.ubuntu.com trusty InRelease remote: Hit http://archive.ubuntu.com trusty-security InRelease remote: Hit http://archive.ubuntu.com trusty-updates InRelease remote: Hit http://archive.ubuntu.com trusty Release.gpg remote: Hit http://archive.ubuntu.com trusty Release remote: Hit http://apt.postgresql.org trusty-pgdg/main amd64 Packages remote: Hit http://archive.ubuntu.com trusty-security/main amd64 Packages remote: Hit http://archive.ubuntu.com trusty-security/main Translation-en remote: Ign http://apt.postgresql.org trusty-pgdg/main Translation-en_US remote: Ign http://apt.postgresql.org trusty-pgdg/main Translation-en remote: Hit http://archive.ubuntu.com trusty-updates/main amd64 Packages remote: Hit http://archive.ubuntu.com trusty-updates/main Translation-en remote: Hit http://archive.ubuntu.com trusty/main amd64 Packages remote: Hit http://archive.ubuntu.com trusty/universe amd64 Packages remote: Hit http://archive.ubuntu.com trusty/main Translation-en remote: Hit http://archive.ubuntu.com trusty/universe Translation-en remote: Ign http://archive.ubuntu.com trusty/main Translation-en_US remote: Ign http://archive.ubuntu.com trusty/universe Translation-en_US remote: Reading package lists... remote: -----> Fetching .debs for libopencv-dev remote: Reading package lists... remote: Building dependency tree... remote: The following extra packages will be installed: remote: bsdmainutils debhelper dh-apparmor gettext gettext-base gir1.2-atk-1.0 remote: gir1.2-gtk-2.0 gir1.2-pango-1.0 intltool-debian libasprintf-dev remote: libasprintf0c2 libatk1.0-dev libavcodec-dev libavcodec54 libavformat-dev remote: libavformat54 libavutil-dev libavutil52 libcv-dev libcvaux-dev libdc1394-22 remote: libdc1394-22-dev libgettextpo-dev libgettextpo0 libglu1-mesa libgsm1 remote: libgtk2.0-dev libgtkglext1 libharfbuzz-dev libharfbuzz-gobject0 remote: libharfbuzz-icu0 libhighgui-dev libmail-sendmail-perl libmp3lame0 remote: libopencv-calib3d-dev libopencv-calib3d2.4 libopencv-contrib-dev remote: libopencv-contrib2.4 libopencv-core-dev libopencv-core2.4 remote: libopencv-features2d-dev libopencv-features2d2.4 libopencv-flann-dev remote: libopencv-flann2.4 libopencv-gpu-dev libopencv-gpu2.4 libopencv-highgui-dev remote: libopencv-highgui2.4 libopencv-imgproc-dev libopencv-imgproc2.4 remote: libopencv-legacy-dev libopencv-legacy2.4 libopencv-ml-dev libopencv-ml2.4 remote: libopencv-objdetect-dev libopencv-objdetect2.4 libopencv-ocl-dev remote: libopencv-ocl2.4 libopencv-photo-dev libopencv-photo2.4 remote: libopencv-stitching-dev libopencv-stitching2.4 libopencv-superres-dev remote: libopencv-superres2.4 libopencv-ts-dev libopencv-ts2.4 libopencv-video-dev remote: libopencv-video2.4 libopencv-videostab-dev libopencv-videostab2.4 remote: libopencv2.4-java libopencv2.4-jni libopenjpeg2 libopus0 liborc-0.4-0 remote: libpango1.0-dev libpangox-1.0-0 libpangoxft-1.0-0 libpipeline1 libraw1394-11 remote: libraw1394-dev libraw1394-tools libschroedinger-1.0-0 libspeex1 remote: libswscale-dev libswscale2 libsys-hostname-long-perl libtbb2 libtheora0 remote: libunistring0 libva1 libx264-142 libxcomposite-dev libxcursor-dev remote: libxdamage-dev libxfixes-dev libxft-dev libxi-dev libxinerama-dev remote: libxml2-utils libxrandr-dev libxvidcore4 man-db opencv-data po-debconf remote: x11proto-composite-dev x11proto-damage-dev x11proto-fixes-dev remote: x11proto-randr-dev x11proto-xinerama-dev remote: Suggested packages: remote: wamerican wordlist whois vacation dh-make apparmor-easyprof gettext-doc remote: libgsm1-dev libogg-dev libschroedinger-dev libspeex-dev libtheora-dev remote: libvorbis-dev libgtk2.0-doc opus-tools libpango1.0-doc libraw1394-doc speex remote: groff www-browser libmail-box-perl remote: The following NEW packages will be installed: remote: bsdmainutils debhelper dh-apparmor gettext gettext-base gir1.2-atk-1.0 remote: gir1.2-gtk-2.0 gir1.2-pango-1.0 intltool-debian libasprintf-dev remote: libasprintf0c2 libatk1.0-dev libavcodec-dev libavcodec54 libavformat-dev remote: libavformat54 libavutil-dev libavutil52 libcv-dev libcvaux-dev libdc1394-22 remote: libdc1394-22-dev libgettextpo-dev libgettextpo0 libglu1-mesa libgsm1 remote: libgtk2.0-dev libgtkglext1 libharfbuzz-dev libharfbuzz-gobject0 remote: libharfbuzz-icu0 libhighgui-dev libmail-sendmail-perl libmp3lame0 remote: libopencv-calib3d-dev libopencv-calib3d2.4 libopencv-contrib-dev remote: libopencv-contrib2.4 libopencv-core-dev libopencv-core2.4 libopencv-dev remote: libopencv-features2d-dev libopencv-features2d2.4 libopencv-flann-dev remote: libopencv-flann2.4 libopencv-gpu-dev libopencv-gpu2.4 libopencv-highgui-dev remote: libopencv-highgui2.4 libopencv-imgproc-dev libopencv-imgproc2.4 remote: libopencv-legacy-dev libopencv-legacy2.4 libopencv-ml-dev libopencv-ml2.4 remote: libopencv-objdetect-dev libopencv-objdetect2.4 libopencv-ocl-dev remote: libopencv-ocl2.4 libopencv-photo-dev libopencv-photo2.4 remote: libopencv-stitching-dev libopencv-stitching2.4 libopencv-superres-dev remote: libopencv-superres2.4 libopencv-ts-dev libopencv-ts2.4 libopencv-video-dev remote: libopencv-video2.4 libopencv-videostab-dev libopencv-videostab2.4 remote: libopencv2.4-java libopencv2.4-jni libopenjpeg2 libopus0 liborc-0.4-0 remote: libpango1.0-dev libpangox-1.0-0 libpangoxft-1.0-0 libpipeline1 libraw1394-11 remote: libraw1394-dev libraw1394-tools libschroedinger-1.0-0 libspeex1 remote: libswscale-dev libswscale2 libsys-hostname-long-perl libtbb2 libtheora0 remote: libunistring0 libva1 libx264-142 libxcomposite-dev libxcursor-dev remote: libxdamage-dev libxfixes-dev libxft-dev libxi-dev libxinerama-dev remote: libxml2-utils libxrandr-dev libxvidcore4 man-db opencv-data po-debconf remote: x11proto-composite-dev x11proto-damage-dev x11proto-fixes-dev remote: x11proto-randr-dev x11proto-xinerama-dev remote: 0 upgraded, 111 newly installed, 0 to remove and 48 not upgraded. remote: Need to get 0 B/27.5 MB of archives. remote: After this operation, 137 MB of additional disk space will be used. remote: Download complete and in download only mode remote: -----> Fetching .debs for cmake remote: Reading package lists... remote: Building dependency tree... remote: The following extra packages will be installed: remote: cmake-data libarchive13 libnettle4 remote: Suggested packages: remote: codeblocks eclipse lrzip remote: The following NEW packages will be installed: remote: cmake cmake-data libarchive13 libnettle4 remote: 0 upgraded, 4 newly installed, 0 to remove and 48 not upgraded. remote: Need to get 0 B/3,656 kB of archives. remote: After this operation, 17.7 MB of additional disk space will be used. remote: Download complete and in download only mode remote: -----> Fetching .debs for g++ remote: Reading package lists... remote: Building dependency tree... remote: 0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 48 not upgraded. remote: Need to get 0 B/1,490 B of archives. remote: After this operation, 0 B of additional disk space will be used. remote: Download complete and in download only mode remote: -----> Fetching .debs for pkg-config remote: Reading package lists... remote: Building dependency tree... remote: 0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 48 not upgraded. remote: Need to get 40.9 kB of archives. remote: After this operation, 0 B of additional disk space will be used. remote: Get:1 http://archive.ubuntu.com/ubuntu/ trusty/main pkg-config amd64 0.26-1ubuntu4 [40.9 kB] remote: Fetched 40.9 kB in 0s (170 kB/s) remote: Download complete and in download only mode remote: -----> Installing bsdmainutils_9.0.5ubuntu1_amd64.deb remote: -----> Installing cmake_2.8.12.2-0ubuntu3_amd64.deb remote: -----> Installing cmake-data_2.8.12.2-0ubuntu3_all.deb remote: -----> Installing debhelper_9.20131227ubuntu1_all.deb remote: -----> Installing dh-apparmor_2.8.95~2430-0ubuntu5.3_all.deb remote: -----> Installing g++_4%3a4.8.2-1ubuntu6_amd64.deb remote: -----> Installing gettext_0.18.3.1-1ubuntu3_amd64.deb remote: -----> Installing gettext-base_0.18.3.1-1ubuntu3_amd64.deb remote: -----> Installing gir1.2-atk-1.0_2.10.0-2ubuntu2_amd64.deb remote: -----> Installing gir1.2-gtk-2.0_2.24.23-0ubuntu1.4_amd64.deb remote: -----> Installing gir1.2-pango-1.0_1.36.3-1ubuntu1.1_amd64.deb remote: -----> Installing intltool-debian_0.35.0+20060710.1_all.deb remote: -----> Installing libarchive13_3.1.2-7ubuntu2.2_amd64.deb remote: -----> Installing libasprintf0c2_0.18.3.1-1ubuntu3_amd64.deb remote: -----> Installing libasprintf-dev_0.18.3.1-1ubuntu3_amd64.deb remote: -----> Installing libatk1.0-dev_2.10.0-2ubuntu2_amd64.deb remote: -----> Installing libavcodec54_6%3a9.11-2ubuntu2_amd64.deb remote: -----> Installing libavcodec-dev_6%3a9.11-2ubuntu2_amd64.deb remote: -----> Installing libavformat54_6%3a9.11-2ubuntu2_amd64.deb remote: -----> Installing libavformat-dev_6%3a9.11-2ubuntu2_amd64.deb remote: -----> Installing libavutil52_6%3a9.11-2ubuntu2_amd64.deb remote: -----> Installing libavutil-dev_6%3a9.11-2ubuntu2_amd64.deb remote: -----> Installing libcvaux-dev_2.4.8+dfsg1-2ubuntu1_amd64.deb remote: -----> Installing libcv-dev_2.4.8+dfsg1-2ubuntu1_amd64.deb remote: -----> Installing libdc1394-22_2.2.1-2ubuntu2_amd64.deb remote: -----> Installing libdc1394-22-dev_2.2.1-2ubuntu2_amd64.deb remote: -----> Installing libgettextpo0_0.18.3.1-1ubuntu3_amd64.deb remote: -----> Installing libgettextpo-dev_0.18.3.1-1ubuntu3_amd64.deb remote: -----> Installing libglu1-mesa_9.0.0-2_amd64.deb remote: -----> Installing libgsm1_1.0.13-4_amd64.deb remote: -----> Installing libgtk2.0-dev_2.24.23-0ubuntu1.4_amd64.deb remote: -----> Installing libgtkglext1_1.2.0-3.1fakesync3_amd64.deb remote: -----> Installing libharfbuzz-dev_0.9.27-1ubuntu1_amd64.deb remote: -----> Installing libharfbuzz-gobject0_0.9.27-1ubuntu1_amd64.deb remote: -----> Installing libharfbuzz-icu0_0.9.27-1ubuntu1_amd64.deb remote: -----> Installing libhighgui-dev_2.4.8+dfsg1-2ubuntu1_amd64.deb remote: -----> Installing libmail-sendmail-perl_0.79.16-1_all.deb remote: -----> Installing libmp3lame0_3.99.5+repack1-3ubuntu1_amd64.deb remote: -----> Installing libnettle4_2.7.1-1ubuntu0.1_amd64.deb remote: -----> Installing libopencv2.4-java_2.4.8+dfsg1-2ubuntu1_all.deb remote: -----> Installing libopencv2.4-jni_2.4.8+dfsg1-2ubuntu1_amd64.deb remote: -----> Installing libopencv-calib3d2.4_2.4.8+dfsg1-2ubuntu1_amd64.deb remote: -----> Installing libopencv-calib3d-dev_2.4.8+dfsg1-2ubuntu1_amd64.deb remote: -----> Installing libopencv-contrib2.4_2.4.8+dfsg1-2ubuntu1_amd64.deb remote: -----> Installing libopencv-contrib-dev_2.4.8+dfsg1-2ubuntu1_amd64.deb remote: -----> Installing libopencv-core2.4_2.4.8+dfsg1-2ubuntu1_amd64.deb remote: -----> Installing libopencv-core-dev_2.4.8+dfsg1-2ubuntu1_amd64.deb remote: -----> Installing libopencv-dev_2.4.8+dfsg1-2ubuntu1_amd64.deb remote: -----> Installing libopencv-features2d2.4_2.4.8+dfsg1-2ubuntu1_amd64.deb remote: -----> Installing libopencv-features2d-dev_2.4.8+dfsg1-2ubuntu1_amd64.deb remote: -----> Installing libopencv-flann2.4_2.4.8+dfsg1-2ubuntu1_amd64.deb remote: -----> Installing libopencv-flann-dev_2.4.8+dfsg1-2ubuntu1_amd64.deb remote: -----> Installing libopencv-gpu2.4_2.4.8+dfsg1-2ubuntu1_amd64.deb remote: -----> Installing libopencv-gpu-dev_2.4.8+dfsg1-2ubuntu1_amd64.deb remote: -----> Installing libopencv-highgui2.4_2.4.8+dfsg1-2ubuntu1_amd64.deb remote: -----> Installing libopencv-highgui-dev_2.4.8+dfsg1-2ubuntu1_amd64.deb remote: -----> Installing libopencv-imgproc2.4_2.4.8+dfsg1-2ubuntu1_amd64.deb remote: -----> Installing libopencv-imgproc-dev_2.4.8+dfsg1-2ubuntu1_amd64.deb remote: -----> Installing libopencv-legacy2.4_2.4.8+dfsg1-2ubuntu1_amd64.deb remote: -----> Installing libopencv-legacy-dev_2.4.8+dfsg1-2ubuntu1_amd64.deb remote: -----> Installing libopencv-ml2.4_2.4.8+dfsg1-2ubuntu1_amd64.deb remote: -----> Installing libopencv-ml-dev_2.4.8+dfsg1-2ubuntu1_amd64.deb remote: -----> Installing libopencv-objdetect2.4_2.4.8+dfsg1-2ubuntu1_amd64.deb remote: -----> Installing libopencv-objdetect-dev_2.4.8+dfsg1-2ubuntu1_amd64.deb remote: -----> Installing libopencv-ocl2.4_2.4.8+dfsg1-2ubuntu1_amd64.deb remote: -----> Installing libopencv-ocl-dev_2.4.8+dfsg1-2ubuntu1_amd64.deb remote: -----> Installing libopencv-photo2.4_2.4.8+dfsg1-2ubuntu1_amd64.deb remote: -----> Installing libopencv-photo-dev_2.4.8+dfsg1-2ubuntu1_amd64.deb remote: -----> Installing libopencv-stitching2.4_2.4.8+dfsg1-2ubuntu1_amd64.deb remote: -----> Installing libopencv-stitching-dev_2.4.8+dfsg1-2ubuntu1_amd64.deb remote: -----> Installing libopencv-superres2.4_2.4.8+dfsg1-2ubuntu1_amd64.deb remote: -----> Installing libopencv-superres-dev_2.4.8+dfsg1-2ubuntu1_amd64.deb remote: -----> Installing libopencv-ts2.4_2.4.8+dfsg1-2ubuntu1_amd64.deb remote: -----> Installing libopencv-ts-dev_2.4.8+dfsg1-2ubuntu1_amd64.deb remote: -----> Installing libopencv-video2.4_2.4.8+dfsg1-2ubuntu1_amd64.deb remote: -----> Installing libopencv-video-dev_2.4.8+dfsg1-2ubuntu1_amd64.deb remote: -----> Installing libopencv-videostab2.4_2.4.8+dfsg1-2ubuntu1_amd64.deb remote: -----> Installing libopencv-videostab-dev_2.4.8+dfsg1-2ubuntu1_amd64.deb remote: -----> Installing libopenjpeg2_1.3+dfsg-4.7ubuntu1_amd64.deb remote: -----> Installing libopus0_1.1-0ubuntu1_amd64.deb remote: -----> Installing liborc-0.4-0_1%3a0.4.18-1ubuntu1_amd64.deb remote: -----> Installing libpango1.0-dev_1.36.3-1ubuntu1.1_amd64.deb remote: -----> Installing libpangox-1.0-0_0.0.2-4ubuntu1_amd64.deb remote: -----> Installing libpangoxft-1.0-0_1.36.3-1ubuntu1.1_amd64.deb remote: -----> Installing libpipeline1_1.3.0-1_amd64.deb remote: -----> Installing libraw1394-11_2.1.0-1ubuntu1_amd64.deb remote: -----> Installing libraw1394-dev_2.1.0-1ubuntu1_amd64.deb remote: -----> Installing libraw1394-tools_2.1.0-1ubuntu1_amd64.deb remote: -----> Installing libschroedinger-1.0-0_1.0.11-2ubuntu1_amd64.deb remote: -----> Installing libspeex1_1.2~rc1.1-1ubuntu1_amd64.deb remote: -----> Installing libswscale2_6%3a9.11-2ubuntu2_amd64.deb remote: -----> Installing libswscale-dev_6%3a9.11-2ubuntu2_amd64.deb remote: -----> Installing libsys-hostname-long-perl_1.4-3_all.deb remote: -----> Installing libtbb2_4.2~20130725-1.1ubuntu1_amd64.deb remote: -----> Installing libtheora0_1.1.1+dfsg.1-3.2_amd64.deb remote: -----> Installing libunistring0_0.9.3-5ubuntu3_amd64.deb remote: -----> Installing libva1_1.3.0-2_amd64.deb remote: -----> Installing libx264-142_2%3a0.142.2389+git956c8d8-2_amd64.deb remote: -----> Installing libxcomposite-dev_1%3a0.4.4-1_amd64.deb remote: -----> Installing libxcursor-dev_1%3a1.1.14-1_amd64.deb remote: -----> Installing libxdamage-dev_1%3a1.1.4-1ubuntu1_amd64.deb remote: -----> Installing libxfixes-dev_1%3a5.0.1-1ubuntu1.1_amd64.deb remote: -----> Installing libxft-dev_2.3.1-2_amd64.deb remote: -----> Installing libxi-dev_2%3a1.7.1.901-1ubuntu1.1_amd64.deb remote: -----> Installing libxinerama-dev_2%3a1.1.3-1_amd64.deb remote: -----> Installing libxml2-utils_2.9.1+dfsg1-3ubuntu4.8_amd64.deb remote: -----> Installing libxrandr-dev_2%3a1.4.2-1_amd64.deb remote: -----> Installing libxvidcore4_2%3a1.3.2-9ubuntu1_amd64.deb remote: -----> Installing man-db_2.6.7.1-1ubuntu1_amd64.deb remote: -----> Installing opencv-data_2.4.8+dfsg1-2ubuntu1_all.deb remote: -----> Installing pkg-config_0.26-1ubuntu4_amd64.deb remote: -----> Installing po-debconf_1.0.16+nmu2ubuntu1_all.deb remote: -----> Installing x11proto-composite-dev_1%3a0.4.2-2_all.deb remote: -----> Installing x11proto-damage-dev_1%3a1.2.1-2_all.deb remote: -----> Installing x11proto-fixes-dev_1%3a5.0-2ubuntu2_all.deb remote: -----> Installing x11proto-randr-dev_1.4.0+git20120101.is.really.1.4.0-0ubuntu1_all.deb remote: -----> Installing x11proto-xinerama-dev_1.2.1-2_all.deb remote: -----> Writing profile script remote: -----> Using set buildpack heroku/ruby remote: -----> Ruby app detected remote: -----> Compiling Ruby/Rack remote: -----> Using Ruby version: ruby-2.2.4 remote: -----> Installing dependencies using bundler 1.11.2 remote: Running: bundle install --without development:test --path vendor/bundle --binstubs vendor/bundle/bin -j4 --deployment remote: Warning: the running version of Bundler is older than the version that created the lockfile. We suggest you upgrade to the latest version of Bundler by running gem install bundler. remote: Fetching gem metadata from https://rubygems.org/......... remote: Fetching version metadata from https://rubygems.org/... remote: Fetching dependency metadata from https://rubygems.org/.. remote: Using rake 11.1.2 remote: Using mime-types 2.99.2 remote: Using netrc 0.11.0 remote: Using i18n 0.7.0 remote: Using unf_ext 0.0.7.2 remote: Using json 1.8.3 remote: Using minitest 5.9.0 remote: Using thread_safe 0.3.5 remote: Using builder 3.2.2 remote: Using api-auth 2.0.0 remote: Using json_pure 1.8.3 remote: Using ice_nine 0.11.2 remote: Using bson 4.1.1 remote: Using highline 1.7.8 remote: Using concurrent-ruby 1.0.2 remote: Using connection_pool 2.2.0 remote: Using enumerable-lazy 0.0.1 remote: Using equalizer 0.0.11 remote: Using hashie 3.4.4 remote: Using multi_json 1.12.1 remote: Using multi_xml 0.5.5 remote: Using rack 1.6.4 remote: Using mini_portile2 2.0.0 remote: Using origin 2.2.0 remote: Using puma 3.4.0 remote: Using rack-cors 0.4.0 remote: Using rack-ssl-enforcer 0.2.9 remote: Using rack-timeout 0.4.2 remote: Using redis 3.3.0 remote: Using terminal-table 1.6.0 remote: Using bundler 1.11.2 remote: Using unf 0.1.4 remote: Using tzinfo 1.2.2 remote: Using descendants_tracker 0.0.4 remote: Using jmespath 1.2.4 remote: Using commander 4.4.0 remote: Using mongo 2.2.5 remote: Using mustermann19 0.4.3 remote: Using hashie-forbidden_attributes 0.1.1 remote: Using nokogiri 1.6.7.2 remote: Using rack-accept 0.4.5 remote: Using sidekiq 4.1.2 remote: Using domain_name 0.5.20160310 remote: Using activesupport 4.2.6 remote: Using axiom-types 0.1.1 remote: Using coercible 1.0.0 remote: Using aws-sdk-core 2.3.11 remote: Using venice 0.2.0 remote: Using http-cookie 1.0.2 remote: Using activemodel 4.2.6 remote: Using grape-entity 0.5.1 remote: Using virtus 1.0.5 remote: Using aws-sdk-resources 2.3.11 remote: Using rest-client 1.8.0 remote: Using mongoid 5.1.3 remote: Using grape 0.16.2 remote: Using aws-sdk 2.3.11 remote: Using grape-middleware-logger 1.6.0 remote: Using grape-swagger 0.21.0 from https://github.com/ruby-grape/grape-swagger.git (at master@cc08c4c) remote: Using abbyy 0.2.1 from https://github.com/BuntesIchDE/abbyy.git (at master@c3d23b0) remote: Using grape-swagger-entity 0.1.3 remote: Installing ffi 1.9.10 with native extensions remote: Installing rbind 0.0.27 remote: Installing ropencv 0.0.21 with native extensions remote: Gem::Ext::BuildError: ERROR: Failed to build gem native extension. remote: /tmp/build_eee7cb15c8c5c9ebd43f56b3dfd97920/vendor/ruby-2.2.4/bin/ruby -r ./siteconf20160606-962-z60s8w.rb extconf.rb remote: -- The C compiler identification is GNU 4.8.4 remote: -- The CXX compiler identification is GNU 4.8.4 remote: -- Check for working C compiler: /usr/bin/cc remote: -- Check for working C compiler: /usr/bin/cc -- works remote: -- Detecting C compiler ABI info remote: -- Detecting C compiler ABI info - done remote: -- Check for working CXX compiler: /usr/bin/c++ remote: -- Check for working CXX compiler: /usr/bin/c++ -- works remote: -- Detecting CXX compiler ABI info remote: -- Detecting CXX compiler ABI info - done remote: -- Found PkgConfig: /tmp/build_eee7cb15c8c5c9ebd43f56b3dfd97920/.apt/usr/bin/pkg-config (found version "0.26") remote: -- checking for module 'opencv' remote: -- found opencv, version 2.4.8 remote: -- Configuring done remote: -- Generating done remote: -- Build files have been written to: /tmp/build_eee7cb15c8c5c9ebd43f56b3dfd97920/vendor/bundle/ruby/2.2.0/gems/ropencv-0.0.21/ext remote: make "DESTDIR=" clean remote: make "DESTDIR=" remote: [ 25%] Generating types.cc, operations.cc, conversions.cc remote: Ignoring bson-4.1.1 because its extensions are not built. Try: gem pristine bson --version 4.1.1 remote: Ignoring ffi-1.9.10 because its extensions are not built. Try: gem pristine ffi --version 1.9.10 remote: Ignoring nokogiri-1.6.7.2 because its extensions are not built. Try: gem pristine nokogiri --version 1.6.7.2 remote: Ignoring puma-3.4.0 because its extensions are not built. Try: gem pristine puma --version 3.4.0 remote: Ignoring ruby-opencv-0.0.16 because its extensions are not built. Try: gem pristine ruby-opencv --version 0.0.16 remote: Ignoring unf_ext-0.0.7.2 because its extensions are not built. Try: gem pristine unf_ext --version 0.0.7.2 remote: Rbind: found opencv 2.4.8 remote: Traceback (most recent call last): remote: File "/tmp/build_eee7cb15c8c5c9ebd43f56b3dfd97920/vendor/bundle/ruby/2.2.0/gems/rbind-0.0.27/lib/rbind/tools/hdr_parser.py", line 880, in remote: decls += parser.parse(sys.argv[1]) remote: IndexError: list index out of range remote: /tmp/build_eee7cb15c8c5c9ebd43f56b3dfd97920/vendor/bundle/ruby/2.2.0/gems/rbind-0.0.27/lib/rbind/default_parser.rb:108:in rescue in parameter': input line 3: cv has no type called vector<KeyPoint> (RuntimeError) remote: from /tmp/build_eee7cb15c8c5c9ebd43f56b3dfd97920/vendor/bundle/ruby/2.2.0/gems/rbind-0.0.27/lib/rbind/default_parser.rb:88:inparameter' remote: from /tmp/build_eee7cb15c8c5c9ebd43f56b3dfd97920/vendor/bundle/ruby/2.2.0/gems/rbind-0.0.27/lib/rbind/default_parser.rb:273:in block in parse_operation' remote: from /tmp/build_eee7cb15c8c5c9ebd43f56b3dfd97920/vendor/bundle/ruby/2.2.0/gems/rbind-0.0.27/lib/rbind/default_parser.rb:272:inmap' remote: from /tmp/build_eee7cb15c8c5c9ebd43f56b3dfd97920/vendor/bundle/ruby/2.2.0/gems/rbind-0.0.27/lib/rbind/default_parser.rb:272:in parse_operation' remote: from /tmp/build_eee7cb15c8c5c9ebd43f56b3dfd97920/vendor/bundle/ruby/2.2.0/gems/rbind-0.0.27/lib/rbind/default_parser.rb:307:inblock in parse' remote: from /tmp/build_eee7cb15c8c5c9ebd43f56b3dfd97920/vendor/bundle/ruby/2.2.0/gems/rbind-0.0.27/lib/rbind/default_parser.rb:297:in each' remote: from /tmp/build_eee7cb15c8c5c9ebd43f56b3dfd97920/vendor/bundle/ruby/2.2.0/gems/rbind-0.0.27/lib/rbind/default_parser.rb:297:inparse' remote: from /tmp/build_eee7cb15c8c5c9ebd43f56b3dfd97920/vendor/bundle/ruby/2.2.0/gems/rbind-0.0.27/lib/rbind/rbind.rb:44:in block in parse' remote: from /tmp/build_eee7cb15c8c5c9ebd43f56b3dfd97920/vendor/bundle/ruby/2.2.0/gems/rbind-0.0.27/lib/rbind/rbind.rb:42:ineach' remote: from /tmp/build_eee7cb15c8c5c9ebd43f56b3dfd97920/vendor/bundle/ruby/2.2.0/gems/rbind-0.0.27/lib/rbind/rbind.rb:42:in parse' remote: from /tmp/build_eee7cb15c8c5c9ebd43f56b3dfd97920/vendor/bundle/ruby/2.2.0/gems/ropencv-0.0.21/ext/src/../rbind.rb:47:in

' remote: Parsing Error: input line 3: cv has no type called vector remote: Line 1: remote: -------------------------------------------------- remote: cv.drawMatches void remote: Mat img1 remote: vector_KeyPoint keypoints1 remote: Mat img2 remote: vector_KeyPoint keypoints2 remote: vector_DMatch matches1to2 remote: Mat outImg /O remote: Scalar matchColor Scalar::all(-1) remote: Scalar singlePointColor Scalar::all(-1) remote: vector_char matchesMask std::vector() remote: int flags DrawMatchesFlags::DEFAULT remote: -------------------------------------------------- remote: make[2]: * [src/types.cc] Error 1 remote: make[1]: * [src/CMakeFiles/rbind_opencv.dir/all] Error 2 remote: make: *** [all] Error 2 remote: make failed, exit code 2 remote: Gem files will remain installed in /tmp/build_eee7cb15c8c5c9ebd43f56b3dfd97920/vendor/bundle/ruby/2.2.0/gems/ropencv-0.0.21 for inspection. remote: Results logged to /tmp/build_eee7cb15c8c5c9ebd43f56b3dfd97920/vendor/bundle/ruby/2.2.0/extensions/x86_64-linux/2.2.0-static/ropencv-0.0.21/gem_make.out remote: An error occurred while installing ropencv (0.0.21), and Bundler cannot remote: continue. remote: Make sure that gem install ropencv -v '0.0.21' succeeds before bundling. remote: Bundler Output: Warning: the running version of Bundler is older than the version that created the lockfile. We suggest you upgrade to the latest version of Bundler by running gem install bundler. remote: Fetching gem metadata from https://rubygems.org/......... remote: Fetching version metadata from https://rubygems.org/... remote: Fetching dependency metadata from https://rubygems.org/.. remote: Using rake 11.1.2 remote: Using mime-types 2.99.2 remote: Using netrc 0.11.0 remote: Using i18n 0.7.0 remote: Using unf_ext 0.0.7.2 remote: Using json 1.8.3 remote: Using minitest 5.9.0 remote: Using thread_safe 0.3.5 remote: Using builder 3.2.2 remote: Using api-auth 2.0.0 remote: Using json_pure 1.8.3 remote: Using ice_nine 0.11.2 remote: Using bson 4.1.1 remote: Using highline 1.7.8 remote: Using concurrent-ruby 1.0.2 remote: Using connection_pool 2.2.0 remote: Using enumerable-lazy 0.0.1 remote: Using equalizer 0.0.11 remote: Using hashie 3.4.4 remote: Using multi_json 1.12.1 remote: Using multi_xml 0.5.5 remote: Using rack 1.6.4 remote: Using mini_portile2 2.0.0 remote: Using origin 2.2.0 remote: Using puma 3.4.0 remote: Using rack-cors 0.4.0 remote: Using rack-ssl-enforcer 0.2.9 remote: Using rack-timeout 0.4.2 remote: Using redis 3.3.0 remote: Using terminal-table 1.6.0 remote: Using bundler 1.11.2 remote: Using unf 0.1.4 remote: Using tzinfo 1.2.2 remote: Using descendants_tracker 0.0.4 remote: Using jmespath 1.2.4 remote: Using commander 4.4.0 remote: Using mongo 2.2.5 remote: Using mustermann19 0.4.3 remote: Using hashie-forbidden_attributes 0.1.1 remote: Using nokogiri 1.6.7.2 remote: Using rack-accept 0.4.5 remote: Using sidekiq 4.1.2 remote: Using domain_name 0.5.20160310 remote: Using activesupport 4.2.6 remote: Using axiom-types 0.1.1 remote: Using coercible 1.0.0 remote: Using aws-sdk-core 2.3.11 remote: Using venice 0.2.0 remote: Using http-cookie 1.0.2 remote: Using activemodel 4.2.6 remote: Using grape-entity 0.5.1 remote: Using virtus 1.0.5 remote: Using aws-sdk-resources 2.3.11 remote: Using rest-client 1.8.0 remote: Using mongoid 5.1.3 remote: Using grape 0.16.2 remote: Using aws-sdk 2.3.11 remote: Using grape-middleware-logger 1.6.0 remote: Using grape-swagger 0.21.0 from https://github.com/ruby-grape/grape-swagger.git (at master@cc08c4c) remote: Using abbyy 0.2.1 from https://github.com/BuntesIchDE/abbyy.git (at master@c3d23b0) remote: Using grape-swagger-entity 0.1.3 remote: Installing ffi 1.9.10 with native extensions remote: Installing rbind 0.0.27 remote: Installing ropencv 0.0.21 with native extensions remote:
remote: Gem::Ext::BuildError: ERROR: Failed to build gem native extension. remote:
remote: /tmp/build_eee7cb15c8c5c9ebd43f56b3dfd97920/vendor/ruby-2.2.4/bin/ruby -r ./siteconf20160606-962-z60s8w.rb extconf.rb remote: -- The C compiler identification is GNU 4.8.4 remote: -- The CXX compiler identification is GNU 4.8.4 remote: -- Check for working C compiler: /usr/bin/cc remote: -- Check for working C compiler: /usr/bin/cc -- works remote: -- Detecting C compiler ABI info remote: -- Detecting C compiler ABI info - done remote: -- Check for working CXX compiler: /usr/bin/c++ remote: -- Check for working CXX compiler: /usr/bin/c++ -- works remote: -- Detecting CXX compiler ABI info remote: -- Detecting CXX compiler ABI info - done remote: -- Found PkgConfig: /tmp/build_eee7cb15c8c5c9ebd43f56b3dfd97920/.apt/usr/bin/pkg-config (found version "0.26") remote: -- checking for module 'opencv' remote: -- found opencv, version 2.4.8 remote: -- Configuring done remote: -- Generating done remote: -- Build files have been written to: /tmp/build_eee7cb15c8c5c9ebd43f56b3dfd97920/vendor/bundle/ruby/2.2.0/gems/ropencv-0.0.21/ext remote:
remote: make "DESTDIR=" clean remote:
remote: make "DESTDIR=" remote: [ 25%] Generating types.cc, operations.cc, conversions.cc remote: Ignoring bson-4.1.1 because its extensions are not built. Try: gem pristine bson --version 4.1.1 remote: Ignoring ffi-1.9.10 because its extensions are not built. Try: gem pristine ffi --version 1.9.10 remote: Ignoring nokogiri-1.6.7.2 because its extensions are not built. Try: gem pristine nokogiri --version 1.6.7.2 remote: Ignoring puma-3.4.0 because its extensions are not built. Try: gem pristine puma --version 3.4.0 remote: Ignoring ruby-opencv-0.0.16 because its extensions are not built. Try: gem pristine ruby-opencv --version 0.0.16 remote: Ignoring unf_ext-0.0.7.2 because its extensions are not built. Try: gem pristine unf_ext --version 0.0.7.2 remote: Rbind: found opencv 2.4.8 remote: Traceback (most recent call last): remote: File "/tmp/build_eee7cb15c8c5c9ebd43f56b3dfd97920/vendor/bundle/ruby/2.2.0/gems/rbind-0.0.27/lib/rbind/tools/hdr_parser.py", line 880, in remote: decls += parser.parse(sys.argv[1]) remote: IndexError: list index out of range remote: /tmp/build_eee7cb15c8c5c9ebd43f56b3dfd97920/vendor/bundle/ruby/2.2.0/gems/rbind-0.0.27/lib/rbind/default_parser.rb:108:in rescue in parameter': input line 3: cv has no type called vector<KeyPoint> (RuntimeError) remote: from /tmp/build_eee7cb15c8c5c9ebd43f56b3dfd97920/vendor/bundle/ruby/2.2.0/gems/rbind-0.0.27/lib/rbind/default_parser.rb:88:inparameter' remote: from /tmp/build_eee7cb15c8c5c9ebd43f56b3dfd97920/vendor/bundle/ruby/2.2.0/gems/rbind-0.0.27/lib/rbind/default_parser.rb:273:in block in parse_operation' remote: from /tmp/build_eee7cb15c8c5c9ebd43f56b3dfd97920/vendor/bundle/ruby/2.2.0/gems/rbind-0.0.27/lib/rbind/default_parser.rb:272:inmap' remote: from /tmp/build_eee7cb15c8c5c9ebd43f56b3dfd97920/vendor/bundle/ruby/2.2.0/gems/rbind-0.0.27/lib/rbind/default_parser.rb:272:in parse_operation' remote: from /tmp/build_eee7cb15c8c5c9ebd43f56b3dfd97920/vendor/bundle/ruby/2.2.0/gems/rbind-0.0.27/lib/rbind/default_parser.rb:307:inblock in parse' remote: from /tmp/build_eee7cb15c8c5c9ebd43f56b3dfd97920/vendor/bundle/ruby/2.2.0/gems/rbind-0.0.27/lib/rbind/default_parser.rb:297:in each' remote: from /tmp/build_eee7cb15c8c5c9ebd43f56b3dfd97920/vendor/bundle/ruby/2.2.0/gems/rbind-0.0.27/lib/rbind/default_parser.rb:297:inparse' remote: from /tmp/build_eee7cb15c8c5c9ebd43f56b3dfd97920/vendor/bundle/ruby/2.2.0/gems/rbind-0.0.27/lib/rbind/rbind.rb:44:in block in parse' remote: from /tmp/build_eee7cb15c8c5c9ebd43f56b3dfd97920/vendor/bundle/ruby/2.2.0/gems/rbind-0.0.27/lib/rbind/rbind.rb:42:ineach' remote: from /tmp/build_eee7cb15c8c5c9ebd43f56b3dfd97920/vendor/bundle/ruby/2.2.0/gems/rbind-0.0.27/lib/rbind/rbind.rb:42:in parse' remote: from /tmp/build_eee7cb15c8c5c9ebd43f56b3dfd97920/vendor/bundle/ruby/2.2.0/gems/ropencv-0.0.21/ext/src/../rbind.rb:47:in
' remote: Parsing Error: input line 3: cv has no type called vector remote: Line 1: remote: -------------------------------------------------- remote: cv.drawMatches void remote: Mat img1 remote: vector_KeyPoint keypoints1 remote: Mat img2 remote: vector_KeyPoint keypoints2 remote: vector_DMatch matches1to2 remote: Mat outImg /O remote: Scalar matchColor Scalar::all(-1) remote: Scalar singlePointColor Scalar::all(-1) remote: vector_char matchesMask std::vector() remote: int flags DrawMatchesFlags::DEFAULT remote: -------------------------------------------------- remote: make[2]: * [src/types.cc] Error 1 remote: make[1]: * [src/CMakeFiles/rbind_opencv.dir/all] Error 2 remote: make: *\ [all] Error 2 remote:
remote: make failed, exit code 2 remote:
remote: Gem files will remain installed in /tmp/build_eee7cb15c8c5c9ebd43f56b3dfd97920/vendor/bundle/ruby/2.2.0/gems/ropencv-0.0.21 for inspection. remote: Results logged to /tmp/build_eee7cb15c8c5c9ebd43f56b3dfd97920/vendor/bundle/ruby/2.2.0/extensions/x86_64-linux/2.2.0-static/ropencv-0.0.21/gem_make.out remote: An error occurred while installing ropencv (0.0.21), and Bundler cannot remote: continue. remote: Make sure that gem install ropencv -v '0.0.21' succeeds before bundling. remote: ! remote: ! Failed to install gems via Bundler. remote: ! remote: remote: ! Push rejected, failed to compile Ruby app remote: remote: Verifying deploy... remote: remote: ! Push rejected to arbeitszeugnis. remote:

Any ideas? ruby-opencv wil install without problems.