Bug 15331

Summary: Warning on python-flit-core license when generating legal info
Product: buildroot Reporter: Alexis Lothoré <alexis.lothore>
Component: OtherAssignee: Alexis Lothoré <alexis.lothore>
Status: RESOLVED FIXED    
Severity: trivial CC: buildroot
Priority: P5    
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Linux   
Host: Target:
Build:
Attachments: Modified defconfig to reproduce the issue

Description Alexis Lothoré 2023-02-10 10:13:15 UTC
Created attachment 9506 [details]
Modified defconfig to reproduce the issue

The legal-info target emits a warning on python-flit-core: 
WARNING: python-flit-core-3.8.0: cannot save license (HOST_PYTHON_FLIT_CORE_LICENSE_FILES not defined)

Steps to reproduce:
- clone buildroot
- make qemu_x86_64_defconfig
- in menuconfig, enable python3, a python package having flit as setup type (e.g.: argon2_cffi)
- make legal-info 

Host OS : Archlinux (Linux arch-bootlin-alexis 6.1.9-arch1-2 #1 SMP PREEMPT_DYNAMIC Fri, 03 Feb 2023 18:49:53 +0000 x86_64 GNU/Linux)
Buildroot version : master (e2fd606b91784ced64c7312e02fcbf95f3e736d6)
Comment 1 Alexis Lothoré 2023-02-10 10:40:46 UTC
Proposed patch: https://lists.buildroot.org/pipermail/buildroot/2023-February/661800.html