ruby: disable libruby.so
PATCH 1/1 ruby: disable libruby.so
It was found to cause races in make install, as observed in
https://bugzilla.yoctoproject.org/show_bug.cgi?id=14695
[YOCTO #14695]
--- meta/recipes-devtools/ruby/ruby_3.1.0.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
meta/recipes-devtools/ruby/ruby_3.1.0.bb +1 -1
@@ -29,7 +29,7 @@ EXTRA_OECONF = "\ --disable-versioned-paths \ --disable-rpath \ --disable-dtrace \ - --enable-shared \ + --disable-shared \ --enable-load-relative \ --with-pkg-config=pkg-config \ --with-static-linked-ext \
Signature · 1 line
2.20.1
Quoted 15 lines · Alexander Kanavin
It was found to cause races in make install, as observed in
https://bugzilla.yoctoproject.org/show_bug.cgi?id=14695[YOCTO #14695]
Signed-off-by Alexander Kanavin <[email protected]>--- meta/recipes-devtools/ruby/ruby_3.1.0.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)meta/recipes-devtools/ruby/ruby_3.1.0.bb +0
-0
meta/recipes-devtools/ruby/ruby_3.1.0.bb EXTRA_OECONF = "\ · line 35
Quoted 8 lines
meta/recipes-devtools/ruby/ruby_3.1.0.bb +1
-1@@ -29,7 +29,7 @@ EXTRA_OECONF = "\ --disable-versioned-paths \ --disable-rpath \ --disable-dtrace \ - --enable-shared \ + --disable-shared \ --enable-load-relative \ --with-pkg-config=pkg-config \ --with-static-linked-ext \
Disabling shared libraries because there is a makefile bug doesn't seem like the right solution :(.
Better might be disabling parallelism in make install. It raises questions about why it is linking/relinking a library in the install step too of course...
Cheers,
Richard
Quoted 8 lines · Richard Purdie
Disabling shared libraries because there is a makefile bug doesn't seem like the
right solution :(.Better might be disabling parallelism in make install. It raises questions about
why it is linking/relinking a library in the install step too of course...
It's doing this with ruby executable too; seems like make install regenerates something that triggers the relink:
| generating enc.mk
I can try to dig deeper, but upstream isn't even enabling the shared library by default, so they're probably oblivious to the whole thing :-/
Alex