Re: [OE-core] [PATCH] sanity.bbclass: Lower the length of TMPDIR limit to 400

2024-12-30 Thread Alexander Kanavin via lists.openembedded.org
I don't object to the fix, I just want to point out that this seems to deal with the unfortunate case of "C programmer's disease": C Programmer's Disease: n. The tendency of the undisciplined C programmer to set arbitrary but supposedly generous static limits on table sizes (defined, if you're lu

[OE-core] [PATCH] sanity.bbclass: Lower the length of TMPDIR limit to 400

2024-12-29 Thread Changqing Li via lists.openembedded.org
From: Changqing Li When TMPDIR has length 410, bitbake uninative-tarball will fail at do_populate_sdk with error: Failed to open backup database: "TMPDIR/work/x86_64-nativesdk-pokysdk-linux/uninative-tarball/1.0/sdk/image/var/lib/dnf/history.sqlite" sqlite3 has a hardcode max pathname limit 512