[Buildroot] Build error when trying to build the py-smbus package of i2c-tools

Thomas Weininger Thomas.Weininger at diasemi.com
Fri Jun 21 12:06:32 UTC 2013

> -----Original Message-----
> From: Arnout Vandecappelle [mailto:arnout at mind.be]
> Sent: Freitag, 21. Juni 2013 12:48
> To: Thomas Weininger
> Cc: buildroot at busybox.net
> Subject: Re: [Buildroot] Build error when trying to build the py-smbus
> package of i2c-tools
> On 21/06/13 12:31, Thomas Weininger wrote:
> >>> > >
> >>> > >So it uses Python distutils (the setup.py) in order to build
> >>> > >smbus.so. And it
> >> >seems to me that it uses the host distutils instead of the target
> >> >system's one.
> >>> > >If this is the problem, then the Module.mk or the setup.py will
> >>> > >most likely
> >> >need to be patched in order to use the target system toolchain?
> >> >
> >> >   Hang on, maybe you have to build host-python-setuptools first?
> > [Thomas Weininger]
> > I can't find a python-setuptools option in the host utilities menu in
> Buildroot's make menuconfig. How can I build it?
> > However, for the target BR2_PACKAGE_PYTHON_SETUPTOOLS is set.
>   It's not a user-selectable host package, since it is only needed to build
> other packages.  Normally, you build it by adding it to the
> I2C_TOOLS_DEPENDENCIES variable. But you can also do it directly from the
> command line:
> make host-python-setuptools
> make i2c-tools-dirclean # Just to be sure make

[Thomas Weininger]
I executed
make host-python-setuptools
make i2c-tools-dirclean
make i2c-tools-rebuild

Still the same error.


Dialog Semiconductor GmbH
Neue Str. 95
D-73230 Kirchheim
Managing Directors: Dr. Jalal Bagherli, Jean-Michel Richard
Chairman of the Supervisory Board: Gregorio Reyes
Commercial register: Amtsgericht Stuttgart: HRB 231181
UST-ID-Nr. DE 811121668

Legal Disclaimer: This e-mail communication (and any attachment/s) is confidential and contains proprietary information, some or all of which may be legally privileged. It is intended solely for the use of the individual or entity to which it is addressed. Access to this email by anyone else is unauthorized. If you are not the intended recipient, any disclosure, copying, distribution or any action taken or omitted to be taken in reliance on it, is prohibited and may be unlawful.

Please consider the environment before printing this e-mail

More information about the buildroot mailing list