ros / meta-ros

OpenEmbedded Layers for ROS 1 and ROS 2
MIT License
391 stars 255 forks source link

scarthgap: license issue in build time #1208

Open jiaxshi opened 3 months ago

jiaxshi commented 3 months ago

Describe the bug Some recipes can not be built due to "do_create_spdx: Cannot find any text for license BSD"

There are multi-varaint of BSD license. Such as:

./BSD-2-Clause
./BSD-3-Clause
./BSD-4-Clause
./BSD-1-Clause
./BSD-3-Clause-Open-MPI

"BSD" is used for short in package.xml of some ROS projects. Then "LICENSE = "BSD" is used in generated recipes by superflore. And there 's not BSD license file which causes "Cannot find any text for license BSD" failure.

Known recipes: sensor-msgs-py image-transport image-transport-plugins cv-bridge

Temporary solution We can add bbappends to reset LICENSE one by one... or cp BSD-3-Clause BSD

robwoolley commented 4 days ago

Closing issue as resolved.

jiaxshi commented 4 days ago

Hi @robwoolley Maybe I missed something, what's the official solution for the license issue?

robwoolley commented 4 days ago

Sorry, it referenced a closed issue,.so I thought it had been resolved. I see that you created the issue to track the larger problem.

I will reopen it.

shr-project commented 4 days ago

https://github.com/ros/meta-ros/issues/1216#issuecomment-2342686881