Created attachment 492218 [details] build.log x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -I/usr/ include/libglade-2.0 -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libdrm -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libp ng16 -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/freetype2 -I/usr/i nclude/harfbuzz -I/usr/include/libxml2 -I/usr/include/gconf/2 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -I/usr/include/enchant -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I../libogmdvd -I../libogmdvd-gtk -I../libogmjob -I../libogmrip -I../libogmrip -I../libogmrip-gtk -DOGMRIP_DATA_DIR=\""/usr/share"\" -I/usr/local/include -I.. -Wall -march=native -mtune=native -O2 -pipe -g -I/usr/local/include -I.. -Wall -DG_DISABLE_SINGLE_INCLUDES -DGTK_DISABLE_SINGLE_INCLUDES -c ogmrip-spell-dialog.c ogmrip-spell-dialog.c: In function ‘ogmrip_spell_dialog_dispose’: ogmrip-spell-dialog.c:252:5: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] if (dialog->priv->dict); ^~ ogmrip-spell-dialog.c:253:7: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the ‘if’ enchant_broker_free_dict (dialog->priv->broker, dialog->priv->dict); ^~~~~~~~~~~~~~~~~~~~~~~~ ogmrip-spell-dialog.c: In function ‘ogmrip_spell_dialog_check_word’: ogmrip-spell-dialog.c:318:9: warning: implicit declaration of function ‘enchant_dict_add_to_personal’ [-Wimplicit-function-declaration] enchant_dict_add_to_personal (dialog->priv->dict, word, len); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ogmrip-spell-dialog.c:325:7: warning: implicit declaration of function ‘enchant_dict_free_suggestions’ [-Wimplicit-function-declaration] enchant_dict_free_suggestions (dialog->priv->dict, suggs); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -------8<-------------8<-------------------8<------------------ libtool: link: x86_64-pc-linux-gnu-gcc -march=native -mtune=native -O2 -pipe -g -I/usr/local/include -I.. -Wall -DG_DISABLE_SINGLE_INCLUDES -DGTK_DISABLE_SINGLE_INCLUDES -Wl,-O1 -Wl,--hash-style=gnu -Wl,--sort-common -Wl,--export-dynamic -o .libs/ogmrip ogmrip-crop-dialog.o ogmrip-gconf.o ogmrip-main.o ogmrip-marshal.o ogmrip-options-dialog.o ogmrip-pref-dialog.o ogmrip-profile-editor.o ogmrip-profiles.o ogmrip-profiles-dialog.o ogmrip-progress-dialog.o ogmrip-queue-dialog.o ogmrip-spell-dialog.o ogmrip-update-dialog.o ogmrip-audio-options.o ogmrip-subp-options.o -Wl,--export-dynamic -pthread -Wl,--as-needed -L/usr/local/lib -L/usr/pkg/lib ../libogmdvd/.libs/libogmdvd.so ../libogmdvd-gtk/.libs/libogmdvd-gtk.so ../libogmjob/.libs/libogmjob.so ../libogmrip/.libs/libogmrip.so ../libogmrip-gtk/.libs/libogmrip-gtk.so /var/tmp/portage/media-video/ogmrip-1.0.1/work/ogmrip-1.0.1/libogmdvd-gtk/.libs/libogmdvd-gtk.so /var/tmp/portage/media-video/ogmrip-1.0.1/work/ogmrip-1.0.1/libogmrip/.libs/libogmrip.so /var/tmp/portage/media-video/ogmrip-1.0.1/work/ogmrip-1.0.1/libogmdvd/.libs/libogmdvd.so /var/tmp/portage/media-video/ogmrip-1.0.1/work/ogmrip-1.0.1/libogmjob/.libs/libogmjob.so -lgmodule-2.0 -lenca -lm -lglade-2.0 -lgtk-x11-2.0 -lgdk-x11-2.0 -lpangocairo-1.0 -latk-1.0 -lcairo -lpangoft2-1.0 -lpango-1.0 -lfontconfig -lfreetype -lxml2 -lgconf-2 -lenchant -ldbus-glib-1 -ldbus-1 -lnotify -lgdk_pixbuf-2.0 -lgio-2.0 -lgobject-2.0 -lglib-2.0 -ldvdread -pthread ogmrip-spell-dialog.o: In function `ogmrip_spell_dialog_check_word': /var/tmp/portage/media-video/ogmrip-1.0.1/work/ogmrip-1.0.1/src/ogmrip-spell-dialog.c:325: undefined reference to `enchant_dict_free_suggestions' /var/tmp/portage/media-video/ogmrip-1.0.1/work/ogmrip-1.0.1/src/ogmrip-spell-dialog.c:318: undefined reference to `enchant_dict_add_to_personal' collect2: error: ld returned 1 exit status make[3]: *** [Makefile:451: ogmrip] Error 1 make[3]: Leaving directory '/var/tmp/portage/media-video/ogmrip-1.0.1/work/ogmrip-1.0.1/src' make[2]: *** [Makefile:369: all] Error 2 make[2]: Leaving directory '/var/tmp/portage/media-video/ogmrip-1.0.1/work/ogmrip-1.0.1/src' make[1]: *** [Makefile:422: all-recursive] Error 1 make[1]: Leaving directory '/var/tmp/portage/media-video/ogmrip-1.0.1/work/ogmrip-1.0.1' make: *** [Makefile:353: all] Error 2
Created attachment 565204 [details, diff] Enchant-2 patch from Arch Could you please test if the build succeeds with the attached patch?
Yes, with the attached patch, ogmrip compiles fine with both, old and new enchant.
the patch is not sufficient to switch over to enchant-2, which is now a different parallel-installable package with its own enchant-2.pc pkg-config file. I've locked the enchant dep to enchant:0, but this bug is still relevant for migrating everything over to enchant:2 - just now they can co-exist and we don't need to do migration all at once.
Debian seem to apply the same patch.
Package removed.