Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Thomas Petazzoni via buildroot <buildroot@buildroot.org>
To: Julien Olivain <ju.o@free.fr>
Cc: buildroot@buildroot.org, Carlo Caione <carlo.caione@gmail.com>
Subject: Re: [Buildroot] [PATCH 1/1] package/jailhouse: fix build when python helper scripts are enabled
Date: Mon, 28 Oct 2024 16:43:27 +0100	[thread overview]
Message-ID: <20241028164327.3e494f48@windsurf> (raw)
In-Reply-To: <20241025180523.118939-1-ju.o@free.fr>

On Fri, 25 Oct 2024 20:05:23 +0200
Julien Olivain <ju.o@free.fr> wrote:

> When compiling jailhouse with BR2_PACKAGE_JAILHOUSE_HELPER_SCRIPTS=y,
> build is failing with error:
> 
>     Traceback (most recent call last):
>       File "/buildroot/output/build/jailhouse-e57d1eff6d55aeed5f977fe4e2acfb6ccbdd7560/setup.py", line 18, in <module>
>         setup(name="pyjailhouse", version=version,
>       File "/buildroot/output/host/lib/python3.12/site-packages/setuptools/__init__.py", line 108, in setup
>         return distutils.core.setup(**attrs)
>                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>       ...
>       File "/buildroot/output/host/lib/python3.12/sysconfig.py", line 549, in _init_posix
>         _temp = __import__(name, globals(), locals(), ['build_time_vars'], 0)
>                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>     ValueError: Empty module name
> 
> This is due to a missing dependency on the target python3 package.
> 
> This commit fixes the issue by adding this missing dependency.

This error message is quite unclear... how is this error message
related to having or not having python3 installed on the target?

Thomas
-- 
Thomas Petazzoni, co-owner and CEO, Bootlin
Embedded Linux and Kernel engineering and training
https://bootlin.com
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

  reply	other threads:[~2024-10-28 15:43 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-10-25 18:05 [Buildroot] [PATCH 1/1] package/jailhouse: fix build when python helper scripts are enabled Julien Olivain
2024-10-28 15:43 ` Thomas Petazzoni via buildroot [this message]
2024-10-28 19:22   ` Julien Olivain
2024-10-28 20:09     ` Thomas Petazzoni via buildroot

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20241028164327.3e494f48@windsurf \
    --to=buildroot@buildroot.org \
    --cc=carlo.caione@gmail.com \
    --cc=ju.o@free.fr \
    --cc=thomas.petazzoni@bootlin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox