Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 26 Mar 2022 18:48:55 +0000
From:      bugzilla-noreply@freebsd.org
To:        desktop@FreeBSD.org
Subject:   [Bug 262842] misc/shared-mime-info depends on py-libxml2 but no listed dependency is given to python
Message-ID:  <bug-262842-39348@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D262842

            Bug ID: 262842
           Summary: misc/shared-mime-info depends on py-libxml2 but no
                    listed dependency is given to python
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: desktop@FreeBSD.org
          Reporter: alt2600@icloud.com
          Assignee: desktop@FreeBSD.org
             Flags: maintainer-feedback?(desktop@FreeBSD.org)

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=3D64 -Wall -Winvalid-pch -O3 -O2 -pipe -march=3Dwestmere
-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-ef58b2b2f7ad4070171c=
6e45e3b3764daa3ff2c1/data/freedesktop_generate.sh
/usr/ports/misc/shared-mime-info/work/shared-mime-info-ef58b2b2f7ad4070171c=
6e45e3b3764daa3ff2c1
/usr/ports/misc/shared-mime-info/work/shared-mime-info-ef58b2b2f7ad4070171c=
6e45e3b3764daa3ff2c1/_build
FAILED: data/freedesktop.org.xml=20
/usr/ports/misc/shared-mime-info/work/shared-mime-info-ef58b2b2f7ad4070171c=
6e45e3b3764daa3ff2c1/data/freedesktop_generate.sh
/usr/ports/misc/shared-mime-info/work/shared-mime-info-ef58b2b2f7ad4070171c=
6e45e3b3764daa3ff2c1
/usr/ports/misc/shared-mime-info/work/shared-mime-info-ef58b2b2f7ad4070171c=
6e45e3b3764daa3ff2c1/_build
ninja: Entering directory
`/usr/ports/misc/shared-mime-info/work/shared-mime-info-ef58b2b2f7ad4070171=
c6e45e3b3764daa3ff2c1/_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 <mod=
ule>
    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.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-262842-39348>