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

Unknown alias: common_defines (Psych::BadAlias) #819

Open
PasVegan opened this issue Oct 4, 2023 · 3 comments
Open

Unknown alias: common_defines (Psych::BadAlias) #819

PasVegan opened this issue Oct 4, 2023 · 3 comments

Comments

@PasVegan
Copy link

PasVegan commented Oct 4, 2023

Hi,
I get error when running this command on my terminal: ceedling options:ci_sp test:all
I am on archlinux,
ruby version : ruby 3.1.3p185 (2022-11-24 revision 1a6b16756e) [x86_64-linux]
Ceedling:: 0.31.1
CMock:: 2.5.4
Unity:: 2.5.4
CException:: 1.3.3

Here is the full error

Here is my project.yml file
Here is my ci_sp.yml file (options)
Here is my ci_xp.yml file (options)

Thanks !

@deltalejo
Copy link

The issue is probably due to a breaking change with Ruby 3.1 / Psych 4.x as stated here. Try with Ruby 3.0, it comes with Psych 3.x so it should work.

@tchernobog
Copy link

@deltalejo the problem is that for instance in Debian stable (bookworm) openssl 1.0 was removed because end of life. Therefore, all ruby versions before 3.1 are impossible to build or install, even via rbenv.

As such, Ruby 3.1 is the minimum required version to have anything installed and working.

I don't think using Ruby 3.0 is going to be a viable solution for longer.

@deltalejo
Copy link

@tchernobog
I agree that using Ruby 3.0 is not a long term solution, we just need to wait for the next release of Ceedling that hopefully will fix this. But in the mean time, I manage to install Ruby 3.0.6 with rbenv on Debian Testing.

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