Bug 250024 - security/libsecret : Fails to build on FreeBSD 12.2-BETA1 r365618 GENERIC powerpc 32 bit:FAILED: Invalid GType function: 'secret_backend_get_type'
Summary: security/libsecret : Fails to build on FreeBSD 12.2-BETA1 r365618 GENERIC pow...
Status: New
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: powerpc Any
: --- Affects Only Me
Assignee: freebsd-gnome (Nobody)
Depends on:
Reported: 2020-10-01 11:04 UTC by canardo
Modified: 2021-05-02 15:27 UTC (History)
1 user (show)

See Also:
bugzilla: maintainer-feedback? (gnome)


Note You need to log in before you can comment on or make changes to this bug.
Description canardo 2020-10-01 11:04:51 UTC
Problem found when upgrading security/libsecret on FreeBSD 12.2-BETA1 r365618 GENERIC powerpc 32 bit, running on Apple Powerbook 17".

Current version is
# pkg info libsecret
Name           : libsecret
Version        : 0.18.6_1
Installed on   : Sat Sep 19 00:34:50 2020 CEST
Origin         : security/libsecret
Architecture   : FreeBSD:12:powerpc

When upgrading to version libsecret-0.20.3, following error appears

libtool: link: cc -o /usr/ports/security/libsecret/work/libsecret-0.20.3/tmp-introspectruz6dgit/.libs/Secret-1 -isystem /usr/local/include -I/usr/local/include -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/gio-unix-2.0 -pthread -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_44 -DGLIB_VERSION_MAX_ALLOWED=GLIB_VERSION_2_44 -Wall -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wdeclaration-after-statement -Wformat=2 -Winit-self -Waggregate-return -Wmissing-include-dirs -Wundef -Wno-error -g /usr/ports/security/libsecret/work/libsecret-0.20.3/tmp-introspectruz6dgit/Secret-1.o -Wl,--export-dynamic -pthread -fstack-protector-strong -Wl,--export-dynamic  -L. ./.libs/libsecret-1.so -L/usr/local/lib -lgmodule-2.0 -lgcrypt -lgpg-error -lgio-2.0 -lgobject-2.0 -lglib-2.0 -lintl -pthread -Wl,-rpath -Wl,/usr/local/lib
Invalid GType function: 'secret_backend_get_type'
Failed to find symbol 'secret_backend_get_type'
Command '['/usr/ports/security/libsecret/work/libsecret-0.20.3/tmp-introspectruz6dgit/Secret-1', '--introspect-dump=/usr/ports/security/libsecret/work/libsecret-0.20.3/tmp-introspectruz6dgit/functions.txt,/usr/ports/security/libsecret/work/libsecret-0.20.3/tmp-introspectruz6dgit/dump.xml']' returned non-zero exit status 1.
gmake[3]: *** [/usr/local/share/gobject-introspection-1.0/Makefile.introspection:156: Secret-1.gir] Error 1
gmake[3]: Leaving directory '/usr/ports/security/libsecret/work/libsecret-0.20.3'
gmake[2]: *** [Makefile:2019: all-recursive] Error 1
gmake[2]: Leaving directory '/usr/ports/security/libsecret/work/libsecret-0.20.3'
gmake[1]: *** [Makefile:1272: all] Error 2
gmake[1]: Leaving directory '/usr/ports/security/libsecret/work/libsecret-0.20.3'
===> Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to
the maintainer.
*** Error code 1
Comment 1 canardo 2021-05-02 15:27:16 UTC
security/libsecret build successfully on FreeBSD 13.0

# uname -a
FreeBSD g41713 13.0-RELEASE FreeBSD 13.0-RELEASE #0 releng/13.0-n244733-ea31abc261f: Fri Apr  9 04:40:01 UTC 2021     root@releng1.nyi.freebsd.org:/usr/obj/usr/src/powerpc.powerpc/sys/GENERIC  powerpc

# pkg info libsecret
Name           : libsecret
Version        : 0.20.4
Installed on   : Sun May  2 17:08:20 2021 CEST
Origin         : security/libsecret
Architecture   : FreeBSD:13:powerpc

Should this bug be closed ?