Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

libsass not working on M1 Macs #91

Open
nutmix opened this issue Jan 10, 2023 · 3 comments
Open

libsass not working on M1 Macs #91

nutmix opened this issue Jan 10, 2023 · 3 comments

Comments

@nutmix
Copy link

nutmix commented Jan 10, 2023

[ERROR] Failed to execute goal com.gitlab.haynes:libsass-maven-plugin:0.2.29:compile (default) on project eyas-web: Execution default of goal com.gitlab.haynes:libsass-maven-plugin:0.2.29:compile failed: An API incompatibility was encountered while executing com.gitlab.haynes:libsass-maven-plugin:0.2.29:compile: java.lang.UnsatisfiedLinkError: /private/var/folders/0m/w52yvpkn4lngbwfb8slbf_m80000gn/T/libjsass-15775954432582127499/libjsass.dylib: dlopen(/private/var/folders/0m/w52yvpkn4lngbwfb8slbf_m80000gn/T/libjsass-15775954432582127499/libjsass.dylib, 0x0001): tried: '/private/var/folders/0m/w52yvpkn4lngbwfb8slbf_m80000gn/T/libjsass-15775954432582127499/libjsass.dylib' (mach-o file, but is an incompatible architecture (have (x86_64), need (arm64e)))

We have tried various versions of maven and libsass going back to 0.2.26, always same error.

% mvn --version
Apache Maven 3.8.7 (b89d5959fcde851dcb1c8946a785a163f14e1e29)
Maven home: /opt/apache-maven-3.8.7
Java version: 11.0.10, vendor: Azul Systems, Inc., runtime: /Library/Java/JavaVirtualMachines/zulu-11.jdk/Contents/Home
Default locale: en_GB, platform encoding: UTF-8
OS name: "mac os x", version: "12.5.1", arch: "aarch64", family: "mac"

Tried with both Oracle java and with Azul java.

Always same problem. Works fine on windows.

@austin48
Copy link

+1

@acontreras24
Copy link

Running into the same issue.

Running on:
Apache Maven 3.6.3
Java version: Azul Zulu: 8.68.0.21
OS: Mac os x version 13.1 (Ventura)

@austin48
Copy link

The latest README.md file says that,

"this project is no longer maintained but a fork is: https://gitlab.com/haynes/libsass-maven-plugin"

that fork has a related issue: https://gitlab.com/haynes/libsass-maven-plugin/-/issues/5

and that issue mentions a jsass issue: https://gitlab.com/jsass/jsass/-/issues/94
and merge request: https://gitlab.com/jsass/jsass/-/merge_requests/64

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

No branches or pull requests

3 participants