Bug 38177 - Прошу адаптировать сборку пакета с python3.8
Summary: Прошу адаптировать сборку пакета с python3.8
Status: CLOSED FIXED
Alias: None
Product: Sisyphus
Classification: Development
Component: cracklib (show other bugs)
Version: unstable
Hardware: all Linux
: P5 critical
Assignee: Yuri N. Sedunov
QA Contact: qa-sisyphus
URL: https://lists.altlinux.org/pipermail/...
Keywords:
Depends on:
Blocks:
 
Reported: 2020-03-03 17:57 MSK by Grigory Ustinov
Modified: 2020-03-04 03:54 MSK (History)
4 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Grigory Ustinov 2020-03-03 17:57:41 MSK

    
Comment 1 AEN 2020-03-03 18:07:19 MSK
Прошу помочь перейти на python 3.8
Comment 2 Dmitry V. Levin 2020-03-04 02:42:44 MSK
(In reply to Grigory Ustinov from comment #0)
> 

configure:15395: checking python3.8/Python.h usability
configure:15395: x86_64-alt-linux-gcc -c -pipe -frecord-gcc-switches -Wall -g -O2  conftest.c >&5
conftest.c:28: warning: "HAVE_ZLIB_H" redefined
   28 | #define HAVE_ZLIB_H /**/
      | 
conftest.c:27: note: this is the location of the previous definition
   27 | #define HAVE_ZLIB_H 1
      | 
In file included from /usr/include/python3.8/pystate.h:129,
                 from /usr/include/python3.8/genobject.h:11,
                 from /usr/include/python3.8/Python.h:121,
                 from conftest.c:68:
/usr/include/python3.8/cpython/pystate.h:9:10: fatal error: cpython/initconfig.h: No such file or directory
    9 | #include "cpython/initconfig.h"
      |          ^~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
configure:15395: $? = 1

$ python3-config --includes
-I/usr/include/python3.8 -I/usr/include/python3.8
Comment 3 Dmitry V. Levin 2020-03-04 02:51:43 MSK
Вообще на модули из python3-module-cracklib в Сизифе нет зависимостей:
http://git.altlinux.org/tasks/247289/logs/events.1.1.log

Так что собирать этот подпакет не обязательно.

В Федоре, где так любят свежий python3, вообще не парятся и собирают --without-python.
Comment 4 Grigory Ustinov 2020-03-04 02:52:09 MSK
Да, это уже известная проблема. Так оно и делается.
http://git.altlinux.org/people/cas/packages/hplip.git?p=hplip.git;a=commitdiff;h=cadfd53c952c5db463c2c8fc65b7a9c6692c5dcc
Comment 5 Yuri N. Sedunov 2020-03-04 03:16:05 MSK
(Ответ для Grigory Ustinov на комментарий #4)
> Да, это уже известная проблема. Так оно и делается.
> http://git.altlinux.org/people/cas/packages/hplip.git?p=hplip.git;
> a=commitdiff;h=cadfd53c952c5db463c2c8fc65b7a9c6692c5dcc

Мог бы и раньше подсказать.
Comment 6 Grigory Ustinov 2020-03-04 03:25:36 MSK
(Ответ для Yuri N. Sedunov на комментарий #5)
> (Ответ для Grigory Ustinov на комментарий #4)
> > Да, это уже известная проблема. Так оно и делается.
> > http://git.altlinux.org/people/cas/packages/hplip.git?p=hplip.git;
> > a=commitdiff;h=cadfd53c952c5db463c2c8fc65b7a9c6692c5dcc
> 
> Мог бы и раньше подсказать.

У меня были трудности в коммуникации с вами. Теперь я знаю, что вы читаете и отвечаете в багзилле. В следующий раз буду подсказывать сюда сразу.
Comment 7 Dmitry V. Levin 2020-03-04 03:54:47 MSK
#100 cracklib 2.9.7-alt2.1 -> 2.9.7-alt3
 Wed Mar 04 2020 Yuri N. Sedunov <aris@altlinux> 2.9.7-alt3
 - small spec tweaks for build with Python-3.8