From: "Anatol Belski" <anbelski@linux.microsoft.com>
To: Joe MacDonald <joe@deserted.net>
Cc: yocto@yoctoproject.org, yi.zhao@windriver.com
Subject: Re: [yocto] [meta-selinux][dunfell][gatesgarth][master][PATCH] libselinux-python: Fix build error due to missing target config
Date: Tue, 9 Mar 2021 14:53:15 +0100 [thread overview]
Message-ID: <02b457c2-5719-ab43-8f23-e414aadff4d1@linux.microsoft.com> (raw)
In-Reply-To: <20210309130043.GA9162@deserted.net>
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
On 3/9/2021 2:00 PM, Joe MacDonald wrote:
> 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.
>
> [[yocto] [meta-selinux][dunfell][gatesgarth][master][PATCH] libselinux-python: Fix build error due to missing target config] On 21.03.09 (Tue 11:55) Anatol Belski wrote:
>
>> 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 <anbelski@linux.microsoft.com>
>> ---
>> recipes-security/selinux/libselinux-python_3.0.bb | 2 ++
>> 1 file changed, 2 insertions(+)
>>
>> diff --git a/recipes-security/selinux/libselinux-python_3.0.bb b/recipes-security/selinux/libselinux-python_3.0.bb
>> index 2b5438d..3c03df1 100644
>> --- a/recipes-security/selinux/libselinux-python_3.0.bb
>> +++ b/recipes-security/selinux/libselinux-python_3.0.bb
>> @@ -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"
>> --
>> 2.17.1
>>
>>
>>
>
next prev parent reply other threads:[~2021-03-09 13:53 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-03-09 11:55 [meta-selinux][dunfell][gatesgarth][master][PATCH] libselinux-python: Fix build error due to missing target config Anatol Belski
2021-03-09 13:00 ` [yocto] " Joe MacDonald
2021-03-09 13:53 ` Anatol Belski [this message]
2021-03-09 15:32 ` Joe MacDonald
2021-03-10 5:30 ` Yi Zhao
2021-03-10 11:14 ` Anatol Belski
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=02b457c2-5719-ab43-8f23-e414aadff4d1@linux.microsoft.com \
--to=anbelski@linux.microsoft.com \
--cc=joe@deserted.net \
--cc=yi.zhao@windriver.com \
--cc=yocto@yoctoproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.