Skip to content

Instantly share code, notes, and snippets.

@Dieterbe
Created September 13, 2016 15:25
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Dieterbe/69bec1c53283d9707f7a12c9e1fe7b33 to your computer and use it in GitHub Desktop.
Save Dieterbe/69bec1c53283d9707f7a12c9e1fe7b33 to your computer and use it in GitHub Desktop.
==> Making package: vagrant-git 1.8.5.87.g9c299a2-1 (Tue Sep 13 18:18:48 EEST 2016)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
-> Updating vagrant git repo...
Fetching origin
==> Validating source files with md5sums...
vagrant ... Skipped
==> Extracting sources...
-> Creating working copy of vagrant git repo...
Reset branch 'makepkg'
==> Starting pkgver()...
==> Removing existing $pkgdir/ directory...
==> Starting build()...
WARNING: gems-1.8.5.87.g9c299a2-1/gems/nokogiri-1.6.7.1/ports/archives/libxml2-2.9.2.tar.gz is not world-readable
WARNING: gems-1.8.5.87.g9c299a2-1/gems/nokogiri-1.6.7.1/ports/archives/libxslt-1.1.28.tar.gz is not world-readable
WARNING: pessimistic dependency on erubis (~> 2.7.0) may be overly strict
if erubis is semantically versioned, use:
add_runtime_dependency 'erubis', '~> 2.7', '>= 2.7.0'
WARNING: pessimistic dependency on listen (~> 3.1.5) may be overly strict
if listen is semantically versioned, use:
add_runtime_dependency 'listen', '~> 3.1', '>= 3.1.5'
WARNING: pessimistic dependency on net-ssh (~> 3.0.1) may be overly strict
if net-ssh is semantically versioned, use:
add_runtime_dependency 'net-ssh', '~> 3.0', '>= 3.0.1'
WARNING: pessimistic dependency on net-scp (~> 1.1.0) may be overly strict
if net-scp is semantically versioned, use:
add_runtime_dependency 'net-scp', '~> 1.1', '>= 1.1.0'
WARNING: open-ended dependency on rake (>= 0, development) is not recommended
if rake is semantically versioned, use:
add_development_dependency 'rake', '~> 0'
WARNING: pessimistic dependency on rspec (~> 2.14.0, development) may be overly strict
if rspec is semantically versioned, use:
add_development_dependency 'rspec', '~> 2.14', '>= 2.14.0'
WARNING: See http://guides.rubygems.org/specification-reference/ for help
Successfully built RubyGem
Name: vagrant
Version: 1.8.6.dev
File: vagrant-1.8.6.dev.gem
Building native extensions. This could take a while...
ERROR: Error installing vagrant.gem:
ERROR: Failed to build gem native extension.
/opt/vagrant/embedded/bin/ruby -r ./siteconf20160913-29716-1h5m54o.rb extconf.rb
checking if the C compiler accepts -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong... yes
Building nokogiri using packaged libraries.
Using mini_portile version 2.0.0
checking for gzdopen() in -lz... yes
checking for iconv using --with-opt-* flags... yes
************************************************************************
IMPORTANT NOTICE:
Building Nokogiri with a packaged version of libxml2-2.9.2
with the following patches applied:
- 0001-Revert-Missing-initialization-for-the-catalog-module.patch
- 0002-Fix-missing-entities-after-CVE-2014-3660-fix.patch
- 0003-Stop-parsing-on-entities-boundaries-errors.patch
- 0004-Cleanup-conditional-section-error-handling.patch
- 0005-CVE-2015-1819-Enforce-the-reader-to-run-in-constant-.patch
- 0006-Another-variation-of-overflow-in-Conditional-section.patch
- 0007-Fix-an-error-in-previous-Conditional-section-patch.patch
- 0008-CVE-2015-8035-Fix-XZ-compression-support-loop.patch
- 0009-Updated-config.guess.patch
- 0010-Fix-parsering-short-unclosed-comment-uninitialized-access.patch
- 0011-Avoid-extra-processing-of-MarkupDecl-when-EOF.patch
- 0012-Avoid-processing-entities-after-encoding-conversion-.patch
- 0013-CVE-2015-7497-Avoid-an-heap-buffer-overflow-in-xmlDi.patch
- 0014-CVE-2015-5312-Another-entity-expansion-issue.patch
- 0015-Add-xmlHaltParser-to-stop-the-parser.patch
- 0016-Detect-incoherency-on-GROW.patch
- 0017-CVE-2015-7500-Fix-memory-access-error-due-to-incorre.patch
- 0018-CVE-2015-8242-Buffer-overead-with-HTML-parser-in-pus.patch
Team Nokogiri will keep on doing their best to provide security
updates in a timely manner, but if this is a concern for you and want
to use the system library instead; abort this installation process and
reinstall nokogiri as follows:
gem install nokogiri -- --use-system-libraries
[--with-xml2-config=/path/to/xml2-config]
[--with-xslt-config=/path/to/xslt-config]
If you are using Bundler, tell it to use the option:
bundle config build.nokogiri --use-system-libraries
bundle install
Note, however, that nokogiri is not fully compatible with arbitrary
versions of libxml2 provided by OS/package vendors.
************************************************************************
Extracting libxml2-2.9.2.tar.gz into tmp/x86_64-pc-linux-gnu/ports/libxml2/2.9.2... OK
Running git apply with /home/dieter/.cache/pacaur/vagrant-git/src/vagrant/gems-1.8.5.87.g9c299a2-1/gems/nokogiri-1.6.7.1/patches/libxml2/0001-Revert-Missing-initialization-for-the-catalog-module.patch... OK
Running git apply with /home/dieter/.cache/pacaur/vagrant-git/src/vagrant/gems-1.8.5.87.g9c299a2-1/gems/nokogiri-1.6.7.1/patches/libxml2/0002-Fix-missing-entities-after-CVE-2014-3660-fix.patch... OK
Running git apply with /home/dieter/.cache/pacaur/vagrant-git/src/vagrant/gems-1.8.5.87.g9c299a2-1/gems/nokogiri-1.6.7.1/patches/libxml2/0003-Stop-parsing-on-entities-boundaries-errors.patch... OK
Running git apply with /home/dieter/.cache/pacaur/vagrant-git/src/vagrant/gems-1.8.5.87.g9c299a2-1/gems/nokogiri-1.6.7.1/patches/libxml2/0004-Cleanup-conditional-section-error-handling.patch... OK
Running git apply with /home/dieter/.cache/pacaur/vagrant-git/src/vagrant/gems-1.8.5.87.g9c299a2-1/gems/nokogiri-1.6.7.1/patches/libxml2/0005-CVE-2015-1819-Enforce-the-reader-to-run-in-constant-.patch... OK
Running git apply with /home/dieter/.cache/pacaur/vagrant-git/src/vagrant/gems-1.8.5.87.g9c299a2-1/gems/nokogiri-1.6.7.1/patches/libxml2/0006-Another-variation-of-overflow-in-Conditional-section.patch... OK
Running git apply with /home/dieter/.cache/pacaur/vagrant-git/src/vagrant/gems-1.8.5.87.g9c299a2-1/gems/nokogiri-1.6.7.1/patches/libxml2/0007-Fix-an-error-in-previous-Conditional-section-patch.patch... OK
Running git apply with /home/dieter/.cache/pacaur/vagrant-git/src/vagrant/gems-1.8.5.87.g9c299a2-1/gems/nokogiri-1.6.7.1/patches/libxml2/0008-CVE-2015-8035-Fix-XZ-compression-support-loop.patch... OK
Running git apply with /home/dieter/.cache/pacaur/vagrant-git/src/vagrant/gems-1.8.5.87.g9c299a2-1/gems/nokogiri-1.6.7.1/patches/libxml2/0009-Updated-config.guess.patch... OK
Running git apply with /home/dieter/.cache/pacaur/vagrant-git/src/vagrant/gems-1.8.5.87.g9c299a2-1/gems/nokogiri-1.6.7.1/patches/libxml2/0010-Fix-parsering-short-unclosed-comment-uninitialized-access.patch... OK
Running git apply with /home/dieter/.cache/pacaur/vagrant-git/src/vagrant/gems-1.8.5.87.g9c299a2-1/gems/nokogiri-1.6.7.1/patches/libxml2/0011-Avoid-extra-processing-of-MarkupDecl-when-EOF.patch... OK
Running git apply with /home/dieter/.cache/pacaur/vagrant-git/src/vagrant/gems-1.8.5.87.g9c299a2-1/gems/nokogiri-1.6.7.1/patches/libxml2/0012-Avoid-processing-entities-after-encoding-conversion-.patch... OK
Running git apply with /home/dieter/.cache/pacaur/vagrant-git/src/vagrant/gems-1.8.5.87.g9c299a2-1/gems/nokogiri-1.6.7.1/patches/libxml2/0013-CVE-2015-7497-Avoid-an-heap-buffer-overflow-in-xmlDi.patch... OK
Running git apply with /home/dieter/.cache/pacaur/vagrant-git/src/vagrant/gems-1.8.5.87.g9c299a2-1/gems/nokogiri-1.6.7.1/patches/libxml2/0014-CVE-2015-5312-Another-entity-expansion-issue.patch... OK
Running git apply with /home/dieter/.cache/pacaur/vagrant-git/src/vagrant/gems-1.8.5.87.g9c299a2-1/gems/nokogiri-1.6.7.1/patches/libxml2/0015-Add-xmlHaltParser-to-stop-the-parser.patch... OK
Running git apply with /home/dieter/.cache/pacaur/vagrant-git/src/vagrant/gems-1.8.5.87.g9c299a2-1/gems/nokogiri-1.6.7.1/patches/libxml2/0016-Detect-incoherency-on-GROW.patch... OK
Running git apply with /home/dieter/.cache/pacaur/vagrant-git/src/vagrant/gems-1.8.5.87.g9c299a2-1/gems/nokogiri-1.6.7.1/patches/libxml2/0017-CVE-2015-7500-Fix-memory-access-error-due-to-incorre.patch... OK
Running git apply with /home/dieter/.cache/pacaur/vagrant-git/src/vagrant/gems-1.8.5.87.g9c299a2-1/gems/nokogiri-1.6.7.1/patches/libxml2/0018-CVE-2015-8242-Buffer-overead-with-HTML-parser-in-pus.patch... OK
Running 'configure' for libxml2 2.9.2... OK
Running 'compile' for libxml2 2.9.2... OK
Running 'install' for libxml2 2.9.2... OK
Activating libxml2 2.9.2 (from /home/dieter/.cache/pacaur/vagrant-git/src/vagrant/gems-1.8.5.87.g9c299a2-1/gems/nokogiri-1.6.7.1/ports/x86_64-pc-linux-gnu/libxml2/2.9.2)...
************************************************************************
IMPORTANT NOTICE:
Building Nokogiri with a packaged version of libxslt-1.1.28
with the following patches applied:
- 0001-Adding-doc-update-related-to-1.1.28.patch
- 0002-Fix-a-couple-of-places-where-f-printf-parameters-wer.patch
- 0003-Initialize-pseudo-random-number-generator-with-curre.patch
- 0004-EXSLT-function-str-replace-is-broken-as-is.patch
- 0006-Fix-str-padding-to-work-with-UTF-8-strings.patch
- 0007-Separate-function-for-predicate-matching-in-patterns.patch
- 0008-Fix-direct-pattern-matching.patch
- 0009-Fix-certain-patterns-with-predicates.patch
- 0010-Fix-handling-of-UTF-8-strings-in-EXSLT-crypto-module.patch
- 0013-Memory-leak-in-xsltCompileIdKeyPattern-error-path.patch
- 0014-Fix-for-bug-436589.patch
- 0015-Fix-mkdir-for-mingw.patch
- 0016-Fix-for-type-confusion-in-preprocessing-attributes.patch
- 0017-Updated-config.guess.patch
Team Nokogiri will keep on doing their best to provide security
updates in a timely manner, but if this is a concern for you and want
to use the system library instead; abort this installation process and
reinstall nokogiri as follows:
gem install nokogiri -- --use-system-libraries
[--with-xml2-config=/path/to/xml2-config]
[--with-xslt-config=/path/to/xslt-config]
If you are using Bundler, tell it to use the option:
bundle config build.nokogiri --use-system-libraries
bundle install
************************************************************************
Extracting libxslt-1.1.28.tar.gz into tmp/x86_64-pc-linux-gnu/ports/libxslt/1.1.28... OK
Running git apply with /home/dieter/.cache/pacaur/vagrant-git/src/vagrant/gems-1.8.5.87.g9c299a2-1/gems/nokogiri-1.6.7.1/patches/libxslt/0001-Adding-doc-update-related-to-1.1.28.patch... OK
Running git apply with /home/dieter/.cache/pacaur/vagrant-git/src/vagrant/gems-1.8.5.87.g9c299a2-1/gems/nokogiri-1.6.7.1/patches/libxslt/0002-Fix-a-couple-of-places-where-f-printf-parameters-wer.patch... OK
Running git apply with /home/dieter/.cache/pacaur/vagrant-git/src/vagrant/gems-1.8.5.87.g9c299a2-1/gems/nokogiri-1.6.7.1/patches/libxslt/0003-Initialize-pseudo-random-number-generator-with-curre.patch... OK
Running git apply with /home/dieter/.cache/pacaur/vagrant-git/src/vagrant/gems-1.8.5.87.g9c299a2-1/gems/nokogiri-1.6.7.1/patches/libxslt/0004-EXSLT-function-str-replace-is-broken-as-is.patch... OK
Running git apply with /home/dieter/.cache/pacaur/vagrant-git/src/vagrant/gems-1.8.5.87.g9c299a2-1/gems/nokogiri-1.6.7.1/patches/libxslt/0006-Fix-str-padding-to-work-with-UTF-8-strings.patch... OK
Running git apply with /home/dieter/.cache/pacaur/vagrant-git/src/vagrant/gems-1.8.5.87.g9c299a2-1/gems/nokogiri-1.6.7.1/patches/libxslt/0007-Separate-function-for-predicate-matching-in-patterns.patch... OK
Running git apply with /home/dieter/.cache/pacaur/vagrant-git/src/vagrant/gems-1.8.5.87.g9c299a2-1/gems/nokogiri-1.6.7.1/patches/libxslt/0008-Fix-direct-pattern-matching.patch... OK
Running git apply with /home/dieter/.cache/pacaur/vagrant-git/src/vagrant/gems-1.8.5.87.g9c299a2-1/gems/nokogiri-1.6.7.1/patches/libxslt/0009-Fix-certain-patterns-with-predicates.patch... OK
Running git apply with /home/dieter/.cache/pacaur/vagrant-git/src/vagrant/gems-1.8.5.87.g9c299a2-1/gems/nokogiri-1.6.7.1/patches/libxslt/0010-Fix-handling-of-UTF-8-strings-in-EXSLT-crypto-module.patch... OK
Running git apply with /home/dieter/.cache/pacaur/vagrant-git/src/vagrant/gems-1.8.5.87.g9c299a2-1/gems/nokogiri-1.6.7.1/patches/libxslt/0013-Memory-leak-in-xsltCompileIdKeyPattern-error-path.patch... OK
Running git apply with /home/dieter/.cache/pacaur/vagrant-git/src/vagrant/gems-1.8.5.87.g9c299a2-1/gems/nokogiri-1.6.7.1/patches/libxslt/0014-Fix-for-bug-436589.patch... OK
Running git apply with /home/dieter/.cache/pacaur/vagrant-git/src/vagrant/gems-1.8.5.87.g9c299a2-1/gems/nokogiri-1.6.7.1/patches/libxslt/0015-Fix-mkdir-for-mingw.patch... OK
Running git apply with /home/dieter/.cache/pacaur/vagrant-git/src/vagrant/gems-1.8.5.87.g9c299a2-1/gems/nokogiri-1.6.7.1/patches/libxslt/0016-Fix-for-type-confusion-in-preprocessing-attributes.patch... OK
Running git apply with /home/dieter/.cache/pacaur/vagrant-git/src/vagrant/gems-1.8.5.87.g9c299a2-1/gems/nokogiri-1.6.7.1/patches/libxslt/0017-Updated-config.guess.patch... OK
Running 'configure' for libxslt 1.1.28... OK
Running 'compile' for libxslt 1.1.28... ERROR, review '/home/dieter/.cache/pacaur/vagrant-git/src/vagrant/gems-1.8.5.87.g9c299a2-1/gems/nokogiri-1.6.7.1/ext/nokogiri/tmp/x86_64-pc-linux-gnu/ports/libxslt/1.1.28/compile.log' to see what happened. Last lines are:
========================================================================
CC date.lo
CC saxon.lo
CC dynamic.lo
CCLD libexslt.la
ar: `u' modifier ignored since `D' is the default (see `U')
make[2]: Leaving directory '/home/dieter/.cache/pacaur/vagrant-git/src/vagrant/gems-1.8.5.87.g9c299a2-1/gems/nokogiri-1.6.7.1/ext/nokogiri/tmp/x86_64-pc-linux-gnu/ports/libxslt/1.1.28/libxslt-1.1.28/libexslt'
Making all in xsltproc
make[2]: Entering directory '/home/dieter/.cache/pacaur/vagrant-git/src/vagrant/gems-1.8.5.87.g9c299a2-1/gems/nokogiri-1.6.7.1/ext/nokogiri/tmp/x86_64-pc-linux-gnu/ports/libxslt/1.1.28/libxslt-1.1.28/xsltproc'
CC xsltproc.o
CCLD xsltproc
/usr/bin/ld: warning: libiconv.so.2, needed by /opt/vagrant/embedded/lib/libxml2.so, not found (try using -rpath or -rpath-link)
/opt/vagrant/embedded/lib/libxml2.so: undefined reference to `libiconv'
/opt/vagrant/embedded/lib/libxml2.so: undefined reference to `libiconv_close'
/opt/vagrant/embedded/lib/libxml2.so: undefined reference to `libiconv_open'
collect2: error: ld returned 1 exit status
make[2]: *** [Makefile:413: xsltproc] Error 1
make[2]: Leaving directory '/home/dieter/.cache/pacaur/vagrant-git/src/vagrant/gems-1.8.5.87.g9c299a2-1/gems/nokogiri-1.6.7.1/ext/nokogiri/tmp/x86_64-pc-linux-gnu/ports/libxslt/1.1.28/libxslt-1.1.28/xsltproc'
make[1]: *** [Makefile:547: all-recursive] Error 1
make[1]: Leaving directory '/home/dieter/.cache/pacaur/vagrant-git/src/vagrant/gems-1.8.5.87.g9c299a2-1/gems/nokogiri-1.6.7.1/ext/nokogiri/tmp/x86_64-pc-linux-gnu/ports/libxslt/1.1.28/libxslt-1.1.28'
make: *** [Makefile:372: all] Error 2
========================================================================
*** extconf.rb failed ***
Could not create Makefile due to some reason, probably lack of necessary
libraries and/or headers. Check the mkmf.log file for more details. You may
need configuration options.
Provided configuration options:
--with-opt-dir
--with-opt-include
--without-opt-include=${opt-dir}/include
--with-opt-lib
--without-opt-lib=${opt-dir}/lib
--with-make-prog
--without-make-prog
--srcdir=.
--curdir
--ruby=/opt/vagrant/embedded/bin/$(RUBY_BASE_NAME)
--help
--clean
--use-system-libraries
--enable-static
--disable-static
--with-zlib-dir
--without-zlib-dir
--with-zlib-include
--without-zlib-include=${zlib-dir}/include
--with-zlib-lib
--without-zlib-lib=${zlib-dir}/lib
--enable-cross-build
--disable-cross-build
/home/dieter/.cache/pacaur/vagrant-git/src/vagrant/gems-1.8.5.87.g9c299a2-1/gems/mini_portile2-2.0.0/lib/mini_portile2/mini_portile.rb:366:in `block in execute': Failed to complete compile task (RuntimeError)
from /home/dieter/.cache/pacaur/vagrant-git/src/vagrant/gems-1.8.5.87.g9c299a2-1/gems/mini_portile2-2.0.0/lib/mini_portile2/mini_portile.rb:337:in `chdir'
from /home/dieter/.cache/pacaur/vagrant-git/src/vagrant/gems-1.8.5.87.g9c299a2-1/gems/mini_portile2-2.0.0/lib/mini_portile2/mini_portile.rb:337:in `execute'
from /home/dieter/.cache/pacaur/vagrant-git/src/vagrant/gems-1.8.5.87.g9c299a2-1/gems/mini_portile2-2.0.0/lib/mini_portile2/mini_portile.rb:111:in `compile'
from /home/dieter/.cache/pacaur/vagrant-git/src/vagrant/gems-1.8.5.87.g9c299a2-1/gems/mini_portile2-2.0.0/lib/mini_portile2/mini_portile.rb:150:in `cook'
from extconf.rb:289:in `block (2 levels) in process_recipe'
from extconf.rb:182:in `block in chdir_for_build'
from extconf.rb:181:in `chdir'
from extconf.rb:181:in `chdir_for_build'
from extconf.rb:288:in `block in process_recipe'
from extconf.rb:187:in `tap'
from extconf.rb:187:in `process_recipe'
from extconf.rb:490:in `<main>'
extconf failed, exit code 1
Gem files will remain installed in /home/dieter/.cache/pacaur/vagrant-git/src/vagrant/gems-1.8.5.87.g9c299a2-1/gems/nokogiri-1.6.7.1 for inspection.
Results logged to /home/dieter/.cache/pacaur/vagrant-git/src/vagrant/gems-1.8.5.87.g9c299a2-1/extensions/x86_64-linux/2.2.0/nokogiri-1.6.7.1/gem_make.out
==> ERROR: A failure occurred in build().
Aborting...
:: failed to build vagrant-git package(s)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment