Bug 15331 - Warning on python-flit-core license when generating legal info
Summary: Warning on python-flit-core license when generating legal info
Status: RESOLVED FIXED
Alias: None
Product: buildroot
Classification: Unclassified
Component: Other (show other bugs)
Version: unspecified
Hardware: PC Linux
: P5 trivial
Target Milestone: ---
Assignee: Alexis Lothoré
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-02-10 10:13 UTC by Alexis Lothoré
Modified: 2023-02-10 15:52 UTC (History)
1 user (show)

See Also:
Host:
Target:
Build:


Attachments
Modified defconfig to reproduce the issue (666 bytes, application/octet-stream)
2023-02-10 10:13 UTC, Alexis Lothoré
Details

Note You need to log in before you can comment on or make changes to this bug.
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