metanorma/ci

Failure in metanorma-docker run when "debug" gem is included in Gemfile

Closed this issue · 2 comments

This run failed: https://github.com/metanorma/SWF-Corpus_and_IEEEP2874-D2/runs/7245141525?check_suite_focus=true

This action is the location of failure:

      - uses: metanorma/metanorma-build-scripts/docker-gem-install@main

Because the Gemfile contained:

gem 'isodoc', github: 'metanorma/isodoc'
gem 'metanorma-cli'
gem 'metanorma-ieee', github: 'metanorma/metanorma-ieee'
gem 'metanorma-standoc', github: 'metanorma/metanorma-standoc'
gem 'sassc'
gem 'debug'

The error trace:

From https://github.com/metanorma/SWF-Corpus_and_IEEEP2874-D2
 * [new ref]         55dc076792816ae2973ae7e5751aeffdc12ba2ee -> origin/main
##[endgroup]
##[group]Determining the checkout info
##[endgroup]
##[group]Checking out the ref
[command]/usr/bin/git checkout --progress --force -B main refs/remotes/origin/main
Switched to a new branch 'main'
Branch 'main' set up to track remote branch 'main' from 'origin'.
##[endgroup]
[command]/usr/bin/git log -1 --format='%H'
'55dc076792816ae2973ae7e5751aeffdc12ba2ee'
##[group]Run actions/cache@v2
with:
  path: /config/fonts
  key: fontist-docker
  restore-keys: fontist-docker
##[endgroup]
##[command]/usr/bin/docker exec  6e16769e7de014346e5de9a652ebff9bf7afae17042f5dda90c1a99e9a72425b sh -c "cat /etc/*release | grep ^ID"
Received 12582912 of 113928012 (11.0%), 12.0 MBs/sec
Received 105539404 of 113928012 (92.6%), 50.3 MBs/sec
Received 113928012 of 113928012 (100.0%), 49.0 MBs/sec
Cache Size: ~109 MB (113928012 B)
[command]/bin/tar -z -xf /__w/_temp/3c30c827-1681-4bf4-b774-dcea592f11ed/cache.tgz -P -C /__w/SWF-Corpus_and_IEEEP2874-D2/SWF-Corpus_and_IEEEP2874-D2
Cache restored successfully

Cache restored from key: fontist-docker
##[group]Run metanorma/metanorma-build-scripts/docker-gem-install@main
with:
  gemfile: ./Gemfile
