[DRE-maint] Bug#1069089: ruby-rubygems: Broken platform detection which lead to unability to install sass-embedded

Simon Elst s at nedra.be
Tue Apr 16 09:35:23 BST 2024


Package: ruby-rubygems
Version: 3.4.20-1
Severity: important
X-Debbugs-Cc: s at nedra.be


   * What led up to the situation?
Trying to build a website with Jekyll (through "bundle exec jekyll serve").

   * What exactly did you do (or not do) that was effective (or ineffective)?
1. Running "bundle" on a Jekyll fresh new site with "minimal" template
2. Installing missing gem ("sass-embedded") with "gem install" command, and
then running "bundle exec jekyll serve".

   * What was the outcome of this action?
1. Bundler::HTTPError: Could not download gem from https://rubygems.org/ due to
underlying error <bad response Forbidden 403 (https://rubygems.org/gems/sass-
embedded-1.75.0-x86_64-linux.gem)>
2. Install works, but it brings "sass-embedded (1.75.0 x86_64-linux-android)"
instead of "[...]-linux-gnu)". Then, the bundle exec command fails :
"Conversion error: Jekyll::Converters::Scss encountered an error while
converting 'assets/main.scss': Broken pipe"

   * What outcome did you expect instead?
Bundle should install sass-embedded (linux-gnu).

It looks like it is related to a patch in Debian version (3.4.20) that breaks
platform detection. The bug is pointed out here :
https://github.com/jekyll/jekyll/issues/9478#issuecomment-1785797746
My usecase and the full terminal transcript are available here :
https://www.reddit.com/r/Jekyll/comments/1c4g90p/unable_to_build_site_because_of_sass/



-- System Information:
Debian Release: trixie/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 6.6.15-amd64 (SMP w/6 CPU threads; PREEMPT)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=fr_BE.UTF-8, LC_CTYPE=fr_BE.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages ruby-rubygems depends on:
ii  ruby  1:3.1

ruby-rubygems recommends no packages.

ruby-rubygems suggests no packages.

-- no debconf information



More information about the Pkg-ruby-extras-maintainers mailing list