Re: [OS-BUILD PATCH] redhat/Makefile: Fix RHEL8 python warning

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, May 21, 2020 at 11:39:32AM -0000, GitLab Bridge on behalf of prarit wrote:
> From: Prarit Bhargava <prarit@xxxxxxxxxx>
> 
> When building on a python2 system the following warning is displayed:
> 
> Processing /data/working-repos/kernel-ark/redhat/configs/kernel-x86_64-fedora.config ... done
> Processing /data/working-repos/kernel-ark/redhat/configs/kernel-x86_64-rhel.config ... done
> Processed config files are in /data/working-repos/kernel-ark/redhat/configs
> ERROR: your build environment is not compatible with RHEL8.
> To fix this, run:
> ln -s /usr/bin/python3 /usr/libexec/platform-python
> 
> Change the message to be distribution agnostic.
> 
> Signed-off-by: Prarit Bhargava <prarit@xxxxxxxxxx>
> ---
>  redhat/Makefile | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/redhat/Makefile b/redhat/Makefile
> index 1465469cab95..fc787adf9acc 100644
> --- a/redhat/Makefile
> +++ b/redhat/Makefile
> @@ -65,7 +65,7 @@ dist-python-check:
>  			echo "ERROR: Python 3 is needed." ; \
>  			exit 1; \
>  		fi; \
> -		echo "ERROR: your build environment is not compatible with RHEL8."; \
> +		echo "ERROR: your build environment is not compatible with this distribution."; \
>  		echo "To fix this, run:"; \
>  		echo "ln -s `which python3` /usr/libexec/platform-python"; \
>  		exit 1; \
> -- 
> 2.26.2
> _______________________________________________
> kernel mailing list -- kernel@xxxxxxxxxxxxxxxxxxxxxxx
> To unsubscribe send an email to kernel-leave@xxxxxxxxxxxxxxxxxxxxxxx
> Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
> List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
> List Archives: https://lists.fedoraproject.org/archives/list/kernel@xxxxxxxxxxxxxxxxxxxxxxx

Acked-by: Herton R. Krzesinski <herton@xxxxxxxxxx>

-- 
[]'s
Herton
_______________________________________________
kernel mailing list -- kernel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to kernel-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/kernel@xxxxxxxxxxxxxxxxxxxxxxx




[Index of Archives]     [Fedora General Discussion]     [Older Fedora Users Archive]     [Fedora Advisory Board]     [Fedora Security]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Mentors]     [Fedora Package Announce]     [Fedora Package Review]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Coolkey]     [Yum Users]     [Tux]     [Yosemite News]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [USB]     [Asterisk PBX]

  Powered by Linux