Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] host-python-2.7 failure to build _hashlib
@ 2020-01-27 22:35 Vladimir Oltean
  2020-01-27 22:40 ` Thomas Petazzoni
  0 siblings, 1 reply; 6+ messages in thread
From: Vladimir Oltean @ 2020-01-27 22:35 UTC (permalink / raw)
  To: buildroot

Hi Buildroot community,

I have a noob question:

I am trying to complete a build and get this error for host-python:

Python build finished, but the necessary bits to build these modules
were not found:
_bsddb             _tkinter           bsddb185
dbm                dl                 gdbm
imageop            sunaudiodev
To find the necessary bits, look in setup.py in detect_modules() for
the module's name.


Failed to build these modules:
_hashlib

Ok, but I have to ask: why is host-python even built at all? For one
thing, BR2_PACKAGE_HOST_PYTHON is not set.
But with "make graph-depends", I am able to see that host-python is
dragged in by:
- python itself, which I selected
- host-python-setuptools (dragged in by python-lxml, which I selected)
- host-nodejs (dragged in by nodejs, which I selected)

Granted, I don't know much, but I'm baffled that:
- None of the above 3 packages select BR2_PACKAGE_HOST_PYTHON in their Config.in
- The Makefile doesn't complain that they don't (usually it does, when
packages add _DEPENDENCIES that are absent from Config.in)

When I enable BR2_PACKAGE_HOST_PYTHON and BR2_PACKAGE_HOST_PYTHON_SSL
in .config, I am able to carry on with the build.

Can somebody please explain what is going on?
I am not a proficient Python user either, by the way.

Regards,
-Vladimir

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2020-01-28 13:44 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-01-27 22:35 [Buildroot] host-python-2.7 failure to build _hashlib Vladimir Oltean
2020-01-27 22:40 ` Thomas Petazzoni
2020-01-27 23:39   ` Vladimir Oltean
2020-01-28  9:14     ` Thomas Petazzoni
2020-01-28 10:28       ` Vladimir Oltean
2020-01-28 13:44         ` Thomas Petazzoni

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox