lua: Fix install conflict when enable multilib.
PATCH 1/4 lua: Fix install conflict when enable multilib.
From: Wang Mingyu <[email protected]>
Error: Transaction test error:
file /usr/include/luaconf.h conflicts between attempted installs of lua-dev-5.4.4-r0.aarch64 and lib32-lua-dev-5.4.4-r0.armv7ahf_neon
--- meta/recipes-devtools/lua/lua_5.4.4.bb | 3 +++ 1 file changed, 3 insertions(+)
meta/recipes-devtools/lua/lua_5.4.4.bb +3 -0
@@ -57,3 +57,6 @@ do_install_ptest () { } BBCLASSEXTEND = "native nativesdk" + +inherit multilib_script +MULTILIB_SCRIPTS = "${PN}-dev:${includedir}/luaconf.h"
Signature · 1 line
2.34.1
PATCH 2/4 vala: Fix install conflict when enable multilib.
From: Wang Mingyu <[email protected]>
Error: Transaction test error:
file /usr/bin/vala-gen-introspect-0.56 conflicts between attempted installs of lib32-vala-0.56.3-r0.armv7ahf_neon and vala-0.56.3-r0.aarch64 file /usr/bin/vapigen-wrapper conflicts between attempted installs of lib32-vala-0.56.3-r0.armv7ahf_neon and vala-0.56.3-r0.aarch64
--- meta/recipes-devtools/vala/vala.inc | 3 +++ 1 file changed, 3 insertions(+)
meta/recipes-devtools/vala/vala.inc +3 -0
@@ -66,3 +66,6 @@ PACKAGE_PREPROCESS_FUNCS += "vala_package_preprocess" vala_package_preprocess () { sed -i -e 's:${RECIPE_SYSROOT}::g;' ${PKGD}${bindir_crossscripts}/vapigen-wrapper } + +inherit multilib_script +MULTILIB_SCRIPTS = "${PN}:${bindir}/crossscripts/vapigen-wrapper ${PN}:${bindir}/vala-gen-introspect-0.56"
Signature · 1 line
2.34.1
Re: [OE-core] [PATCH 2/4] vala: Fix install conflict when enable multilib.
Quoted 16 lines · wangmy
From: Wang Mingyu <[email protected]>
Error: Transaction test error:
file/usr/bin/vala-gen-introspect-0.56conflicts between attempted installs of lib32-vala-0.56.3-r0.armv7ahf_neon and vala-0.56.3-r0.aarch64 file/usr/bin/vapigen-wrapperconflicts between attempted installs of lib32-vala-0.56.3-r0.armv7ahf_neon and vala-0.56.3-r0.aarch64Signed-off-by Wang Mingyu <[email protected]>--- meta/recipes-devtools/vala/vala.inc | 3 +++ 1 file changed, 3 insertions(+)meta/recipes-devtools/vala/vala.inc +0
-0
meta/recipes-devtools/vala/vala.inc PACKAGE_PREPROCESS_FUNCS += "vala_package_preprocess" · line 71
Quoted 6 lines
meta/recipes-devtools/vala/vala.inc +3
-0@@ -66,3 +66,6 @@ PACKAGE_PREPROCESS_FUNCS += "vala_package_preprocess" vala_package_preprocess () { sed -i -e 's:${RECIPE_SYSROOT}::g;' ${PKGD}${bindir_crossscripts}/vapigen-wrapper } + +inherit multilib_script +MULTILIB_SCRIPTS = "${PN}:${bindir}/crossscripts/vapigen-wrapper ${PN}:${bindir}/vala-gen-introspect-0.56"
This looks a bit odd since crossscripts wouldn't be installed on the target?
Also, when posting these kinds of changes, can you show a diff of the two files please?
Sometimes we can tweak the files so that they can become the same but it is hard to know without context.
Cheers,
Richard
RE: [OE-core] [PATCH 2/4] vala: Fix install conflict when enable multilib.
Quoted 1 line
This looks a bit odd since crossscripts wouldn't be installed on the target?
I also feel a little strange. It seems that this file should not be installed on target. But I'm not sure, so I didn't delete this file from target
Quoted 1 line
Also, when posting these kinds of changes, can you show a diff of the two files
Compare the contents of the two files as follows:
diff -r armv7ahf-neon-pokymllib32-linux-gnueabi/lib32-vala/0.56.4-r0/image/usr/bin/vala-gen-introspect-0.56 cortexa57-poky-linux/vala/0.56.4-r0/image/usr/bin/vala-gen-introspect-0.56:
<libdir=/usr/lib
Quoted 1 line
libdir=/usr/lib64
--
Best Regards
---------------------------------------------------
Wang Mingyu
Development Dept.I
Nanjing Fujitsu Nanda Software Tech. Co., Ltd.(FNST) No. 6 Wenzhu Road, Nanjing, 210012, China
TEL: +86+25-86630566-8568
COINS: 79988548
FAX: +86+25-83317685
MAIL: [email protected]
http://www.fujitsu.com/cn/fnst/
Quoted 49 lines
-----Original Message-----
From: [email protected] <[email protected]> On Behalf Of Richard Purdie
Sent: Friday, February 24, 2023 6:16 PM
To: Wang, Mingyu/王 鸣瑜 <[email protected]>; [email protected]
Subject: Re: [OE-core] [PATCH 2/4] vala: Fix install conflict when enable multilib.Quoted 4 lines · wangmy
From: Wang Mingyu <[email protected]>
Error: Transaction test error:
file/usr/bin/vala-gen-introspect-0.56conflicts between attempted installsof lib32-vala-0.56.3-r0.armv7ahf_neon and vala-0.56.3-r0.aarch64
meta/recipes-devtools/vala/vala.inc PACKAGE_PREPROCESS_FUNCS +=
Quoted 14 lines
file
/usr/bin/vapigen-wrapperconflicts between attempted installs
of lib32-vala-0.56.3-r0.armv7ahf_neon and vala-0.56.3-r0.aarch64Signed-off-by Wang Mingyu <[email protected]>--- meta/recipes-devtools/vala/vala.inc | 3 +++ 1 file changed, 3 insertions(+)meta/recipes-devtools/vala/vala.inc +0
-0@@ -66,3 +66,6 @@ PACKAGE_PREPROCESS_FUNCS +="
vala_package_preprocess"meta/recipes-devtools/vala/vala.inc PACKAGE_PREPROCESS_FUNCS += "vala_package_preprocess"
Quoted 7 lines
meta/recipes-devtools/vala/vala.inc +0
-0vala_package_preprocess () { sed -i -e 's:${RECIPE_SYSROOT}::g;'${PKGD}${bindir_crossscripts}/vapigen-wrapper
}meta/recipes-devtools/vala/vala.inc +3
-0+ +inherit multilib_script +MULTILIB_SCRIPTS = "${PN}:${bindir}/crossscripts/vapigen-wrapper${PN}:${bindir}/vala-gen-introspect-0.56"
This looks a bit odd since crossscripts wouldn't be installed on the target?
Also, when posting these kinds of changes, can you show a diff of the two files please?
Sometimes we can tweak the files so that they can become the same but it is hard to know without context.
Cheers,
Richard
Re: [OE-core] [PATCH 2/4] vala: Fix install conflict when enable multilib.
You might want to look into why this item gets installed in the first place. Multilib as its name says is meant for multiple sets of libraries, but not executables.
Alex
Quoted 81 lines · wangmy
Quoted 2 lines
This looks a bit odd since crossscripts wouldn't be installed on the target?
I also feel a little strange. It seems that this file should not be installed on target. But I'm not sure, so I didn't delete this file from target
Quoted 1 line
Also, when posting these kinds of changes, can you show a diff of the two files
Compare the contents of the two files as follows:
diff -r armv7ahf-neon-pokymllib32-linux-gnueabi/lib32-vala/0.56.4-r0/image/usr/bin/vala-gen-introspect-0.56 cortexa57-poky-linux/vala/0.56.4-r0/image/usr/bin/vala-gen-introspect-0.56:<libdir=/usr/lib
Quoted 1 line
libdir=/usr/lib64
--
Best Regards
---------------------------------------------------
Wang Mingyu
Development Dept.I
Nanjing Fujitsu Nanda Software Tech. Co., Ltd.(FNST) No. 6 Wenzhu Road, Nanjing, 210012, China
TEL: +86+25-86630566-8568
COINS: 79988548
FAX: +86+25-83317685
MAIL: [email protected]
http://www.fujitsu.com/cn/fnst/Quoted 43 lines
-----Original Message-----
From: [email protected] <[email protected]> On Behalf Of Richard Purdie
Sent: Friday, February 24, 2023 6:16 PM
To: Wang, Mingyu/王 鸣瑜 <[email protected]>; [email protected]
Subject: Re: [OE-core] [PATCH 2/4] vala: Fix install conflict when enable multilib.Quoted 4 lines · wangmy
From: Wang Mingyu <[email protected]>
Error: Transaction test error:
file/usr/bin/vala-gen-introspect-0.56conflicts between attempted installsof lib32-vala-0.56.3-r0.armv7ahf_neon and vala-0.56.3-r0.aarch64
meta/recipes-devtools/vala/vala.inc PACKAGE_PREPROCESS_FUNCS +=
Quoted 14 lines
file
/usr/bin/vapigen-wrapperconflicts between attempted installs
of lib32-vala-0.56.3-r0.armv7ahf_neon and vala-0.56.3-r0.aarch64Signed-off-by Wang Mingyu <[email protected]>--- meta/recipes-devtools/vala/vala.inc | 3 +++ 1 file changed, 3 insertions(+)meta/recipes-devtools/vala/vala.inc +0
-0@@ -66,3 +66,6 @@ PACKAGE_PREPROCESS_FUNCS +="
vala_package_preprocess"meta/recipes-devtools/vala/vala.inc PACKAGE_PREPROCESS_FUNCS += "vala_package_preprocess"
Quoted 7 lines
meta/recipes-devtools/vala/vala.inc +0
-0vala_package_preprocess () { sed -i -e 's:${RECIPE_SYSROOT}::g;'${PKGD}${bindir_crossscripts}/vapigen-wrapper
}meta/recipes-devtools/vala/vala.inc +3
-0+ +inherit multilib_script +MULTILIB_SCRIPTS = "${PN}:${bindir}/crossscripts/vapigen-wrapper${PN}:${bindir}/vala-gen-introspect-0.56"
This looks a bit odd since crossscripts wouldn't be installed on the target?
Also, when posting these kinds of changes, can you show a diff of the two files please?
Quoted 6 lines
Sometimes we can tweak the files so that they can become the same but it is hard to know without context.
Cheers,
Richard
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#177774): https://lists.openembedded.org/g/openembedded-core/message/177774
Mute This Topic: https://lists.openembedded.org/mt/97198850/1686489
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-
RE: [OE-core] [PATCH 2/4] vala: Fix install conflict when enable multilib.
In reply to Richard PurdieFor the solution to this problem, can I delete this file from the target?
--
Best Regards
---------------------------------------------------
Wang Mingyu
Development Dept.I
Nanjing Fujitsu Nanda Software Tech. Co., Ltd.(FNST) No. 6 Wenzhu Road, Nanjing, 210012, China
TEL: +86+25-86630566-8568
COINS: 79988548
FAX: +86+25-83317685
MAIL: [email protected]
http://www.fujitsu.com/cn/fnst/
Quoted 49 lines
-----Original Message-----
From: [email protected] <[email protected]> On Behalf Of Richard Purdie
Sent: Friday, February 24, 2023 6:16 PM
To: Wang, Mingyu/王 鸣瑜 <[email protected]>; [email protected]
Subject: Re: [OE-core] [PATCH 2/4] vala: Fix install conflict when enable multilib.Quoted 4 lines · wangmy
From: Wang Mingyu <[email protected]>
Error: Transaction test error:
file/usr/bin/vala-gen-introspect-0.56conflicts between attempted installsof lib32-vala-0.56.3-r0.armv7ahf_neon and vala-0.56.3-r0.aarch64
meta/recipes-devtools/vala/vala.inc PACKAGE_PREPROCESS_FUNCS +=
Quoted 14 lines
file
/usr/bin/vapigen-wrapperconflicts between attempted installs
of lib32-vala-0.56.3-r0.armv7ahf_neon and vala-0.56.3-r0.aarch64Signed-off-by Wang Mingyu <[email protected]>--- meta/recipes-devtools/vala/vala.inc | 3 +++ 1 file changed, 3 insertions(+)meta/recipes-devtools/vala/vala.inc +0
-0@@ -66,3 +66,6 @@ PACKAGE_PREPROCESS_FUNCS +="
vala_package_preprocess"meta/recipes-devtools/vala/vala.inc PACKAGE_PREPROCESS_FUNCS += "vala_package_preprocess"
Quoted 7 lines
meta/recipes-devtools/vala/vala.inc +0
-0vala_package_preprocess () { sed -i -e 's:${RECIPE_SYSROOT}::g;'${PKGD}${bindir_crossscripts}/vapigen-wrapper
}meta/recipes-devtools/vala/vala.inc +3
-0+ +inherit multilib_script +MULTILIB_SCRIPTS = "${PN}:${bindir}/crossscripts/vapigen-wrapper${PN}:${bindir}/vala-gen-introspect-0.56"
This looks a bit odd since crossscripts wouldn't be installed on the target?
Also, when posting these kinds of changes, can you show a diff of the two files please?
Sometimes we can tweak the files so that they can become the same but it is hard to know without context.
Cheers,
Richard
Re: [OE-core] [PATCH 2/4] vala: Fix install conflict when enable multilib.
Quoted 1 line · wangmy
For the solution to this problem, can I delete this file from the target?
This looks like a packaging or dependencies problem, so before you act, you need to investigate why these files get installed, and whether you need two multilib copies of them.
Alex
PATCH 3/4 bash: Fix install conflict when enable multilib.
In reply to [email protected]From: Wang Mingyu <[email protected]>
Error: Transaction test error:
file /usr/bin/bashbug conflicts between attempted installs of lib32-bash-bashbug-5.2.15-r0.armv7ahf_neon and bash-bashbug-5.2.15-r0.aarch64
--- meta/recipes-extended/bash/bash_5.2.15.bb | 3 +++ 1 file changed, 3 insertions(+)
meta/recipes-extended/bash/bash_5.2.15.bb +3 -0
@@ -20,3 +20,6 @@ DEBUG_OPTIMIZATION:append:armv4 = " ${@bb.utils.contains('TUNE_CCARGS', '-mthumb DEBUG_OPTIMIZATION:append:armv5 = " ${@bb.utils.contains('TUNE_CCARGS', '-mthumb', '-fomit-frame-pointer', '', d)}" BBCLASSEXTEND = "nativesdk" + +inherit multilib_script +MULTILIB_SCRIPTS = "${PN}-bashbug:${bindir}/bashbug"
Signature · 1 line
2.34.1
PATCH 4/4 vala: Fix install conflict when enable multilib.
In reply to [email protected]From: Wang Mingyu <[email protected]>
Error: Transaction test error:
file /usr/bin/padsp conflicts between attempted installs of lib32-pulseaudio-misc-16.1-r0.armv7ahf_neon and pulseaudio-misc-16.1-r0.aarch64
--- meta/recipes-multimedia/pulseaudio/pulseaudio_16.1.bb | 3 +++ 1 file changed, 3 insertions(+)
meta/recipes-multimedia/pulseaudio/pulseaudio_16.1.bb +3 -0
@@ -8,3 +8,6 @@ SRC_URI = "http://freedesktop.org/software/pulseaudio/releases/${BP}.tar.xz \ " SRC_URI[sha256sum] = "8eef32ce91d47979f95fd9a935e738cd7eb7463430dabc72863251751e504ae4" UPSTREAM_CHECK_REGEX = "pulseaudio-(?P<pver>\d+(\.(?!99)\d+)+)\.tar" + +inherit multilib_script +MULTILIB_SCRIPTS = "${PN}-misc:${bindir}/padsp"
Signature · 1 line
2.34.1