[Buildroot] [PATCH] package/avrdude: disable Python support to fix build issues

Peter Korsgaard peter at korsgaard.com
Wed Sep 3 16:25:57 UTC 2025


>>>>> "Thomas" == Thomas Petazzoni via buildroot <buildroot at buildroot.org> writes:

 > The build of avrdude sometimes fails with:
 > avrdude: installs files in /home/autobuild/autobuild/instance-1/output-1/target//home/autobuild/autobuild/instance-1/output-1

 > This is due to an issue in the installation logic for the Python
 > code. However, our avrdude.mk doesn't explicitly support building
 > avrdude's Python support, so it's really only by luck (or lack
 > thereof) that sometimes host-swig and python3 end up built before
 > avrdude, causing avrdude to build its Python support, which installs
 > at the wrong location.

 > In order to address this, we add a small patch, submitted upstream,
 > that allows to explicitly disable Python support, which we then use in
 > avrdude.mk.

 > The actual Python issue can be investigated at a later point if
 > someone needs it. But in any case, being able to explicitly disable
 > Python support if not needed is useful.

 > Fixes:

 >   http://autobuild.buildroot.net/results/f18d47289d8b4dee768275a468c25b4f4399cf8c/

 > Signed-off-by: Thomas Petazzoni <thomas.petazzoni at bootlin.com>

Committed, thanks.

-- 
Bye, Peter Korsgaard


More information about the buildroot mailing list