Bug 16313

Summary: License for i2c-tools bb file does not include LGPL 2.1
Product: [Build System, Metadata & Runtime] OE-Core Reporter: Terry Duncan <terry.s.duncan>
Component: devtools / tool chainAssignee: Sai Sneha <saisneha196>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: Medium+ CC: meta.mr.watcher, meta.watcher, randy.macleod, saisneha196
Version: unspecified   
Target Milestone: 6.1 M2   
Hardware: All   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: Don't know

Description Terry Duncan 2026-06-10 22:29:48 UTC
The i2c-tools package (with versions >4.0) is licensed under both GPL-2.0-or-later and LGPL-2.1-or-later (https://github.com/MLAB-project/i2c-tools/blob/master/README.md and COPYING.LGPL)

The .bb file for i2c-tools only includes GPL-2.0-or-later.
https://github.com/openembedded/openembedded-core/blob/master/meta/recipes-devtools/i2c-tools/i2c-tools_4.4.bb

This flags license conflicts with tools that trace dependencies of non-gpl compoents linking to /usr/lib/libi2c.so.0

Looking for the LICENSE in devtools to be updated to the correct license set.
Comment 1 Sai Sneha 2026-06-11 08:30:01 UTC
Hi, I would like to work on this bug
Comment 2 Sai Sneha 2026-06-11 08:47:38 UTC
Confirmed it. The i2c-tools upstream README explicitly states that libi2c is licensed under LGPL-2.1-or-later. The COPYING.LGPL file is present in the i2c-tools-4.4 tarball (md5: 4fbd65380cdd255951079008b364516c). Other build systems including buildroot, openWrt, and fedora already correctly reflect this dual license. The current oe-core recipe only references GPL-2.0-or-later and does not include COPYING.LGPL in LIC_FILES_CHKSUM.
Comment 3 Randy MacLeod 2026-06-11 14:48:13 UTC
Thanks Sia.
Fix on master , backport as needed.
Comment 4 Sai Sneha 2026-06-15 08:49:26 UTC
Hi randy, I have sent patch to the openembedded-core mailing list
Comment 5 Sai Sneha 2026-06-15 08:50:18 UTC
Hi randy, I have sent patch to the openembedded-core mailing list
Comment 6 Sai Sneha 2026-06-15 08:52:00 UTC
Apologies for the duplicate comment, there was a sending issue.
Comment 7 Randy MacLeod 2026-06-16 00:05:39 UTC
Sai,

NP on the dup.

Fix merged:
https://git.openembedded.org/openembedded-core/commit/?id=c2b1410faa150384562bada22c1c8f7c944c7951

If you're happy, please resolve as fixed.
Comment 8 Terry Duncan 2026-06-16 22:22:43 UTC
Thank you. This looks good.