! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
Does not build when source code configured with --disable-gtk2
Status:
RESOLVED: MOVED

Comments

Description kloczek 2020-03-21 23:49:40 CET
[tkloczko@barrel exo-0.12.11]$ grep -r  GTK3 | grep Makefile.am
exo-desktop-item-edit/Makefile.am:      $(GTK3_CFLAGS)                                                  \
exo-desktop-item-edit/Makefile.am:      $(GTK3_LIBS)                                                    \
tests/Makefile.am:      $(GTK3_CFLAGS)                                                  \
tests/Makefile.am:      $(GTK3_LIBS)                                                    \
docs/reference/Makefile.am:# We need to use GTK2 exo flags because the GTK3 version does not have
exo/Makefile.am:        $(GTK3_CFLAGS)                                                  \
exo/Makefile.am:        $(GTK3_LIBS)                                                    \
exo-open/Makefile.am:   $(GTK3_CFLAGS)                                                  \
exo-open/Makefile.am:   $(GTK3_LIBS)                                                    \
exo-helper/Makefile.am: $(GTK3_CFLAGS)                                                  \
exo-helper/Makefile.am: $(GTK3_LIBS)    
                                                \
[tkloczko@barrel exo-0.12.11]$ make
make  all-recursive
make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/exo-0.12.11'
Making all in exo
make[2]: Entering directory '/home/tkloczko/rpmbuild/BUILD/exo-0.12.11/exo'
make  all-am
make[3]: Entering directory '/home/tkloczko/rpmbuild/BUILD/exo-0.12.11/exo'
make[3]: Nothing to be done for 'all-am'.
make[3]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/exo-0.12.11/exo'
make[2]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/exo-0.12.11/exo'
Making all in exo-csource
make[2]: Entering directory '/home/tkloczko/rpmbuild/BUILD/exo-0.12.11/exo-csource'
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/exo-0.12.11/exo-csource'
Making all in exo-desktop-item-edit
make[2]: Entering directory '/home/tkloczko/rpmbuild/BUILD/exo-0.12.11/exo-desktop-item-edit'
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/exo-0.12.11/exo-desktop-item-edit'
Making all in exo-helper
make[2]: Entering directory '/home/tkloczko/rpmbuild/BUILD/exo-0.12.11/exo-helper'
make  all-recursive
make[3]: Entering directory '/home/tkloczko/rpmbuild/BUILD/exo-0.12.11/exo-helper'
Making all in helpers
make[4]: Entering directory '/home/tkloczko/rpmbuild/BUILD/exo-0.12.11/exo-helper/helpers'
make[4]: Nothing to be done for 'all'.
make[4]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/exo-0.12.11/exo-helper/helpers'
make[4]: Entering directory '/home/tkloczko/rpmbuild/BUILD/exo-0.12.11/exo-helper'
make[4]: Nothing to be done for 'all-am'.
make[4]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/exo-0.12.11/exo-helper'
make[3]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/exo-0.12.11/exo-helper'
make[2]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/exo-0.12.11/exo-helper'
Making all in exo-open
make[2]: Entering directory '/home/tkloczko/rpmbuild/BUILD/exo-0.12.11/exo-open'
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/exo-0.12.11/exo-open'
Making all in docs
make[2]: Entering directory '/home/tkloczko/rpmbuild/BUILD/exo-0.12.11/docs'
Making all in reference
make[3]: Entering directory '/home/tkloczko/rpmbuild/BUILD/exo-0.12.11/docs/reference'
_source_dir='' ; \
for i in ../.. ; do \
  _source_dir="${_source_dir} --source-dir=$i" ; \
done ; \
gtkdoc-scan --module=exo --ignore-headers="" ${_source_dir} --deprecated-guards="EXO_DISABLE_DEPRECATED"
if grep -l '^..*$' exo.types > /dev/null 2>&1 ; then \
  scanobj_options=""; \
  gtkdoc-scangobj 2>&1 --help | grep  >/dev/null "\-\-verbose"; \
  if test "$?" = "0"; then \
    if test "x" = "x1"; then \
      scanobj_options="--verbose"; \
    fi; \
  fi; \
  CC="/bin/sh ../../libtool --tag=CC --mode=compile gcc  -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include   -DNDEBUG -DHAVE_GNUC_VISIBILITY  -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -flto=auto -flto-partition=none -fcommon -DGSEAL_ENABLE" LD="/bin/sh ../../libtool --tag=CC --mode=link gcc -lgobject-2.0 -lglib-2.0   -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -flto=auto -flto-partition=none -fcommon -DGSEAL_ENABLE  -Wl,-z,relro -Wl,--as-needed  -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto=auto -flto-partition=none -fuse-linker-plugin -Wl,--as-needed -Wl,-O1" RUN="/bin/sh ../../libtool --mode=execute" CFLAGS="-I../.. -I../..  -I/usr/include/xfce4 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include  -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -flto=auto -flto-partition=none -fcommon -DGSEAL_ENABLE" LDFLAGS="../../exo/libexo-1.la  -Wl,-z,relro -Wl,--as-needed  -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto=auto -flto-partition=none -fuse-linker-plugin -Wl,--as-needed -Wl,-O1" \
  gtkdoc-scangobj  $scanobj_options --module=exo; \
