Untitled

 avatar
unknown
plain_text
6 days ago
4.3 kB
4
Indexable
 #7 [3/6] RUN gem install github-linguist
  #7 0.757 Building native extensions. This could take a while...
  #7 60.63 Successfully installed rugged-1.9.0
  #7 60.63 Successfully installed mini_mime-1.1.5
  #7 60.63 Building native extensions. This could take a while...
  #7 61.45 ERROR:  Error installing github-linguist:
  #7 61.45 	ERROR: Failed to build gem native extension.
  #7 61.45 
  #7 61.45     current directory: /var/lib/gems/3.0.0/gems/charlock_holmes-0.7.9/ext/charlock_holmes
  #7 61.45 /usr/bin/ruby3.0 -I /usr/lib/ruby/vendor_ruby -r ./siteconf20250313-6-kmozln.rb extconf.rb
  #7 61.45 checking for -licui18n... yes
  #7 61.45 checking for unicode/ucnv.h... yes
  #7 61.45 checking for -lz... no
  #7 61.45 libz missing
  #7 61.45 *** extconf.rb failed ***
  #7 61.45 Could not create Makefile due to some reason, probably lack of necessary
  #7 61.45 libraries and/or headers.  Check the mkmf.log file for more details.  You may
  #7 61.45 need configuration options.
  #7 61.45 
  #7 61.45 Provided configuration options:
  #7 61.45 	--with-opt-dir
  #7 61.45 	--without-opt-dir
  #7 61.45 	--with-opt-include
  #7 61.45 	--without-opt-include=${opt-dir}/include
  #7 61.45 	--with-opt-lib
  #7 61.45 	--without-opt-lib=${opt-dir}/lib
  #7 61.45 	--with-make-prog
  #7 61.45 	--without-make-prog
  #7 61.45 	--srcdir=.
  #7 61.45 	--curdir
  #7 61.45 	--ruby=/usr/bin/$(RUBY_BASE_NAME)3.0
  #7 61.45 	--with-icu-dir
  #7 61.45 	--without-icu-dir
  #7 61.45 	--with-icu-include
  #7 61.45 	--without-icu-include=${icu-dir}/include
  #7 61.45 	--with-icu-lib
  #7 61.45 	--without-icu-lib=${icu-dir}/lib
  #7 61.45 	--with-icu-i18n-config
  #7 61.45 	--without-icu-i18n-config
  #7 61.45 	--with-pkg-config
  #7 61.45 	--without-pkg-config
  #7 61.45 	--with-icu-io-config
  #7 61.45 	--without-icu-io-config
  #7 61.45 	--with-icu-uc-config
  #7 61.45 	--without-icu-uc-config
  #7 61.45 	--with-icui18n-dir
  #7 61.45 	--without-icui18n-dir
  #7 61.45 	--with-icui18n-include
  #7 61.45 	--without-icui18n-include=${icui18n-dir}/include
  #7 61.45 	--with-icui18n-lib
  #7 61.45 	--without-icui18n-lib=${icui18n-dir}/lib
  #7 61.45 	--with-icui18nlib
  #7 61.45 	--without-icui18nlib
  #7 61.45 	--with-unicode-dir
  #7 61.45 	--without-unicode-dir
  #7 61.45 	--with-unicode-include
  #7 61.45 	--without-unicode-include=${unicode-dir}/include
  #7 61.45 	--with-unicode-lib
  #7 61.45 	--without-unicode-lib=${unicode-dir}/lib
  #7 61.45 	--with-z-dir
  #7 61.45 	--without-z-dir
  #7 61.45 	--with-z-include
  #7 61.45 	--without-z-include=${z-dir}/include
  #7 61.45 	--with-z-lib
  #7 61.45 	--without-z-lib=${z-dir}/lib
  #7 61.45 	--with-zlib
  #7 61.45 	--without-zlib
  #7 61.45 
  #7 61.45 To see why this extension failed to compile, please check the mkmf.log which can be found here:
  #7 61.45 
  #7 61.45   /var/lib/gems/3.0.0/extensions/x86_64-linux/3.0.0/charlock_holmes-0.7.9/mkmf.log
  #7 61.45 
  #7 61.45 extconf failed, exit code 1
  #7 61.45 
  #7 61.45 Gem files will remain installed in /var/lib/gems/3.0.0/gems/charlock_holmes-0.7.9 for inspection.
  #7 61.45 Results logged to /var/lib/gems/3.0.0/extensions/x86_64-linux/3.0.0/charlock_holmes-0.7.9/gem_make.out
  #7 ERROR: process "/bin/sh -c gem install github-linguist" did not complete successfully: exit code: 1
  ------
   > [3/6] RUN gem install github-linguist:
  61.45 	--without-zlib
  61.45 
  61.45 To see why this extension failed to compile, please check the mkmf.log which can be found here:
  61.45 
  61.45   /var/lib/gems/3.0.0/extensions/x86_64-linux/3.0.0/charlock_holmes-0.7.9/mkmf.log
  61.45 
  61.45 extconf failed, exit code 1
  61.45 
  61.45 Gem files will remain installed in /var/lib/gems/3.0.0/gems/charlock_holmes-0.7.9 for inspection.
  61.45 Results logged to /var/lib/gems/3.0.0/extensions/x86_64-linux/3.0.0/charlock_holmes-0.7.9/gem_make.out
  ------
  Dockerfile:21
  --------------------
    19 |     ENV OPENSSL_ROOT_DIR=/usr
    20 |     
    21 | >>> RUN gem install github-linguist
    22 |     
    23 |     RUN mkdir -p "$HOME/bin" && \
  --------------------
  ERROR: failed to solve: process "/bin/sh -c gem install github-linguist" did not complete successfully: exit code: 1
Editor is loading...
Leave a Comment