Skip to contentSkip to conversation

talloc: remove default packages from the packages list since empty

PATCH In review Andrei Kholodnyi 3 participants 4 messages Oct 3, 2015 – Oct 13, 2015

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 talloc: remove default packages from the packages list since empty

populate_sdk fails with following message:
error: talloc-dev-2.1.1-r0 requires talloc = 2.1.1-r0

these packages are empty,remove them from the package list

---
 meta-oe/recipes-support/talloc/talloc_2.1.1.bb | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)
meta-oe/recipes-support/talloc/talloc_2.1.1.bb +1 -4
index 89c390f..0c98bb6 100644
@@ -20,12 +20,9 @@ EXTRA_OECONF += "--disable-rpath \
                  --with-libiconv=${STAGING_DIR_HOST}${prefix}\
                 "
 
-PACKAGES += "libtalloc libtalloc-dbg libtalloc-dev pytalloc pytalloc-dbg pytalloc-dev"
+PACKAGES = "libtalloc libtalloc-dbg libtalloc-dev pytalloc pytalloc-dbg pytalloc-dev"
 
 #ALLOW_EMPTY_${PN} = "1"
-FILES_${PN} = ""
-FILES_${PN}-dev = ""
-FILES_${PN}-dbg = ""
 
 FILES_libtalloc = "${libdir}/libtalloc.so.2 \
                    ${libdir}/libtalloc.so.2.1.1"
Signature · 1 line
2.1.4
#1 lore raw
Quoted 24 lines · Andrei Kholodnyi

populate_sdk fails with following message:
error: talloc-dev-2.1.1-r0 requires talloc = 2.1.1-r0

these packages are empty,remove them from the package list

---
 meta-oe/recipes-support/talloc/talloc_2.1.1.bb | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)
meta-oe/recipes-support/talloc/talloc_2.1.1.bb +0 -1
index 89c390f..0c98bb6 100644
@@ -20,12 +20,9 @@ EXTRA_OECONF += "--disable-rpath \
                  --with-libiconv=${STAGING_DIR_HOST}${prefix}\
                 "
 
-PACKAGES += "libtalloc libtalloc-dbg libtalloc-dev pytalloc pytalloc-dbg

pytalloc-dev"
+PACKAGES = "libtalloc libtalloc-dbg libtalloc-dev pytalloc pytalloc-dbg pytalloc-dev"

#ALLOW_EMPTY_${PN} = "1"

meta-oe/recipes-support/talloc/talloc_2.1.1.bb EXTRA_OECONF += "--disable-rpath \ · line 28

Quoted 3 lines
meta-oe/recipes-support/talloc/talloc_2.1.1.bb +0 -3
-FILES_${PN} = ""
-FILES_${PN}-dev = ""
-FILES_${PN}-dbg = ""

Question, why does this use libtalloc as the package names rather than the default of talloc? In the common case of the debian bbclass inherited, they'll get renamed based on the library soname anyway. Also, overriding the PACKAGES list isn't ideal, since it means future changes to the default value of PACKAGES will not be picked up here. Also, this packaging is worse than default, as it doesn't have the -staticdev package.

Signature · 5 lines
Christopher Larson
clarson at kergoth dot com
Founder - BitBake, OpenEmbedded, OpenZaurus
Maintainer - Tslib
Senior Software Engineer, Mentor Graphics
#2 lore raw
Quoted 28 lines

Am 03.10.2015 um 20:37 schrieb Christopher Larson <[email protected]>:

Quoted 22 lines · Andrei Kholodnyi

populate_sdk fails with following message:
error: talloc-dev-2.1.1-r0 requires talloc = 2.1.1-r0

these packages are empty,remove them from the package list
---
meta-oe/recipes-support/talloc/talloc_2.1.1.bb | 5 +----

1 file changed, 1 insertion(+), 4 deletions(-)
meta-oe/recipes-support/talloc/talloc_2.1.1.bb +0 -1
index 89c390f..0c98bb6 100644
@@ -20,12 +20,9 @@ EXTRA_OECONF += "--disable-rpath \
                 --with-libiconv=${STAGING_DIR_HOST}${prefix}\
                "
 
