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

Add OpenBSD to the CI #21

Open
postmodern opened this issue Apr 30, 2024 · 1 comment
Open

Add OpenBSD to the CI #21

postmodern opened this issue Apr 30, 2024 · 1 comment
Assignees
Labels
blocked Blocker Issue feature A new feature openbsd OpenBSD

Comments

@postmodern
Copy link
Member

Add the OpenBSD GitHub Action to the CI.

@postmodern postmodern added feature A new feature openbsd OpenBSD labels Apr 30, 2024
@postmodern postmodern self-assigned this Apr 30, 2024
@postmodern
Copy link
Member Author

postmodern commented May 1, 2024

Unfortunately, we're blocked because nokogiri tries to run tar -xJvf on an .tar.xz file, but OpenBSD's tar does not support a -J option:

Extracting libxml2-2.12.6.tar.xz into tmp/x86_64-unknown-openbsd7.5/ports/libxml2/2.12.6... ERROR. Please review logs to see what happened:
1347
  ----- contents of '/usr/local/lib/ruby/gems/3.3/gems/nokogiri-1.16.4/ext/nokogiri/tmp/x86_64-unknown-openbsd7.5/ports/libxml2/2.12.6/extract.log' -----
1348
  tar: unknown option J

The code in question is in mini_portile2, which handles building libxml2 for the nokogiri C extensions:
https://github.com/flavorjones/mini_portile/blob/6463c42f1fd703343612211a48addc00381574f2/lib/mini_portile2/mini_portile.rb#L510-L564

Someone would need to modify mini_portile's code to use xzcat #{file} | tar xvf - -C #{target} ... for .tar.xz files.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
blocked Blocker Issue feature A new feature openbsd OpenBSD
Projects
None yet
Development

No branches or pull requests

1 participant