Вообщем 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.1They 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 1Stop.
make[2]: stopped in /usr/ports/devel/py-wheel044
*** Error code 1Stop.
make[1]: stopped in /usr/ports/devel/py-setuptools
*** Error code 1Stop.
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
теперь имеем такое счастье ...первоначальная проблема остается ...
есть у кого какие мысли ???
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
Я нифига не понял почему когда у тебя:pkg-static: py311-wheel044-0.44.0 conflicts with py311-wheel-0.45.1
ты ищешь:
pkg info | grep glib
Я так понял --он по ссылке прочитал, но не удалил py311-wheel044-0.44.0. после этого надо обновить порты и обновятся py311-wheel и пакеты зависимые в том числе glib20 and gobject-introspection. и все будет. но он просто решил сам обновить glib20 and gobject-introspection.
> Я так понялЛично я не собираюсь играть в угадайку ... особенно когда человек начинает по какому то гайду что-то колупать, но то что он колупает с гайдом не соотносится.
Я пробовал разные варианты. С разными комбинациями. Ничего не помогло.
Как нужно сделать ? Можете написать пошагово, для не полноценного.На форуме тема продолжает обсуждаться ...
До этого кто то повесил багу, вроде на пакет
py311-setuptools-63.1.0_3
Вот нашел
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=285930Что, нужно ждать ?? Вопрос сколько ..
Смотри что написано (добавлено) по твоей первой ссылке: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.
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.вот еще оттуда же
> Я пробовал разные варианты. С разными комбинациями. Ничего не помогло.
> Как нужно сделать ? Можете написать пошагово, для не полноценного.Ёпт, ты хоть pkg info покажи, ну или по путям пробеги глянь, у тебя идет конфликт с конкретно указанным портом/пакетом. Но ты почему то этого не показываешь, и ваще логов не даешь. Му да хрю, весь и весь конструктив.
Конфликтуют пакет - пробегись, проверь, обновись-пересоберись, учитывая что именно это по твоим ссылам и делают.
Я даже версию оси не вижу ...
> Я пробовал разные варианты. С разными комбинациями. Ничего не помогло.
> Как нужно сделать ? Можете написать пошагово, для не полноценного.нет, это невозможно - нет информации от Вас, да и в лом ковыряться...
нужно понимать что во FreeBSD следует оперировать,
- либо пакетами
- либо портами: portmasterсмешивать пакеты и порты нельзя, сотворите кашу.
Можно изначально попробовать все необходимое установить из
пакетов, но как только упретесь в ПОРТ(пакет) который нужно установить
с конфигом сборки отличным от default - все дальнейшие операции
только с портами - либо руками, либо через порт-менеджер> На форуме тема продолжает обсуждаться ...
> До этого кто то повесил багу, вроде на пакетна форуме проблема давно решена.
> смешивать пакеты и порты нельзя, сотворите кашу.Можно, если осторожно.
Если разбег большой получается, то да, смешивать уже не надо.