maintainer-feedback requested: [Bug 262842] misc/shared-mime-info depends on py-libxml2 but no listed dependency is given to python
Date: Sat, 26 Mar 2022 18:48:55 UTC
Bugzilla Automation <bugzilla@FreeBSD.org> has asked freebsd-desktop (Team) <desktop@FreeBSD.org> for maintainer-feedback: Bug 262842: misc/shared-mime-info depends on py-libxml2 but no listed dependency is given to python https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=262842 --- Description --- if py-libxml2 is installed shared-mime-info uses it, but since it has no dependency to python or more importantly py38-libxml2 so it breaks during upgrade with rest of libxml2 bumps. shared-mime-info-2.0_3 Depends on : libxml2-2.9.13 glib-2.70.4_2,2 gettext-runtime-0.21 errors out with cython version error failing to load libxml2mod [ 91% 80/83] cc -Isrc/test-subclassing.p -Isrc -I../src -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/libxml2 -fno-color-diagnostics -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -O3 -O2 -pipe -march=westmere -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include -MD -MQ src/test-subclassing.p/test-subclassing.c.o -MF src/test-subclassing.p/test-subclassing.c.o.d -o src/test-subclassing.p/test-subclassing.c.o -c ../src/test-subclassing.c [ 92% 81/83] /usr/ports/misc/shared-mime-info/work/shared-mime-info-ef58b2b2f7ad4070171c6e45 e3b3764daa3ff2c1/data/freedesktop_generate.sh /usr/ports/misc/shared-mime-info/work/shared-mime-info-ef58b2b2f7ad4070171c6e45 e3b3764daa3ff2c1 /usr/ports/misc/shared-mime-info/work/shared-mime-info-ef58b2b2f7ad4070171c6e45 e3b3764daa3ff2c1/_build FAILED: data/freedesktop.org.xml /usr/ports/misc/shared-mime-info/work/shared-mime-info-ef58b2b2f7ad4070171c6e45 e3b3764daa3ff2c1/data/freedesktop_generate.sh /usr/ports/misc/shared-mime-info/work/shared-mime-info-ef58b2b2f7ad4070171c6e45 e3b3764daa3ff2c1 /usr/ports/misc/shared-mime-info/work/shared-mime-info-ef58b2b2f7ad4070171c6e45 e3b3764daa3ff2c1/_build ninja: Entering directory `/usr/ports/misc/shared-mime-info/work/shared-mime-info-ef58b2b2f7ad4070171c6e4 5e3b3764daa3ff2c1/_build' [ 16% 6/6] Generating po/uk/LC_MESSAGES/shared-mime-info-uk.mo with a custom command [ 33% 6/6] Generating po/wa/LC_MESSAGES/shared-mime-info-wa.mo with a custom command [ 50% 6/6] Generating po/zh_HK/LC_MESSAGES/shared-mime-info-zh_HK.mo with a custom command [ 66% 6/6] Generating po/vi/LC_MESSAGES/shared-mime-info-vi.mo with a custom command [ 83% 6/6] Generating po/zh_TW/LC_MESSAGES/shared-mime-info-zh_TW.mo with a custom command [100% 6/6] Generating po/zh_CN/LC_MESSAGES/shared-mime-info-zh_CN.mo with a custom command Traceback (most recent call last): File "/usr/local/bin/itstool", line 27, in <module> import libxml2 File "/usr/local/lib/python3.8/site-packages/libxml2.py", line 1, in <module> import libxml2mod ImportError: /usr/local/lib/libxml2.so.2: version LIBXML2_2.4.30 required by /usr/local/lib/python3.8/site-packages/libxml2mod.cpython-38.so not defined updating py38-libxml2 first fixes build.