Skip to content

Replace sass-rails with dartsass-sprockets for multi-arch support#192

Open
mkowalski wants to merge 1 commit intosclorg:masterfrom
mkowalski:fix/sassc-aarch64-multiarch
Open

Replace sass-rails with dartsass-sprockets for multi-arch support#192
mkowalski wants to merge 1 commit intosclorg:masterfrom
mkowalski:fix/sassc-aarch64-multiarch

Conversation

@mkowalski
Copy link
Copy Markdown

@mkowalski mkowalski commented Apr 30, 2026

Problem

sass-rails depends on sassc, which bundles a native libsass.so compiled for x86_64 only. On aarch64 nodes in multi-arch CI runs, this causes a LoadError during rake db:migrate:

LoadError: Could not open library '.../gems/sassc-2.1.0/lib/sassc/libsass.so':
cannot open shared object file: No such file or directory

This breaks three OCP Component Readiness tests (all at 0% pass rate on 4.20+).

Fix

Replace sass-rails with dartsass-sprockets — a drop-in replacement that uses Dart Sass via sass-embedded, which ships native binaries for both x86_64 and aarch64. Lockfile regenerated with both platforms.

Jira

Fixes: OCPBUGS-84740


🤖 This PR was created by OpenClaw on behalf of @mkowalski.

@mkowalski mkowalski force-pushed the fix/sassc-aarch64-multiarch branch 2 times, most recently from 6ef5f01 to 64ebe91 Compare April 30, 2026 09:31
sass-rails depends on sassc, which bundles a native libsass.so
compiled for x86_64 only. On aarch64 nodes this causes a LoadError
during rake db:migrate, breaking multi-arch CI runs.

dartsass-sprockets is a drop-in replacement that uses Dart Sass via
sass-embedded, which ships native binaries for both x86_64 and
aarch64. Lockfile regenerated with both platforms.

Fixes: https://issues.redhat.com/browse/OCPBUGS-84740

Signed-off-by: Mateusz Kowalski <mko@redhat.com>
Generated-by: OpenClaw OpenClaw 2026.4.15 (041266a)
AI-model: claude-opus-4.6
@mkowalski mkowalski force-pushed the fix/sassc-aarch64-multiarch branch from 64ebe91 to 356300b Compare April 30, 2026 09:32
@mkowalski mkowalski changed the title Remove sassc/sass-rails for multi-arch (aarch64) support Replace sass-rails with dartsass-sprockets for multi-arch support Apr 30, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant