The OpenNET Project / Index page

[ новости /+++ | форум | теги | ]



"Конфликт py-wheel044"
Вариант для распечатки  
Пред. тема | След. тема 
Форум Открытые системы на сервере (Системное и пользовательское ПО / FreeBSD)
Изначальное сообщение [ Отслеживать ]

"Конфликт py-wheel044"  +/
Сообщение от Alex (??), 11-Апр-25, 13:40 
Вообщем FreeBSD
ставлю из портов, вываливаюсь в ошибку

:/usr/ports/textproc/py-sphinxcontrib-jsmath # make install
===>  License BSD2CLAUSE accepted by the user
===>   py311-sphinxcontrib-jsmath-1.0.1_1 depends on file: /usr/local/sbin/pkg - found
===> Fetching all distfiles required by py311-sphinxcontrib-jsmath-1.0.1_1 for building
===>  Extracting for py311-sphinxcontrib-jsmath-1.0.1_1
=> SHA256 Checksum OK for python/sphinxcontrib-jsmath-1.0.1.tar.gz.
===>  Patching for py311-sphinxcontrib-jsmath-1.0.1_1
===>   py311-sphinxcontrib-jsmath-1.0.1_1 depends on package: py311-setuptools>=63.1.0 - not found
===>  License MIT accepted by the user
===>   py311-setuptools-63.1.0_3 depends on file: /usr/local/sbin/pkg - found
===> Fetching all distfiles required by py311-setuptools-63.1.0_3 for building
===>  Extracting for py311-setuptools-63.1.0_3
=> SHA256 Checksum OK for python/setuptools-63.1.0.tar.gz.
=> SHA256 Checksum OK for python/6653e747c3815b140156249205397ef3719581ee.patch.
===>  Patching for py311-setuptools-63.1.0_3
===>  Applying distribution patches for py311-setuptools-63.1.0_3
===>   py311-setuptools-63.1.0_3 depends on package: py311-wheel044<0.46.0 - not found
===>  License MIT accepted by the user
===>   py311-wheel044-0.44.0 depends on file: /usr/local/sbin/pkg - found
===> Fetching all distfiles required by py311-wheel044-0.44.0 for building
===>  Extracting for py311-wheel044-0.44.0
=> SHA256 Checksum OK for wheel-0.44.0.tar.gz.
===>  Patching for py311-wheel044-0.44.0
===>  Applying FreeBSD patches for py311-wheel044-0.44.0 from /usr/ports/devel/py-wheel044/files
===>   py311-wheel044-0.44.0 depends on package: py311-flit-core>=3.8 - found
===>   py311-wheel044-0.44.0 depends on file: /usr/local/bin/python3.11 - found
===>   py311-wheel044-0.44.0 depends on package: py311-build>=0 - found
===>   py311-wheel044-0.44.0 depends on package: py311-installer>=0 - found
===>  Configuring for py311-wheel044-0.44.0
===>  Building for py311-wheel044-0.44.0
* Getting build dependencies for wheel...
* Building wheel...
Successfully built wheel-0.44.0-py3-none-any.whl
===>  Staging for py311-wheel044-0.44.0
===>   py311-wheel044-0.44.0 depends on file: /usr/local/bin/python3.11 - found
===>   Generating temporary packing list
===> Creating unique files: Move MAN files needing SUFFIX
===> Creating unique files: Move files needing SUFFIX
Move: bin/wheel --> bin/wheel-3.11
Link: @bin/wheel --> bin/wheel-3.11
====> Compressing man pages (compress-man)
===>  Installing for py311-wheel044-0.44.0

===>  py311-wheel044-0.44.0 conflicts with installed package(s):
      py311-wheel-0.45.1

      They install files into the same place.
      You may want to stop build with Ctrl + C.
===>  Checking if py311-wheel044 is already installed
===>   Registering installation for py311-wheel044-0.44.0 as automatic
Installing py311-wheel044-0.44.0...
pkg-static: py311-wheel044-0.44.0 conflicts with py311-wheel-0.45.1 (installs files into the same place).  Problematic file: /usr/local/bin/wheel-3.11
*** Error code 1

Stop.
make[2]: stopped in /usr/ports/devel/py-wheel044
*** Error code 1

Stop.
make[1]: stopped in /usr/ports/devel/py-setuptools
*** Error code 1

Stop.
make: stopped in /usr/ports/textproc/py-sphinxcontrib-jsmath


лезем в интернет, есть
https://forums.freebsd.org/threads/py311-wheel-0-45-1-confli.../

смотрим что есть
# pkg info | grep glib
glib-2.82.4_1,2                Some useful routines of C programming (current stable version)
glib-bootstrap-2.82.4_1,2      Some useful routines of C programming (current stable version)
# pkg info | grep gobject
gobject-introspection-bootstrap-1.82.0_1,1 Generate interface introspection data for GObject libraries

при этом, все вроде как актуально
# cd /usr/ports
# git -C /usr/ports pull
# portmaster -da
# portmaster -L
....
===>>> 219 total installed ports
    ===>>> There are no new versions available

хорошо, делаем так
# cd /usr/ports/devel/glib20
# make deinstall
# make clean
# make install
победить ошибку не получилось..

хорошо, смотрим дальше
# pkg info | grep gobject
gobject-introspection-bootstrap-1.82.0_1,1 Generate interface introspection data for GObject libraries
# cd /usr/ports
# make search name=^gobject-introspection | grep Port:
    Port:    gobject-introspection-1.82.0_1,1
    Port:    gobject-introspection-bootstrap-1.82.0_1,1
реально это один порт
Path:    /usr/ports/devel/gobject-introspection

