On Fri, 27 Aug 2021 at 10:49, Chavdar Ivanov <ci4ic4%gmail.com@localhost> wrote:
Tested under NetBSD-current of today and current pkgsrc.
liferea plugin system is enabled when --enable-introspection is given
on the configure command line - which is not in the current package
build state.
I distcleaned the work directory and reran configure as below,
This fails with my system make (bmake in your context) in
/usr/pkg/share/gobject-introspection-1.0/Makefile.introspection, which
apparently needs gmake. I was able to go a bit further by running the
configure script with /usr/pkg/gnu/bin in front of the PATH, but it
failed the final link stage - it reported not being able to find
LibXinerama.so.2, which I couldn't figure out - the configure
invocation was:
./configure --x-includes=/usr/X11R7/include
--x-libraries=/usr/X11R7/lib --prefix=/usr/pkg --build=x86_64--netbsd
--host=x86_64--netbsd --mandir=/usr/pkg/man
--enable-option-checking=yes --enable-introspection
so it should have been found.
Chavdar
It turned out the reason is that devel/libpeas does not include the
loaders:
....
(liferea:11173): libpeas-WARNING **: 12:34:25.653: Failed to load
module 'python3loader': Cannot open
"/usr/pkg/lib/libpeas-1.0/loaders/libpython3loader.so"
....
even if I added CONFIGURE_ARGS+= --enable-introspection to the
Makefile.
I tried to mess with libpeas, but I can't get it to build the loaders,
even when enabling them in the Makefile, which contains:
...
# XXX: revisit at later date if something needs this
...
and disables the loaders; I guess the maintainer should do just that,
as plugins are disabled for other programs using them, i.e. gedit:
...
(gedit:12666): libpeas-WARNING **: 12:37:09.554: Failed to load module
'python3loader': Cannot open
"/usr/pkg/lib/libpeas-1.0/loaders/libpython3loader.so"
(gedit:12666): libpeas-WARNING **: 12:37:09.554: Could not load plugin
loader 'python3'
...
A pr perhaps...