[oe] mesa depending on samba or samba depending on extern talloc?

Khem Raj raj.khem at gmail.com
Tue Dec 21 15:11:13 UTC 2010


On (21/12/10 14:35), Martin Jansa wrote:
> On 2010-10-20 I've pushed newer mesa-7.9
> http://git.openembedded.org/cgit.cgi/openembedded/commit/?id=30a3ea891d4511059a51882674f33aff2dddb96e
> which depends on talloc
> http://git.openembedded.org/cgit.cgi/openembedded/commit/?id=fabce288e40037d28c70f0f034185176f85e8664
> and separate talloc recipe (because building whole samba just to provide talloc for mesa seems wrong
> and samba produced ICE before khem's fix) 
> http://git.openembedded.org/cgit.cgi/openembedded/commit/?id=afce52663d6b5b79c097136fa794dd3f76a4afff
> 
> Today I noticed, that usr/lib/pkgconfig/talloc.pc from talloc recipe was enough for mesa to compile, 
> but because there was no libtalloc.so link it wasn't used in the end (as ldd confirms).
> 
> so talloc stages:
> bitbake at jama ~ $ ll tmpdir-shr/sysroots/armv4t-oe-linux-gnueabi/usr/lib/libtalloc.*
> -rwxr-xr-x 1 bitbake bitbake  32K Dec 21 13:30 tmpdir-shr/sysroots/armv4t-oe-linux-gnueabi/usr/lib/libtalloc.a
> -rwxr-xr-x 1 bitbake bitbake  73K Dec 21 13:30 tmpdir-shr/sysroots/armv4t-oe-linux-gnueabi/usr/lib/libtalloc.so.2.0.1
> bitbake at jama ~ $ ll tmpdir-shr/sysroots/armv4t-oe-linux-gnueabi/usr/lib/pkgconfig/talloc.pc
> -rw-r--r-- 1 bitbake bitbake 251 Dec 21 13:30 tmpdir-shr/sysroots/armv4t-oe-linux-gnueabi/usr/lib/pkgconfig/talloc.pc
> 
> samba adds:
> bitbake at jama ~ $ ll tmpdir-shr/sysroots/armv4t-oe-linux-gnueabi/usr/lib/libtalloc.*
> lrwxrwxrwx 1 bitbake bitbake   14 Dec 14 13:33 tmpdir-shr/sysroots/armv4t-oe-linux-gnueabi/usr/lib/libtalloc.so -> libtalloc.so.1
> -rwxr-xr-x 1 bitbake bitbake 123K Dec 14 13:33 tmpdir-shr/sysroots/armv4t-oe-linux-gnueabi/usr/lib/libtalloc.so.1
> 
> now for sure I don't want to install whole samba on target (just for libtalloc) so I have few options
> 
> 1) fix talloc to install libtalloc.so -> libtalloc.so.2.0.1 (conflicts with samba in sysroot)
> 2a) move libtalloc to separate package in samba recipe and make mesa depending on samba
> 2b) move libtalloc to separate package in samba recipe in case someone builds 
>     it before mesa, but still depend only on fixed talloc
> 3) fix talloc + force samba build to use already installed libtalloc instead of building own version
> 
> Option 3) looks best, but I'm not sure how tightly samba depends on talloc 
> and don't have time to test all samba versions we currently have
> (3.0.23c, 3.0.34, 3.2.15, 3.3.0, 3.3.9, 3.5.6), so 2b) looks as easier fix.
> 
> CCed 2 samba maintainers (wrt MAINTAINERS file) or if there is someone who cares about samba
> recipes: can you clean recipes/samba a bit and provide some feedback on talloc issue?

I think its the same problem as described here 
http://lists-archives.org/samba/39218-re-re-libtalloc-on-samba-3-2-0.html

I think disabling the use of shared libs would be an ok solutions to. Try
that out.

> 
> Regards,
> 
> -- 
> Martin 'JaMa' Jansa     jabber: Martin.Jansa at gmail.com
> 
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel at lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel




More information about the Openembedded-devel mailing list