Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Thomas Petazzoni via buildroot <buildroot@buildroot.org>
To: Roy Kollen Svendsen <roykollensvendsen@gmail.com>
Cc: Roy Kollen Svendsen <roy.kollen.svendsen@akersolutions.com>,
	James Hilliard <james.hilliard1@gmail.com>,
	Asaf Kahlon <asafka7@gmail.com>,
	buildroot@buildroot.org
Subject: Re: [Buildroot] [PATCH] package/python3: fix install
Date: Sun, 11 Feb 2024 23:11:56 +0100	[thread overview]
Message-ID: <20240211231156.68fa41ab@windsurf> (raw)
In-Reply-To: <20240208095615.2397148-1-roy.kollen.svendsen@akersolutions.com>

On Thu,  8 Feb 2024 10:56:14 +0100
Roy Kollen Svendsen <roykollensvendsen@gmail.com> wrote:

> Fixes the following failure in the install step of host-python3:
>     ...
>     /usr/bin/install -c -m 644 pyconfig.h output/host/include/python3.12/pyconfig.h
>     [ERROR] _tkinter failed to import: output/build/host-python3-3.12.1/build/lib.linux-x86_64-3.12/_tkinter.cpython-312-x86_64-linux-gnu.so: undefined symbol: Tcl_AddErrorInfo
>     The following modules are *disabled* in configure script:
>     _ctypes_test          _testbuffer           _testcapi
>     _testclinic           _testimportmultiple   _testinternalcapi
>     _testmultiphase       _xxtestfuzz           xxsubtype
> 
>     Following modules built successfully but were removed because they could not be imported:
>     _tkinter
> 
>     Checked 110 modules (31 built-in, 54 shared, 15 n/a on linux-x86_64, 9 disabled, 0 missing, 1 failed on import)
>     ...
>     /usr/bin/install -c -m 644 ./Lib/types.py output/host/lib/python3.12
>     /usr/bin/install: cannot stat 'Modules/_tkinter.cpython-312-x86_64-linux-gnu.so': No such file or directory
>     /usr/bin/install -c -m 644 ./Lib/typing.py output/host/lib/python3.12
>     make[3]: *** [Makefile:2068: sharedinstall] Error 1
>     ...
> 
> Signed-off-by: Roy Kollen Svendsen <roy.kollen.svendsen@akersolutions.com>
> ---
> Changes v1 -> v2:
>   Make the --disable-tk option automatically set py_cv_module__tkinter=n/a (suggested by Thomas Petazzoni)
> ---
>  .../python3/0012-Add-an-option-to-disable-the-tk-module.patch | 4 +++-
>  1 file changed, 3 insertions(+), 1 deletion(-)

Applied to master after improving the commit title, and extending the
commit log to indicate which commit this is fixing.

Thanks!

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

  reply	other threads:[~2024-02-11 22:12 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-02-08  9:56 [Buildroot] [PATCH] package/python3: fix install Roy Kollen Svendsen
2024-02-11 22:11 ` Thomas Petazzoni via buildroot [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-02-08  9:41 Roy Kollen Svendsen
2024-02-08  9:38 Roy Kollen Svendsen
2024-02-08  7:49 Roy Kollen Svendsen
2024-02-08  8:01 ` 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=20240211231156.68fa41ab@windsurf \
    --to=buildroot@buildroot.org \
    --cc=asafka7@gmail.com \
    --cc=james.hilliard1@gmail.com \
    --cc=roy.kollen.svendsen@akersolutions.com \
    --cc=roykollensvendsen@gmail.com \
    --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