libselinux-python: Fix build error due to missing target config
PATCH 1/1 libselinux-python: Fix build error due to missing target config
This fixes the error below:
gcc: error: unrecognized command line option ‘-fmacro-prefix-map=/path/to/build/libselinux-python/3.0-r0=/usr/src/debug/libselinux-python/3.0-r0’
Without inheriting the config, supposedly a wrong compiler is used.
--- recipes-security/selinux/libselinux-python_3.0.bb | 2 ++ 1 file changed, 2 insertions(+)
recipes-security/selinux/libselinux-python_3.0.bb +2 -0
@@ -4,6 +4,8 @@ SRC_URI = "https://github.com/SELinuxProject/selinux/releases/download/${SELINUX require ${BPN}.inc +inherit python3targetconfig + LIC_FILES_CHKSUM = "file://LICENSE;md5=84b4d2c6ef954a2d4081e775a270d0d0" SRC_URI[md5sum] = "b387a66f087b6d97713570e85ec89d89"
Signature · 1 line
2.17.1
Hi Anatol,
I will confirm this against the other branches (dunfell and gatesgarth) but your patch doesn't appear to be against the current master branch (and it's unlikely one patch will apply to all branches). Can you send out specific patches against the head of tree for each branch you care about, please? Then I can get them merged for you.
Thanks,
-Joe.
Quoted 32 lines · [[yocto] [meta-selinux][dunfell][gatesgarth][master][PATCH] libselinux-python…
This fixes the error below:
gcc: error: unrecognized command line option ‘-fmacro-prefix-map=/path/to/build/libselinux-python/3.0-r0=/usr/src/debug/libselinux-python/3.0-r0’
Without inheriting the config, supposedly a wrong compiler is used.
Signed-off-by Anatol Belski <[email protected]>--- recipes-security/selinux/libselinux-python_3.0.bb | 2 ++ 1 file changed, 2 insertions(+)recipes-security/selinux/libselinux-python_3.0.bb +2
-0@@ -4,6 +4,8 @@ SRC_URI = "https://github.com/SELinuxProject/selinux/releases/download/${SELINUX require ${BPN}.inc +inherit python3targetconfig + LIC_FILES_CHKSUM = "file://LICENSE;md5=84b4d2c6ef954a2d4081e775a270d0d0" SRC_URI[md5sum] = "b387a66f087b6d97713570e85ec89d89"Signature · 1 line
2.17.1
Signature · 2 lines
-Joe MacDonald. :wq
Hi Joe,
thanks for the quick check. The patch applies fine to dunfell and gatesgarth, master has the changed recipe version in the bb name. I was about to rebase to master but pulling shows already did it. I was too slow :) thanks for the quick fix.
Regards
Anatol
Quoted 44 lines · Joe MacDonald
Hi Anatol,
I will confirm this against the other branches (dunfell and gatesgarth) but your patch doesn't appear to be against the current master branch (and it's unlikely one patch will apply to all branches). Can you send out specific patches against the head of tree for each branch you care about, please? Then I can get them merged for you.
Thanks,
-Joe.Quoted 30 lines · [[yocto] [meta-selinux][dunfell][gatesgarth][master][PATCH] libselinux-python…
This fixes the error below:
gcc: error: unrecognized command line option ‘-fmacro-prefix-map=/path/to/build/libselinux-python/3.0-r0=/usr/src/debug/libselinux-python/3.0-r0’
Without inheriting the config, supposedly a wrong compiler is used.
Signed-off-by Anatol Belski <[email protected]>--- recipes-security/selinux/libselinux-python_3.0.bb | 2 ++ 1 file changed, 2 insertions(+)recipes-security/selinux/libselinux-python_3.0.bb +2
-0@@ -4,6 +4,8 @@ SRC_URI = "https://github.com/SELinuxProject/selinux/releases/download/${SELINUX require ${BPN}.inc +inherit python3targetconfig + LIC_FILES_CHKSUM = "file://LICENSE;md5=84b4d2c6ef954a2d4081e775a270d0d0" SRC_URI[md5sum] = "b387a66f087b6d97713570e85ec89d89"Signature · 1 line
2.17.1
Quoted 6 lines · [Re: [yocto] [meta-selinux][dunfell][gatesgarth][master][PATCH]…
Hi Joe,
thanks for the quick check. The patch applies fine to dunfell and gatesgarth, master has the changed recipe version in the bb name. I was about to rebase to master but pulling shows already did it. I was too slow :) thanks for the quick fix.
No problem! I assumed you were working on a just-slightly-out-of-date master branch and my work tree already had your patch half applied when the 'git am' failed, so I just finished that part up.
I'll get to the other branches in a bit.
-Joe.
Quoted 47 lines
Regards
Anatol
Quoted 41 lines · Joe MacDonald
Hi Anatol,
I will confirm this against the other branches (dunfell and gatesgarth) but your patch doesn't appear to be against the current master branch (and it's unlikely one patch will apply to all branches). Can you send out specific patches against the head of tree for each branch you care about, please? Then I can get them merged for you.
Thanks,
-Joe.Quoted 27 lines · [[yocto] [meta-selinux][dunfell][gatesgarth][master][PATCH] libselinux-python…
This fixes the error below:
gcc: error: unrecognized command line option ‘-fmacro-prefix-map=/path/to/build/libselinux-python/3.0-r0=/usr/src/debug/libselinux-python/3.0-r0’
Without inheriting the config, supposedly a wrong compiler is used.
Signed-off-by Anatol Belski <[email protected]>--- recipes-security/selinux/libselinux-python_3.0.bb | 2 ++ 1 file changed, 2 insertions(+)recipes-security/selinux/libselinux-python_3.0.bb +2
-0@@ -4,6 +4,8 @@ SRC_URI = "https://github.com/SELinuxProject/selinux/releases/download/${SELINUX require ${BPN}.inc +inherit python3targetconfig + LIC_FILES_CHKSUM = "file://LICENSE;md5=84b4d2c6ef954a2d4081e775a270d0d0" SRC_URI[md5sum] = "b387a66f087b6d97713570e85ec89d89"Signature · 1 line
2.17.1
Signature · 2 lines
-Joe MacDonald. :wq
Quoted 11 lines · Joe MacDonald
Quoted 6 lines · [Re: [yocto] [meta-selinux][dunfell][gatesgarth][master][PATCH]…
Hi Joe,
thanks for the quick check. The patch applies fine to dunfell and gatesgarth, master has the changed recipe version in the bb name. I was about to rebase to master but pulling shows already did it. I was too slow :) thanks for the quick fix.
No problem! I assumed you were working on a just-slightly-out-of-date master branch and my work tree already had your patch half applied when the 'git am' failed, so I just finished that part up.
Hi Joe,
This patch doesn't need to be merged into master because I have fixed it in commit fb15056ff44318d7886fd0f68e2f6dba716e9be4.
//Yi
Quoted 50 lines
I'll get to the other branches in a bit.
-Joe.
Quoted 45 lines
Regards
Anatol
Quoted 40 lines · Joe MacDonald
Hi Anatol,
I will confirm this against the other branches (dunfell and gatesgarth) but your patch doesn't appear to be against the current master branch (and it's unlikely one patch will apply to all branches). Can you send out specific patches against the head of tree for each branch you care about, please? Then I can get them merged for you.
Thanks,
-Joe.Quoted 27 lines · [[yocto] [meta-selinux][dunfell][gatesgarth][master][PATCH] libselinux-python…
This fixes the error below:
gcc: error: unrecognized command line option ‘-fmacro-prefix-map=/path/to/build/libselinux-python/3.0-r0=/usr/src/debug/libselinux-python/3.0-r0’
Without inheriting the config, supposedly a wrong compiler is used.
Signed-off-by Anatol Belski <[email protected]>--- recipes-security/selinux/libselinux-python_3.0.bb | 2 ++ 1 file changed, 2 insertions(+)recipes-security/selinux/libselinux-python_3.0.bb +2
-0@@ -4,6 +4,8 @@ SRC_URI = "https://github.com/SELinuxProject/selinux/releases/download/${SELINUX require ${BPN}.inc +inherit python3targetconfig + LIC_FILES_CHKSUM = "file://LICENSE;md5=84b4d2c6ef954a2d4081e775a270d0d0" SRC_URI[md5sum] = "b387a66f087b6d97713570e85ec89d89"Signature · 1 line
2.17.1
Hi,
Quoted 15 lines · Yi Zhao
Quoted 11 lines · Joe MacDonald
Quoted 6 lines · [Re: [yocto] [meta-selinux][dunfell][gatesgarth][master][PATCH]…
Hi Joe,
thanks for the quick check. The patch applies fine to dunfell and gatesgarth, master has the changed recipe version in the bb name. I was about to rebase to master but pulling shows already did it. I was too slow :) thanks for the quick fix.
No problem! I assumed you were working on a just-slightly-out-of-date master branch and my work tree already had your patch half applied when the 'git am' failed, so I just finished that part up.
Quoted 4 lines
Hi Joe,
This patch doesn't need to be merged into master because I have fixed it in commit
fb15056ff44318d7886fd0f68e2f6dba716e9be4.
either way, a backport to dunfell and gatesgarth would be great to have then.
Thanks!
Anatol
Quoted 58 lines
//Yi
Quoted 53 lines
I'll get to the other branches in a bit.
-Joe.
Quoted 48 lines
Regards
Anatol
Quoted 43 lines · Joe MacDonald
Hi Anatol,
I will confirm this against the other branches (dunfell and gatesgarth) but your patch doesn't appear to be against the current master branch (and it's unlikely one patch will apply to all branches). Can you send out specific patches against the head of tree for each branch you care about, please? Then I can get them merged for you.
Thanks,
-Joe.Quoted 30 lines · [[yocto] [meta-selinux][dunfell][gatesgarth][master][PATCH] libselinux-python…
This fixes the error below:
gcc: error: unrecognized command line option ‘-fmacro-prefix-map=/path/to/build/libselinux-python/3.0-r0=/usr/src/debug/libselinux-python/3.0-r0’
Without inheriting the config, supposedly a wrong compiler is used.
Signed-off-by Anatol Belski <[email protected]>---
recipes-security/selinux/libselinux-python_3.0.bb | 2 ++1 file changed, 2 insertions(+)recipes-security/selinux/libselinux-python_3.0.bb +0
-0@@ -4,6 +4,8 @@ SRC_URI ="https://github.com/SELinuxProject/selinux/releases/download/${SELINUX
require ${BPN}.inc
recipes-security/selinux/libselinux-python_3.0.bb +2
-0+inherit python3targetconfig +
LIC_FILES_CHKSUM= "file://LICENSE;md5=84b4d2c6ef954a2d4081e775a270d0d0" SRC_URI[md5sum] = "b387a66f087b6d97713570e85ec89d89"Signature · 1 line
2.17.1