Opened 6 weeks ago

Last modified 6 weeks ago

#74531 assigned defect

dart-sass @1.98.0 does not compile on mac os golden gate

Reported by: jonasjonas (Frank Hellenkamp) Owned by: queensferryme
Priority: Normal Milestone:
Component: ports Version: 2.12.6
Keywords: goldengate Cc:
Port: dart-sass

Description

The current version dart-sass cannot be compiled. It stops with this message during the protobuf compile. I tried searching for similar compile errors with dart but could not find anything related. But I have no knowledge with dart yet.

:info:build protobuf
:info:build   Writing protoc-gen-dart
:info:build   chmod a+x build/protoc-gen-dart
:info:build   buf generate
:info:build finished in 4.1 seconds
:debug:build system -W /opt/local/var/macports/build/dart-sass-eb1abc0c/work/dart-sass-1.98.0: dart compile exe -Dversion=1.98.0 bin/sass.dart
:info:build lib/src/embedded/protofier.dart:175:21: Error: The type 'Value_Value' is not exhaustively matched by the switch cases since it doesn't match 'Value_Value.compilerModule'.
:info:build  - 'Value_Value' is from 'package:sass/src/embedded/embedded_sass.pb.dart' ('lib/src/embedded/embedded_sass.pb.dart').
:info:build Try adding a default case or cases that match 'Value_Value.compilerModule'.
:info:build       switch (value.whichValue()) {
:info:build                     ^
:info:build Error: AOT compilation failed
:info:build Bad state: Generating AOT kernel dill failed!
:info:build Command failed: dart compile exe -Dversion=1.98.0 bin/sass.dart
:info:build Exit code: 254
:error:build Failed to build dart-sass: command execution failed
:debug:build Error code: NONE
:debug:build Backtrace: command execution failed
:debug:build     while executing
:debug:build "$procedure $targetname"

Change History (1)

comment:1 Changed 6 weeks ago by jmroot (Joshua Root)

Owner: set to queensferryme
Status: new → assigned
Note: See TracTickets for help on using tickets.