[Users] building against GTK 3 fails regarding a quicksearch issue

Ralf Mardorf silver.bullet at zoho.com
Wed Nov 7 11:46:44 CET 2018


Hi,

on Arch Linux

building claws 3.17.0 r149 against gtk3 3.24.1+8+g220f77d8c1 fails [1]

and on Ubuntu 16.04.5 LTS

building claws 3.17.0 r150 against gtk3 3.18.9 fails [2].

Regards,
Ralf









[1]
[rocketmouse at archlinux claws-mail-gtk3-git]$ pacman -Q gtk3
gtk3 3.24.1+8+g220f77d8c1-1
[rocketmouse at archlinux claws-mail-gtk3-git]$ grep -v \# PKGBUILD | grep /configure -A15
	./configure \
        --build=$HOSTTYPE-arch-linux-gnu \
		--prefix=/usr \
		--disable-jpilot \
		--disable-maintainer-mode \
		--disable-manual \
		--disable-static \
		--enable-bogofilter-plugin \
		--enable-crash-dialog \
		--enable-enchant \
		--enable-gnutls \
        --enable-gtk3 \
		--enable-ldap \
		--enable-pgpmime-plugin \
		--enable-silent-rules \
		--enable-spamassassin-plugin
[rocketmouse at archlinux claws-mail-gtk3-git]$ makepkg -s 
[snip] claws-mail-gtk3-git 3.17.0.r149.g037e9121b-1
[snip]
quicksearch.c: In function ‘searchbar_pressed’:
quicksearch.c:337:38: error: ‘QuickSearch’ {aka ‘struct _QuickSearch’} has no member named ‘search_type_opt’; did you mean ‘search_type’?
   gtk_widget_grab_focus(quicksearch->search_type_opt);
                                      ^~~~~~~~~~~~~~~
                                      search_type
[snip]
quicksearch.c:988:4: warning: ‘gtk_widget_modify_text’ is deprecated: Use 'CSS style classes' instead [-Wdeprecated-declarations]
    gtk_widget_modify_text(
    ^~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/gtk-3.0/gtk/gtk.h:277,
                 from quicksearch.c:28:
/usr/include/gtk-3.0/gtk/deprecated/gtkstyle.h:757:13: note: declared here
 void        gtk_widget_modify_text        (GtkWidget            *widget,
             ^~~~~~~~~~~~~~~~~~~~~~
make[5]: *** [Makefile:701: quicksearch.lo] Error 1
make[5]: *** Waiting for unfinished jobs....
In file included from ./../toolbar.h:22,
                 from ./../mainwindow.h:29,
                 from ./../prefs_common.h:29,
                 from spell_entry.c:41:
./../gtk/gtkutils.h:253: warning: "GTK_TYPE_VBOX" redefined
 #define GTK_TYPE_VBOX GTK_TYPE_BOX
[snip]
make[5]: Leaving directory '/usr/src/claws-mail-gtk3-git/src/claws-mail/src/gtk'
make[4]: *** [Makefile:596: all] Error 2
make[4]: Leaving directory '/usr/src/claws-mail-gtk3-git/src/claws-mail/src/gtk'
make[3]: *** [Makefile:1649: all-recursive] Error 1
make[3]: Leaving directory '/usr/src/claws-mail-gtk3-git/src/claws-mail/src'
make[2]: *** [Makefile:1331: all] Error 2
make[2]: Leaving directory '/usr/src/claws-mail-gtk3-git/src/claws-mail/src'
make[1]: *** [Makefile:786: all-recursive] Error 1
make[1]: Leaving directory '/usr/src/claws-mail-gtk3-git/src/claws-mail'
make: *** [Makefile:560: all] Error 2
==> ERROR: A failure occurred in build().
    Aborting...









[2]
[weremouse at moonstudio src]$ apt list -qq 'libgtk-3-dev'
libgtk-3-dev/xenial-updates,now 3.18.9-1ubuntu3.3 amd64 [installed,automatic]
[weremouse at moonstudio src]$ git clone git://git.claws-mail.org/claws.git
[snip]
[weremouse at moonstudio claws]$ ./configure --build=$HOSTTYPE-ubuntu-linux-gnu --prefix=/usr --disable-static --enable-enchant --enable-gnutls --enable-gtk3 --enable-ldap --enable-crash-dialog --enable-pgpmime-plugin --enable-spamassassin-plugin --enable-bogofilter-plugin
[snip]
[weremouse at moonstudio claws]$ sh version
3.17.0-150-g45fa8a
[weremouse at moonstudio claws]$ make
quicksearch.c: In function ‘searchbar_pressed’:
quicksearch.c:337:36: error: ‘QuickSearch {aka struct _QuickSearch}’ has no member named ‘search_type_opt’
   gtk_widget_grab_focus(quicksearch->search_type_opt);
[snip]
Makefile:681: recipe for target 'quicksearch.lo' failed
make[5]: *** [quicksearch.lo] Error 1
make[5]: Leaving directory '/usr/src/claws/src/gtk'
Makefile:582: recipe for target 'all' failed
make[4]: *** [all] Error 2
make[4]: Leaving directory '/usr/src/claws/src/gtk'
Makefile:1564: recipe for target 'all-recursive' failed
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory '/usr/src/claws/src'
Makefile:1252: recipe for target 'all' failed
make[2]: *** [all] Error 2
make[2]: Leaving directory '/usr/src/claws/src'
Makefile:787: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/usr/src/claws'
Makefile:561: recipe for target 'all' failed
make: *** [all] Error 2




More information about the Users mailing list