else \
  for i in exo.args exo.hierarchy exo.interfaces exo.prerequisites exo.signals ; do \
    test -f $i || touch $i ; \
  done \
fi
In file included from exo-scan.c:7:
../../exo/exo.h:32:10: fatal error: gtk/gtk.h: No such file or directory
   32 | #include <gtk/gtk.h>
      |          ^~~~~~~~~~~
compilation terminated.
2020-03-21 22:47:06,936:scangobj.py:execute_command:1199:WARNING:Compiling scanner failed: 1, command: /bin/sh ../../libtool --tag=CC --mode=compile gcc -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -DNDEBUG -DHAVE_GNUC_VISIBILITY -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -flto=auto -flto-partition=none -fcommon -DGSEAL_ENABLE -I../.. -I../.. -I/usr/include/xfce4 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -flto=auto -flto-partition=none -fcommon -DGSEAL_ENABLE -c -o exo-scan.lo exo-scan.c
make[3]: *** [Makefile:825: scan-build.stamp] Error 1
make[3]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/exo-0.12.11/docs/reference'
make[2]: *** [Makefile:447: all-recursive] Error 1
make[2]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/exo-0.12.11/docs'
make[1]: *** [Makefile:530: all-recursive] Error 1
make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/exo-0.12.11'
Comment 1 kloczek 2020-03-21 23:56:16 CET
After add patch:

--- a/docs/reference/Makefile.am~       2019-11-03 22:36:58.000000000 +0000
+++ b/docs/reference/Makefile.am        2020-03-21 22:50:51.728676341 +0000
@@ -55,6 +55,7 @@
        -I$(top_srcdir)                                                 \
        -I$(top_builddir)                                               \
        $(GTK2_CFLAGS)                                                  \
+       $(GTK3_CFLAGS)                                                  \
        $(LIBXFCE4UTIL_CFLAGS)

 GTKDOC_LIBS =                                                                  \
exo-gtk3_only_fix.patch (END)


It fails now with:

make[3]: Entering directory '/home/tkloczko/rpmbuild/BUILD/exo-0.12.11/docs/reference'
_source_dir='' ; \
for i in ../.. ; do \
  _source_dir="${_source_dir} --source-dir=$i" ; \
done ; \
gtkdoc-scan --module=exo --ignore-headers="" ${_source_dir} --deprecated-guards="EXO_DISABLE_DEPRECATED"
if grep -l '^..*$' exo.types > /dev/null 2>&1 ; then \
  scanobj_options=""; \
  gtkdoc-scangobj 2>&1 --help | grep  >/dev/null "\-\-verbose"; \
  if test "$?" = "0"; then \
    if test "x" = "x1"; then \
      scanobj_options="--verbose"; \
    fi; \
  fi; \
  CC="/bin/sh ../../libtool --tag=CC --mode=compile gcc  -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include   -DNDEBUG -DHAVE_GNUC_VISIBILITY  -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -flto=auto -flto-partition=none -fcommon -DGSEAL_ENABLE" LD="/bin/sh ../../libtool --tag=CC --mode=link gcc -lgobject-2.0 -lglib-2.0   -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -flto=auto -flto-partition=none -fcommon -DGSEAL_ENABLE  -Wl,-z,relro -Wl,--as-needed  -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto=auto -flto-partition=none -fuse-linker-plugin -Wl,--as-needed -Wl,-O1" RUN="/bin/sh ../../libtool --mode=execute" CFLAGS="-I../.. -I../..  -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/harfbuzz -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/atk-1.0  -I/usr/include/xfce4 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include  -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -flto=auto -flto-partition=none -fcommon -DGSEAL_ENABLE" LDFLAGS="../../exo/libexo-1.la  -Wl,-z,relro -Wl,--as-needed  -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto=auto -flto-partition=none -fuse-linker-plugin -Wl,--as-needed -Wl,-O1" \
  gtkdoc-scangobj  $scanobj_options --module=exo; \
else \
  for i in exo.args exo.hierarchy exo.interfaces exo.prerequisites exo.signals ; do \
    test -f $i || touch $i ; \
  done \
fi
exo-scan.c: In function ‘get_object_types’:
exo-scan.c:21:23: warning: implicit declaration of function ‘exo_toolbars_editor_get_type’; did you mean ‘exo_toolbars_model_get_type’? [-Wimplicit-function-declaration]
   21 |   object_types[i++] = exo_toolbars_editor_get_type ();
      |                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                       exo_toolbars_model_get_type
exo-scan.c:22:23: warning: implicit declaration of function ‘exo_toolbars_editor_dialog_get_type’; did you mean ‘exo_toolbars_model_get_type’? [-Wimplicit-function-declaration]
   22 |   object_types[i++] = exo_toolbars_editor_dialog_get_type ();
      |                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                       exo_toolbars_model_get_type
exo-scan.c:24:23: warning: implicit declaration of function ‘exo_toolbars_view_get_type’; did you mean ‘exo_toolbars_model_get_type’? [-Wimplicit-function-declaration]
   24 |   object_types[i++] = exo_toolbars_view_get_type ();
      |                       ^~~~~~~~~~~~~~~~~~~~~~~~~~
      |                       exo_toolbars_model_get_type
exo-scan.c:25:23: warning: implicit declaration of function ‘exo_icon_bar_get_type’; did you mean ‘exo_icon_view_get_type’? [-Wimplicit-function-declaration]
   25 |   object_types[i++] = exo_icon_bar_get_type ();
      |                       ^~~~~~~~~~~~~~~~~~~~~
      |                       exo_icon_view_get_type
exo-scan.c:29:23: warning: implicit declaration of function ‘exo_wrap_table_get_type’; did you mean ‘gtk_wrap_mode_get_type’? [-Wimplicit-function-declaration]
   29 |   object_types[i++] = exo_wrap_table_get_type ();
      |                       ^~~~~~~~~~~~~~~~~~~~~~~
      |                       gtk_wrap_mode_get_type
exo-scan.c:30:23: warning: implicit declaration of function ‘exo_cell_renderer_ellipsized_text_get_type’; did you mean ‘exo_cell_renderer_icon_get_type’? [-Wimplicit-function-declaration]
   30 |   object_types[i++] = exo_cell_renderer_ellipsized_text_get_type ();
      |                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                       exo_cell_renderer_icon_get_type
exo-scan.c:34:23: warning: implicit declaration of function ‘exo_xsession_client_get_type’; did you mean ‘exo_icon_view_get_type’? [-Wimplicit-function-declaration]
   34 |   object_types[i++] = exo_xsession_client_get_type ();
      |                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                       exo_icon_view_get_type
libtool:   error: cannot find the library '../../exo/libexo-1.la' or unhandled argument '../../exo/libexo-1.la'
2020-03-21 22:52:58,759:scangobj.py:execute_command:1199:WARNING:Linking scanner failed: 1, command: /bin/sh ../../libtool --tag=CC --mode=link gcc -lgobject-2.0 -lglib-2.0 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -flto=auto -flto-partition=none -fcommon -DGSEAL_ENABLE -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto=auto -flto-partition=none -fuse-linker-plugin -Wl,--as-needed -Wl,-O1 exo-scan.lo ../../exo/libexo-1.la -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto=auto -flto-partition=none -fuse-linker-plugin -Wl,--as-needed -Wl,-O1 -o exo-scan
make[3]: *** [Makefile:826: scan-build.stamp] Error 1
make[3]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/exo-0.12.11/docs/reference'
make[2]: *** [Makefile:447: all-recursive] Error 1
make[2]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/exo-0.12.11/docs'
make[1]: *** [Makefile:530: all-recursive] Error 1
make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/exo-0.12.11'
make: *** [Makefile:462: all] Error 2
Comment 2 kloczek 2020-03-29 15:45:09 CEST
Any progress?
Or that project is already abandoned/unmaintained?
Comment 3 Git Bot editbugs 2020-05-25 22:56:52 CEST
-- GitLab Migration Automatic Message --

This bug has been migrated to xfce.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.xfce.org/xfce/exo/-/issues/23.

Please create an account or use an existing account on one of our supported OAuth providers. 

If you want to fork to submit patches and merge requests please continue reading here: https://docs.xfce.org/contribute/dev/git/start#gitlab_forks_and_merge_requests

Also feel free to reach out to us on the mailing list https://mail.xfce.org/mailman/listinfo/xfce4-dev

Bug #16583

Reported by:
kloczek
Reported on: 2020-03-21
Last modified on: 2020-05-25

People

Assignee:
Xfce Bug Triage
CC List:
0 users

Version

Version:
0.12.11

Attachments

Additional information