Open postmodern opened 5 months ago
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.
Add the OpenBSD GitHub Action to the CI.