Skip to content

Instantly share code, notes, and snippets.

@DrPyser
Created September 7, 2022 01:20
Show Gist options
  • Save DrPyser/69695ff1142be461a81c07cf2d09ae68 to your computer and use it in GitHub Desktop.
Save DrPyser/69695ff1142be461a81c07cf2d09ae68 to your computer and use it in GitHub Desktop.
log output from nix build attempt of basic ruby+rails environment shell
these 19 derivations will be built:
/nix/store/r18q5gq9db925im5q3q5g3y2wl8m0gcg-ruby2.7.5-digest-3.1.0.drv
/nix/store/25bi40hg8icy2zlhf7ay5q0lc7mp46s4-ruby2.7.5-net-pop-0.1.1.drv
/nix/store/ji4pv6yl0z7hdajn9g7m5rzq4fzr5aza-ruby2.7.5-nokogiri-1.13.8.drv
/nix/store/3qdii9qi7qy778ch6jxx99sjxzli5kkc-ruby2.7.5-loofah-2.18.0.drv
/nix/store/9qkp8nfc0a972jiifg355cfms5rwvbm0-ruby2.7.5-net-smtp-0.3.1.drv
/nix/store/n9gw2l9awqya8zfrbbcpkpgmrhjlvj9k-ruby2.7.5-rails-dom-testing-2.0.3.drv
/nix/store/s43s7m28c8dqxyfmm247yrvmdir8zqph-ruby2.7.5-rails-html-sanitizer-1.4.3.drv
/nix/store/v1f9h01ykq6xjnlwk7dhk1qh3k5fg5ay-ruby2.7.5-actionview-7.0.3.1.drv
/nix/store/c9s5v49w3qappv27nx1xl7hfjf3fl1vf-ruby2.7.5-actionpack-7.0.3.1.drv
/nix/store/ilyhyv3m66gvq8bqvn7l0p7pl7z3rv30-ruby2.7.5-activestorage-7.0.3.1.drv
/nix/store/xmv15sqsw8cskvhy952pkcc9aakkdc0s-ruby2.7.5-net-imap-0.2.3.drv
/nix/store/4b0sc5jr8987zsbrg5d42jlch8zlmibh-ruby2.7.5-actionmailbox-7.0.3.1.drv
/nix/store/bipg43wkyz9cd75spxc9h6gdccj4y28b-ruby2.7.5-actiontext-7.0.3.1.drv
/nix/store/bkzfl5v9a3a3ykwpmfxggang0dbp0j92-ruby2.7.5-railties-7.0.3.1.drv
/nix/store/sqbr0xvf4ar5cfjqr20xnmpci3mbhdx6-ruby2.7.5-actionmailer-7.0.3.1.drv
/nix/store/xxq57b6ldrq8771y872vd1qcglvw0wmi-ruby2.7.5-actioncable-7.0.3.1.drv
/nix/store/dhivgisv18f22kni4v3yis4wy427288g-ruby2.7.5-rails-7.0.3.1.drv
/nix/store/n0c403vcqindlxsxpdgihncvab8fg5v2-petal-pokedex-bundler-env.drv
/nix/store/6mlw1i29ccn5z54yvzn09sbph6yyw07s-petal-pokedex.drv
building '/nix/store/r18q5gq9db925im5q3q5g3y2wl8m0gcg-ruby2.7.5-digest-3.1.0.drv'...
building '/nix/store/ji4pv6yl0z7hdajn9g7m5rzq4fzr5aza-ruby2.7.5-nokogiri-1.13.8.drv'...
unpacking sources
patching sources
unpacking sources
configuring
patching sources
configuring
no configure script, doing nothing
installing
no configure script, doing nothing
installing
buildFlags:
buildFlags: --use-system-libraries --with-zlib-lib=/nix/store/9b9ryxskcwh573jwjz6m5l01whkcb39a-zlib-1.2.11/lib --with-zlib-include=/nix/store/yfckbbm9qf5ql7ghvygqmw4d6idib76f-zlib-1.2.11-dev/include --with-xml2-lib=/nix/store/n7n24yl21k4w4sg7cnypynn7ci1b877x-libxml2-2.9.13/lib --with-xml2-include=/nix/store/d93sjypjspzqisnk7k2nswr9h8p1kzsd-libxml2-2.9.13-dev/include/libxml2 --with-xslt-lib=/nix/store/myw529ad1r955nzv31424rd6myi4yf8n-libxslt-1.1.35/lib --with-xslt-include=/nix/store/iwysbnjwv4jxhwy56yxrlbch6hj4k1j3-libxslt-1.1.35-dev/include --with-exslt-lib=/nix/store/myw529ad1r955nzv31424rd6myi4yf8n-libxslt-1.1.35/lib --with-exslt-include=/nix/store/iwysbnjwv4jxhwy56yxrlbch6hj4k1j3-libxslt-1.1.35-dev/include
WARNING: You build with buildroot.
Build root: /
Bin dir: /nix/store/04gr0nj8warlflp6m4py4zkifbqr564m-ruby2.7.5-digest-3.1.0/lib/ruby/gems/2.7.0/bin
Gem home: /nix/store/04gr0nj8warlflp6m4py4zkifbqr564m-ruby2.7.5-digest-3.1.0/lib/ruby/gems/2.7.0
Plugins dir: /nix/store/04gr0nj8warlflp6m4py4zkifbqr564m-ruby2.7.5-digest-3.1.0/lib/ruby/gems/2.7.0/plugins
Building native extensions. This could take a while...
WARNING: You build with buildroot.
Build root: /
Bin dir: /nix/store/ki8cfza2gjhlpiyjgwsfp9bnfv4fpkhr-ruby2.7.5-nokogiri-1.13.8/lib/ruby/gems/2.7.0/bin
Gem home: /nix/store/ki8cfza2gjhlpiyjgwsfp9bnfv4fpkhr-ruby2.7.5-nokogiri-1.13.8/lib/ruby/gems/2.7.0
Plugins dir: /nix/store/ki8cfza2gjhlpiyjgwsfp9bnfv4fpkhr-ruby2.7.5-nokogiri-1.13.8/lib/ruby/gems/2.7.0/plugins
Building native extensions with: '--use-system-libraries --with-zlib-lib=/nix/store/9b9ryxskcwh573jwjz6m5l01whkcb39a-zlib-1.2.11/lib --with-zlib-include=/nix/store/yfckbbm9qf5ql7ghvygqmw4d6idib76f-zlib-1.2.11-dev/include --with-xml2-lib=/nix/store/n7n24yl21k4w4sg7cnypynn7ci1b877x-libxml2-2.9.13/lib --with-xml2-include=/nix/store/d93sjypjspzqisnk7k2nswr9h8p1kzsd-libxml2-2.9.13-dev/include/libxml2 --with-xslt-lib=/nix/store/myw529ad1r955nzv31424rd6myi4yf8n-libxslt-1.1.35/lib --with-xslt-include=/nix/store/iwysbnjwv4jxhwy56yxrlbch6hj4k1j3-libxslt-1.1.35-dev/include --with-exslt-lib=/nix/store/myw529ad1r955nzv31424rd6myi4yf8n-libxslt-1.1.35/lib --with-exslt-include=/nix/store/iwysbnjwv4jxhwy56yxrlbch6hj4k1j3-libxslt-1.1.35-dev/include'
This could take a while...
ERROR: Error installing /nix/store/96w491sd9rcc2k6ridkai5qr982bndss-nokogiri-1.13.8.gem:
ERROR: Failed to build gem native extension.
current directory: /nix/store/ki8cfza2gjhlpiyjgwsfp9bnfv4fpkhr-ruby2.7.5-nokogiri-1.13.8/lib/ruby/gems/2.7.0/gems/nokogiri-1.13.8/ext/nokogiri
/nix/store/wd9i3c2dszf3bjd1vf5cnrw5vlbg4zin-ruby-2.7.5/bin/ruby -I /nix/store/wd9i3c2dszf3bjd1vf5cnrw5vlbg4zin-ruby-2.7.5/lib/ruby/2.7.0 -r ./siteconf20220907-8-7nj4c7.rb extconf.rb --use-system-libraries --with-zlib-lib\=/nix/store/9b9ryxskcwh573jwjz6m5l01whkcb39a-zlib-1.2.11/lib --with-zlib-include\=/nix/store/yfckbbm9qf5ql7ghvygqmw4d6idib76f-zlib-1.2.11-dev/include --with-xml2-lib\=/nix/store/n7n24yl21k4w4sg7cnypynn7ci1b877x-libxml2-2.9.13/lib --with-xml2-include\=/nix/store/d93sjypjspzqisnk7k2nswr9h8p1kzsd-libxml2-2.9.13-dev/include/libxml2 --with-xslt-lib\=/nix/store/myw529ad1r955nzv31424rd6myi4yf8n-libxslt-1.1.35/lib --with-xslt-include\=/nix/store/iwysbnjwv4jxhwy56yxrlbch6hj4k1j3-libxslt-1.1.35-dev/include --with-exslt-lib\=/nix/store/myw529ad1r955nzv31424rd6myi4yf8n-libxslt-1.1.35/lib --with-exslt-include\=/nix/store/iwysbnjwv4jxhwy56yxrlbch6hj4k1j3-libxslt-1.1.35-dev/include
checking for whether -std=c99 is accepted as CFLAGS... yes
checking for whether -Wno-declaration-after-statement is accepted as CFLAGS... yes
checking for whether -g is accepted as CFLAGS... yes
checking for whether -Winline is accepted as CFLAGS... yes
checking for whether -Wmissing-noreturn is accepted as CFLAGS... yes
Building nokogiri using system libraries.
checking for gzdopen() in -lz... yes
checking for xmlParseDoc() in -lxml2... yes
checking for xsltParseStylesheetDoc() in -lxslt... yes
checking for exsltFuncRegister() in -lexslt... yes
*** 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
--without-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=/nix/store/wd9i3c2dszf3bjd1vf5cnrw5vlbg4zin-ruby-2.7.5/bin/$(RUBY_BASE_NAME)
--help
--clean
--prevent-strip
--enable-system-libraries
--disable-system-libraries
--use-system-libraries
--enable-system-libraries
--disable-system-libraries
--use-system-libraries
--with-zlib-dir
--without-zlib-dir
--with-zlib-include=${zlib-dir}/include
--with-zlib-lib=${zlib-dir}/lib
--with-z-dir
--without-z-dir
--with-z-include
--without-z-include=${z-dir}/include
--with-z-lib
--without-z-lib=${z-dir}/lib
--with-zlib
--without-zlib
--with-xml2-dir
--without-xml2-dir
--with-xml2-include=${xml2-dir}/include
--with-xml2-lib=${xml2-dir}/lib
--with-xml2lib
--without-xml2lib
--with-xslt-dir
--without-xslt-dir
--with-xslt-include=${xslt-dir}/include
--with-xslt-lib=${xslt-dir}/lib
--with-xsltlib
--without-xsltlib
--with-exslt-dir
--without-exslt-dir
--with-exslt-include=${exslt-dir}/include
--with-exslt-lib=${exslt-dir}/lib
--with-exsltlib
--without-exsltlib
/nix/store/wd9i3c2dszf3bjd1vf5cnrw5vlbg4zin-ruby-2.7.5/lib/ruby/2.7.0/rubygems/dependency.rb:311:in `to_specs': Could not find 'mini_portile2' (~> 2.8.0) among 50 total gem(s) (Gem::MissingSpecError)
Checked in 'GEM_PATH=/nix/store/9qjgz605p0461rgdkx4db96rxlk76xyr-ruby2.7.5-racc-1.6.0/lib/ruby/gems/2.7.0:/nix/store/wd9i3c2dszf3bjd1vf5cnrw5vlbg4zin-ruby-2.7.5/lib/ruby/gems/2.7.0:/nix/store/ki8cfza2gjhlpiyjgwsfp9bnfv4fpkhr-ruby2.7.5-nokogiri-1.13.8/lib/ruby/gems/2.7.0' , execute `gem env` for more information
from /nix/store/wd9i3c2dszf3bjd1vf5cnrw5vlbg4zin-ruby-2.7.5/lib/ruby/2.7.0/rubygems/dependency.rb:323:in `to_spec'
from /nix/store/wd9i3c2dszf3bjd1vf5cnrw5vlbg4zin-ruby-2.7.5/lib/ruby/2.7.0/rubygems/core_ext/kernel_gem.rb:62:in `gem'
from extconf.rb:420:in `process_recipe'
from extconf.rb:920:in `<main>'
To see why this extension failed to compile, please check the mkmf.log which can be found here:
/nix/store/ki8cfza2gjhlpiyjgwsfp9bnfv4fpkhr-ruby2.7.5-nokogiri-1.13.8/lib/ruby/gems/2.7.0/extensions/x86_64-linux/2.7.0/nokogiri-1.13.8/mkmf.log
extconf failed, exit code 1
Gem files will remain installed in /nix/store/ki8cfza2gjhlpiyjgwsfp9bnfv4fpkhr-ruby2.7.5-nokogiri-1.13.8/lib/ruby/gems/2.7.0/gems/nokogiri-1.13.8 for inspection.
Results logged to /nix/store/ki8cfza2gjhlpiyjgwsfp9bnfv4fpkhr-ruby2.7.5-nokogiri-1.13.8/lib/ruby/gems/2.7.0/extensions/x86_64-linux/2.7.0/nokogiri-1.13.8/gem_make.out
error: builder for '/nix/store/ji4pv6yl0z7hdajn9g7m5rzq4fzr5aza-ruby2.7.5-nokogiri-1.13.8.drv' failed with exit code 1;
last 10 log lines:
> from extconf.rb:920:in `<main>'
>
> To see why this extension failed to compile, please check the mkmf.log which can be found here:
>
> /nix/store/ki8cfza2gjhlpiyjgwsfp9bnfv4fpkhr-ruby2.7.5-nokogiri-1.13.8/lib/ruby/gems/2.7.0/extensions/x86_64-linux/2.7.0/nokogiri-1.13.8/mkmf.log
>
> extconf failed, exit code 1
>
> Gem files will remain installed in /nix/store/ki8cfza2gjhlpiyjgwsfp9bnfv4fpkhr-ruby2.7.5-nokogiri-1.13.8/lib/ruby/gems/2.7.0/gems/nokogiri-1.13.8 for inspection.
> Results logged to /nix/store/ki8cfza2gjhlpiyjgwsfp9bnfv4fpkhr-ruby2.7.5-nokogiri-1.13.8/lib/ruby/gems/2.7.0/extensions/x86_64-linux/2.7.0/nokogiri-1.13.8/gem_make.out
For full logs, run 'nix log /nix/store/ji4pv6yl0z7hdajn9g7m5rzq4fzr5aza-ruby2.7.5-nokogiri-1.13.8.drv'.
error: 1 dependencies of derivation '/nix/store/n0c403vcqindlxsxpdgihncvab8fg5v2-petal-pokedex-bundler-env.drv' failed to build
error: 1 dependencies of derivation '/nix/store/6mlw1i29ccn5z54yvzn09sbph6yyw07s-petal-pokedex.drv' failed to build
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment