All of lore.kernel.org
 help / color / mirror / Atom feed
* multilib SDK issue
@ 2018-02-28  9:30 ZhangXiao
  2018-03-01  2:13 ` Khem Raj
  0 siblings, 1 reply; 5+ messages in thread
From: ZhangXiao @ 2018-02-28  9:30 UTC (permalink / raw)
  To: openembedded-devel

Hi All,

With below settings on my local.conf, I get several errors when
extracting SDK:

Modify local.conf as the example of section 4.10.2.2 of
http://www.yoctoproject.org/docs/2.4.1/mega-manual/mega-manual.html#combining-multiple-versions-library-files-into-one-image

...
MACHINE = "qemux86-64"
require conf/multilib.conf
MULTILIBS = "multilib:lib32"
DEFAULTTUNE_virtclass-multilib-lib32 = "x86"
IMAGE_INSTALL_append = " lib32-glib-2.0"
..

# bitbake core-image-minimal -c populate_sdk

...
Transaction Summary
================================================================================
Install  416 Packages

Total size: 57 M
Installed size: 276 M
Downloading Packages:
Running transaction check
Transaction check succeeded.
Running transaction test
Error: Transaction check error:
  file /usr/include/gmp.h conflicts between attempted installs of
libgmp-dev-6.1.2-r0.core2_64 and lib32-libgmp-dev-6.1.2-r0.x86
  file /usr/bin/python3.5m-config conflicts between attempted installs
of python3-dev-3.5.4-r1.0.core2_64 and lib32-python3-dev-3.5.4-r1.0.x86
  file /usr/share/pkgconfig/xtrans.pc conflicts between attempted
installs of lib32-xtrans-dev-1:1.3.5-r0.x86 and
xtrans-dev-1:1.3.5-r0.core2_64

Error Summary
-------------

Any advices?

Thanks a lot!
Xiao


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: multilib SDK issue
  2018-02-28  9:30 multilib SDK issue ZhangXiao
@ 2018-03-01  2:13 ` Khem Raj
  2018-03-01  8:37   ` ZhangXiao
  2018-03-02  8:06   ` ZhangXiao
  0 siblings, 2 replies; 5+ messages in thread
From: Khem Raj @ 2018-03-01  2:13 UTC (permalink / raw)
  To: ZhangXiao, openembedded-devel

On 2/28/18 1:30 AM, ZhangXiao wrote:
> Hi All,
> 
> With below settings on my local.conf, I get several errors when
> extracting SDK:
> 
> Modify local.conf as the example of section 4.10.2.2 of
> http://www.yoctoproject.org/docs/2.4.1/mega-manual/mega-manual.html#combining-multiple-versions-library-files-into-one-image
> 
> ...
> MACHINE = "qemux86-64"
> require conf/multilib.conf
> MULTILIBS = "multilib:lib32"
> DEFAULTTUNE_virtclass-multilib-lib32 = "x86"
> IMAGE_INSTALL_append = " lib32-glib-2.0"
> ..
> 
> # bitbake core-image-minimal -c populate_sdk
> 
> ...
> Transaction Summary
> ================================================================================
> Install  416 Packages
> 
> Total size: 57 M
> Installed size: 276 M
> Downloading Packages:
> Running transaction check
> Transaction check succeeded.
> Running transaction test
> Error: Transaction check error:
>   file /usr/include/gmp.h conflicts between attempted installs of
> libgmp-dev-6.1.2-r0.core2_64 and lib32-libgmp-dev-6.1.2-r0.x86

this means we need to install gmp.h as multilib header during do_install
in recipe

e.g.

oe_multilib_header gmp.h

