Bug 46171 - python3: упрощение начальной (bootstrap) сборки
Summary: python3: упрощение начальной (bootstrap) сборки
Status: CLOSED FIXED
Alias: None
Product: Sisyphus
Classification: Development
Component: python3 (show other bugs)
Version: unstable
Hardware: all Linux
: P5 normal
Assignee: Grigory Ustinov
QA Contact: qa-sisyphus
URL:
Keywords:
Depends on:
Blocks: 45802
  Show dependency tree
 
Reported: 2023-05-17 07:38 MSK by Alexey Sheplyakov
Modified: 2023-06-17 10:30 MSK (History)
9 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alexey Sheplyakov 2023-05-17 07:38:46 MSK
Сборочные зависимости python3 зациклены, вот так:
python3 -> desktop-file-utils -> glib2 -> meson -> python3
Для начальной сборки (под новую архитектуру или ABI) это плохо: чтобы собрать python, нужен python, а его у нас нет.
Comment 1 Alexey Sheplyakov 2023-05-17 07:49:59 MSK
The following changes since commit 5258f22e54659a329155fb8ef3b44c15f169629a:

  3.10.8-alt1.1 (2022-12-17 18:34:54 +0700)

are available in the Git repository at:

  http://git.altlinux.org/people/asheplyakov/packages/python3.git loongarch64

for you to fetch changes up to fa13b5177a9da313203b58f465dd59a057dfd302:

  3.10.8-alt1.2 (2023-05-17 08:41:20 +0400)

----------------------------------------------------------------
Alexey Sheplyakov (4):
      spec: a few tweaks for loongarch64
      spec: fixed build without tk
      spec: simplified the initial build
      3.10.8-alt1.2

Zhang Na (1):
      bpo-46498: Add Platform triplets for LoongArch64

 python3.spec         | 57 +++++++++++++++++++++++++++++++++++++++++++++++++++------
 python3/configure    | 14 ++++++++++++++
 python3/configure.ac | 14 ++++++++++++++
 3 files changed, 79 insertions(+), 6 deletions(-)
Comment 2 Alexey Sheplyakov 2023-05-17 08:52:54 MSK
(Ответ для Alexey Sheplyakov на комментарий #1)
> The following changes since commit 5258f22e54659a329155fb8ef3b44c15f169629a:
> 
>   3.10.8-alt1.1 (2022-12-17 18:34:54 +0700)
> 
> are available in the Git repository at:
> 
>   http://git.altlinux.org/people/asheplyakov/packages/python3.git loongarch64
> 
> for you to fetch changes up to fa13b5177a9da313203b58f465dd59a057dfd302:
> 
>   3.10.8-alt1.2 (2023-05-17 08:41:20 +0400)
> 
> ----------------------------------------------------------------
> Alexey Sheplyakov (4):
>       spec: a few tweaks for loongarch64
>       spec: fixed build without tk
>       spec: simplified the initial build
>       3.10.8-alt1.2
> 
> Zhang Na (1):
>       bpo-46498: Add Platform triplets for LoongArch64
> 
>  python3.spec         | 57
> +++++++++++++++++++++++++++++++++++++++++++++++++++------
>  python3/configure    | 14 ++++++++++++++
>  python3/configure.ac | 14 ++++++++++++++
>  3 files changed, 79 insertions(+), 6 deletions(-)

Или

#320644 TESTED #1 [test-only] sisyphus python3.git=3.10.8-alt1.2
Comment 3 Repository Robot 2023-06-17 10:30:05 MSK
python3-3.11.4-alt1 -> sisyphus:

 Fri Jun 09 2023 Grigory Ustinov <grenka@altlinux> 3.11.4-alt1
 - Updated to upstream version 3.11.4.
 - Fixed build on Elbrus (thx to ilyakurdyukov@).
 - Added support for LoongArch64 (thx to asheplyakov@) (Closes: #46170).
 - Simplified the initial build (thx to asheplyakov@) (Closes: #46171).