Bug 247275 - x11-fm/caja fails to build with linker error undefined symbol: mate_desktop_thumbnail_scale_down_pixbuf using poudriere on 12.1 Stable amd64
Summary: x11-fm/caja fails to build with linker error undefined symbol: mate_desktop_t...
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: amd64 Any
: --- Affects Only Me
Assignee: freebsd-gnome (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-06-15 12:27 UTC by Robert Cina
Modified: 2020-06-18 13:54 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Robert Cina 2020-06-15 12:27:42 UTC
The port x11-fm/caja fails to build with a linker error when building using poudriere on 12.1 Stable amd64 for me. 

Below is poudriere build log of the error:

4 warnings generated.
mv -f .deps/caja-connect-server-dialog-main.Tpo .deps/caja-connect-server-dialog-main.Po
/bin/sh ../libtool  --tag=CC   --mode=link cc  -O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing   -fstack-protector-strong  -o caja-autorun-software caja-autorun-software.o  ../src/file-manager/libcaja-file-manager.la ../libcaja-private/libcaja-private.la -L/usr/local/lib -Wl,--export-dynamic -lgmodule-2.0 -lglib-2.0 -lmate-desktop-2 -lstartup-notification-1 -lgthread-2.0 -pthread -lglib-2.0 -lgailutil-3 -lxml2 -lgtk-3 -lgdk-3 -lpangocairo-1.0 -lpango-1.0 -latk-1.0 -lcairo-gobject -lcairo -lpthread -lgdk_pixbuf-2.0 -lgio-2.0 -lgobject-2.0 -lglib-2.0 -lintl -lX11  -L/usr/local/lib -lexif  -L/usr/local/lib -lexempi   -lnotify -lm -L/usr/local/lib
libtool: link: cc -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -fstack-protector-strong -o .libs/caja caja-application.o caja-bookmark-list.o caja-bookmarks-window.o caja-connect-server-dialog.o caja-connect-server-dialog-nonmain.o caja-connect-server-operation.o caja-desktop-window.o caja-emblem-sidebar.o caja-file-management-properties.o caja-freedesktop-dbus.o caja-history-sidebar.o caja-image-properties-page.o caja-information-panel.o caja-location-bar.o caja-location-dialog.o caja-location-entry.o caja-main.o caja-navigation-action.o caja-navigation-window-menus.o caja-navigation-window.o caja-navigation-window-pane.o caja-navigation-window-slot.o caja-notebook.o caja-notes-viewer.o caja-pathbar.o caja-places-sidebar.o caja-property-browser.o caja-query-editor.o caja-search-bar.o caja-self-check-functions.o caja-side-pane.o caja-sidebar-title.o caja-spatial-window.o caja-trash-bar.o caja-view-as-action.o caja-window-bookmarks.o caja-window-manage-views.o caja-window-menus.o caja-window-pane.o caja-window-slot.o caja-window-toolbars.o caja-window.o caja-x-content-bar.o caja-zoom-action.o caja-zoom-control.o caja-src-marshal.o caja-freedesktop-generated.o -Wl,--export-dynamic -pthread  ../src/file-manager/.libs/libcaja-file-manager.a -L/usr/local/lib ../libcaja-private/.libs/libcaja-private.a -lSM -lICE /wrkdirs/usr/ports/x11-fm/caja/work/caja-1.22.3/libcaja-extension/.libs/libcaja-extension.so -lgmodule-2.0 -lmate-desktop-2 -lstartup-notification-1 -lgthread-2.0 -lgailutil-3 -lxml2 -lX11 -lexif -lexempi -lnotify -lgtk-3 -lgdk-3 -lpangocairo-1.0 -lpango-1.0 -latk-1.0 -lcairo-gobject -lcairo -lpthread -lgdk_pixbuf-2.0 -lgio-2.0 -lgobject-2.0 -lglib-2.0 -lintl -lm -pthread -Wl,-rpath -Wl,/usr/local/lib
ld: error: undefined symbol: mate_desktop_thumbnail_scale_down_pixbuf
>>> referenced by fm-properties-window.c
>>>               fm-properties-window.o:(update_preview_callback) in archive ../src/file-manager/.libs/libcaja-file-manager.a
libtool: link: cc -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -fstack-protector-strong -o .libs/caja-autorun-software caja-autorun-software.o -Wl,--export-dynamic -pthread  ../src/file-manager/.libs/libcaja-file-manager.a -L/usr/local/lib ../libcaja-private/.libs/libcaja-private.a -lSM -lICE /wrkdirs/usr/ports/x11-fm/caja/work/caja-1.22.3/libcaja-extension/.libs/libcaja-extension.so -lgmodule-2.0 -lmate-desktop-2 -lstartup-notification-1 -lgthread-2.0 -lgailutil-3 -lxml2 -lX11 -lexif -lexempi -lnotify -lgtk-3 -lgdk-3 -lpangocairo-1.0 -lpango-1.0 -latk-1.0 -lcairo-gobject -lcairo -lpthread -lgdk_pixbuf-2.0 -lgio-2.0 -lgobject-2.0 -lglib-2.0 -lintl -lm -pthread -Wl,-rpath -Wl,/usr/local/lib
cc: error: linker command failed with exit code 1 (use -v to see invocation)
gmake[5]: *** [Makefile:1023: caja] Error 1
gmake[5]: *** Waiting for unfinished jobs....
libtool: link: cc -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -fstack-protector-strong -o .libs/caja-file-management-properties caja-file-management-properties.o caja-file-management-properties-main.o -Wl,--export-dynamic -pthread  ../src/file-manager/.libs/libcaja-file-manager.a -L/usr/local/lib ../libcaja-private/.libs/libcaja-private.a -lSM -lICE /wrkdirs/usr/ports/x11-fm/caja/work/caja-1.22.3/libcaja-extension/.libs/libcaja-extension.so -lgmodule-2.0 -lmate-desktop-2 -lstartup-notification-1 -lgthread-2.0 -lgailutil-3 -lxml2 -lX11 -lexif -lexempi -lnotify -lgtk-3 -lgdk-3 -lpangocairo-1.0 -lpango-1.0 -latk-1.0 -lcairo-gobject -lcairo -lpthread -lgdk_pixbuf-2.0 -lgio-2.0 -lgobject-2.0 -lglib-2.0 -lintl -lm -pthread -Wl,-rpath -Wl,/usr/local/lib
Generating and caching the translation database
Merging translations into mate-network-scheme.desktop.
gmake[5]: Leaving directory '/wrkdirs/usr/ports/x11-fm/caja/work/caja-1.22.3/src'
gmake[4]: *** [Makefile:1197: all-recursive] Error 1
gmake[4]: Leaving directory '/wrkdirs/usr/ports/x11-fm/caja/work/caja-1.22.3/src'
gmake[3]: *** [Makefile:937: all] Error 2
gmake[3]: Leaving directory '/wrkdirs/usr/ports/x11-fm/caja/work/caja-1.22.3/src'
gmake[2]: *** [Makefile:515: all-recursive] Error 1
gmake[2]: Leaving directory '/wrkdirs/usr/ports/x11-fm/caja/work/caja-1.22.3'
gmake[1]: *** [Makefile:446: all] Error 2
gmake[1]: Leaving directory '/wrkdirs/usr/ports/x11-fm/caja/work/caja-1.22.3'
===> 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/x11-fm/caja
=>> Cleaning up wrkdir
===>  Cleaning for caja-1.22.3
build of x11-fm/caja | caja-1.22.3 ended at Mon Jun 15 01:42:30 EDT 2020
build time: 00:01:31
!!! build failure encountered !!!
Comment 1 Robert Cina 2020-06-18 13:37:49 UTC
After updating the ports tree seems I no longer have this issue as the port has been fixed and now compiles correctly.  I think this bug report can be closed. Thanks.