>   file /usr/bin/python3.5m-config conflicts between attempted installs
> of python3-dev-3.5.4-r1.0.core2_64 and lib32-python3-dev-3.5.4-r1.0.x86
>   file /usr/share/pkgconfig/xtrans.pc conflicts between attempted
> installs of lib32-xtrans-dev-1:1.3.5-r0.x86 and
> xtrans-dev-1:1.3.5-r0.core2_64
> 
> Error Summary
> -------------
> 
> Any advices?
> 
> Thanks a lot!
> Xiao
> 



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: multilib SDK issue
  2018-03-01  2:13 ` Khem Raj
@ 2018-03-01  8:37   ` ZhangXiao
  2018-03-02  8:06   ` ZhangXiao
  1 sibling, 0 replies; 5+ messages in thread
From: ZhangXiao @ 2018-03-01  8:37 UTC (permalink / raw)
  To: Khem Raj, openembedded-devel

Yes, thanks! "oe_multilib_header gmp.h" can resolve the head file conflict.

While any advices on the conflict "/usr/bin/python3.5m-config"?

Thanks
Xiao

在 2018年03月01日 10:13, Khem Raj 写道:
> On 2/28/18 1:30 AM, ZhangXiao wrote:
>> Hi All,
>>
>> With below settings on my local.conf, I get several errors when
>> extracting SDK:
>>
>> Modify local.conf as the example of section 4.10.2.2 of
>> http://www.yoctoproject.org/docs/2.4.1/mega-manual/mega-manual.html#combining-multiple-versions-library-files-into-one-image
>>
>> ...
>> MACHINE = "qemux86-64"
>> require conf/multilib.conf
>> MULTILIBS = "multilib:lib32"
>> DEFAULTTUNE_virtclass-multilib-lib32 = "x86"
>> IMAGE_INSTALL_append = " lib32-glib-2.0"
>> ..
>>
>> # bitbake core-image-minimal -c populate_sdk
>>
>> ...
>> Transaction Summary
>> ================================================================================
>> Install  416 Packages
>>
>> Total size: 57 M
>> Installed size: 276 M
>> Downloading Packages:
>> Running transaction check
>> Transaction check succeeded.
>> Running transaction test
>> Error: Transaction check error:
>>   file /usr/include/gmp.h conflicts between attempted installs of
>> libgmp-dev-6.1.2-r0.core2_64 and lib32-libgmp-dev-6.1.2-r0.x86
> 
> this means we need to install gmp.h as multilib header during do_install
> in recipe
> 
> e.g.
> 
> oe_multilib_header gmp.h
> 
>>   file /usr/bin/python3.5m-config conflicts between attempted installs
>> of python3-dev-3.5.4-r1.0.core2_64 and lib32-python3-dev-3.5.4-r1.0.x86
>>   file /usr/share/pkgconfig/xtrans.pc conflicts between attempted
>> installs of lib32-xtrans-dev-1:1.3.5-r0.x86 and
>> xtrans-dev-1:1.3.5-r0.core2_64
>>
>> Error Summary
>> -------------
>>
>> Any advices?
>>
>> Thanks a lot!
>> Xiao
>>
> 
> 


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: multilib SDK issue
  2018-03-01  2:13 ` Khem Raj
  2018-03-01  8:37   ` ZhangXiao
@ 2018-03-02  8:06   ` ZhangXiao
  2018-03-02 17:51     ` Mark Hatle
  1 sibling, 1 reply; 5+ messages in thread
From: ZhangXiao @ 2018-03-02  8:06 UTC (permalink / raw)
  To: Khem Raj, openembedded-devel

For the conflict of the config file, how about use "update-alternatives"
to avoid it?

Thanks
Xiao

在 2018年03月01日 10:13, Khem Raj 写道:
> On 2/28/18 1:30 AM, ZhangXiao wrote:
>> Hi All,
>>
>> With below settings on my local.conf, I get several errors when
>> extracting SDK:
>>
>> Modify local.conf as the example of section 4.10.2.2 of
>> http://www.yoctoproject.org/docs/2.4.1/mega-manual/mega-manual.html#combining-multiple-versions-library-files-into-one-image
>>
>> ...
>> MACHINE = "qemux86-64"
>> require conf/multilib.conf
>> MULTILIBS = "multilib:lib32"
>> DEFAULTTUNE_virtclass-multilib-lib32 = "x86"
>> IMAGE_INSTALL_append = " lib32-glib-2.0"
>> ..
>>
>> # bitbake core-image-minimal -c populate_sdk
>>
>> ...
>> Transaction Summary
>> ================================================================================
>> Install  416 Packages
>>
>> Total size: 57 M
>> Installed size: 276 M
>> Downloading Packages:
>> Running transaction check
>> Transaction check succeeded.
>> Running transaction test
>> Error: Transaction check error:
>>   file /usr/include/gmp.h conflicts between attempted installs of
>> libgmp-dev-6.1.2-r0.core2_64 and lib32-libgmp-dev-6.1.2-r0.x86
> 
> this means we need to install gmp.h as multilib header during do_install
> in recipe
> 
> e.g.
> 
> oe_multilib_header gmp.h
> 
>>   file /usr/bin/python3.5m-config conflicts between attempted installs
>> of python3-dev-3.5.4-r1.0.core2_64 and lib32-python3-dev-3.5.4-r1.0.x86
>>   file /usr/share/pkgconfig/xtrans.pc conflicts between attempted
>> installs of lib32-xtrans-dev-1:1.3.5-r0.x86 and
>> xtrans-dev-1:1.3.5-r0.core2_64
>>
>> Error Summary
>> -------------
>>
>> Any advices?
>>
>> Thanks a lot!
>> Xiao
>>
> 
> 


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: multilib SDK issue
  2018-03-02  8:06   ` ZhangXiao