-PACKAGES += "libtalloc libtalloc-dbg libtalloc-dev pytalloc pytalloc-dbg

pytalloc-dev"
+PACKAGES = "libtalloc libtalloc-dbg libtalloc-dev pytalloc pytalloc-dbg pytalloc-dev"

Quoted 12 lines

meta-oe/recipes-support/talloc/talloc_2.1.1.bb EXTRA_OECONF += "--disable-rpath \ · line 28

Quoted 5 lines

#ALLOW_EMPTY_${PN} = "1"

meta-oe/recipes-support/talloc/talloc_2.1.1.bb +0 -3
-FILES_${PN} = ""
-FILES_${PN}-dev = ""
-FILES_${PN}-dbg = ""

Question, why does this use libtalloc as the package names rather than the default of talloc? In the common case of the debian bbclass inherited, they'll get renamed based on the library soname anyway. Also, overriding the PACKAGES list isn't ideal, since it means future changes to the default value of PACKAGES will not be picked up here. Also, this packaging is worse than default, as it doesn't have the -staticdev package.

In current situation you have to touch every recipe depending on talloc - not only in poky and meta-oe, also in any 3rd party layer.

I agree to the rename, but at a better time (e.g. when jethro has been settled).

Cheers

Signature · 1 line
Jens Rehsack - [email protected]
#3 lore raw

Sorry for the late answer, your replies lands to spam in my gmail box :( yes, the name of the package shall be libtalloc, similar to debian. I have kept the name "talloc" for compatibility reasons.
I'd rather apply this or similar patch otherwise "populate sdk" is broken.

does it make sense to add -staticdev to the list and resubmit?

2015-10-06 13:41 GMT+02:00 Jens Rehsack <[email protected]>:

Quoted 61 lines
Quoted 23 lines

Am 03.10.2015 um 20:37 schrieb Christopher Larson <[email protected]>:

Quoted 17 lines · Andrei Kholodnyi

populate_sdk fails with following message:
error: talloc-dev-2.1.1-r0 requires talloc = 2.1.1-r0

these packages are empty,remove them from the package list
---
meta-oe/recipes-support/talloc/talloc_2.1.1.bb | 5 +----

1 file changed, 1 insertion(+), 4 deletions(-)
meta-oe/recipes-support/talloc/talloc_2.1.1.bb +0 -0
index 89c390f..0c98bb6 100644
@@ -20,12 +20,9 @@ EXTRA_OECONF += "--disable-rpath \
                 --with-libiconv=${STAGING_DIR_HOST}${prefix}\
                "
 
Quoted 1 line

meta-oe/recipes-support/talloc/talloc_2.1.1.bb EXTRA_OECONF += "--disable-rpath \ · line 23

Quoted 1 line
meta-oe/recipes-support/talloc/talloc_2.1.1.bb +0 -1
-PACKAGES += "libtalloc libtalloc-dbg libtalloc-dev pytalloc

pytalloc-dbg

Quoted 11 lines

meta-oe/recipes-support/talloc/talloc_2.1.1.bb EXTRA_OECONF += "--disable-rpath \ · line 28

Quoted 9 lines

pytalloc-dev"
+PACKAGES = "libtalloc libtalloc-dbg libtalloc-dev pytalloc pytalloc-dbg pytalloc-dev"

#ALLOW_EMPTY_${PN} = "1"

meta-oe/recipes-support/talloc/talloc_2.1.1.bb +0 -3
-FILES_${PN} = ""
-FILES_${PN}-dev = ""
-FILES_${PN}-dbg = ""

Question, why does this use libtalloc as the package names rather than

the

Quoted 3 lines

default of talloc? In the common case of the debian bbclass inherited, they'll get renamed based on the library soname anyway. Also, overriding the PACKAGES list isn't ideal, since it means future changes to the

default

Quoted 1 line

value of PACKAGES will not be picked up here. Also, this packaging is

worse

Quoted 1 line

than default, as it doesn't have the -staticdev package.

In current situation you have to touch every recipe depending on talloc - not only in poky and meta-oe, also in any 3rd party layer.

I agree to the rename, but at a better time (e.g. when jethro has been settled).

Cheers
--
Jens Rehsack - [email protected]

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

Signature · 1 line
Believe is not enough, you must know