Skip to contentSkip to conversation

luajit: create developer symlinks

PATCH Superseded Pascal Bach 2 participants 4 messages Sep 21, 2017 – Sep 22, 2017

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 luajit: create developer symlinks

LuaJIT tries to call ldconfig during installation which doesn't work. This causes the .so and .so.2 symlinks to no be created.

By setting "LDCONFIG= :" the call will be skipped the same as on Darwin

---
 meta-oe/recipes-devtools/luajit/luajit_2.0.5.bb | 1 +
 1 file changed, 1 insertion(+)
meta-oe/recipes-devtools/luajit/luajit_2.0.5.bb +1 -0
index d7477ed..1e06e34 100644
@@ -52,6 +52,7 @@ EXTRA_OEMAKE = "\
     \
     'PREFIX=${prefix}' \
     'MULTILIB=${baselib}' \
+    'LDCONFIG= :' \
 "
 
 do_compile () {
Signature · 1 line
2.1.4
#1 lore raw
Quoted 1 line · Pascal Bach

LuaJIT tries to call ldconfig during installation which doesn't work.

Presumably this stopped working recently (since host tools now need to be whitelisted and ldconfig is not included in HOSTTOOLS)? If so, maybe mention that in the commit message.

Quoted 29 lines

This causes the .so and .so.2 symlinks to no be created.

By setting "LDCONFIG= :" the call will be skipped the same as on Darwin

---
 meta-oe/recipes-devtools/luajit/luajit_2.0.5.bb | 1 +
 1 file changed, 1 insertion(+)
meta-oe/recipes-devtools/luajit/luajit_2.0.5.bb +1 -1
index d7477ed..1e06e34 100644
@@ -52,6 +52,7 @@ EXTRA_OEMAKE = "\
     \
     'PREFIX=${prefix}' \
     'MULTILIB=${baselib}' \
+    'LDCONFIG= :' \
 "
 
 do_compile () {
--

2.1.4

--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel

#2 lore raw
Quoted 5 lines · Andre McCurdy
Quoted 1 line · Pascal Bach

LuaJIT tries to call ldconfig during installation which doesn't work.

Presumably this stopped working recently (since host tools now need to be whitelisted and ldconfig is not included in HOSTTOOLS)? If so, maybe mention that in the commit message.

I'm not sure when it stopped working. I just tried it now with Pyro ;-)
However I'm not sure what ldconfig does in the context of cross compilation or if it makes sense at all to call it. My assumption was not so I decided to just disable it. But I'm happy to correct my assumption if I'm wrong.

Quoted 29 lines
Quoted 29 lines

This causes the .so and .so.2 symlinks to no be created.

By setting "LDCONFIG= :" the call will be skipped the same as on Darwin

---
 meta-oe/recipes-devtools/luajit/luajit_2.0.5.bb | 1 +
 1 file changed, 1 insertion(+)
meta-oe/recipes-devtools/luajit/luajit_2.0.5.bb +1 -1
index d7477ed..1e06e34 100644
@@ -52,6 +52,7 @@ EXTRA_OEMAKE = "\
     \
     'PREFIX=${prefix}' \
     'MULTILIB=${baselib}' \
+    'LDCONFIG= :' \
 "
 
 do_compile () {
--

2.1.4

--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel

#3 lore raw
Quoted 9 lines · Pascal Bach
Quoted 5 lines · Andre McCurdy
Quoted 1 line · Pascal Bach

LuaJIT tries to call ldconfig during installation which doesn't work.

Presumably this stopped working recently (since host tools now need to be whitelisted and ldconfig is not included in HOSTTOOLS)? If so, maybe mention that in the commit message.

I'm not sure when it stopped working. I just tried it now with Pyro ;-)
However I'm not sure what ldconfig does in the context of cross compilation or if it makes sense at all to call it. My assumption was not so I decided to just disable it. But I'm happy to correct my assumption if I'm wrong.

The change is fine, just the commit message which could perhaps be improved.

Details of when or why something stopped working are very useful for anyone maintaining release branches etc and trying to decide which fixes to backport.

Quoted 9 lines
Quoted 9 lines
Quoted 9 lines

This causes the .so and .so.2 symlinks to no be created.

By setting "LDCONFIG= :" the call will be skipped the same as on Darwin

---
 meta-oe/recipes-devtools/luajit/luajit_2.0.5.bb | 1 +
 1 file changed, 1 insertion(+)
Quoted 9 lines
Quoted 9 lines

meta-oe/recipes-devtools/luajit/luajit_2.0.5.bb EXTRA_OEMAKE = "\ · line 55

Quoted 9 lines
meta-oe/recipes-devtools/luajit/luajit_2.0.5.bb +1 -0
index d7477ed..1e06e34 100644
@@ -52,6 +52,7 @@ EXTRA_OEMAKE = "\
     \
     'PREFIX=${prefix}' \
     'MULTILIB=${baselib}' \
+    'LDCONFIG= :' \

Maybe drop the space after the = (it doesn't hurt, but looks odd...).

Quoted 12 lines
Quoted 11 lines
Quoted 11 lines
meta-oe/recipes-devtools/luajit/luajit_2.0.5.bb +0 -1
 "
 
 do_compile () {
--

2.1.4

--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel