leptris 1.9.390.2-aarch64-linux → 1.9.390.3-aarch64-linux

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 83080177331bb76baaca28865abdbf4717d518121d15e95bcb4416b3e90c8d91
4
- data.tar.gz: 85594433005b5619531f8ede870df5aa9a97775a3c6fd4700f296fb6418fb377
3
+ metadata.gz: 9252734e5fd7fd06b182e3fa9e6edcc014dfe2f44d5b1c6a7a538c5fc91d22dc
4
+ data.tar.gz: d5a8563daa2c38f5f05d635c816e22a99a2bb9fa742e1761d3b4a3218198463d
5
5
  SHA512:
6
- metadata.gz: 2ad9b22fae87020fb21cca139391c7e5fce0a848b922e7dc4dd2729a3bb161ecd7a6d77f7beaf34ab84e5b2a0f78a9d228e5f8a1a46f0c9f6dceedf3da9c25c4
7
- data.tar.gz: a9e0e80629a36d0212ef3ea13a02d7c2b21e2b88d643023d971a0d0edd082348577f6e6929c891be0c24f2538eb97cd28fdbb35380eeeb08d2798a3c3dbdaa8a
6
+ metadata.gz: 8a03fafce6f2b563f58a7f957c83095bb345be41bd15b44b3ee058be72836e10eb64e0b656b46957bded569465775754ff82706db1df224f4b3d825db737e434
7
+ data.tar.gz: e46ce41230a5be7d071c7dbfffcac8c887c9fc1388ad5014b422b750759c0e7880db1f4c71942bbe00e88be1e20a1b5d7d50feafbd8189e1c4fef57c6500cfb6
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  ## [Unreleased]
2
2
 
3
+ ### Fixed
4
+
5
+ - Rebuild the native object under the Ruby that performs final packaging.
6
+ Restoring the job Ruby after the per-minor release loop could reuse the
7
+ last minor's object and overwrite the job minor's bundle with a different
8
+ Ruby header ABI. The packaging regression now exercises the same workspace
9
+ under Ruby 3.4, then 4.0, then 3.3 and checks the actual packaged native/GC paths.
10
+
3
11
  ### Added — 1.9.390.2 (namespace snapshot face)
4
12
 
5
13
  - **Element#namespace_declarations_snapshot (leptris-ruby#565).**
data/Rakefile CHANGED
@@ -290,7 +290,9 @@ task :compile do
290
290
  elsif %w[ruby truffleruby].include?(RUBY_ENGINE)
291
291
  ext_dir = "ext/leptris/native"
292
292
  Dir.chdir(ext_dir) do
293
- sh "ruby extconf.rb"
293
+ # Packaging restores the job Ruby after the per-minor release loop.
294
+ # Rebuild even when native.o is newer: it may use another Ruby's headers.
295
+ sh RbConfig.ruby, "extconf.rb"
294
296
  if RUBY_PLATFORM =~ /darwin/
295
297
  # Link the bundle ourselves: mkmf snapshots LIBRUBYARG from
296
298
  # RbConfig at require time, so setup-ruby's shared-libruby
@@ -300,18 +302,18 @@ task :compile do
300
302
  # Makefile, link with pure -undefined dynamic_lookup (Ruby
301
303
  # symbols resolve from the loading interpreter) and a
302
304
  # conservative deployment target.
303
- sh "make native.o"
305
+ sh "make -B native.o"
304
306
  sh "cc -dynamic -bundle -undefined dynamic_lookup " \
305
307
  "-mmacosx-version-min=#{ENV['MACOSX_DEPLOYMENT_TARGET'] || '11.0'} " \
306
308
  "-o native.bundle native.o"
307
309
  else
308
310
  # #207: the darwin contract on Linux too — mkmf's `make`
309
311
  # linked libruby.so.3.3 (plus a runner runpath), which
310
- # failed to load on 3.4/4.0. Link WITHOUT libruby: one
311
- # .so serves every Ruby minor; rb_* resolve from the
312
- # loading interpreter at dlopen (static rubies export
312
+ # failed to load on 3.4/4.0. Link WITHOUT libruby while
313
+ # keeping the building Ruby's header ABI: rb_* resolve from
314
+ # the loading interpreter at dlopen (static rubies export
313
315
  # their symbols via -rdynamic, like any extension .so).
314
- sh "make native.o"
316
+ sh "make -B native.o"
315
317
  sh "#{RbConfig::CONFIG['CC']} -shared -fPIC -o native.so native.o"
316
318
  end
317
319
  # Guard the linkage contract at the build chokepoint (#1739):
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Leptris
4
- VERSION = "1.9.390.2"
4
+ VERSION = "1.9.390.3"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: leptris
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.9.390.2
4
+ version: 1.9.390.3
5
5
  platform: aarch64-linux
6
6
  authors:
7
7
  - Ribose Inc.