Преустанавливаем
# make deinstall
# make clean
# make install

# pkg info | grep gobject-introspection
gobject-introspection-1.82.0_1,1 Generate interface introspection data for GObject libraries
gobject-introspection-bootstrap-1.82.0_1,1 Generate interface introspection data for GObject librarie
теперь имеем такое счастье ...

первоначальная проблема остается ...
есть у кого какие мысли ???

Ответить | Правка | Cообщить модератору

Оглавление

Сообщения [Сортировка по времени | RSS]


1. "Конфликт py-wheel044"  +/
Сообщение от 1 (??), 11-Апр-25, 14:04 
I have this issue too and portmaster does not handle it. Remove the old package and restart updating.
portmaster handle in the right way updating of glib20 and gobject-introspection.

Ты сделал это, как советовали -- Remove the old package and restart updating ?

Ну я так понимаю old package -- это py311-wheel044-0.44.0

Ответить | Правка | Наверх | Cообщить модератору

2. "Конфликт py-wheel044"  +/
Сообщение от Pahanivo (ok), 11-Апр-25, 14:13 
Я нифига не понял почему когда у тебя:

pkg-static: py311-wheel044-0.44.0 conflicts with py311-wheel-0.45.1  

ты ищешь:

pkg info | grep glib

Ответить | Правка | Наверх | Cообщить модератору

3. "Конфликт py-wheel044"  +/
Сообщение от 1 (??), 11-Апр-25, 15:14 
Я так понял --он по ссылке прочитал, но не удалил py311-wheel044-0.44.0. после этого надо обновить порты и обновятся py311-wheel и пакеты зависимые в том числе glib20 and gobject-introspection. и все будет. но он просто решил сам обновить glib20 and gobject-introspection.

Ответить | Правка | Наверх | Cообщить модератору

4. "Конфликт py-wheel044"  +/
Сообщение от Pahanivo (ok), 11-Апр-25, 22:01 
> Я так понял

Лично я не собираюсь играть в угадайку ... особенно когда человек начинает по какому то гайду что-то колупать, но то что он колупает с гайдом не соотносится.

Ответить | Правка | Наверх | Cообщить модератору

5. "Конфликт py-wheel044"  +/
Сообщение от Alex (??), 14-Апр-25, 11:48 
Я пробовал разные варианты. С разными комбинациями. Ничего не помогло.
Как нужно сделать ? Можете написать пошагово, для не полноценного.

На форуме тема продолжает обсуждаться ...
До этого кто то повесил багу, вроде на пакет
py311-setuptools-63.1.0_3
Вот нашел
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=285930

Что, нужно ждать ?? Вопрос сколько ..

Ответить | Правка | Наверх | Cообщить модератору

6. "Конфликт py-wheel044"  +/
Сообщение от 1 (??), 14-Апр-25, 13:34 
Смотри что написано (добавлено) по твоей первой ссылке:

It is solved by installing py311-wheel-0.45.1 from pkg (latest repository) or using a collection of ports to install this package.

Вот еще последний комент оттуда:

removing py311-wheel044 helped.

Ответить | Правка | Наверх | Cообщить модератору

7. "Конфликт py-wheel044"  +/
Сообщение от 1 (??), 14-Апр-25, 13:39 
The problem is some python ports require py311-wheel044-0.44.0 and some require py311-wheel-0.45.1 and, of course, those two ports conflict. So what I do is delete whichever is currently installed before compiling any updated python package and each package then compiles successfully as it installs the wheel it requires.

вот еще оттуда же

Ответить | Правка | К родителю #5 | Наверх | Cообщить модератору

8. "Конфликт py-wheel044"  +/
Сообщение от Pahanivo (ok), 14-Апр-25, 15:17 
> Я пробовал разные варианты. С разными комбинациями. Ничего не помогло.
> Как нужно сделать ? Можете написать пошагово, для не полноценного.

Ёпт, ты хоть pkg info покажи, ну или по путям пробеги глянь, у тебя идет конфликт с конкретно указанным портом/пакетом. Но ты почему то этого не показываешь, и ваще логов не даешь. Му  да хрю, весь и весь конструктив.
Конфликтуют пакет - пробегись, проверь, обновись-пересоберись, учитывая что именно это по твоим ссылам и делают.
Я даже версию оси не вижу ...

Ответить | Правка | К родителю #5 | Наверх | Cообщить модератору

9. "Конфликт py-wheel044"  +/
Сообщение от lavremail (ok), 15-Апр-25, 11:39 
> Я пробовал разные варианты. С разными комбинациями. Ничего не помогло.
> Как нужно сделать ? Можете написать пошагово, для не полноценного.

нет, это невозможно - нет информации от Вас, да и в лом ковыряться...

нужно понимать что во FreeBSD следует оперировать,
- либо пакетами
- либо портами: portmaster

смешивать пакеты и порты нельзя, сотворите кашу.

Можно изначально попробовать все необходимое установить из
пакетов, но как только упретесь в ПОРТ(пакет) который нужно установить
с конфигом сборки отличным от default - все дальнейшие операции
только с портами - либо руками, либо через порт-менеджер

> На форуме тема продолжает обсуждаться ...
> До этого кто то повесил багу, вроде на пакет

на форуме проблема давно решена.

Ответить | Правка | К родителю #5 | Наверх | Cообщить модератору

Архив | Удалить

Рекомендовать для помещения в FAQ | Индекс форумов | Темы | Пред. тема | След. тема




Партнёры:
PostgresPro
Inferno Solutions
Hosting by Hoster.ru
Хостинг:

Закладки на сайте
Проследить за страницей
Created 1996-2025 by Maxim Chirkov
Добавить, Поддержать, Вебмастеру