Skip to contentSkip to conversation

erlang-native: Add DEPENDS for ncurses-native

PATCH In review Mark Asselstine 2 participants 2 messages Aug 23, 2017 – Aug 24, 2017

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 erlang-native: Add DEPENDS for ncurses-native

This was most likely being provided by another pkg pulling in ncurses-native before erlang-native was being built. With RSS this is no longer the case and we need to add the explicit DEPENDS. Without this we are seeing erlang-native fail to configure:

| checking for tgetent in -lncurses... no
| checking for tgetent in -lcurses... no
| checking for tgetent in -ltermcap... no
| checking for tgetent in -ltermlib... no
| configure: error: No curses library functions found

While we are at it we drop the setting of PR as this will be handled by the PR server.

---
 meta-openstack/recipes-devtools/erlang/erlang-native_R16B03-1.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta-openstack/recipes-devtools/erlang/erlang-native_R16B03-1.bb +1 -1
index ca6a48f..61fc027 100644
@@ -2,7 +2,7 @@ include erlang.inc
 
 inherit native
 
-PR = "r0"
+DEPENDS += "ncurses-native"
 
 EXTRA_OECONF = '--without-ssl'
 
Signature · 1 line
2.7.4
#1 lore raw

merged.

Bruce

Quoted 42 lines · Mark Asselstine

This was most likely being provided by another pkg pulling in ncurses-native before erlang-native was being built. With RSS this is no longer the case and we need to add the explicit DEPENDS. Without this we are seeing erlang-native fail to configure:

| checking for tgetent in -lncurses... no
| checking for tgetent in -lcurses... no
| checking for tgetent in -ltermcap... no
| checking for tgetent in -ltermlib... no
| configure: error: No curses library functions found

While we are at it we drop the setting of PR as this will be handled by the PR server.

---
 meta-openstack/recipes-devtools/erlang/erlang-native_R16B03-1.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta-openstack/recipes-devtools/erlang/erlang-native_R16B03-1.bb +1 -2
index ca6a48f..61fc027 100644
@@ -2,7 +2,7 @@ include erlang.inc
 
 inherit native
 
-PR = "r0"
+DEPENDS += "ncurses-native"
 
 EXTRA_OECONF = '--without-ssl'
 
--

2.7.4

--
_______________________________________________
meta-virtualization mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-virtualization

Signature · 2 lines
"Thou shalt not follow the NULL pointer, for chaos and madness await thee
at its end"