After bump for x11-toolkits/gtk30 consumers at commit 3572ca3e01dedf1fe5b3776bd164e123252f5ef5, devel/libayatana-indicator started failing build. I know there is already Bug275669 [1], but the failure mode is different. ===== Quote ===== [100% 17/17] : && /usr/local/libexec/ccache/cc -O2 -pipe -march=haswell -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -O2 -pipe -march=haswell -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -DNDEBUG -fstack-protector-strong -L/usr/local/lib tools/CMakeFiles/ayatana-indicator-loader3.dir/indicator-loader.c.o -o tools/ayatana-indicator-loader3 -lgmodule-2.0 -lgdk-3 -lz -lharfbuzz -lpangocairo-1.0 -lpango-1.0 -latk-1.0 -lgobject-2.0 -lcairo -lcairo-gobject -lgdk_pixbuf-2.0 -lgio-2.0 -layatana-ido3-0.4 -lgtk-3 -lglib-2.0 -lintl -L/wrkdirs/usr/ports/devel/libayatana-indicator/work/.build/src -layatana-indicator3 && : FAILED: tools/ayatana-indicator-loader3 : && /usr/local/libexec/ccache/cc -O2 -pipe -march=haswell -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -O2 -pipe -march=haswell -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -DNDEBUG -fstack-protector-strong -L/usr/local/lib tools/CMakeFiles/ayatana-indicator-loader3.dir/indicator-loader.c.o -o tools/ayatana-indicator-loader3 -lgmodule-2.0 -lgdk-3 -lz -lharfbuzz -lpangocairo-1.0 -lpango-1.0 -latk-1.0 -lgobject-2.0 -lcairo -lcairo-gobject -lgdk_pixbuf-2.0 -lgio-2.0 -layatana-ido3-0.4 -lgtk-3 -lglib-2.0 -lintl -L/wrkdirs/usr/ports/devel/libayatana-indicator/work/.build/src -layatana-indicator3 && : ld: error: undefined reference due to --no-allow-shlib-undefined: pthread_create >>> referenced by /usr/local/lib/libgio-2.0.so cc: error: linker command failed with exit code 1 (use -v to see invocation) ninja: build stopped: subcommand failed. ===> Compilation failed unexpectedly. Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to the maintainer. *** Error code 1 Stop. make: stopped in /usr/ports/devel/libayatana-indicator =>> Cleaning up wrkdir ===> Cleaning for libayatana-indicator-0.9.4_1 build of devel/libayatana-indicator | libayatana-indicator-0.9.4_1 ended at Tue Dec 26 16:38:53 JST 2023 build time: 00:00:24 !!! build failure encountered !!! ===== End quote ===== [1] https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=275669
Created attachment 247269 [details] AdHoc patch to fix build Not sure this is the correct fix, but this patch fixed the build for me. The only consumer (for me) deskutils/xpad seems to running OK with this. The web page I found for this fix is at stackoverflow [2]. [2] https://stackoverflow.com/questions/1662909/undefined-reference-to-pthread-create-in-linux
Just adding a pr about same issue that mught be of value (See also)
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=ffe676bab6d497380d7f5d996b167ab70276af5c commit ffe676bab6d497380d7f5d996b167ab70276af5c Author: Dima Panov <fluffy@FreeBSD.org> AuthorDate: 2024-08-12 09:09:58 +0000 Commit: Dima Panov <fluffy@FreeBSD.org> CommitDate: 2024-08-12 09:09:58 +0000 devel/libayatana-indicator: Fails to build after update of x11-toolkits/gtk30 Approved by: maintainer timeout (> 6 months) PR: 275950 devel/libayatana-indicator/Makefile | 1 + 1 file changed, 1 insertion(+)
Fixed, thanks!
(In reply to Dima Panov from comment #4) Confirmed. Thanks!