[#99426] [Ruby master Bug#17098] Float#negative? reports negative zero as not negative — chris@...

Issue #17098 has been reported by chrisseaton (Chris Seaton).

12 messages 2020/08/01

[#99449] [Ruby master Bug#17100] Ractor: a proposal for new concurrent abstraction without thread-safety issues — ko1@...

Issue #17100 has been reported by ko1 (Koichi Sasada).

41 messages 2020/08/03

[#99474] [Ruby master Feature#17103] Add a :since option to ObjectSpace.dump_all — jean.boussier@...

Issue #17103 has been reported by byroot (Jean Boussier).

9 messages 2020/08/04

[#99485] [Ruby master Misc#17104] Why are interpolated string literals frozen? — bughitgithub@...

Issue #17104 has been reported by bughit (bug hit).

23 messages 2020/08/05

[#99499] [Ruby master Bug#17105] A single `return` can return to two different places in a proc inside a lambda inside a method — eregontp@...

Issue #17105 has been reported by Eregon (Benoit Daloze).

10 messages 2020/08/06

[#99582] [Ruby master Feature#17122] Add category to Warning#warn — eileencodes@...

Issue #17122 has been reported by eileencodes (Eileen Uchitelle).

20 messages 2020/08/13

[#99700] [Ruby master Bug#17129] bundle install `eventmachine` and `sassc` fails since 914b2208ab3eddec478cdc3e079e6c30d0f0892c — yasuo.honda@...

SXNzdWUgIzE3MTI5IGhhcyBiZWVuIHJlcG9ydGVkIGJ5IHlhaG9uZGEgKFlhc3VvIEhvbmRhKS4N

9 messages 2020/08/26

[ruby-core:99486] Core Ruby Build question

From: Maurice Smulders <maurice.smulders@...>
Date: 2020-08-05 20:07:15 UTC
List: ruby-core #99486
Hello,

As cross compiling Ruby Gems other than windows versions has proven to
be impossibly difficult. i resorted to another solution. I installed
the needed files from cbor-ruby into the /ext subtree into the core
ruby source in our buildroot environment. I am mostly successful,
except for one small hiccup.

Ruby version 2.7.1

My source tree looks as follows:

|-- ext
|   |-- cbor
|   |   |-- buffer.c
|   |   |-- buffer.h
|   |   |-- buffer_class.c
|   |   |-- buffer_class.h
|   |   |-- cbor.gemspec
|   |   |-- cbor.h
|   |   |-- compat.h
|   |   |-- core_ext.c
|   |   |-- core_ext.h
|   |   |-- extconf.rb
|   |   |-- lib
|   |   |   |-- cbor
|   |   |   |   `-- version.rb
|   |   |   `-- cbor.rb
|   |   |-- packer.c
|   |   |-- packer.h
|   |   |-- packer_class.c
|   |   |-- packer_class.h
|   |   |-- rbinit.c
|   |   |-- renamer.h
|   |   |-- rmem.c
|   |   |-- rmem.h
|   |   |-- sysdep.h
|   |   |-- sysdep_endian.h
|   |   |-- sysdep_types.h
|   |   |-- unpacker.c
|   |   |-- unpacker.h
|   |   |-- unpacker_class.c
|   |   `-- unpacker_class.h

Target installation is:
./usr/lib/libtinycbor.so
./usr/lib/ruby/2.7.0/cbor
./usr/lib/ruby/2.7.0/cbor/cbor
./usr/lib/ruby/2.7.0/cbor/cbor/version.rb
./usr/lib/ruby/2.7.0/cbor/cbor.rb
./usr/lib/ruby/2.7.0/powerpc-linux-gnuspe/cbor
./usr/lib/ruby/2.7.0/powerpc-linux-gnuspe/cbor/cbor.so
./usr/lib/ruby/gems/2.7.0/specifications/default/cbor-0.5.9.6.gemspec
./usr/lib/ruby/gems/2.7.0/gems/cbor-0.5.9.6
.
It needs to be:
./usr/lib/ruby/2.7.0/cbor/version.rb
./usr/lib/ruby/2.7.0/cbor.rb
./usr/lib/ruby/2.7.0/powerpc-linux-gnuspe/cbor
./usr/lib/ruby/2.7.0/powerpc-linux-gnuspe/cbor/cbor.so
./usr/lib/ruby/gems/2.7.0/specifications/default/cbor-0.5.9.6.gemspec
./usr/lib/ruby/gems/2.7.0/gems/cbor-0.5.9.6

Note the cbor.rb file and version.rb file need to be moved up one directory.
I have made changes to

misc/expand_tabs.rb:  cbor

I also looked at other ext(ensions) like openssl:

From:
./ext/openssl/lib/openssl.rb
./test/rubygems/fake_certlib/openssl.rb

installed:
./ruby/2.7.0/openssl.rb

I am missing something, but don't know what yet...
 What script/file controls the install destination?

- Maurice
-- 
Maurice Smulders

Unsubscribe: <mailto:ruby-core-request@ruby-lang.org?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>

In This Thread

Prev Next