@ 2018-03-02 17:51     ` Mark Hatle
  0 siblings, 0 replies; 5+ messages in thread
From: Mark Hatle @ 2018-03-02 17:51 UTC (permalink / raw)
  To: ZhangXiao, Khem Raj, openembedded-devel

On 3/2/18 2:06 AM, ZhangXiao wrote:
> For the conflict of the config file, how about use "update-alternatives"
> to avoid it?

This is my recommendation.  Rename the conflicting scripts to append the
'base_libdir' value, and then use the update-alternatives to install them.

--Mark

> Thanks
> Xiao
> 
> 在 2018年03月01日 10:13, Khem Raj 写道:
>> On 2/28/18 1:30 AM, ZhangXiao wrote:
>>> Hi All,
>>>
>>> With below settings on my local.conf, I get several errors when
>>> extracting SDK:
>>>
>>> Modify local.conf as the example of section 4.10.2.2 of
>>> http://www.yoctoproject.org/docs/2.4.1/mega-manual/mega-manual.html#combining-multiple-versions-library-files-into-one-image
>>>
>>> ...
>>> MACHINE = "qemux86-64"
>>> require conf/multilib.conf
>>> MULTILIBS = "multilib:lib32"
>>> DEFAULTTUNE_virtclass-multilib-lib32 = "x86"
>>> IMAGE_INSTALL_append = " lib32-glib-2.0"
>>> ..
>>>
>>> # bitbake core-image-minimal -c populate_sdk
>>>
>>> ...
>>> Transaction Summary
>>> ================================================================================
>>> Install  416 Packages
>>>
>>> Total size: 57 M
>>> Installed size: 276 M
>>> Downloading Packages:
>>> Running transaction check
>>> Transaction check succeeded.
>>> Running transaction test
>>> Error: Transaction check error:
>>>   file /usr/include/gmp.h conflicts between attempted installs of
>>> libgmp-dev-6.1.2-r0.core2_64 and lib32-libgmp-dev-6.1.2-r0.x86
>>
>> this means we need to install gmp.h as multilib header during do_install
>> in recipe
>>
>> e.g.
>>
>> oe_multilib_header gmp.h
>>
>>>   file /usr/bin/python3.5m-config conflicts between attempted installs
>>> of python3-dev-3.5.4-r1.0.core2_64 and lib32-python3-dev-3.5.4-r1.0.x86
>>>   file /usr/share/pkgconfig/xtrans.pc conflicts between attempted
>>> installs of lib32-xtrans-dev-1:1.3.5-r0.x86 and
>>> xtrans-dev-1:1.3.5-r0.core2_64
>>>
>>> Error Summary
>>> -------------
>>>
>>> Any advices?
>>>
>>> Thanks a lot!
>>> Xiao
>>>
>>
>>



^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2018-03-02 17:51 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-02-28  9:30 multilib SDK issue ZhangXiao
2018-03-01  2:13 ` Khem Raj
2018-03-01  8:37   ` ZhangXiao
2018-03-02  8:06   ` ZhangXiao
2018-03-02 17:51     ` Mark Hatle

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.