##[endgroup]
##[group]Run bash ${GITHUB_ACTION_PATH//\\//}/gemfile-to-bundle-add.sh ./Gemfile gh
�[36;1mbash ${GITHUB_ACTION_PATH//\\//}/gemfile-to-bundle-add.sh ./Gemfile gh�[0m
shell: bash --noprofile --norc -e -o pipefail {0}
##[endgroup]
> bundle add isodoc
Fetching gem metadata from https://rubygems.org/..........
Resolving dependencies....
Fetching gem metadata from https://rubygems.org/..........
Resolving dependencies...
Using rake 13.0.6
Using concurrent-ruby 1.1.10
Using minitest 5.16.1
Using public_suffix 4.0.7
Using faraday-em_http 1.0.0
Using faraday-excon 1.1.0
Using faraday-httpclient 1.0.1
Using faraday-net_http 1.0.1
Using faraday-net_http_persistent 1.2.0
Using faraday-patron 1.0.0
Using faraday-rack 1.0.0
Using multipart-post 2.2.3
Using ruby2_keywords 0.0.5
Using multi_json 1.15.0
Using faraday-em_synchrony 1.0.0
Using connection_pool 2.2.5
Using amazing_print 1.4.0
Using cabin 0.9.0
Using asciidoctor 2.0.17
Using asciimath 2.0.4
Using htmlentities 4.3.4
Using racc 1.6.0
Using rsec 1.0.0
Using latex-decode 0.3.2
Using builder 3.2.4
Using bundler 2.3.16
Using camertron-eprun 1.1.1
Using cldr-plurals-runtime-rb 1.1.0
Using cliver 0.3.2
Using cnccs 0.1.6
Using coderay 1.1.3
Using date 3.2.2
Using descriptive_statistics 2.5.1
Using unf_ext 0.0.8.2
Using link_header 0.0.8
Using scanf 1.0.0
Using matrix 0.4.2
Using unicode-types 1.7.0
Using ffi 1.15.5
Using ruby-ole 1.2.12.2
Using rubyzip 2.3.2
Using seven_zip_ruby 1.3.0
Using thor 1.0.1
Using rchardet 1.8.0
Using mime-types-data 3.2022.0105
Using plist 3.6.0
Using socksify 1.7.1
Using ttfunk 1.7.0
Using gb-agencies 0.0.7
Using graphql 1.13.6
Using temple 0.8.2
Using tilt 2.0.10
Using hashie 4.1.0
Using hollaback 0.1.1
Using image_size 3.0.2
Using plane1converter 0.0.1
Using thread_safe 0.3.6
Using uuidtools 2.2.0
Using iso-639 0.3.5
Using iso639 1.3.2
Using liquid 4.0.3
Using marcel 1.0.2
Using timeout 0.3.0
Using net-http-digest_auth 1.4.1
Using rubyntlm 0.6.3
Using webrick 1.7.0
Using webrobots 0.1.2
Using isoics 0.1.11
Using json-canonicalization 0.3.0
Using rack 2.2.3.1
Using rexml 3.2.5
Using logger 1.5.1
Using roman-numerals 0.3.0
Using ox 2.14.11
Using parslet 2.0.0
Using mn2pdf 1.47
Using method_source 1.0.0
Using optout 0.0.2
Using unicode2latex 0.0.6
Using mnconvert 1.18.0
Using tokenizer 0.3.0
Using metanorma-ietf-data 0.2.0
Using i18n 1.10.0
Using tzinfo 2.0.4
Using addressable 2.8.0
Using faraday 1.8.0
Using arr-pm 0.0.11
Using nokogiri 1.13.6 (x86_64-linux)
Using bibtex-ruby 6.0.0
Using unf 0.1.4
Using rdf 3.2.8
Using emf2svg 1.4.2 (x86_64-linux)
Using ffi-libarchive 1.1.3
Using ffi-compiler2 2.0.1
Using expressir 1.2.7 (x86_64-linux)
Using extract_ttc 0.1.0
Using git 1.11.0
Using mime-types 3.4.1
Using sys-uname 1.2.2
Using haml 5.2.2
Using time 0.2.0
Using thor-hollaback 0.2.1
Using sys-proctable 1.2.6
Using sassc 2.4.0
Using net-http-persistent 4.0.1
Using mdb 0.5.0
Using activesupport 7.0.3
Using algolia 2.1.1
Using asciimath2unitsml 0.4.3
Using css_parser 1.11.0
Using domain_name 0.5.20190701
Using down 5.3.1
Using sxp 1.2.2
Using equivalent-xml 0.6.0
Using bcp47 0.3.3
Using ffi-libarchive-binary 0.2.6 (x86_64-linux)
Using libmspack 0.10.1.2
Using html2doc 1.4.1
Using iev 0.3.1
Using sterile 1.0.23
Using twitter_cldr 6.11.3
Using mathml2asciimath 0.0.14
Using net-protocol 0.1.3
Using relaton-bib 1.11.7
Using json-ld 3.2.1
Using rdf-xsd 3.2.1
Using rdf-aggregate-repo 3.2.1
Using sparql-client 3.2.1
Using rdf-isomorphic 3.2.1
Using rdf-json 3.2.0
Using rdf-vocab 3.2.1
Using rdf-normalize 0.5.0
Using rdf-ordered-repo 3.2.1
Using tzinfo-data 1.2022.1
Using latexmath 0.1.5
Using lutaml-express 0.2.1
Using ruby-graphviz 1.2.5
Using pry 0.14.1
Using nokogiri-styles 0.1.2
Using reverse_markdown 1.4.0
Using ruby-jing 0.0.2
Using graphql-client 0.16.0
Using ebnf 2.3.1
Using http-cookie 1.0.5
Using premailer 1.11.1
Using faraday_middleware 1.2.0
Using excavate 0.3.0
Using metanorma-utils 1.2.9
Using net-ftp 0.1.3
Using relaton-iso-bib 1.11.0
Using mechanize 2.8.5
Using relaton-ecma 1.11.0
Using relaton-calconnect 1.11.0
Using relaton-iana 1.11.0
Using relaton-ieee 1.11.3
Using relaton-iho 1.11.0
Using relaton-nist 1.11.4
Using relaton-omg 1.11.2
Using relaton-un 1.11.0
Using json-ld-preloaded 3.2.0
Using sparql 3.1.8
Using rdf-rdfa 3.2.0
Using rdf-reasoner 0.8.0
Using rdf-tabular 3.2.1
Using rdf-turtle 3.2.1
Using rdf-trix 3.2.0
Using lutaml-uml 0.4.3
Using word-to-markdown 1.1.8
Using serrano 1.0.0
Using fontist 1.14.2
Using isodoc-i18n 1.0.5
Using relaton-3gpp 1.11.1
Using relaton-bsi 1.11.1
Using relaton-cen 1.11.1
Using relaton-cie 1.11.0
Using relaton-gb 1.11.0
Using relaton-iec 1.11.4
Using relaton-iso 1.11.1
Using relaton-itu 1.11.0
Using relaton-oasis 1.11.0
Using relaton-ogc 1.11.1
Using relaton-ietf 1.11.6
Using relaton-bipm 1.11.9
Using rdf-microdata 3.2.1
Using rdf-n3 3.1.2
Using rdf-rdfxml 3.2.0
Using rdf-trig 3.2.0
Using shacl 0.1.1
Using shex 0.6.4
Using relaton-render 0.3.8
Using lutaml-xmi 0.2.3
Using metanorma 1.4.9
Using reverse_adoc 0.3.5
Using ld-patch 3.1.3
Using lutaml 0.7.4
Using linkeddata 3.1.6
Using relaton-w3c 1.11.6
Using relaton 1.11.5
Using relaton-cli 1.11.0
Using relaton-iev 1.1.4
Using isodoc 2.1.3
Using metanorma-plugin-lutaml 0.4.15
Using metanorma-plugin-datastruct 0.2.0
Using metanorma-standoc 2.1.3
Using metanorma-generic 2.1.3
Using metanorma-iso 2.1.3
Using metanorma-ietf 3.0.8
Using metanorma-ieee 0.0.1
Using metanorma-itu 2.1.3
Using metanorma-ogc 2.1.3
Using metanorma-un 0.9.3
Using metanorma-bipm 2.1.3
Using metanorma-csa 2.1.3
Using metanorma-iec 2.1.3
Using metanorma-iho 0.6.3
Using metanorma-m3aawg 2.1.3
Using metanorma-cc 2.1.3
Using metanorma-cli 1.5.18
> bundle add metanorma-cli

[!] There was an error parsing `injected gems`: You cannot specify the same gem twice with different version requirements.
You specified: metanorma-cli (= 1.5.18) and metanorma-cli (>= 0). Gem already added. Bundler cannot continue.

 #  from injected gems:1
 #  -------------------------------------------
 >  gem "metanorma-cli", ">= 0"
 #  -------------------------------------------
> bundle add metanorma-ieee
Fetching gem metadata from https://rubygems.org/..........
Resolving dependencies....
Fetching gem metadata from https://rubygems.org/..........
Resolving dependencies...
Using rake 13.0.6
Using concurrent-ruby 1.1.10
Using minitest 5.16.1
Using faraday-em_http 1.0.0
Using faraday-em_synchrony 1.0.0
Using faraday-excon 1.1.0
Using faraday-httpclient 1.0.1
Using faraday-net_http 1.0.1
Using faraday-net_http_persistent 1.2.0
Using faraday-patron 1.0.0
Using faraday-rack 1.0.0
Using multipart-post 2.2.3
Using ruby2_keywords 0.0.5
Using multi_json 1.15.0
Using connection_pool 2.2.5
Using amazing_print 1.4.0
Using public_suffix 4.0.7
Using cabin 0.9.0
Using asciidoctor 2.0.17
Using asciimath 2.0.4
Using htmlentities 4.3.4
Using racc 1.6.0
Using rsec 1.0.0
Using latex-decode 0.3.2
Using builder 3.2.4
Using bundler 2.3.16
Using camertron-eprun 1.1.1
Using cldr-plurals-runtime-rb 1.1.0
Using cliver 0.3.2
Using cnccs 0.1.6
Using coderay 1.1.3
Using date 3.2.2
Using descriptive_statistics 2.5.1
Using unf_ext 0.0.8.2
Using link_header 0.0.8
Using scanf 1.0.0
Using matrix 0.4.2
Using unicode-types 1.7.0
Using ffi 1.15.5
Using ruby-ole 1.2.12.2
Using rubyzip 2.3.2
Using seven_zip_ruby 1.3.0
Using rchardet 1.8.0
Using mime-types-data 3.2022.0105
Using plist 3.6.0
Using socksify 1.7.1
Using ttfunk 1.7.0
Using gb-agencies 0.0.7
Using graphql 1.13.6
Using temple 0.8.2
Using tilt 2.0.10
Using hashie 4.1.0
Using hollaback 0.1.1
Using image_size 3.0.2
Using plane1converter 0.0.1
Using thread_safe 0.3.6
Using uuidtools 2.2.0
Using iso-639 0.3.5
Using iso639 1.3.2
Using marcel 1.0.2
Using liquid 4.0.3
Using mdb 0.5.0
Using timeout 0.3.0
Using net-http-digest_auth 1.4.1
Using rubyntlm 0.6.3
Using webrick 1.7.0
Using webrobots 0.1.2
Using isoics 0.1.11
Using json-canonicalization 0.3.0
Using rack 2.2.3.1
Using rexml 3.2.5
Using logger 1.5.1
Using roman-numerals 0.3.0
Using thor 1.0.1
Using ox 2.14.11
Using parslet 2.0.0
Using method_source 1.0.0
Using optout 0.0.2
Using unicode2latex 0.0.6
Using mnconvert 1.18.0
Using tokenizer 0.3.0
Using metanorma-ietf-data 0.2.0
Using i18n 1.10.0
Using tzinfo 2.0.4
Using faraday 1.8.0
Using net-http-persistent 4.0.1
Using addressable 2.8.0
Using arr-pm 0.0.11
Using nokogiri 1.13.6 (x86_64-linux)
Using bibtex-ruby 6.0.0
Using unf 0.1.4
Using rdf 3.2.8
Using emf2svg 1.4.2 (x86_64-linux)
Using ffi-libarchive 1.1.3
Using ffi-compiler2 2.0.1
Using extract_ttc 0.1.0
Using sys-uname 1.2.2
Using time 0.2.0
Using sys-proctable 1.2.6
Using sassc 2.4.0
Using ruby-graphviz 1.2.5
Using git 1.11.0
Using mime-types 3.4.1
Using haml 5.2.2
Using net-protocol 0.1.3
Using expressir 1.2.7 (x86_64-linux)
Using thor-hollaback 0.2.1
Using mn2pdf 1.47
Using activesupport 7.0.3
Using asciimath2unitsml 0.4.3
Using algolia 2.1.1
Using css_parser 1.11.0
Using bcp47 0.3.3
Using domain_name 0.5.20190701
Using sxp 1.2.2
Using equivalent-xml 0.6.0
Using ffi-libarchive-binary 0.2.6 (x86_64-linux)
Using libmspack 0.10.1.2
Using faraday_middleware 1.2.0
Using html2doc 1.4.1
Using iev 0.3.1
Using sterile 1.0.23
Using twitter_cldr 6.11.3
Using mathml2asciimath 0.0.14
Using net-ftp 0.1.3
Using relaton-bib 1.11.7
Using json-ld 3.2.1
Using rdf-xsd 3.2.1
Using rdf-aggregate-repo 3.2.1
Using sparql-client 3.2.1
Using rdf-isomorphic 3.2.1
Using rdf-json 3.2.0
Using rdf-vocab 3.2.1
Using rdf-normalize 0.5.0
Using rdf-ordered-repo 3.2.1
Using tzinfo-data 1.2022.1
Using latexmath 0.1.5
Using lutaml-express 0.2.1
Using lutaml-uml 0.4.3
Using pry 0.14.1
Using nokogiri-styles 0.1.2
Using reverse_markdown 1.4.0
Using ruby-jing 0.0.2
Using graphql-client 0.16.0
Using premailer 1.11.1
Using down 5.3.1
Using ebnf 2.3.1
Using http-cookie 1.0.5
Using metanorma-utils 1.2.9
Using relaton-3gpp 1.11.1
Using serrano 1.0.0
Using relaton-iso-bib 1.11.0
Using relaton-calconnect 1.11.0
Using relaton-ecma 1.11.0
Using relaton-iana 1.11.0
Using relaton-ieee 1.11.3
Using relaton-ietf 1.11.6
Using relaton-iho 1.11.0
Using relaton-nist 1.11.4
Using relaton-omg 1.11.2
Using json-ld-preloaded 3.2.0
Using rdf-rdfa 3.2.0
Using rdf-reasoner 0.8.0
Using rdf-tabular 3.2.1
Using rdf-trix 3.2.0
Using lutaml-xmi 0.2.3
Using word-to-markdown 1.1.8
Using excavate 0.3.0
Using mechanize 2.8.5
Using relaton-bsi 1.11.1
Using relaton-gb 1.11.0
Using relaton-iec 1.11.4
Using relaton-iso 1.11.1
Using relaton-ogc 1.11.1
Using relaton-un 1.11.0
Using sparql 3.1.8
Using rdf-microdata 3.2.1
Using rdf-rdfxml 3.2.0
Using rdf-turtle 3.2.1
Using lutaml 0.7.4
Using reverse_adoc 0.3.5
Using isodoc-i18n 1.0.5
Using fontist 1.14.2
Using relaton-cen 1.11.1
Using relaton-cie 1.11.0
Using relaton-itu 1.11.0
Using relaton-oasis 1.11.0
Using ld-patch 3.1.3
Using rdf-n3 3.1.2
Using rdf-trig 3.2.0
Using shacl 0.1.1
Using shex 0.6.4
Using relaton-bipm 1.11.9
Using linkeddata 3.1.6
Using metanorma 1.4.9
Using relaton-render 0.3.8
Using relaton-w3c 1.11.6
Using relaton 1.11.5
Using relaton-cli 1.11.0
Using relaton-iev 1.1.4
Using isodoc 2.1.3
Using metanorma-plugin-lutaml 0.4.15
Using metanorma-plugin-datastruct 0.2.0
Using metanorma-standoc 2.1.3
Using metanorma-generic 2.1.3
Using metanorma-iso 2.1.3
Using metanorma-ietf 3.0.8
Using metanorma-itu 2.1.3
Using metanorma-ogc 2.1.3
Using metanorma-un 0.9.3
Using metanorma-ieee 0.0.1
Using metanorma-bipm 2.1.3
Using metanorma-csa 2.1.3
Using metanorma-iec 2.1.3
Using metanorma-iho 0.6.3
Using metanorma-m3aawg 2.1.3
Using metanorma-cc 2.1.3
Using metanorma-cli 1.5.18
> bundle add sassc
Using rake 13.0.6
Using concurrent-ruby 1.1.10
Using i18n 1.10.0
Using minitest 5.16.1
Using tzinfo 2.0.4
Using activesupport 7.0.3
Using public_suffix 4.0.7
Using addressable 2.8.0
Using faraday-em_http 1.0.0
Using faraday-em_synchrony 1.0.0
Using faraday-excon 1.1.0
Using faraday-httpclient 1.0.1
Using faraday-net_http 1.0.1
Using faraday-net_http_persistent 1.2.0
Using faraday-patron 1.0.0
Using faraday-rack 1.0.0
Using multipart-post 2.2.3
Using ruby2_keywords 0.0.5
Using faraday 1.8.0
Using multi_json 1.15.0
Using connection_pool 2.2.5
Using net-http-persistent 4.0.1
Using algolia 2.1.1
Using amazing_print 1.4.0
Using cabin 0.9.0
Using arr-pm 0.0.11
Using asciidoctor 2.0.17
Using asciimath 2.0.4
Using htmlentities 4.3.4
Using racc 1.6.0
Using nokogiri 1.13.6 (x86_64-linux)
Using rsec 1.0.0
Using asciimath2unitsml 0.4.3
Using bcp47 0.3.3
Using latex-decode 0.3.2
Using bibtex-ruby 6.0.0
Using builder 3.2.4
Using bundler 2.3.16
Using camertron-eprun 1.1.1
Using cldr-plurals-runtime-rb 1.1.0
Using cliver 0.3.2
Using cnccs 0.1.6
Using coderay 1.1.3
Using css_parser 1.11.0
Using date 3.2.2
Using descriptive_statistics 2.5.1
Using unf_ext 0.0.8.2
Using unf 0.1.4
Using domain_name 0.5.20190701
Using down 5.3.1
Using link_header 0.0.8
Using rdf 3.2.8
Using scanf 1.0.0
Using matrix 0.4.2
Using sxp 1.2.2
Using unicode-types 1.7.0
Using ebnf 2.3.1
Using ffi 1.15.5
Using emf2svg 1.4.2 (x86_64-linux)
Using equivalent-xml 0.6.0
Using ffi-libarchive 1.1.3
Using ffi-libarchive-binary 0.2.6 (x86_64-linux)
Using ffi-compiler2 2.0.1
Using libmspack 0.10.1.2
Using ruby-ole 1.2.12.2
Using rubyzip 2.3.2
Using seven_zip_ruby 1.3.0
Using thor 1.0.1
Using excavate 0.3.0
Using expressir 1.2.7 (x86_64-linux)
Using extract_ttc 0.1.0
Using faraday_middleware 1.2.0
Using rchardet 1.8.0
Using git 1.11.0
Using mime-types-data 3.2022.0105
Using mime-types 3.4.1
Using plist 3.6.0
Using socksify 1.7.1
Using sys-uname 1.2.2
Using ttfunk 1.7.0
Using fontist 1.14.2
Using gb-agencies 0.0.7
Using graphql 1.13.6
Using graphql-client 0.16.0
Using temple 0.8.2
Using tilt 2.0.10
Using haml 5.2.2
Using hashie 4.1.0
Using hollaback 0.1.1
Using image_size 3.0.2
Using plane1converter 0.0.1
Using thread_safe 0.3.6
Using uuidtools 2.2.0
Using html2doc 1.4.1
Using http-cookie 1.0.5
Using iev 0.3.1
Using iso-639 0.3.5
Using iso639 1.3.2
Using marcel 1.0.2
Using sterile 1.0.23
Using metanorma-utils 1.2.9
Using twitter_cldr 6.11.3
Using isodoc-i18n 1.0.5
Using liquid 4.0.3
Using mathml2asciimath 0.0.14
Using mdb 0.5.0
Using timeout 0.3.0
Using net-protocol 0.1.3
Using time 0.2.0
Using net-ftp 0.1.3
Using relaton-bib 1.11.7
Using relaton-3gpp 1.11.1
Using net-http-digest_auth 1.4.1
Using rubyntlm 0.6.3
Using webrick 1.7.0
Using webrobots 0.1.2
Using mechanize 2.8.5
Using serrano 1.0.0
Using relaton-bipm 1.11.9
Using isoics 0.1.11
Using relaton-iso-bib 1.11.0
Using relaton-bsi 1.11.1
Using relaton-calconnect 1.11.0
Using relaton-cen 1.11.1
Using relaton-cie 1.11.0
Using relaton-ecma 1.11.0
Using relaton-gb 1.11.0
Using relaton-iana 1.11.0
Using relaton-iec 1.11.4
Using relaton-ieee 1.11.3
Using relaton-ietf 1.11.6
Using relaton-iho 1.11.0
Using relaton-iso 1.11.1
Using relaton-itu 1.11.0
Using relaton-nist 1.11.4
Using relaton-oasis 1.11.0
Using relaton-ogc 1.11.1
Using relaton-omg 1.11.2
Using relaton-un 1.11.0
Using json-canonicalization 0.3.0
Using rack 2.2.3.1
Using json-ld 3.2.1
Using json-ld-preloaded 3.2.0
Using rexml 3.2.5
Using rdf-xsd 3.2.1
Using logger 1.5.1
Using rdf-aggregate-repo 3.2.1
Using sparql-client 3.2.1
Using sparql 3.1.8
Using ld-patch 3.1.3
Using rdf-isomorphic 3.2.1
Using rdf-json 3.2.0
Using rdf-vocab 3.2.1
Using rdf-rdfa 3.2.0
Using rdf-microdata 3.2.1
Using rdf-n3 3.1.2
Using rdf-normalize 0.5.0
Using rdf-ordered-repo 3.2.1
Using rdf-rdfxml 3.2.0
Using rdf-reasoner 0.8.0
Using rdf-tabular 3.2.1
Using rdf-turtle 3.2.1
Using rdf-trig 3.2.0
Using rdf-trix 3.2.0
Using shacl 0.1.1
Using shex 0.6.4
Using linkeddata 3.1.6
Using relaton-w3c 1.11.6
Using relaton 1.11.5
Using thor-hollaback 0.2.1
Using relaton-cli 1.11.0
Using tzinfo-data 1.2022.1
Using relaton-render 0.3.8
Using roman-numerals 0.3.0
Using isodoc 2.1.3
Using ox 2.14.11
Using latexmath 0.1.5
Using lutaml-express 0.2.1
Using parslet 2.0.0
Using ruby-graphviz 1.2.5
Using lutaml-uml 0.4.3
Using lutaml-xmi 0.2.3
Using lutaml 0.7.4
Using mn2pdf 1.47
Using method_source 1.0.0
Using pry 0.14.1
Using metanorma 1.4.9
Using metanorma-plugin-datastruct 0.2.0
Using premailer 1.11.1
Using nokogiri-styles 0.1.2
Using reverse_markdown 1.4.0
Using sys-proctable 1.2.6
Using word-to-markdown 1.1.8
Using reverse_adoc 0.3.5
Using metanorma-plugin-lutaml 0.4.15
Using relaton-iev 1.1.4
Using optout 0.0.2
Using ruby-jing 0.0.2
Using unicode2latex 0.0.6
Using metanorma-standoc 2.1.3
Using metanorma-generic 2.1.3
Using mnconvert 1.18.0
Using tokenizer 0.3.0
Using metanorma-iso 2.1.3
Using metanorma-bipm 2.1.3
Using metanorma-cc 2.1.3
Using metanorma-csa 2.1.3
Using metanorma-iec 2.1.3
Using metanorma-ieee 0.0.1
Using metanorma-ietf-data 0.2.0
Using metanorma-ietf 3.0.8
Using metanorma-iho 0.6.3
Using metanorma-itu 2.1.3
Using metanorma-m3aawg 2.1.3
Using metanorma-ogc 2.1.3
Using metanorma-un 0.9.3
Using metanorma-cli 1.5.18
Using sassc 2.4.0
> bundle add debug
Fetching gem metadata from https://rubygems.org/..........
Resolving dependencies....
Fetching gem metadata from https://rubygems.org/..........
Resolving dependencies...
Using rake 13.0.6
Using concurrent-ruby 1.1.10
Using minitest 5.16.1
Using public_suffix 4.0.7
Using faraday-em_http 1.0.0
Using faraday-excon 1.1.0
Using faraday-httpclient 1.0.1
Using faraday-em_synchrony 1.0.0
Using faraday-net_http 1.0.1
Using faraday-patron 1.0.0
Using faraday-rack 1.0.0
Using multipart-post 2.2.3
Using ruby2_keywords 0.0.5
Using multi_json 1.15.0
Using connection_pool 2.2.5
Using amazing_print 1.4.0
Using cabin 0.9.0
Using asciidoctor 2.0.17
Using asciimath 2.0.4
Using htmlentities 4.3.4
Using faraday-net_http_persistent 1.2.0
Using racc 1.6.0
Using rsec 1.0.0
Using latex-decode 0.3.2
Using builder 3.2.4
Using bundler 2.3.16
Using camertron-eprun 1.1.1
Using cldr-plurals-runtime-rb 1.1.0
Using cliver 0.3.2
Using cnccs 0.1.6
Using coderay 1.1.3
Using date 3.2.2
Fetching io-console 0.5.11
Using descriptive_statistics 2.5.1
Using unf_ext 0.0.8.2
Using link_header 0.0.8
Using scanf 1.0.0
Using matrix 0.4.2
Using unicode-types 1.7.0
Using ffi 1.15.5
Using ruby-ole 1.2.12.2
Using rubyzip 2.3.2
Using seven_zip_ruby 1.3.0
Using thor 1.0.1
Using rchardet 1.8.0
Using mime-types-data 3.2022.0105
Using plist 3.6.0
Using socksify 1.7.1
Using ttfunk 1.7.0
Using gb-agencies 0.0.7
Using graphql 1.13.6
Using temple 0.8.2
Using tilt 2.0.10
Using hashie 4.1.0
Using hollaback 0.1.1
Using image_size 3.0.2
Using plane1converter 0.0.1
Using thread_safe 0.3.6
Using uuidtools 2.2.0
Using iso-639 0.3.5
Using iso639 1.3.2
Using marcel 1.0.2
Using liquid 4.0.3
Using mdb 0.5.0
Using timeout 0.3.0
Using net-http-digest_auth 1.4.1
Using rubyntlm 0.6.3
Using webrick 1.7.0
Using webrobots 0.1.2
Using isoics 0.1.11
Using json-canonicalization 0.3.0
Using rack 2.2.3.1
Using rexml 3.2.5
Using logger 1.5.1
Using roman-numerals 0.3.0
Using ox 2.14.11
Using parslet 2.0.0
Using mn2pdf 1.47
Using method_source 1.0.0
Using optout 0.0.2
Using unicode2latex 0.0.6
Using mnconvert 1.18.0
Using tokenizer 0.3.0
Using metanorma-ietf-data 0.2.0
Using i18n 1.10.0
Using tzinfo 2.0.4
Using addressable 2.8.0
Using net-http-persistent 4.0.1
Using arr-pm 0.0.11
Using nokogiri 1.13.6 (x86_64-linux)
Using bibtex-ruby 6.0.0
Using time 0.2.0
Using faraday 1.8.0
Using unf 0.1.4
Using rdf 3.2.8
Using emf2svg 1.4.2 (x86_64-linux)
Using ffi-libarchive 1.1.3
Using ffi-compiler2 2.0.1
Using expressir 1.2.7 (x86_64-linux)
Installing io-console 0.5.11 with native extensions
Using extract_ttc 0.1.0
Using git 1.11.0
Using mime-types 3.4.1
Using sys-uname 1.2.2
Using haml 5.2.2
Using net-protocol 0.1.3
Using thor-hollaback 0.2.1
Using latexmath 0.1.5
Using ruby-graphviz 1.2.5
Using pry 0.14.1
Using sys-proctable 1.2.6
Using ruby-jing 0.0.2
Using sassc 2.4.0
Using bcp47 0.3.3
Using activesupport 7.0.3
Using twitter_cldr 6.11.3
Using tzinfo-data 1.2022.1
Using css_parser 1.11.0
Using down 5.3.1
Using asciimath2unitsml 0.4.3
Using equivalent-xml 0.6.0
Using iev 0.3.1
Using sterile 1.0.23
Using mathml2asciimath 0.0.14
Using nokogiri-styles 0.1.2
Using reverse_markdown 1.4.0
Using relaton-bib 1.11.7
Using algolia 2.1.1
Using faraday_middleware 1.2.0
Using domain_name 0.5.20190701
Using sxp 1.2.2
Using json-ld 3.2.1
Using rdf-xsd 3.2.1
Using rdf-aggregate-repo 3.2.1
Using sparql-client 3.2.1
Using rdf-isomorphic 3.2.1
Using rdf-json 3.2.0
Using rdf-vocab 3.2.1
Using rdf-normalize 0.5.0
Using rdf-ordered-repo 3.2.1
Using ffi-libarchive-binary 0.2.6 (x86_64-linux)
Using libmspack 0.10.1.2
Using lutaml-express 0.2.1
Using graphql-client 0.16.0
Using html2doc 1.4.1
Using metanorma-utils 1.2.9
Using net-ftp 0.1.3
Using lutaml-uml 0.4.3
Using premailer 1.11.1
Using ebnf 2.3.1
Using http-cookie 1.0.5
Using serrano 1.0.0
Using relaton-iso-bib 1.11.0
Using relaton-calconnect 1.11.0
Using relaton-ecma 1.11.0
Using relaton-iana 1.11.0
Using relaton-ieee 1.11.3
Using relaton-ietf 1.11.6
Using relaton-iho 1.11.0
Using relaton-nist 1.11.4
Using relaton-omg 1.11.2
Using json-ld-preloaded 3.2.0
Using rdf-rdfa 3.2.0
Using rdf-reasoner 0.8.0
Using rdf-tabular 3.2.1
Using rdf-trix 3.2.0
Using excavate 0.3.0
Using isodoc-i18n 1.0.5
Using relaton-3gpp 1.11.1
Using mechanize 2.8.5
Using relaton-un 1.11.0
Using sparql 3.1.8
Using rdf-turtle 3.2.1
Using lutaml-xmi 0.2.3
Using word-to-markdown 1.1.8
Using fontist 1.14.2
Using relaton-bipm 1.11.9
Using relaton-bsi 1.11.1
Using relaton-cen 1.11.1
Using relaton-cie 1.11.0
Using relaton-gb 1.11.0
Using relaton-iec 1.11.4
Using relaton-iso 1.11.1
Using relaton-itu 1.11.0
Using relaton-oasis 1.11.0
Using relaton-ogc 1.11.1
Using ld-patch 3.1.3
Using rdf-microdata 3.2.1
Using rdf-n3 3.1.2
Using rdf-rdfxml 3.2.0
Using rdf-trig 3.2.0
Using shacl 0.1.1
Using shex 0.6.4
Using relaton-render 0.3.8
Using lutaml 0.7.4
Using reverse_adoc 0.3.5
Using linkeddata 3.1.6
Using metanorma 1.4.9
Using relaton-w3c 1.11.6
Using relaton 1.11.5
Using relaton-cli 1.11.0
Using relaton-iev 1.1.4
Using isodoc 2.1.3
Using metanorma-plugin-lutaml 0.4.15
Using metanorma-plugin-datastruct 0.2.0
Using metanorma-standoc 2.1.3
Using metanorma-generic 2.1.3
Using metanorma-iso 2.1.3
Using metanorma-ieee 0.0.1
Using metanorma-ietf 3.0.8
Using metanorma-itu 2.1.3
Using metanorma-ogc 2.1.3
Using metanorma-un 0.9.3
Using metanorma-bipm 2.1.3
Using metanorma-cc 2.1.3
Using metanorma-csa 2.1.3
Using metanorma-iec 2.1.3
Using metanorma-iho 0.6.3
Using metanorma-m3aawg 2.1.3
Using metanorma-cli 1.5.18
Gem::Ext::BuildError: ERROR: Failed to build gem native extension.

    current directory: /usr/local/bundle/gems/io-console-0.5.11/ext/io/console
/usr/local/bin/ruby -I /usr/local/lib/ruby/3.1.0 -r
./siteconf20220708-181-o9t12w.rb extconf.rb
/usr/local/bundle/gems/bundler-2.3.16/lib/bundler/definition.rb:484:in
`materialize': Could not find debug-1.5.0, reline-0.3.1 in any of the sources
(Bundler::GemNotFound)
from /usr/local/bundle/gems/bundler-2.3.16/lib/bundler/definition.rb:191:in
`specs'
from /usr/local/bundle/gems/bundler-2.3.16/lib/bundler/definition.rb:239:in
`specs_for'
	from /usr/local/bundle/gems/bundler-2.3.16/lib/bundler/runtime.rb:18:in `setup'
	from /usr/local/bundle/gems/bundler-2.3.16/lib/bundler.rb:162:in `setup'
from /usr/local/bundle/gems/bundler-2.3.16/lib/bundler/setup.rb:20:in `block in
<top (required)>'
from /usr/local/bundle/gems/bundler-2.3.16/lib/bundler/ui/shell.rb:136:in
`with_level'
from /usr/local/bundle/gems/bundler-2.3.16/lib/bundler/ui/shell.rb:88:in
`silence'
from /usr/local/bundle/gems/bundler-2.3.16/lib/bundler/setup.rb:20:in `<top
(required)>'
from
<internal:/usr/local/lib/ruby/3.1.0/rubygems/core_ext/kernel_require.rb>:85:in
`require'
from
<internal:/usr/local/lib/ruby/3.1.0/rubygems/core_ext/kernel_require.rb>:85:in
`require'

extconf failed, exit code 1

Gem files will remain installed in /usr/local/bundle/gems/io-console-0.5.11 for
inspection.
Results logged to
/usr/local/bundle/extensions/x86_64-linux/3.1.0/io-console-0.5.11/gem_make.out

  /usr/local/lib/ruby/3.1.0/rubygems/ext/builder.rb:95:in `run'
/usr/local/lib/ruby/3.1.0/rubygems/ext/ext_conf_builder.rb:47:in `block in
build'
  /usr/local/lib/ruby/3.1.0/tempfile.rb:317:in `open'
  /usr/local/lib/ruby/3.1.0/rubygems/ext/ext_conf_builder.rb:26:in `build'
  /usr/local/lib/ruby/3.1.0/rubygems/ext/builder.rb:161:in `build_extension'
/usr/local/lib/ruby/3.1.0/rubygems/ext/builder.rb:195:in `block in
build_extensions'
  /usr/local/lib/ruby/3.1.0/rubygems/ext/builder.rb:192:in `each'
  /usr/local/lib/ruby/3.1.0/rubygems/ext/builder.rb:192:in `build_extensions'
  /usr/local/lib/ruby/3.1.0/rubygems/installer.rb:853:in `build_extensions'
/usr/local/bundle/gems/bundler-2.3.16/lib/bundler/rubygems_gem_installer.rb:71:in
`build_extensions'
/usr/local/bundle/gems/bundler-2.3.16/lib/bundler/rubygems_gem_installer.rb:28:in
`install'
/usr/local/bundle/gems/bundler-2.3.16/lib/bundler/source/rubygems.rb:207:in
`install'
/usr/local/bundle/gems/bundler-2.3.16/lib/bundler/installer/gem_installer.rb:54:in
`install'
/usr/local/bundle/gems/bundler-2.3.16/lib/bundler/installer/gem_installer.rb:16:in
`install_from_spec'
/usr/local/bundle/gems/bundler-2.3.16/lib/bundler/installer/parallel_installer.rb:186:in
`do_install'
/usr/local/bundle/gems/bundler-2.3.16/lib/bundler/installer/parallel_installer.rb:177:in
`block in worker_pool'
  /usr/local/bundle/gems/bundler-2.3.16/lib/bundler/worker.rb:62:in `apply_func'
/usr/local/bundle/gems/bundler-2.3.16/lib/bundler/worker.rb:57:in `block in
process_queue'
  /usr/local/bundle/gems/bundler-2.3.16/lib/bundler/worker.rb:54:in `loop'
/usr/local/bundle/gems/bundler-2.3.16/lib/bundler/worker.rb:54:in
`process_queue'
/usr/local/bundle/gems/bundler-2.3.16/lib/bundler/worker.rb:91:in `block (2
levels) in create_threads'

An error occurred while installing io-console (0.5.11), and Bundler cannot
continue.

In Gemfile:
  debug was resolved to 1.5.0, which depends on
    irb was resolved to 1.4.1, which depends on
      reline was resolved to 0.3.1, which depends on
        io-console
/usr/local/bundle/gems/bundler-2.3.16/lib/bundler/definition.rb:484:in `materialize': Could not find debug-1.5.0, reline-0.3.1 in any of the sources (Bundler::GemNotFound)
	from /usr/local/bundle/gems/bundler-2.3.16/lib/bundler/definition.rb:191:in `specs'
	from /usr/local/bundle/gems/bundler-2.3.16/lib/bundler/definition.rb:239:in `specs_for'
	from /usr/local/bundle/gems/bundler-2.3.16/lib/bundler/runtime.rb:18:in `setup'
	from /usr/local/bundle/gems/bundler-2.3.16/lib/bundler.rb:162:in `setup'
	from /usr/local/bundle/gems/bundler-2.3.16/lib/bundler/setup.rb:20:in `block in <top (required)>'
	from /usr/local/bundle/gems/bundler-2.3.16/lib/bundler/ui/shell.rb:136:in `with_level'
	from /usr/local/bundle/gems/bundler-2.3.16/lib/bundler/ui/shell.rb:88:in `silence'
	from /usr/local/bundle/gems/bundler-2.3.16/lib/bundler/setup.rb:20:in `<top (required)>'
	from <internal:/usr/local/lib/ruby/3.1.0/rubygems/core_ext/kernel_require.rb>:85:in `require'
	from <internal:/usr/local/lib/ruby/3.1.0/rubygems/core_ext/kernel_require.rb>:85:in `require'
##[error]Process completed with exit code 1.
Post job cleanup.
##[command]/usr/bin/docker exec  6e16769e7de014346e5de9a652ebff9bf7afae17042f5dda90c1a99e9a72425b sh -c "cat /etc/*release | grep ^ID"
[command]/usr/bin/git version
git version 2.30.2
Temporarily overriding HOME='/__w/_temp/24a54613-cc7c-4e36-b3a6-2c929ddfa0da' before making global git config changes
Adding repository directory to the temporary git global config as a safe directory
[command]/usr/bin/git config --global --add safe.directory /__w/SWF-Corpus_and_IEEEP2874-D2/SWF-Corpus_and_IEEEP2874-D2
[command]/usr/bin/git config --local --name-only --get-regexp core\.sshCommand
[command]/usr/bin/git submodule foreach --recursive git config --local --name-only --get-regexp 'core\.sshCommand' && git config --local --unset-all 'core.sshCommand' || :

For some reason RUBYOPT=-rbundler/setup break gem installation so:

  • env --unset=RUBYOPT ./gemfile-to-bundle-add.sh Gemfile
  • ./gemfile-to-bundle-add.sh Gemfile or bundle install doesn't

Investigating what this mean (why we need it) and potential workarounds/fixes

In fact, there was two issues:

  • missing gcc, because we tried to minimize our docker image, we uninstall gcc which saves about 300Mb of size
  • RUBYOPT=-rbundler/setup as far as I understand it stands for require "bundler/setup". I didn't find explicit forbid for this, but logically there is no sens to require (and may lead to such side effects) bundler/setup during bundle install

Proposed solution:

  • install gcc on demand
  • ignore RUBYOPT during bundle install/add

https://github.com/metanorma/SWF-Corpus_and_IEEEP2874-D2/pull/6 -ready for review