[Xfce-bugs] [Bug 16583] Does not build when source code configured with --disable-gtk2
bugzilla-daemon at xfce.org
bugzilla-daemon at xfce.org
Sat Mar 21 23:56:16 CET 2020
https://bugzilla.xfce.org/show_bug.cgi?id=16583
--- Comment #1 from kloczek <kloczko.tomasz at gmail.com> ---
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
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the Xfce-bugs
mailing list