Skip to contentSkip to conversation

eglibc: fix packaging of some of nativesdk packages

PATCH Martin Jansa 3 participants 3 messages Sep 22, 2011 – Sep 23, 2011

lore
Share & tools
lore
#0 lore raw

Hi,

after this patch PKGSUFFIX is probably evaluated too late and this:

# PREFERRED_PROVIDER_glibc-thread-db=eglibc-thread-db PREFERRED_PROVIDER_glibc-thread-db="eglibc-thread-db"
# RPROVIDES_eglibc-thread-db${PKGSUFFIX}=glibc-thread-db${PKGSUFFIX} RPROVIDES_eglibc-thread-db="glibc-thread-db"

doesn't seem to work as expected and gdb pulls whole external-csl-toolchain as glibc-thread-db provider for

RRECOMMENDS_gdb_append_linux-gnueabi = " glibc-thread-db "

and btw:
ERROR: external-poky-toolchain: Recipe file does not have license file information (LIC_FILES_CHKSUM)
ERROR: Licensing Error: LIC_FILES_CHKSUM does not match, please fix

and sign of this behavior is also qemu-native pulled to build and warnings like this also for virtual/libc virtual/linux-libc-headers

ERROR: Multiple .bb files are due to be built which each provide virtual/libiconv (/OE/shr-core/openembedded-core/meta/recipes-core/eglibc/eglibc_2.13.bb
/OE/shr-core/openembedded-core/meta/recipes-core/meta/external-csl-toolchain_2008q3-72.bb).

Regards,

Signature · 1 line
Martin 'JaMa' Jansa     jabber: [email protected]
#1 lore raw
Quoted 18 lines · Martin Jansa

Hi,

after this patch PKGSUFFIX is probably evaluated too late and this:

# PREFERRED_PROVIDER_glibc-thread-db=eglibc-thread-db PREFERRED_PROVIDER_glibc-thread-db="eglibc-thread-db"
# RPROVIDES_eglibc-thread-db${PKGSUFFIX}=glibc-thread-db${PKGSUFFIX} RPROVIDES_eglibc-thread-db="glibc-thread-db"

doesn't seem to work as expected and gdb pulls whole external-csl-toolchain as glibc-thread-db provider for

RRECOMMENDS_gdb_append_linux-gnueabi = " glibc-thread-db "

and btw:
ERROR: external-poky-toolchain: Recipe file does not have license file information (LIC_FILES_CHKSUM)
ERROR: Licensing Error: LIC_FILES_CHKSUM does not match, please fix

Quoted 6 lines

and sign of this behavior is also qemu-native pulled to build and warnings like this also for virtual/libc virtual/linux-libc-headers

ERROR: Multiple .bb files are due to be built which each provide virtual/libiconv (/OE/shr-core/openembedded-core/meta/recipes-core/eglibc/eglibc_2.13.bb
/OE/shr-core/openembedded-core/meta/recipes-core/meta/external-csl-toolchain_2008q3-72.bb).

Agreed, there are problems here. I'm short on time and wanted to unbreak master so I reverted the patch.

Cheers,

Richard

#2 lore raw
In reply to Martin Jansa
Quoted 8 lines · Martin Jansa

Hi,

after this patch PKGSUFFIX is probably evaluated too late and this:

# PREFERRED_PROVIDER_glibc-thread-db=eglibc-thread-db PREFERRED_PROVIDER_glibc-thread-db="eglibc-thread-db"
# RPROVIDES_eglibc-thread-db${PKGSUFFIX}=glibc-thread-db${PKGSUFFIX} RPROVIDES_eglibc-thread-db="glibc-thread-db"

The strange thing is that if I remove the PKGSUFFIX lines for eglibc-thread-db/eglibc-extra-nss, and put the following lines in, everyghing is working for me.

RPROVIDES_eglibc-extra-nss = "glibc-extra-nss" RPROVIDES_eglibc-thread-db = "glibc-thread-db" RPROVIDES_eglibc-extra-nss-nativesdk = "glibc-extra-nss-nativesdk" RPROVIDES_eglibc-thread-db-nativesdk = "glibc-thread-db-nativesdk"

Also the following lines seem to work:

RPROVIDES_${PN}-extra-nss = "glibc${PKGSUFFIX}-extra-nss" RPROVIDES_${PN}-thread-db = "glibc${PKGSUFFIX}-thread-db"

Could you please test that it works for you?

Quoted 25 lines

doesn't seem to work as expected and gdb pulls whole external-csl-toolchain as glibc-thread-db provider for

RRECOMMENDS_gdb_append_linux-gnueabi = " glibc-thread-db "

and btw:
ERROR: external-poky-toolchain: Recipe file does not have license file information (LIC_FILES_CHKSUM)
ERROR: Licensing Error: LIC_FILES_CHKSUM does not match, please fix

and sign of this behavior is also qemu-native pulled to build and warnings like this also for virtual/libc virtual/linux-libc-headers

ERROR: Multiple .bb files are due to be built which each provide virtual/libiconv (/OE/shr-core/openembedded-core/meta/recipes-core/eglibc/eglibc_2.13.bb
/OE/shr-core/openembedded-core/meta/recipes-core/meta/external-csl-toolchain_2008q3-72.bb).

Regards,

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