Skip to contentSkip to conversation

eglibc: Let eglibc-extra-nss-dev exist as empty package

PATCH In review Khem Raj 3 participants 4 messages Apr 2, 2013

lore
Share & tools
lore

Khem Raj

author
#0 lore raw

PATCH 1/1 eglibc: Let eglibc-extra-nss-dev exist as empty package

eglibc-extra-nss-dev is a dependency for libc6-dev but the package is empty and is not created as a result target install of libc6-dev fails. This will create an empty package

[Yocto Bug #4168]

---
 meta/recipes-core/eglibc/eglibc-package.inc |    4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
meta/recipes-core/eglibc/eglibc-package.inc +3 -1
index 88a00a4..ca0cc4c 100644
@@ -17,7 +17,9 @@ python __anonymous () {
 # Set this to zero if you don't want ldconfig in the output package
 USE_LDCONFIG ?= "1"
 
-PACKAGES = "${PN}-dbg catchsegv sln nscd ldd ${PN}-utils eglibc-thread-db ${PN}-pic libcidn libmemusage libsegfault ${PN}-pcprofile libsotruss ${PN} eglibc-extra-nss ${PN}-dev ${PN}-staticdev ${PN}-doc"
+PACKAGES = "${PN}-dbg catchsegv sln nscd ldd ${PN}-utils eglibc-thread-db ${PN}-pic libcidn libmemusage libsegfault ${PN}-pcprofile libsotruss ${PN} eglibc-extra-nss ${PN}-dev ${PN}-staticdev ${PN}-doc eglibc-extra-nss-dev"
+
+ALLOW_EMPTY_eglibc-extra-nss-dev  = "1"
 
 # The ld.so in this eglibc supports the GNU_HASH
 RPROVIDES_${PN} = "glibc rtld(GNU_HASH)"
Signature · 1 line
1.7.9.5
#1 lore raw
Quoted 16 lines · Khem Raj

eglibc-extra-nss-dev is a dependency for libc6-dev but the package is empty and is not created as a result target install of libc6-dev fails. This will create an empty package

[Yocto Bug #4168]

---
 meta/recipes-core/eglibc/eglibc-package.inc |    4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
meta/recipes-core/eglibc/eglibc-package.inc +0 -0
index 88a00a4..ca0cc4c 100644

meta/recipes-core/eglibc/eglibc-package.inc python __anonymous () { · line 22

Quoted 7 lines
meta/recipes-core/eglibc/eglibc-package.inc +3 -1
@@ -17,7 +17,9 @@ python __anonymous () {
 # Set this to zero if you don't want ldconfig in the output package
 USE_LDCONFIG ?= "1"
 
-PACKAGES = "${PN}-dbg catchsegv sln nscd ldd ${PN}-utils eglibc-thread-db ${PN}-pic libcidn libmemusage libsegfault ${PN}-pcprofile libsotruss ${PN} eglibc-extra-nss ${PN}-dev ${PN}-staticdev ${PN}-doc"
+PACKAGES = "${PN}-dbg catchsegv sln nscd ldd ${PN}-utils eglibc-thread-db ${PN}-pic libcidn libmemusage libsegfault ${PN}-pcprofile libsotruss ${PN} eglibc-extra-nss ${PN}-dev ${PN}-staticdev ${PN}-doc eglibc-extra-nss-dev"
+
+ALLOW_EMPTY_eglibc-extra-nss-dev  = "1"

As discussed in the bug, I think this is an issue with smart erroring on recommends which it shouldn't do. More investigation/discussion therefore needed as this patch just fixes one issue and there will be others.

Cheers,

Richard

author
#2 lore raw
Quoted 20 lines · Richard Purdie
Quoted 19 lines · Khem Raj

eglibc-extra-nss-dev is a dependency for libc6-dev but the package is empty and is not created as a result target install of libc6-dev fails. This will create an empty package

[Yocto Bug #4168]

---
meta/recipes-core/eglibc/eglibc-package.inc | 4 +++-

1 file changed, 3 insertions(+), 1 deletion(-)
meta/recipes-core/eglibc/eglibc-package.inc +0 -0
index 88a00a4..ca0cc4c 100644
@@ -17,7 +17,9 @@ python __anonymous () {
 # Set this to zero if you don't want ldconfig in the output package

USE_LDCONFIG ?= "1"

Quoted 10 lines

meta/recipes-core/eglibc/eglibc-package.inc python __anonymous () { · line 22

Quoted 4 lines
meta/recipes-core/eglibc/eglibc-package.inc +3 -1
-PACKAGES = "${PN}-dbg catchsegv sln nscd ldd ${PN}-utils eglibc-thread-db ${PN}-pic libcidn libmemusage libsegfault ${PN}-pcprofile libsotruss ${PN} eglibc-extra-nss ${PN}-dev ${PN}-staticdev ${PN}-doc"
+PACKAGES = "${PN}-dbg catchsegv sln nscd ldd ${PN}-utils eglibc-thread-db ${PN}-pic libcidn libmemusage libsegfault ${PN}-pcprofile libsotruss ${PN} eglibc-extra-nss ${PN}-dev ${PN}-staticdev ${PN}-doc eglibc-extra-nss-dev"
+
+ALLOW_EMPTY_eglibc-extra-nss-dev  = "1"

As discussed in the bug, I think this is an issue with smart erroring on recommends which it shouldn't do. More investigation/discussion therefore needed as this patch just fixes one issue and there will be others.

I agree. If its smart issue lets fix smart instead.

Quoted 4 lines

Cheers,

Richard

#3 lore raw
Quoted 34 lines · Khem Raj
Quoted 20 lines · Richard Purdie
Quoted 19 lines · Khem Raj

eglibc-extra-nss-dev is a dependency for libc6-dev but the package is empty and is not created as a result target install of libc6-dev fails. This will create an empty package

[Yocto Bug #4168]

---
meta/recipes-core/eglibc/eglibc-package.inc | 4 +++-

1 file changed, 3 insertions(+), 1 deletion(-)
meta/recipes-core/eglibc/eglibc-package.inc +0 -0
index 88a00a4..ca0cc4c 100644
@@ -17,7 +17,9 @@ python __anonymous () {
 # Set this to zero if you don't want ldconfig in the output package

USE_LDCONFIG ?= "1"

Quoted 10 lines

meta/recipes-core/eglibc/eglibc-package.inc python __anonymous () { · line 22

Quoted 4 lines
meta/recipes-core/eglibc/eglibc-package.inc +3 -1
-PACKAGES = "${PN}-dbg catchsegv sln nscd ldd ${PN}-utils eglibc-thread-db ${PN}-pic libcidn libmemusage libsegfault ${PN}-pcprofile libsotruss ${PN} eglibc-extra-nss ${PN}-dev ${PN}-staticdev ${PN}-doc"
+PACKAGES = "${PN}-dbg catchsegv sln nscd ldd ${PN}-utils eglibc-thread-db ${PN}-pic libcidn libmemusage libsegfault ${PN}-pcprofile libsotruss ${PN} eglibc-extra-nss ${PN}-dev ${PN}-staticdev ${PN}-doc eglibc-extra-nss-dev"
+
+ALLOW_EMPTY_eglibc-extra-nss-dev  = "1"

As discussed in the bug, I think this is an issue with smart erroring on recommends which it shouldn't do. More investigation/discussion therefore needed as this patch just fixes one issue and there will be others.

Quoted 1 line

I agree. If its smart issue lets fix smart instead.

Bug 3723 - smart: Performance enhancement for attemptonly and complementary installs

The purpose of this bug is to fix recommends processing to deal with failures gracefully. It should simply detect the failure and then back off the one item, but continue the install progress.

--Mark

Quoted 11 lines
Quoted 4 lines

Cheers,

Richard

_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core