Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.fGSoT6 + umask 022 + cd /home/zsun/rpmbuild/BUILD + cd /home/zsun/rpmbuild/BUILD + rm -rf deepin-metacity-3.22.10 + /usr/bin/gzip -dc /home/zsun/rpmbuild/SOURCES/deepin-metacity-3.22.10.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd deepin-metacity-3.22.10 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.2EQxVi + umask 022 + cd /home/zsun/rpmbuild/BUILD + cd deepin-metacity-3.22.10 + ./autogen.sh **Warning**: I am going to run 'configure' with no arguments. If you wish to pass any to it, please specify them on the './autogen.sh' command line. + aclocal --install aclocal: installing 'm4/ax_check_enable_debug.m4' from '/usr/share/aclocal/ax_check_enable_debug.m4' aclocal: installing 'm4/glib-gettext.m4' from '/usr/share/aclocal/glib-gettext.m4' aclocal: installing 'm4/gsettings.m4' from '/usr/share/aclocal/gsettings.m4' aclocal: installing 'm4/intltool.m4' from '/usr/share/aclocal/intltool.m4' aclocal: installing 'm4/libtool.m4' from '/usr/share/aclocal/libtool.m4' aclocal: installing 'm4/ltoptions.m4' from '/usr/share/aclocal/ltoptions.m4' aclocal: installing 'm4/ltsugar.m4' from '/usr/share/aclocal/ltsugar.m4' aclocal: installing 'm4/ltversion.m4' from '/usr/share/aclocal/ltversion.m4' aclocal: installing 'm4/lt~obsolete.m4' from '/usr/share/aclocal/lt~obsolete.m4' aclocal: installing 'm4/nls.m4' from '/usr/share/aclocal/nls.m4' aclocal: installing 'm4/pkg.m4' from '/usr/share/aclocal/pkg.m4' aclocal: installing 'm4/yelp.m4' from '/usr/share/aclocal/yelp.m4' + intltoolize --force --copy --automake + autoreconf --verbose --force --install -Wno-portability autoreconf: Entering directory `.' autoreconf: configure.ac: not using Gettext autoreconf: running: aclocal --force --warnings=no-portability autoreconf: configure.ac: tracing autoreconf: configure.ac: creating directory build-aux autoreconf: running: libtoolize --copy --force libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, 'build-aux'. libtoolize: copying file 'build-aux/ltmain.sh' libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'. libtoolize: copying file 'm4/libtool.m4' libtoolize: copying file 'm4/ltoptions.m4' libtoolize: copying file 'm4/ltsugar.m4' libtoolize: copying file 'm4/ltversion.m4' libtoolize: copying file 'm4/lt~obsolete.m4' libtoolize: Consider adding '-I m4' to ACLOCAL_AMFLAGS in Makefile.am. autoreconf: running: /usr/bin/autoconf --force --warnings=no-portability autoreconf: running: /usr/bin/autoheader --force --warnings=no-portability autoreconf: running: automake --add-missing --copy --force-missing --warnings=no-portability configure.ac:60: installing 'build-aux/compile' configure.ac:60: installing 'build-aux/config.guess' configure.ac:60: installing 'build-aux/config.sub' configure.ac:52: installing 'build-aux/install-sh' configure.ac:52: installing 'build-aux/missing' Makefile.am: installing './INSTALL' src/Makefile.am:32: warning: source file 'core/async-getprop.c' is in a subdirectory, src/Makefile.am:32: but option 'subdir-objects' is disabled automake: warning: possible forward-incompatibility. automake: At least a source file is in a subdirectory, but the 'subdir-objects' automake: automake option hasn't been enabled. For now, the corresponding output automake: object file(s) will be placed in the top-level directory. However, automake: this behaviour will change in future Automake versions: they will automake: unconditionally cause object files to be placed in the same subdirectory automake: of the corresponding sources. automake: You are advised to start using 'subdir-objects' option throughout your automake: project, to avoid future incompatibilities. src/Makefile.am:32: warning: source file 'core/bell.c' is in a subdirectory, src/Makefile.am:32: but option 'subdir-objects' is disabled src/Makefile.am:32: warning: source file 'core/boxes.c' is in a subdirectory, src/Makefile.am:32: but option 'subdir-objects' is disabled src/Makefile.am:32: warning: source file 'core/deepin-message-hub.c' is in a subdirectory, src/Makefile.am:32: but option 'subdir-objects' is disabled src/Makefile.am:32: warning: source file 'compositor/compositor.c' is in a subdirectory, src/Makefile.am:32: but option 'subdir-objects' is disabled src/Makefile.am:32: warning: source file 'compositor/compositor-xrender.c' is in a subdirectory, src/Makefile.am:32: but option 'subdir-objects' is disabled src/Makefile.am:32: warning: source file 'core/above-tab-keycode.c' is in a subdirectory, src/Makefile.am:32: but option 'subdir-objects' is disabled src/Makefile.am:32: warning: source file 'core/constraints.c' is in a subdirectory, src/Makefile.am:32: but option 'subdir-objects' is disabled src/Makefile.am:32: warning: source file 'core/core.c' is in a subdirectory, src/Makefile.am:32: but option 'subdir-objects' is disabled src/Makefile.am:32: warning: source file 'core/delete.c' is in a subdirectory, src/Makefile.am:32: but option 'subdir-objects' is disabled src/Makefile.am:32: warning: source file 'core/display.c' is in a subdirectory, src/Makefile.am:32: but option 'subdir-objects' is disabled src/Makefile.am:32: warning: source file 'ui/draw-workspace.c' is in a subdirectory, src/Makefile.am:32: but option 'subdir-objects' is disabled src/Makefile.am:32: warning: source file 'core/edge-resistance.c' is in a subdirectory, src/Makefile.am:32: but option 'subdir-objects' is disabled src/Makefile.am:32: warning: source file 'core/effects.c' is in a subdirectory, src/Makefile.am:32: but option 'subdir-objects' is disabled src/Makefile.am:32: warning: source file 'core/errors.c' is in a subdirectory, src/Makefile.am:32: but option 'subdir-objects' is disabled src/Makefile.am:32: warning: source file 'core/eventqueue.c' is in a subdirectory, src/Makefile.am:32: but option 'subdir-objects' is disabled src/Makefile.am:32: warning: source file 'core/frame.c' is in a subdirectory, src/Makefile.am:32: but option 'subdir-objects' is disabled src/Makefile.am:32: warning: source file 'ui/gradient.c' is in a subdirectory, src/Makefile.am:32: but option 'subdir-objects' is disabled src/Makefile.am:32: warning: source file 'core/group-props.c' is in a subdirectory, src/Makefile.am:32: but option 'subdir-objects' is disabled src/Makefile.am:32: warning: source file 'core/group.c' is in a subdirectory, src/Makefile.am:32: but option 'subdir-objects' is disabled src/Makefile.am:32: warning: source file 'core/iconcache.c' is in a subdirectory, src/Makefile.am:32: but option 'subdir-objects' is disabled src/Makefile.am:32: warning: source file 'core/keybindings.c' is in a subdirectory, src/Makefile.am:32: but option 'subdir-objects' is disabled src/Makefile.am:32: warning: source file 'core/deepin-keybindings.c' is in a subdirectory, src/Makefile.am:32: but option 'subdir-objects' is disabled src/Makefile.am:32: warning: source file 'core/deepin-corner-indicator.c' is in a subdirectory, src/Makefile.am:32: but option 'subdir-objects' is disabled src/Makefile.am:32: warning: source file 'core/deepin-timeline.c' is in a subdirectory, src/Makefile.am:32: but option 'subdir-objects' is disabled src/Makefile.am:32: warning: source file 'core/main-private.c' is in a subdirectory, src/Makefile.am:32: but option 'subdir-objects' is disabled src/Makefile.am:32: warning: source file 'core/place.c' is in a subdirectory, src/Makefile.am:32: but option 'subdir-objects' is disabled src/Makefile.am:32: warning: source file 'core/prefs.c' is in a subdirectory, src/Makefile.am:32: but option 'subdir-objects' is disabled src/Makefile.am:32: warning: source file 'core/screen.c' is in a subdirectory, src/Makefile.am:32: but option 'subdir-objects' is disabled src/Makefile.am:32: warning: source file 'core/session.c' is in a subdirectory, src/Makefile.am:32: but option 'subdir-objects' is disabled src/Makefile.am:32: warning: source file 'core/stack.c' is in a subdirectory, src/Makefile.am:32: but option 'subdir-objects' is disabled src/Makefile.am:32: warning: source file 'core/util.c' is in a subdirectory, src/Makefile.am:32: but option 'subdir-objects' is disabled src/Makefile.am:32: warning: source file 'core/window-props.c' is in a subdirectory, src/Makefile.am:32: but option 'subdir-objects' is disabled src/Makefile.am:32: warning: source file 'core/window.c' is in a subdirectory, src/Makefile.am:32: but option 'subdir-objects' is disabled src/Makefile.am:32: warning: source file 'core/workspace.c' is in a subdirectory, src/Makefile.am:32: but option 'subdir-objects' is disabled src/Makefile.am:32: warning: source file 'core/xprops.c' is in a subdirectory, src/Makefile.am:32: but option 'subdir-objects' is disabled src/Makefile.am:32: warning: source file 'core/deepin-dbus-service.c' is in a subdirectory, src/Makefile.am:32: but option 'subdir-objects' is disabled src/Makefile.am:32: warning: source file 'ui/fixedtip.c' is in a subdirectory, src/Makefile.am:32: but option 'subdir-objects' is disabled src/Makefile.am:32: warning: source file 'ui/frames.c' is in a subdirectory, src/Makefile.am:32: but option 'subdir-objects' is disabled src/Makefile.am:32: warning: source file 'ui/deepin-menu.c' is in a subdirectory, src/Makefile.am:32: but option 'subdir-objects' is disabled src/Makefile.am:32: warning: source file 'ui/metaaccellabel.c' is in a subdirectory, src/Makefile.am:32: but option 'subdir-objects' is disabled src/Makefile.am:32: warning: source file 'ui/preview-widget.c' is in a subdirectory, src/Makefile.am:32: but option 'subdir-objects' is disabled src/Makefile.am:32: warning: source file 'ui/resizepopup.c' is in a subdirectory, src/Makefile.am:32: but option 'subdir-objects' is disabled src/Makefile.am:32: warning: source file 'ui/tabpopup.c' is in a subdirectory, src/Makefile.am:32: but option 'subdir-objects' is disabled src/Makefile.am:32: warning: source file 'ui/select-image.c' is in a subdirectory, src/Makefile.am:32: but option 'subdir-objects' is disabled src/Makefile.am:32: warning: source file 'ui/deepin-tabpopup.c' is in a subdirectory, src/Makefile.am:32: but option 'subdir-objects' is disabled src/Makefile.am:32: warning: source file 'ui/deepin-ease.c' is in a subdirectory, src/Makefile.am:32: but option 'subdir-objects' is disabled src/Makefile.am:32: warning: source file 'ui/deepin-tab-widget.c' is in a subdirectory, src/Makefile.am:32: but option 'subdir-objects' is disabled src/Makefile.am:32: warning: source file 'ui/deepin-fixed.c' is in a subdirectory, src/Makefile.am:32: but option 'subdir-objects' is disabled src/Makefile.am:32: warning: source file 'ui/deepin-design.c' is in a subdirectory, src/Makefile.am:32: but option 'subdir-objects' is disabled src/Makefile.am:32: warning: source file 'ui/deepin-stackblur.c' is in a subdirectory, src/Makefile.am:32: but option 'subdir-objects' is disabled src/Makefile.am:32: warning: source file 'ui/deepin-cloned-widget.c' is in a subdirectory, src/Makefile.am:32: but option 'subdir-objects' is disabled src/Makefile.am:32: warning: source file 'ui/deepin-wm-background.c' is in a subdirectory, src/Makefile.am:32: but option 'subdir-objects' is disabled src/Makefile.am:32: warning: source file 'ui/deepin-desktop-background.c' is in a subdirectory, src/Makefile.am:32: but option 'subdir-objects' is disabled src/Makefile.am:32: warning: source file 'ui/deepin-background-cache.c' is in a subdirectory, src/Makefile.am:32: but option 'subdir-objects' is disabled src/Makefile.am:32: warning: source file 'ui/deepin-shadow-workspace.c' is in a subdirectory, src/Makefile.am:32: but option 'subdir-objects' is disabled src/Makefile.am:32: warning: source file 'ui/deepin-workspace-overview.c' is in a subdirectory, src/Makefile.am:32: but option 'subdir-objects' is disabled src/Makefile.am:32: warning: source file 'ui/deepin-window-surface-manager.c' is in a subdirectory, src/Makefile.am:32: but option 'subdir-objects' is disabled src/Makefile.am:32: warning: source file 'ui/deepin-workspace-adder.c' is in a subdirectory, src/Makefile.am:32: but option 'subdir-objects' is disabled src/Makefile.am:32: warning: source file 'ui/deepin-stated-image.c' is in a subdirectory, src/Makefile.am:32: but option 'subdir-objects' is disabled src/Makefile.am:32: warning: source file 'ui/deepin-animation-image.c' is in a subdirectory, src/Makefile.am:32: but option 'subdir-objects' is disabled src/Makefile.am:32: warning: source file 'ui/deepin-workspace-indicator.c' is in a subdirectory, src/Makefile.am:32: but option 'subdir-objects' is disabled src/Makefile.am:32: warning: source file 'ui/deepin-workspace-preview-entry.c' is in a subdirectory, src/Makefile.am:32: but option 'subdir-objects' is disabled src/Makefile.am:32: warning: source file 'ui/select-workspace.c' is in a subdirectory, src/Makefile.am:32: but option 'subdir-objects' is disabled src/Makefile.am:32: warning: source file 'ui/tile-preview.c' is in a subdirectory, src/Makefile.am:32: but option 'subdir-objects' is disabled src/Makefile.am:32: warning: source file 'ui/theme-parser.c' is in a subdirectory, src/Makefile.am:32: but option 'subdir-objects' is disabled src/Makefile.am:32: warning: source file 'ui/theme.c' is in a subdirectory, src/Makefile.am:32: but option 'subdir-objects' is disabled src/Makefile.am:32: warning: source file 'ui/ui.c' is in a subdirectory, src/Makefile.am:32: but option 'subdir-objects' is disabled src/Makefile.am:25: warning: source file 'core/main.c' is in a subdirectory, src/Makefile.am:25: but option 'subdir-objects' is disabled src/Makefile.am:194: warning: source file 'ui/theme-viewer.c' is in a subdirectory, src/Makefile.am:194: but option 'subdir-objects' is disabled src/Makefile.am:211: warning: source file 'core/async-getprop.c' is in a subdirectory, src/Makefile.am:211: but option 'subdir-objects' is disabled src/Makefile.am:211: warning: source file 'core/testasyncgetprop.c' is in a subdirectory, src/Makefile.am:211: but option 'subdir-objects' is disabled src/Makefile.am:209: warning: source file 'core/util.c' is in a subdirectory, src/Makefile.am:209: but option 'subdir-objects' is disabled src/Makefile.am:209: warning: source file 'core/boxes.c' is in a subdirectory, src/Makefile.am:209: but option 'subdir-objects' is disabled src/Makefile.am:209: warning: source file 'core/testboxes.c' is in a subdirectory, src/Makefile.am:209: but option 'subdir-objects' is disabled src/Makefile.am:210: warning: source file 'ui/gradient.c' is in a subdirectory, src/Makefile.am:210: but option 'subdir-objects' is disabled src/Makefile.am:210: warning: source file 'ui/testgradient.c' is in a subdirectory, src/Makefile.am:210: but option 'subdir-objects' is disabled src/Makefile.am: installing 'build-aux/depcomp' autoreconf: Leaving directory `.' + ./configure checking whether to enable debugging... yes checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking whether UID '1000' is supported by ustar format... yes checking whether GID '1000' is supported by ustar format... yes checking how to create a ustar tar archive... gnutar checking whether to enable maintainer-specific portions of Makefiles... yes checking whether make supports nested variables... (cached) yes checking build system type... x86_64-pc-linux-gnu checking host system type... x86_64-pc-linux-gnu checking how to print strings... printf checking for style of include used by make... GNU checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking whether gcc understands -c and -o together... yes checking dependency style of gcc... gcc3 checking for a sed that does not truncate output... /usr/bin/sed checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for fgrep... /usr/bin/grep -F checking for ld used by gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 1572864 checking how to convert x86_64-pc-linux-gnu file names to x86_64-pc-linux-gnu format... func_convert_file_noop checking how to convert x86_64-pc-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/bin/ld option to reload object files... -r checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for ar... ar checking for archiver @FILE support... @ checking for strip... strip checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from gcc object... ok checking for sysroot... no checking for a working dd... /usr/bin/dd checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1 checking for mt... no checking if : is a manifest tool... no checking how to run the C preprocessor... gcc -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for dlfcn.h... yes checking for objdir... .libs checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... yes checking if gcc static flag -static works... no checking if gcc supports -c -o file.o... yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes checking for cos in -lm... yes checking whether NLS is requested... yes checking for intltool >= 0.34.90... 0.51.0 found checking for intltool-update... /usr/bin/intltool-update checking for intltool-merge... /usr/bin/intltool-merge checking for intltool-extract... /usr/bin/intltool-extract checking for xgettext... /usr/bin/xgettext checking for msgmerge... /usr/bin/msgmerge checking for msgfmt... /usr/bin/msgfmt checking for gmsgfmt... /usr/bin/msgfmt checking for perl... /usr/bin/perl checking for perl >= 5.8.1... 5.24.2 checking for XML::Parser... ok checking for gcc... (cached) gcc checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking whether gcc understands -c and -o together... (cached) yes checking dependency style of gcc... (cached) gcc3 checking for library containing strerror... none required checking for ANSI C header files... (cached) yes checking size of char... 1 checking size of short... 2 checking size of long... 8 checking size of int... 4 checking size of void *... 8 checking size of long long... 8 checking size of __int64... 0 checking whether byte ordering is bigendian... no checking for pkg-config... /usr/bin/pkg-config checking pkg-config is at least version 0.16... yes checking execinfo.h usability... yes checking execinfo.h presence... yes checking for execinfo.h... yes checking for backtrace... yes checking locale.h usability... yes checking locale.h presence... yes checking for locale.h... yes checking for LC_MESSAGES... yes checking for CFPreferencesCopyAppValue... no checking for CFLocaleCopyCurrent... no checking libintl.h usability... yes checking libintl.h presence... yes checking for libintl.h... yes checking for ngettext in libc... yes checking for dgettext in libc... yes checking for bind_textdomain_codeset... yes checking for msgfmt... (cached) /usr/bin/msgfmt checking for dcgettext... yes checking if msgfmt accepts -c... yes checking for gmsgfmt... (cached) /usr/bin/msgfmt checking for xgettext... (cached) /usr/bin/xgettext checking for ALL... yes checking for METACITY_MESSAGE... yes checking for METACITY_WINDOW_DEMO... yes pangoxft found checking Startup notification library >= 0.7... yes Building with libstartup-notification Building compositing manager by default now. checking Xcomposite >= 0.3... yes Building with compositing manager checking Xcursor... yes Building with Xcursor checking libgtop... yes Building with libgtop checking for METACITY... yes checking for X... libraries , headers checking for gethostbyname... yes checking for connect... yes checking for remove... yes checking for shmat... yes checking for IceConnectionNumber in -lICE... yes checking for XineramaQueryExtension in -lXinerama... yes checking for X11/extensions/Xinerama.h... yes checking for Xinerama support on XFree86... yes checking for XkbQueryExtension in -lX11... yes checking X11/XKBlib.h usability... yes checking X11/XKBlib.h presence... yes checking for X11/XKBlib.h... yes checking for XRRUpdateConfiguration in -lXrandr... yes checking for X11/extensions/Xrandr.h... yes checking for SmcSaveYourselfDone in -lSM... yes checking X11/SM/SMlib.h usability... yes checking X11/SM/SMlib.h presence... yes checking for X11/SM/SMlib.h... yes checking for zenity... /usr/bin/zenity checking for itstool... itstool checking for xmllint... xmllint checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating doc/Makefile config.status: creating doc/creating_themes/Makefile config.status: creating doc/man/Makefile config.status: creating src/Makefile config.status: creating src/libmetacity-private.pc config.status: creating src/tools/Makefile config.status: creating src/themes/Makefile config.status: creating po/Makefile.in config.status: creating config.h config.status: executing depfiles commands config.status: executing libtool commands config.status: executing default-1 commands config.status: executing po/stamp-it commands Deepin Metacity 3.18.0 ====================== srcdir ......................: . compiler ....................: gcc cflags ......................: -std=gnu99 -g -O0 prefix ......................: /usr/local exec_prefix .................: ${prefix} libdir ......................: ${exec_prefix}/lib sysconfdir ..................: ${prefix}/etc libexecdir ..................: ${exec_prefix}/libexec Canberra ....................: yes XFree86 Xinerama ............: yes Solaris Xinerama ............: no Startup notification ........: yes Compositing manager .........: yes Session management ..........: yes Resize-and-rotate ...........: yes Render ......................: yes Xcursor .....................: yes Now type 'make' to compile deepin-metacity. + CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + '[' 1 = 1 ']' +++ dirname ./configure ++ find . -name config.guess -o -name config.sub + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./build-aux/config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ./build-aux/config.sub ++ basename ./build-aux/config.sub + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./build-aux/config.sub '/usr/lib/rpm/redhat/config.sub' -> './build-aux/config.sub' + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./build-aux/config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ./build-aux/config.guess ++ basename ./build-aux/config.guess + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./build-aux/config.guess '/usr/lib/rpm/redhat/config.guess' -> './build-aux/config.guess' + '[' 1 = 1 ']' + '[' x '!=' x-specs=/usr/lib/rpm/redhat/redhat-hardened-ld ']' ++ find . -name ltmain.sh + for i in $(find . -name ltmain.sh) + /usr/bin/sed -i.backup -e 's~compiler_flags=$~compiler_flags="-specs=/usr/lib/rpm/redhat/redhat-hardened-ld"~' ./build-aux/ltmain.sh + ./configure --build=x86_64-redhat-linux-gnu --host=x86_64-redhat-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --disable-static --disable-schemas-compile checking whether to enable debugging... yes checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking whether UID '1000' is supported by ustar format... yes checking whether GID '1000' is supported by ustar format... yes checking how to create a ustar tar archive... gnutar checking whether to enable maintainer-specific portions of Makefiles... yes checking whether make supports nested variables... (cached) yes checking build system type... x86_64-redhat-linux-gnu checking host system type... x86_64-redhat-linux-gnu checking how to print strings... printf checking for style of include used by make... GNU checking for x86_64-redhat-linux-gnu-gcc... no checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking whether gcc understands -c and -o together... yes checking dependency style of gcc... none checking for a sed that does not truncate output... /usr/bin/sed checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for fgrep... /usr/bin/grep -F checking for ld used by gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 1572864 checking how to convert x86_64-redhat-linux-gnu file names to x86_64-redhat-linux-gnu format... func_convert_file_noop checking how to convert x86_64-redhat-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/bin/ld option to reload object files... -r checking for x86_64-redhat-linux-gnu-objdump... no checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for x86_64-redhat-linux-gnu-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for x86_64-redhat-linux-gnu-ar... no checking for ar... ar checking for archiver @FILE support... @ checking for x86_64-redhat-linux-gnu-strip... no checking for strip... strip checking for x86_64-redhat-linux-gnu-ranlib... no checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from gcc object... ok checking for sysroot... no checking for a working dd... /usr/bin/dd checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1 checking for x86_64-redhat-linux-gnu-mt... no checking for mt... no checking if : is a manifest tool... no checking how to run the C preprocessor... gcc -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for dlfcn.h... yes checking for objdir... .libs checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... yes checking if gcc static flag -static works... no checking if gcc supports -c -o file.o... yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking for cos in -lm... yes checking whether NLS is requested... yes checking for intltool >= 0.34.90... 0.51.0 found checking for intltool-update... /usr/bin/intltool-update checking for intltool-merge... /usr/bin/intltool-merge checking for intltool-extract... /usr/bin/intltool-extract checking for xgettext... /usr/bin/xgettext checking for msgmerge... /usr/bin/msgmerge checking for msgfmt... /usr/bin/msgfmt checking for gmsgfmt... /usr/bin/msgfmt checking for perl... /usr/bin/perl checking for perl >= 5.8.1... 5.24.2 checking for XML::Parser... ok checking for x86_64-redhat-linux-gnu-gcc... gcc checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking whether gcc understands -c and -o together... (cached) yes checking dependency style of gcc... (cached) none checking for library containing strerror... none required checking for ANSI C header files... (cached) yes checking size of char... 1 checking size of short... 2 checking size of long... 8 checking size of int... 4 checking size of void *... 8 checking size of long long... 8 checking size of __int64... 0 checking whether byte ordering is bigendian... no checking for x86_64-redhat-linux-gnu-pkg-config... /usr/bin/x86_64-redhat-linux-gnu-pkg-config checking pkg-config is at least version 0.16... yes checking execinfo.h usability... yes checking execinfo.h presence... yes checking for execinfo.h... yes checking for backtrace... yes checking locale.h usability... yes checking locale.h presence... yes checking for locale.h... yes checking for LC_MESSAGES... yes checking for CFPreferencesCopyAppValue... no checking for CFLocaleCopyCurrent... no checking libintl.h usability... yes checking libintl.h presence... yes checking for libintl.h... yes checking for ngettext in libc... yes checking for dgettext in libc... yes checking for bind_textdomain_codeset... yes checking for msgfmt... (cached) /usr/bin/msgfmt checking for dcgettext... yes checking if msgfmt accepts -c... yes checking for gmsgfmt... (cached) /usr/bin/msgfmt checking for xgettext... (cached) /usr/bin/xgettext checking for ALL... yes checking for METACITY_MESSAGE... yes checking for METACITY_WINDOW_DEMO... yes pangoxft found checking Startup notification library >= 0.7... yes Building with libstartup-notification Building compositing manager by default now. checking Xcomposite >= 0.3... yes Building with compositing manager checking Xcursor... yes Building with Xcursor checking libgtop... yes Building with libgtop checking for METACITY... yes checking for X... libraries , headers checking for gethostbyname... yes checking for connect... yes checking for remove... yes checking for shmat... yes checking for IceConnectionNumber in -lICE... yes checking for XineramaQueryExtension in -lXinerama... yes checking for X11/extensions/Xinerama.h... yes checking for Xinerama support on XFree86... yes checking for XkbQueryExtension in -lX11... yes checking X11/XKBlib.h usability... yes checking X11/XKBlib.h presence... yes checking for X11/XKBlib.h... yes checking for XRRUpdateConfiguration in -lXrandr... yes checking for X11/extensions/Xrandr.h... yes checking for SmcSaveYourselfDone in -lSM... yes checking X11/SM/SMlib.h usability... yes checking X11/SM/SMlib.h presence... yes checking for X11/SM/SMlib.h... yes checking for zenity... /usr/bin/zenity checking for itstool... itstool checking for xmllint... xmllint checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating doc/Makefile config.status: creating doc/creating_themes/Makefile config.status: creating doc/man/Makefile config.status: creating src/Makefile config.status: creating src/libmetacity-private.pc config.status: creating src/tools/Makefile config.status: creating src/themes/Makefile config.status: creating po/Makefile.in config.status: creating config.h config.status: config.h is unchanged config.status: executing depfiles commands config.status: executing libtool commands config.status: executing default-1 commands config.status: executing po/stamp-it commands Deepin Metacity 3.18.0 ====================== srcdir ......................: . compiler ....................: gcc cflags ......................: -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -std=gnu99 -g -O0 prefix ......................: /usr exec_prefix .................: /usr libdir ......................: /usr/lib64 sysconfdir ..................: /etc libexecdir ..................: /usr/libexec Canberra ....................: yes XFree86 Xinerama ............: yes Solaris Xinerama ............: no Startup notification ........: yes Compositing manager .........: yes Session management ..........: yes Resize-and-rotate ...........: yes Render ......................: yes Xcursor .....................: yes + /usr/bin/make -O -j2 /usr/bin/make all-recursive Making all in doc Making all in man make[2]: Entering directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/doc' git.mk: Generating .gitignore make[2]: Leaving directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/doc' make[3]: Entering directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/doc/man' git.mk: Generating .gitignore make[3]: Leaving directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/doc/man' Making all in creating_themes make[3]: Entering directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/doc/creating_themes' git.mk: Generating .gitignore make[3]: Leaving directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/doc/creating_themes' make[3]: Entering directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/doc/creating_themes' GEN de/de.mo make[3]: Leaving directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/doc/creating_themes' make[3]: Entering directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/doc/creating_themes' GEN de/ make[3]: Leaving directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/doc/creating_themes' make[3]: Nothing to be done for 'all-am'. Making all in src make[2]: Entering directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/src' GEN deepin-dbus-wm.c make[2]: Leaving directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/src' make[2]: Entering directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/src' GEN deepin-dbus-wm.h make[2]: Leaving directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/src' make[2]: Entering directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/src' git.mk: Generating .gitignore make[2]: Leaving directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/src' /usr/bin/make all-recursive Making all in tools make[4]: Entering directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/src/tools' CC metacity-message.o In file included from /usr/include/bits/libc-header-start.h:33:0, from /usr/include/limits.h:26, from /usr/lib/gcc/x86_64-redhat-linux/7/include/limits.h:194, from /usr/lib/gcc/x86_64-redhat-linux/7/include/syslimits.h:7, from /usr/lib/gcc/x86_64-redhat-linux/7/include/limits.h:34, from /usr/lib64/glib-2.0/include/glibconfig.h:11, from /usr/include/glib-2.0/glib/gtypes.h:32, from /usr/include/glib-2.0/glib/galloca.h:32, from /usr/include/glib-2.0/glib.h:30, from /usr/include/gtk-3.0/gdk/gdkconfig.h:13, from /usr/include/gtk-3.0/gdk/gdk.h:30, from /usr/include/gtk-3.0/gtk/gtk.h:30, from metacity-message.c:21: /usr/include/features.h:373:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ make[4]: Leaving directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/src/tools' make[4]: Entering directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/src/tools' CC metacity-window-demo.o In file included from /usr/include/bits/libc-header-start.h:33:0, from /usr/include/limits.h:26, from /usr/lib/gcc/x86_64-redhat-linux/7/include/limits.h:194, from /usr/lib/gcc/x86_64-redhat-linux/7/include/syslimits.h:7, from /usr/lib/gcc/x86_64-redhat-linux/7/include/limits.h:34, from /usr/lib64/glib-2.0/include/glibconfig.h:11, from /usr/include/glib-2.0/glib/gtypes.h:32, from /usr/include/glib-2.0/glib/galloca.h:32, from /usr/include/glib-2.0/glib.h:30, from /usr/include/gtk-3.0/gdk/gdkconfig.h:13, from /usr/include/gtk-3.0/gdk/gdk.h:30, from /usr/include/gtk-3.0/gtk/gtk.h:30, from metacity-window-demo.c:20: /usr/include/features.h:373:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ metacity-window-demo.c: In function 'make_dock': metacity-window-demo.c:608:7: warning: 'gdk_screen_width' is deprecated [-Wdeprecated-declarations] gtk_window_move (GTK_WINDOW (window), gdk_screen_width () - DOCK_SIZE, 200); ^~~~~~~~~~~~~~~ In file included from /usr/include/gtk-3.0/gdk/gdk.h:50:0, from /usr/include/gtk-3.0/gtk/gtk.h:30, from metacity-window-demo.c:20: /usr/include/gtk-3.0/gdk/gdkmain.h:108:6: note: declared here gint gdk_screen_width (void) G_GNUC_CONST; ^~~~~~~~~~~~~~~~ metacity-window-demo.c:620:7: warning: 'gdk_screen_height' is deprecated [-Wdeprecated-declarations] gtk_window_move (GTK_WINDOW (window), 200, gdk_screen_height () - DOCK_SIZE); ^~~~~~~~~~~~~~~ In file included from /usr/include/gtk-3.0/gdk/gdk.h:50:0, from /usr/include/gtk-3.0/gtk/gtk.h:30, from metacity-window-demo.c:20: /usr/include/gtk-3.0/gdk/gdkmain.h:110:6: note: declared here gint gdk_screen_height (void) G_GNUC_CONST; ^~~~~~~~~~~~~~~~~ metacity-window-demo.c: In function 'desktop_cb': metacity-window-demo.c:700:32: warning: 'gdk_screen_width' is deprecated [-Wdeprecated-declarations] gdk_screen_width (), gdk_screen_height ()); ^~~~~~~~~~~~~~~~ In file included from /usr/include/gtk-3.0/gdk/gdk.h:50:0, from /usr/include/gtk-3.0/gtk/gtk.h:30, from metacity-window-demo.c:20: /usr/include/gtk-3.0/gdk/gdkmain.h:108:6: note: declared here gint gdk_screen_width (void) G_GNUC_CONST; ^~~~~~~~~~~~~~~~ metacity-window-demo.c:700:32: warning: 'gdk_screen_height' is deprecated [-Wdeprecated-declarations] gdk_screen_width (), gdk_screen_height ()); ^~~~~~~~~~~~~~~~ In file included from /usr/include/gtk-3.0/gdk/gdk.h:50:0, from /usr/include/gtk-3.0/gtk/gtk.h:30, from metacity-window-demo.c:20: /usr/include/gtk-3.0/gdk/gdkmain.h:110:6: note: declared here gint gdk_screen_height (void) G_GNUC_CONST; ^~~~~~~~~~~~~~~~~ make[4]: Leaving directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/src/tools' make[4]: Entering directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/src/tools' CC metacity-grayscale.o In file included from /usr/include/bits/libc-header-start.h:33:0, from /usr/include/limits.h:26, from /usr/lib/gcc/x86_64-redhat-linux/7/include/limits.h:194, from /usr/lib/gcc/x86_64-redhat-linux/7/include/syslimits.h:7, from /usr/lib/gcc/x86_64-redhat-linux/7/include/limits.h:34, from /usr/lib64/glib-2.0/include/glibconfig.h:11, from /usr/include/glib-2.0/glib/gtypes.h:32, from /usr/include/glib-2.0/glib/galloca.h:32, from /usr/include/glib-2.0/glib.h:30, from /usr/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf.h:29, from metacity-grayscale.c:20: /usr/include/features.h:373:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ make[4]: Leaving directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/src/tools' make[4]: Entering directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/src/tools' git.mk: Generating .gitignore make[4]: Leaving directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/src/tools' make[4]: Entering directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/src/tools' CC metacity-mag.o In file included from /usr/include/bits/libc-header-start.h:33:0, from /usr/include/limits.h:26, from /usr/lib/gcc/x86_64-redhat-linux/7/include/limits.h:194, from /usr/lib/gcc/x86_64-redhat-linux/7/include/syslimits.h:7, from /usr/lib/gcc/x86_64-redhat-linux/7/include/limits.h:34, from /usr/lib64/glib-2.0/include/glibconfig.h:11, from /usr/include/glib-2.0/glib/gtypes.h:32, from /usr/include/glib-2.0/glib/galloca.h:32, from /usr/include/glib-2.0/glib.h:30, from /usr/include/gtk-3.0/gdk/gdkconfig.h:13, from /usr/include/gtk-3.0/gdk/gdk.h:30, from /usr/include/gtk-3.0/gtk/gtk.h:30, from metacity-mag.c:23: /usr/include/features.h:373:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ metacity-mag.c: In function 'shutdown_grab': metacity-mag.c:149:3: warning: 'gdk_display_get_device_manager' is deprecated: Use 'gdk_display_get_default_seat' instead [-Wdeprecated-declarations] GdkDeviceManager *manager = gdk_display_get_device_manager (gdk_display_get_default ()); ^~~~~~~~~~~~~~~~ In file included from /usr/include/gtk-3.0/gdk/gdkscreen.h:32:0, from /usr/include/gtk-3.0/gdk/gdkapplaunchcontext.h:31, from /usr/include/gtk-3.0/gdk/gdk.h:32, from /usr/include/gtk-3.0/gtk/gtk.h:30, from metacity-mag.c:23: /usr/include/gtk-3.0/gdk/gdkdisplay.h:171:20: note: declared here GdkDeviceManager * gdk_display_get_device_manager (GdkDisplay *display); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ metacity-mag.c:150:3: warning: 'gdk_device_manager_get_client_pointer' is deprecated [-Wdeprecated-declarations] GdkDevice *device = gdk_device_manager_get_client_pointer (manager); ^~~~~~~~~ In file included from /usr/include/gtk-3.0/gdk/gdkdisplay.h:32:0, from /usr/include/gtk-3.0/gdk/gdkscreen.h:32, from /usr/include/gtk-3.0/gdk/gdkapplaunchcontext.h:31, from /usr/include/gtk-3.0/gdk/gdk.h:32, from /usr/include/gtk-3.0/gtk/gtk.h:30, from metacity-mag.c:23: /usr/include/gtk-3.0/gdk/gdkdevicemanager.h:44:14: note: declared here GdkDevice * gdk_device_manager_get_client_pointer (GdkDeviceManager *device_manager); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ metacity-mag.c:152:3: warning: 'gdk_device_ungrab' is deprecated: Use 'gdk_seat_ungrab' instead [-Wdeprecated-declarations] gdk_device_ungrab (device, gtk_get_current_event_time ()); ^~~~~~~~~~~~~~~~~ In file included from /usr/include/gtk-3.0/gdk/gdkdnd.h:33:0, from /usr/include/gtk-3.0/gdk/gdkevents.h:34, from /usr/include/gtk-3.0/gdk/gdkdisplay.h:31, from /usr/include/gtk-3.0/gdk/gdkscreen.h:32, from /usr/include/gtk-3.0/gdk/gdkapplaunchcontext.h:31, from /usr/include/gtk-3.0/gdk/gdk.h:32, from /usr/include/gtk-3.0/gtk/gtk.h:30, from metacity-mag.c:23: /usr/include/gtk-3.0/gdk/gdkdevice.h:239:15: note: declared here void gdk_device_ungrab (GdkDevice *device, ^~~~~~~~~~~~~~~~~ metacity-mag.c:153:3: warning: 'gdk_device_ungrab' is deprecated: Use 'gdk_seat_ungrab' instead [-Wdeprecated-declarations] gdk_device_ungrab (gdk_device_get_associated_device (device), gtk_get_current_event_time ()); ^~~~~~~~~~~~~~~~~ In file included from /usr/include/gtk-3.0/gdk/gdkdnd.h:33:0, from /usr/include/gtk-3.0/gdk/gdkevents.h:34, from /usr/include/gtk-3.0/gdk/gdkdisplay.h:31, from /usr/include/gtk-3.0/gdk/gdkscreen.h:32, from /usr/include/gtk-3.0/gdk/gdkapplaunchcontext.h:31, from /usr/include/gtk-3.0/gdk/gdk.h:32, from /usr/include/gtk-3.0/gtk/gtk.h:30, from metacity-mag.c:23: /usr/include/gtk-3.0/gdk/gdkdevice.h:239:15: note: declared here void gdk_device_ungrab (GdkDevice *device, ^~~~~~~~~~~~~~~~~ metacity-mag.c: In function 'begin_area_grab': metacity-mag.c:245:3: warning: 'gdk_display_get_device_manager' is deprecated: Use 'gdk_display_get_default_seat' instead [-Wdeprecated-declarations] manager = gdk_display_get_device_manager (gdk_display_get_default ()); ^~~~~~~ In file included from /usr/include/gtk-3.0/gdk/gdkscreen.h:32:0, from /usr/include/gtk-3.0/gdk/gdkapplaunchcontext.h:31, from /usr/include/gtk-3.0/gdk/gdk.h:32, from /usr/include/gtk-3.0/gtk/gtk.h:30, from metacity-mag.c:23: /usr/include/gtk-3.0/gdk/gdkdisplay.h:171:20: note: declared here GdkDeviceManager * gdk_display_get_device_manager (GdkDisplay *display); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ metacity-mag.c:246:3: warning: 'gdk_device_manager_get_client_pointer' is deprecated [-Wdeprecated-declarations] device = gdk_device_manager_get_client_pointer (manager); ^~~~~~ In file included from /usr/include/gtk-3.0/gdk/gdkdisplay.h:32:0, from /usr/include/gtk-3.0/gdk/gdkscreen.h:32, from /usr/include/gtk-3.0/gdk/gdkapplaunchcontext.h:31, from /usr/include/gtk-3.0/gdk/gdk.h:32, from /usr/include/gtk-3.0/gtk/gtk.h:30, from metacity-mag.c:23: /usr/include/gtk-3.0/gdk/gdkdevicemanager.h:44:14: note: declared here GdkDevice * gdk_device_manager_get_client_pointer (GdkDeviceManager *device_manager); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ metacity-mag.c:248:3: warning: 'gdk_device_grab' is deprecated: Use 'gdk_seat_grab' instead [-Wdeprecated-declarations] if (gdk_device_grab (device, ^~ In file included from /usr/include/gtk-3.0/gdk/gdkdnd.h:33:0, from /usr/include/gtk-3.0/gdk/gdkevents.h:34, from /usr/include/gtk-3.0/gdk/gdkdisplay.h:31, from /usr/include/gtk-3.0/gdk/gdkscreen.h:32, from /usr/include/gtk-3.0/gdk/gdkapplaunchcontext.h:31, from /usr/include/gtk-3.0/gdk/gdk.h:32, from /usr/include/gtk-3.0/gtk/gtk.h:30, from metacity-mag.c:23: /usr/include/gtk-3.0/gdk/gdkdevice.h:230:15: note: declared here GdkGrabStatus gdk_device_grab (GdkDevice *device, ^~~~~~~~~~~~~~~ metacity-mag.c:260:3: warning: 'gdk_device_grab' is deprecated: Use 'gdk_seat_grab' instead [-Wdeprecated-declarations] if (gdk_device_grab (gdk_device_get_associated_device (device), ^~ In file included from /usr/include/gtk-3.0/gdk/gdkdnd.h:33:0, from /usr/include/gtk-3.0/gdk/gdkevents.h:34, from /usr/include/gtk-3.0/gdk/gdkdisplay.h:31, from /usr/include/gtk-3.0/gdk/gdkscreen.h:32, from /usr/include/gtk-3.0/gdk/gdkapplaunchcontext.h:31, from /usr/include/gtk-3.0/gdk/gdk.h:32, from /usr/include/gtk-3.0/gtk/gtk.h:30, from metacity-mag.c:23: /usr/include/gtk-3.0/gdk/gdkdevice.h:230:15: note: declared here GdkGrabStatus gdk_device_grab (GdkDevice *device, ^~~~~~~~~~~~~~~ metacity-mag.c:268:7: warning: 'gdk_device_ungrab' is deprecated: Use 'gdk_seat_ungrab' instead [-Wdeprecated-declarations] gdk_device_ungrab (device, gtk_get_current_event_time ()); ^~~~~~~~~~~~~~~~~ In file included from /usr/include/gtk-3.0/gdk/gdkdnd.h:33:0, from /usr/include/gtk-3.0/gdk/gdkevents.h:34, from /usr/include/gtk-3.0/gdk/gdkdisplay.h:31, from /usr/include/gtk-3.0/gdk/gdkscreen.h:32, from /usr/include/gtk-3.0/gdk/gdkapplaunchcontext.h:31, from /usr/include/gtk-3.0/gdk/gdk.h:32, from /usr/include/gtk-3.0/gtk/gtk.h:30, from metacity-mag.c:23: /usr/include/gtk-3.0/gdk/gdkdevice.h:239:15: note: declared here void gdk_device_ungrab (GdkDevice *device, ^~~~~~~~~~~~~~~~~ make[4]: Leaving directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/src/tools' make[4]: Entering directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/src/tools' CCLD metacity-message make[4]: Leaving directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/src/tools' make[4]: Entering directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/src/tools' CCLD metacity-window-demo make[4]: Leaving directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/src/tools' make[4]: Entering directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/src/tools' CCLD metacity-mag make[4]: Leaving directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/src/tools' make[4]: Entering directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/src/tools' CCLD metacity-grayscale make[4]: Leaving directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/src/tools' Making all in themes make[4]: Entering directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/src/themes' git.mk: Generating .gitignore make[4]: Leaving directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/src/themes' make[4]: Entering directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/src' CC libdeepin_metacity_private_la-async-getprop.lo In file included from /usr/include/assert.h:35:0, from core/async-getprop.c:31: /usr/include/features.h:373:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ make[4]: Leaving directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/src' make[4]: Entering directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/src' CC libdeepin_metacity_private_la-bell.lo In file included from /usr/include/sys/types.h:25:0, from /usr/include/X11/Xlib.h:38, from core/bell.h:32, from core/bell.c:50: /usr/include/features.h:373:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ make[4]: Leaving directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/src' make[4]: Entering directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/src' CC libdeepin_metacity_private_la-boxes.lo In file included from /usr/include/bits/libc-header-start.h:33:0, from /usr/include/limits.h:26, from /usr/lib/gcc/x86_64-redhat-linux/7/include/limits.h:194, from /usr/lib/gcc/x86_64-redhat-linux/7/include/syslimits.h:7, from /usr/lib/gcc/x86_64-redhat-linux/7/include/limits.h:34, from /usr/lib64/glib-2.0/include/glibconfig.h:11, from /usr/include/glib-2.0/glib/gtypes.h:32, from /usr/include/glib-2.0/glib/galloca.h:32, from /usr/include/glib-2.0/glib.h:30, from ./include/boxes.h:25, from core/boxes.c:27: /usr/include/features.h:373:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ make[4]: Leaving directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/src' make[4]: Entering directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/src' CC libdeepin_metacity_private_la-deepin-message-hub.lo In file included from /usr/include/bits/libc-header-start.h:33:0, from /usr/include/string.h:26, from core/deepin-message-hub.c:13: /usr/include/features.h:373:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ make[4]: Leaving directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/src' make[4]: Entering directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/src' CC libdeepin_metacity_private_la-compositor.lo In file included from /usr/include/bits/libc-header-start.h:33:0, from /usr/include/limits.h:26, from /usr/lib/gcc/x86_64-redhat-linux/7/include/limits.h:194, from /usr/lib/gcc/x86_64-redhat-linux/7/include/syslimits.h:7, from /usr/lib/gcc/x86_64-redhat-linux/7/include/limits.h:34, from /usr/lib64/glib-2.0/include/glibconfig.h:11, from /usr/include/glib-2.0/glib/gtypes.h:32, from /usr/include/glib-2.0/glib/galloca.h:32, from /usr/include/glib-2.0/glib.h:30, from ./include/compositor.h:23, from compositor/compositor-private.h:23, from compositor/compositor.c:21: /usr/include/features.h:373:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ make[4]: Leaving directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/src' make[4]: Entering directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/src' CC libdeepin_metacity_private_la-compositor-xrender.lo In file included from /usr/include/bits/libc-header-start.h:33:0, from /usr/include/stdlib.h:25, from compositor/compositor-xrender.c:29: /usr/include/features.h:373:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ compositor/compositor-xrender.c: In function 'map_win': compositor/compositor-xrender.c:1822:29: warning: format '%p' expects argument of type 'void *', but argument 3 has type 'Window {aka long unsigned int}' [-Wformat=] meta_verbose ("%s window %p\n", __func__, id); ~^ %ld compositor/compositor-xrender.c: In function 'destroy_win': compositor/compositor-xrender.c:2147:28: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'Window {aka long unsigned int}' [-Wformat=] meta_verbose ("%s: id 0x%x\n", __func__, xwindow); ~^ %lx compositor/compositor-xrender.c: In function 'restack_win': compositor/compositor-xrender.c:2160:26: warning: format '%p' expects argument of type 'void *', but argument 3 has type 'Window {aka long unsigned int}' [-Wformat=] meta_verbose ("%s: cw %p, above 0x%x\n", __func__, cw->id, above); ~^ ~~~~~~ %ld compositor/compositor-xrender.c:2160:38: warning: format '%x' expects argument of type 'unsigned int', but argument 4 has type 'Window {aka long unsigned int}' [-Wformat=] meta_verbose ("%s: cw %p, above 0x%x\n", __func__, cw->id, above); ~^ %lx compositor/compositor-xrender.c:2203:41: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'Window {aka long unsigned int}' [-Wformat=] meta_verbose ("stack: insert %p before %p\n", cw->id, cw2->id); ~^ ~~~~~~ %ld compositor/compositor-xrender.c:2203:51: warning: format '%p' expects argument of type 'void *', but argument 3 has type 'Window {aka long unsigned int}' [-Wformat=] meta_verbose ("stack: insert %p before %p\n", cw->id, cw2->id); ~^ ~~~~~~~ %ld make[4]: Leaving directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/src' make[4]: Entering directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/src' CC libdeepin_metacity_private_la-above-tab-keycode.lo In file included from /usr/include/bits/libc-header-start.h:33:0, from /usr/include/string.h:26, from core/above-tab-keycode.c:44: /usr/include/features.h:373:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ make[4]: Leaving directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/src' make[4]: Entering directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/src' CC libdeepin_metacity_private_la-constraints.lo In file included from /usr/include/bits/libc-header-start.h:33:0, from /usr/include/limits.h:26, from /usr/lib/gcc/x86_64-redhat-linux/7/include/limits.h:194, from /usr/lib/gcc/x86_64-redhat-linux/7/include/syslimits.h:7, from /usr/lib/gcc/x86_64-redhat-linux/7/include/limits.h:34, from /usr/lib64/glib-2.0/include/glibconfig.h:11, from /usr/include/glib-2.0/glib/gtypes.h:32, from /usr/include/glib-2.0/glib/galloca.h:32, from /usr/include/glib-2.0/glib.h:30, from ./include/util.h:26, from core/constraints.h:26, from core/constraints.c:25: /usr/include/features.h:373:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ make[4]: Leaving directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/src' make[4]: Entering directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/src' CC libdeepin_metacity_private_la-core.lo In file included from /usr/include/bits/libc-header-start.h:33:0, from /usr/include/limits.h:26, from /usr/lib/gcc/x86_64-redhat-linux/7/include/limits.h:194, from /usr/lib/gcc/x86_64-redhat-linux/7/include/syslimits.h:7, from /usr/lib/gcc/x86_64-redhat-linux/7/include/limits.h:34, from /usr/lib64/glib-2.0/include/glibconfig.h:11, from /usr/include/glib-2.0/glib/gtypes.h:32, from /usr/include/glib-2.0/glib/galloca.h:32, from /usr/include/glib-2.0/glib.h:30, from /usr/include/gtk-3.0/gdk/gdkconfig.h:13, from /usr/include/gtk-3.0/gdk/gdk.h:30, from /usr/include/gtk-3.0/gdk/gdkx.h:28, from ./include/core.h:27, from core/core.c:25: /usr/include/features.h:373:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ make[4]: Leaving directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/src' make[4]: Entering directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/src' CC libdeepin_metacity_private_la-delete.lo In file included from /usr/include/bits/libc-header-start.h:33:0, from /usr/include/limits.h:26, from /usr/lib/gcc/x86_64-redhat-linux/7/include/limits.h:194, from /usr/lib/gcc/x86_64-redhat-linux/7/include/syslimits.h:7, from /usr/lib/gcc/x86_64-redhat-linux/7/include/limits.h:34, from /usr/lib64/glib-2.0/include/glibconfig.h:11, from /usr/include/glib-2.0/glib/gtypes.h:32, from /usr/include/glib-2.0/glib/galloca.h:32, from /usr/include/glib-2.0/glib.h:30, from ./include/util.h:26, from core/delete.c:27: /usr/include/features.h:180:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ /usr/include/features.h:373:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ make[4]: Leaving directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/src' make[4]: Entering directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/src' CC libdeepin_metacity_private_la-display.lo In file included from /usr/include/sys/types.h:25:0, from /usr/include/X11/Xlib.h:38, from /usr/include/X11/extensions/XInput2.h:30, from core/display.c:32: /usr/include/features.h:373:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ core/display.c: In function 'handle_input_xevent': core/display.c:1971:1: warning: no return statement in function returning non-void [-Wreturn-type] } ^ core/display.c: In function 'meta_display_process_compositing_event': core/display.c:2015:44: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'Window {aka long unsigned int}' [-Wformat=] meta_verbose ("%s: expose win 0x%x\n", __func__, event->xexpose.window); ~^ ~~~~~~~~~~~~~~~~~~~~~ %lx core/display.c: In function 'xi_key_event_description': core/display.c:3095:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ make[4]: Leaving directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/src' make[4]: Entering directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/src' CC libdeepin_metacity_private_la-draw-workspace.lo In file included from /usr/include/bits/libc-header-start.h:33:0, from /usr/include/limits.h:26, from /usr/lib/gcc/x86_64-redhat-linux/7/include/limits.h:194, from /usr/lib/gcc/x86_64-redhat-linux/7/include/syslimits.h:7, from /usr/lib/gcc/x86_64-redhat-linux/7/include/limits.h:34, from /usr/lib64/glib-2.0/include/glibconfig.h:11, from /usr/include/glib-2.0/glib/gtypes.h:32, from /usr/include/glib-2.0/glib/galloca.h:32, from /usr/include/glib-2.0/glib.h:30, from /usr/include/gtk-3.0/gdk/gdkconfig.h:13, from /usr/include/gtk-3.0/gdk/gdk.h:30, from ui/draw-workspace.h:29, from ui/draw-workspace.c:26: /usr/include/features.h:373:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ make[4]: Leaving directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/src' make[4]: Entering directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/src' CC libdeepin_metacity_private_la-edge-resistance.lo In file included from /usr/include/sys/types.h:25:0, from /usr/include/X11/Xlib.h:38, from /usr/include/X11/extensions/XInput2.h:30, from core/window-private.h:36, from core/edge-resistance.h:25, from core/edge-resistance.c:23: /usr/include/features.h:373:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ make[4]: Leaving directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/src' make[4]: Entering directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/src' CC libdeepin_metacity_private_la-effects.lo In file included from /usr/include/bits/libc-header-start.h:33:0, from /usr/include/limits.h:26, from /usr/lib/gcc/x86_64-redhat-linux/7/include/limits.h:194, from /usr/lib/gcc/x86_64-redhat-linux/7/include/syslimits.h:7, from /usr/lib/gcc/x86_64-redhat-linux/7/include/limits.h:34, from /usr/lib64/glib-2.0/include/glibconfig.h:11, from /usr/include/glib-2.0/glib/gtypes.h:32, from /usr/include/glib-2.0/glib/galloca.h:32, from /usr/include/glib-2.0/glib.h:30, from ./include/util.h:26, from core/effects.h:46, from core/effects.c:57: /usr/include/features.h:373:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ make[4]: Leaving directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/src' make[4]: Entering directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/src' CC libdeepin_metacity_private_la-eventqueue.lo In file included from /usr/include/bits/libc-header-start.h:33:0, from /usr/include/limits.h:26, from /usr/lib/gcc/x86_64-redhat-linux/7/include/limits.h:194, from /usr/lib/gcc/x86_64-redhat-linux/7/include/syslimits.h:7, from /usr/lib/gcc/x86_64-redhat-linux/7/include/limits.h:34, from /usr/lib64/glib-2.0/include/glibconfig.h:11, from /usr/include/glib-2.0/glib/gtypes.h:32, from /usr/include/glib-2.0/glib/galloca.h:32, from /usr/include/glib-2.0/glib.h:30, from core/eventqueue.h:25, from core/eventqueue.c:22: /usr/include/features.h:373:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ make[4]: Leaving directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/src' make[4]: Entering directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/src' CC libdeepin_metacity_private_la-errors.lo In file included from /usr/include/sys/types.h:25:0, from /usr/include/X11/Xlib.h:38, from ./include/errors.h:25, from core/errors.c:24: /usr/include/features.h:373:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ make[4]: Leaving directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/src' make[4]: Entering directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/src' CC libdeepin_metacity_private_la-gradient.lo In file included from /usr/include/bits/libc-header-start.h:33:0, from /usr/include/limits.h:26, from /usr/lib/gcc/x86_64-redhat-linux/7/include/limits.h:194, from /usr/lib/gcc/x86_64-redhat-linux/7/include/syslimits.h:7, from /usr/lib/gcc/x86_64-redhat-linux/7/include/limits.h:34, from /usr/lib64/glib-2.0/include/glibconfig.h:11, from /usr/include/glib-2.0/glib/gtypes.h:32, from /usr/include/glib-2.0/glib/galloca.h:32, from /usr/include/glib-2.0/glib.h:30, from /usr/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf.h:29, from ui/gradient.h:25, from ui/gradient.c:23: /usr/include/features.h:373:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ make[4]: Leaving directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/src' make[4]: Entering directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/src' CC libdeepin_metacity_private_la-frame.lo In file included from /usr/include/sys/types.h:25:0, from /usr/include/X11/Xlib.h:38, from ./include/frame.h:23, from core/frame-private.h:25, from core/frame.c:25: /usr/include/features.h:373:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ make[4]: Leaving directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/src' make[4]: Entering directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/src' CC libdeepin_metacity_private_la-group-props.lo In file included from /usr/include/sys/types.h:25:0, from /usr/include/X11/Xlib.h:38, from /usr/include/X11/extensions/XInput2.h:30, from core/window-private.h:36, from core/group.h:25, from core/group-props.h:25, from core/group-props.c:23: /usr/include/features.h:373:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ make[4]: Leaving directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/src' make[4]: Entering directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/src' CC libdeepin_metacity_private_la-group.lo In file included from /usr/include/bits/libc-header-start.h:33:0, from /usr/include/limits.h:26, from /usr/lib/gcc/x86_64-redhat-linux/7/include/limits.h:194, from /usr/lib/gcc/x86_64-redhat-linux/7/include/syslimits.h:7, from /usr/lib/gcc/x86_64-redhat-linux/7/include/limits.h:34, from /usr/lib64/glib-2.0/include/glibconfig.h:11, from /usr/include/glib-2.0/glib/gtypes.h:32, from /usr/include/glib-2.0/glib/galloca.h:32, from /usr/include/glib-2.0/glib.h:30, from ./include/util.h:26, from core/group.c:24: /usr/include/features.h:373:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ make[4]: Leaving directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/src' make[4]: Entering directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/src' CC libdeepin_metacity_private_la-iconcache.lo In file included from /usr/include/bits/libc-header-start.h:33:0, from /usr/include/limits.h:26, from /usr/lib/gcc/x86_64-redhat-linux/7/include/limits.h:194, from /usr/lib/gcc/x86_64-redhat-linux/7/include/syslimits.h:7, from /usr/lib/gcc/x86_64-redhat-linux/7/include/limits.h:34, from /usr/lib64/glib-2.0/include/glibconfig.h:11, from /usr/include/glib-2.0/glib/gtypes.h:32, from /usr/include/glib-2.0/glib/galloca.h:32, from /usr/include/glib-2.0/glib.h:30, from core/display-private.h:32, from core/screen-private.h:34, from core/iconcache.h:25, from core/iconcache.c:23: /usr/include/features.h:373:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ make[4]: Leaving directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/src' make[4]: Entering directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/src' CC libdeepin_metacity_private_la-keybindings.lo In file included from /usr/include/bits/libc-header-start.h:33:0, from /usr/include/stdint.h:26, from /usr/lib/gcc/x86_64-redhat-linux/7/include/stdint.h:9, from /usr/include/xkbcommon/xkbcommon.h:84, from core/keybindings.c:28: /usr/include/features.h:180:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ /usr/include/features.h:373:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ core/keybindings.c: In function 'display_get_keybinding_detail': core/keybindings.c:560:10: warning: 'return' with a value, in function returning void return META_KEYBINDING_ACTION_NONE; ^~~~~~~~~~~~~~~~~~~~~~~~~~~ core/keybindings.c:538:1: note: declared here display_get_keybinding_detail (MetaDisplay *display, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ core/keybindings.c: In function 'meta_change_keygrab': core/keybindings.c:726:36: warning: passing argument 10 of 'XIGrabKeycode' from incompatible pointer type [-Wincompatible-pointer-types] True, &mask, nmod, &mods); ^ In file included from core/keybindings.c:29:0: /usr/include/X11/extensions/XInput2.h:508:12: note: expected 'XIGrabModifiers * {aka struct *}' but argument is of type 'XIGrabModifiers (*)[16] {aka struct (*)[16]}' extern int XIGrabKeycode( ^~~~~~~~~~~~~ core/keybindings.c:730:41: warning: passing argument 6 of 'XIUngrabKeycode' from incompatible pointer type [-Wincompatible-pointer-types] keycode, xwindow, nmod, &mods); ^ In file included from core/keybindings.c:29:0: /usr/include/X11/extensions/XInput2.h:565:15: note: expected 'XIGrabModifiers * {aka struct *}' but argument is of type 'XIGrabModifiers (*)[16] {aka struct (*)[16]}' extern Status XIUngrabKeycode( ^~~~~~~~~~~~~~~ core/keybindings.c: At top level: core/keybindings.c:903:1: warning: return type defaults to 'int' [-Wimplicit-int] grab_keyboard (MetaDisplay *display, ^~~~~~~~~~~~~ core/keybindings.c: In function 'meta_display_process_key_event': core/keybindings.c:1309:71: warning: pointer/integer type mismatch in conditional expression meta_verbose ("%s: Window %p\n", __func__, window ? window->xwindow : NULL); ^ core/keybindings.c: In function 'process_tab_grab': core/keybindings.c:2384:7: warning: enumeration value 'META_KEYBINDING_ACTION_NONE' not handled in switch [-Wswitch] switch (action) { ^~~~~~ core/keybindings.c:2384:7: warning: enumeration value 'META_KEYBINDING_ACTION_WORKSPACE_1' not handled in switch [-Wswitch] core/keybindings.c:2384:7: warning: enumeration value 'META_KEYBINDING_ACTION_WORKSPACE_2' not handled in switch [-Wswitch] core/keybindings.c:2384:7: warning: enumeration value 'META_KEYBINDING_ACTION_WORKSPACE_3' not handled in switch [-Wswitch] core/keybindings.c:2384:7: warning: enumeration value 'META_KEYBINDING_ACTION_WORKSPACE_4' not handled in switch [-Wswitch] core/keybindings.c:2384:7: warning: enumeration value 'META_KEYBINDING_ACTION_WORKSPACE_5' not handled in switch [-Wswitch] core/keybindings.c:2384:7: warning: enumeration value 'META_KEYBINDING_ACTION_WORKSPACE_6' not handled in switch [-Wswitch] core/keybindings.c:2384:7: warning: enumeration value 'META_KEYBINDING_ACTION_WORKSPACE_7' not handled in switch [-Wswitch] core/keybindings.c:2384:7: warning: enumeration value 'META_KEYBINDING_ACTION_WORKSPACE_8' not handled in switch [-Wswitch] core/keybindings.c:2384:7: warning: enumeration value 'META_KEYBINDING_ACTION_WORKSPACE_9' not handled in switch [-Wswitch] core/keybindings.c:2384:7: warning: enumeration value 'META_KEYBINDING_ACTION_WORKSPACE_10' not handled in switch [-Wswitch] core/keybindings.c:2384:7: warning: enumeration value 'META_KEYBINDING_ACTION_WORKSPACE_11' not handled in switch [-Wswitch] core/keybindings.c:2384:7: warning: enumeration value 'META_KEYBINDING_ACTION_WORKSPACE_12' not handled in switch [-Wswitch] core/keybindings.c:2384:7: warning: enumeration value 'META_KEYBINDING_ACTION_WORKSPACE_LEFT' not handled in switch [-Wswitch] core/keybindings.c:2384:7: warning: enumeration value 'META_KEYBINDING_ACTION_WORKSPACE_RIGHT' not handled in switch [-Wswitch] core/keybindings.c:2384:7: warning: enumeration value 'META_KEYBINDING_ACTION_WORKSPACE_UP' not handled in switch [-Wswitch] core/keybindings.c:2384:7: warning: enumeration value 'META_KEYBINDING_ACTION_WORKSPACE_DOWN' not handled in switch [-Wswitch] core/keybindings.c:2384:7: warning: enumeration value 'META_KEYBINDING_ACTION_SWITCH_APPLICATIONS' not handled in switch [-Wswitch] core/keybindings.c:2384:7: warning: enumeration value 'META_KEYBINDING_ACTION_SWITCH_GROUP' not handled in switch [-Wswitch] core/keybindings.c:2384:7: warning: enumeration value 'META_KEYBINDING_ACTION_SWITCH_WINDOWS' not handled in switch [-Wswitch] core/keybindings.c:2384:7: warning: enumeration value 'META_KEYBINDING_ACTION_SWITCH_PANELS' not handled in switch [-Wswitch] core/keybindings.c:2384:7: warning: enumeration value 'META_KEYBINDING_ACTION_CYCLE_GROUP' not handled in switch [-Wswitch] core/keybindings.c:2384:7: warning: enumeration value 'META_KEYBINDING_ACTION_CYCLE_GROUP_BACKWARD' not handled in switch [-Wswitch] core/keybindings.c:2384:7: warning: enumeration value 'META_KEYBINDING_ACTION_CYCLE_WINDOWS' not handled in switch [-Wswitch] core/keybindings.c:2384:7: warning: enumeration value 'META_KEYBINDING_ACTION_CYCLE_WINDOWS_BACKWARD' not handled in switch [-Wswitch] core/keybindings.c:2384:7: warning: enumeration value 'META_KEYBINDING_ACTION_CYCLE_PANELS' not handled in switch [-Wswitch] core/keybindings.c:2384:7: warning: enumeration value 'META_KEYBINDING_ACTION_CYCLE_PANELS_BACKWARD' not handled in switch [-Wswitch] core/keybindings.c:2384:7: warning: enumeration value 'META_KEYBINDING_ACTION_SHOW_DESKTOP' not handled in switch [-Wswitch] core/keybindings.c:2384:7: warning: enumeration value 'META_KEYBINDING_ACTION_PANEL_MAIN_MENU' not handled in switch [-Wswitch] core/keybindings.c:2384:7: warning: enumeration value 'META_KEYBINDING_ACTION_PANEL_RUN_DIALOG' not handled in switch [-Wswitch] core/keybindings.c:2384:7: warning: enumeration value 'META_KEYBINDING_ACTION_SET_SPEW_MARK' not handled in switch [-Wswitch] core/keybindings.c:2384:7: warning: enumeration value 'META_KEYBINDING_ACTION_ACTIVATE_WINDOW_MENU' not handled in switch [-Wswitch] core/keybindings.c:2384:7: warning: enumeration value 'META_KEYBINDING_ACTION_TOGGLE_FULLSCREEN' not handled in switch [-Wswitch] core/keybindings.c:2384:7: warning: enumeration value 'META_KEYBINDING_ACTION_TOGGLE_MAXIMIZED' not handled in switch [-Wswitch] core/keybindings.c:2384:7: warning: enumeration value 'META_KEYBINDING_ACTION_TOGGLE_TILED_LEFT' not handled in switch [-Wswitch] core/keybindings.c:2384:7: warning: enumeration value 'META_KEYBINDING_ACTION_TOGGLE_TILED_RIGHT' not handled in switch [-Wswitch] core/keybindings.c:2384:7: warning: enumeration value 'META_KEYBINDING_ACTION_TOGGLE_ABOVE' not handled in switch [-Wswitch] core/keybindings.c:2384:7: warning: enumeration value 'META_KEYBINDING_ACTION_MAXIMIZE' not handled in switch [-Wswitch] core/keybindings.c:2384:7: warning: enumeration value 'META_KEYBINDING_ACTION_UNMAXIMIZE' not handled in switch [-Wswitch] core/keybindings.c:2384:7: warning: enumeration value 'META_KEYBINDING_ACTION_TOGGLE_SHADED' not handled in switch [-Wswitch] core/keybindings.c:2384:7: warning: enumeration value 'META_KEYBINDING_ACTION_MINIMIZE' not handled in switch [-Wswitch] core/keybindings.c:2384:7: warning: enumeration value 'META_KEYBINDING_ACTION_CLOSE' not handled in switch [-Wswitch] core/keybindings.c:2384:7: warning: enumeration value 'META_KEYBINDING_ACTION_BEGIN_MOVE' not handled in switch [-Wswitch] core/keybindings.c:2384:7: warning: enumeration value 'META_KEYBINDING_ACTION_BEGIN_RESIZE' not handled in switch [-Wswitch] core/keybindings.c:2384:7: warning: enumeration value 'META_KEYBINDING_ACTION_TOGGLE_ON_ALL_WORKSPACES' not handled in switch [-Wswitch] core/keybindings.c:2384:7: warning: enumeration value 'META_KEYBINDING_ACTION_MOVE_TO_WORKSPACE_1' not handled in switch [-Wswitch] core/keybindings.c:2384:7: warning: enumeration value 'META_KEYBINDING_ACTION_MOVE_TO_WORKSPACE_2' not handled in switch [-Wswitch] core/keybindings.c:2384:7: warning: enumeration value 'META_KEYBINDING_ACTION_MOVE_TO_WORKSPACE_3' not handled in switch [-Wswitch] core/keybindings.c:2384:7: warning: enumeration value 'META_KEYBINDING_ACTION_MOVE_TO_WORKSPACE_4' not handled in switch [-Wswitch] core/keybindings.c:2384:7: warning: enumeration value 'META_KEYBINDING_ACTION_MOVE_TO_WORKSPACE_5' not handled in switch [-Wswitch] core/keybindings.c:2384:7: warning: enumeration value 'META_KEYBINDING_ACTION_MOVE_TO_WORKSPACE_6' not handled in switch [-Wswitch] core/keybindings.c:2384:7: warning: enumeration value 'META_KEYBINDING_ACTION_MOVE_TO_WORKSPACE_7' not handled in switch [-Wswitch] core/keybindings.c:2384:7: warning: enumeration value 'META_KEYBINDING_ACTION_MOVE_TO_WORKSPACE_8' not handled in switch [-Wswitch] core/keybindings.c:2384:7: warning: enumeration value 'META_KEYBINDING_ACTION_MOVE_TO_WORKSPACE_9' not handled in switch [-Wswitch] core/keybindings.c:2384:7: warning: enumeration value 'META_KEYBINDING_ACTION_MOVE_TO_WORKSPACE_10' not handled in switch [-Wswitch] core/keybindings.c:2384:7: warning: enumeration value 'META_KEYBINDING_ACTION_MOVE_TO_WORKSPACE_11' not handled in switch [-Wswitch] core/keybindings.c:2384:7: warning: enumeration value 'META_KEYBINDING_ACTION_MOVE_TO_WORKSPACE_12' not handled in switch [-Wswitch] core/keybindings.c:2384:7: warning: enumeration value 'META_KEYBINDING_ACTION_MOVE_TO_WORKSPACE_LEFT' not handled in switch [-Wswitch] core/keybindings.c:2384:7: warning: enumeration value 'META_KEYBINDING_ACTION_MOVE_TO_WORKSPACE_RIGHT' not handled in switch [-Wswitch] core/keybindings.c:2384:7: warning: enumeration value 'META_KEYBINDING_ACTION_MOVE_TO_WORKSPACE_UP' not handled in switch [-Wswitch] core/keybindings.c:2384:7: warning: enumeration value 'META_KEYBINDING_ACTION_MOVE_TO_WORKSPACE_DOWN' not handled in switch [-Wswitch] core/keybindings.c:2384:7: warning: enumeration value 'META_KEYBINDING_ACTION_RAISE_OR_LOWER' not handled in switch [-Wswitch] core/keybindings.c:2384:7: warning: enumeration value 'META_KEYBINDING_ACTION_RAISE' not handled in switch [-Wswitch] core/keybindings.c:2384:7: warning: enumeration value 'META_KEYBINDING_ACTION_LOWER' not handled in switch [-Wswitch] core/keybindings.c:2384:7: warning: enumeration value 'META_KEYBINDING_ACTION_MAXIMIZE_VERTICALLY' not handled in switch [-Wswitch] core/keybindings.c:2384:7: warning: enumeration value 'META_KEYBINDING_ACTION_MAXIMIZE_HORIZONTALLY' not handled in switch [-Wswitch] core/keybindings.c:2384:7: warning: enumeration value 'META_KEYBINDING_ACTION_MOVE_TO_CORNER_NW' not handled in switch [-Wswitch] core/keybindings.c:2384:7: warning: enumeration value 'META_KEYBINDING_ACTION_MOVE_TO_CORNER_NE' not handled in switch [-Wswitch] core/keybindings.c:2384:7: warning: enumeration value 'META_KEYBINDING_ACTION_MOVE_TO_CORNER_SW' not handled in switch [-Wswitch] core/keybindings.c:2384:7: warning: enumeration value 'META_KEYBINDING_ACTION_MOVE_TO_CORNER_SE' not handled in switch [-Wswitch] core/keybindings.c:2384:7: warning: enumeration value 'META_KEYBINDING_ACTION_MOVE_TO_SIDE_N' not handled in switch [-Wswitch] core/keybindings.c:2384:7: warning: enumeration value 'META_KEYBINDING_ACTION_MOVE_TO_SIDE_S' not handled in switch [-Wswitch] core/keybindings.c:2384:7: warning: enumeration value 'META_KEYBINDING_ACTION_MOVE_TO_SIDE_E' not handled in switch [-Wswitch] core/keybindings.c:2384:7: warning: enumeration value 'META_KEYBINDING_ACTION_MOVE_TO_SIDE_W' not handled in switch [-Wswitch] core/keybindings.c:2384:7: warning: enumeration value 'META_KEYBINDING_ACTION_MOVE_TO_CENTER' not handled in switch [-Wswitch] core/keybindings.c:2384:7: warning: enumeration value 'META_KEYBINDING_ACTION_LAST' not handled in switch [-Wswitch] core/keybindings.c: In function 'process_workspace_switch_grab': core/keybindings.c:2704:18: warning: unused variable 'workspace' [-Wunused-variable] MetaWorkspace *workspace; ^~~~~~~~~ core/keybindings.c: In function 'process_exposing_windows': core/keybindings.c:2833:42: warning: passing argument 1 of 'deepin_workspace_overview_handle_event' from incompatible pointer type [-Wincompatible-pointer-types] deepin_workspace_overview_handle_event(ws, event, keysym, action); ^~ In file included from core/keybindings.c:42:0: ./include/deepin-workspace-overview.h:59:6: note: expected 'DeepinWorkspaceOverview * {aka struct _DeepinWorkspaceOverview *}' but argument is of type 'GtkWidget * {aka struct _GtkWidget *}' void deepin_workspace_overview_handle_event(DeepinWorkspaceOverview* self, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ core/keybindings.c: In function 'do_choose_window': core/keybindings.c:3065:41: warning: passing argument 1 of 'meta_ui_tab_popup_select' from incompatible pointer type [-Wincompatible-pointer-types] meta_ui_tab_popup_select (screen->tab_popup, ^~~~~~ In file included from ./include/ui.h:184:0, from core/screen-private.h:37, from core/window-private.h:38, from core/workspace.h:34, from core/keybindings.c:31: ./include/tabpopup.h:60:17: note: expected 'MetaTabPopup * {aka struct _MetaTabPopup *}' but argument is of type 'DeepinTabPopup * {aka struct _DeepinTabPopup *}' void meta_ui_tab_popup_select (MetaTabPopup *popup, ^~~~~~~~~~~~~~~~~~~~~~~~ core/keybindings.c:3069:48: warning: passing argument 1 of 'meta_ui_tab_popup_set_showing' from incompatible pointer type [-Wincompatible-pointer-types] meta_ui_tab_popup_set_showing (screen->tab_popup, ^~~~~~ In file included from ./include/ui.h:184:0, from core/screen-private.h:37, from core/window-private.h:38, from core/workspace.h:34, from core/keybindings.c:31: ./include/tabpopup.h:55:17: note: expected 'MetaTabPopup * {aka struct _MetaTabPopup *}' but argument is of type 'DeepinTabPopup * {aka struct _DeepinTabPopup *}' void meta_ui_tab_popup_set_showing (MetaTabPopup *popup, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ At top level: core/keybindings.c:3137:1: warning: 'handle_toggle_tiled' defined but not used [-Wunused-function] handle_toggle_tiled (MetaDisplay *display, ^~~~~~~~~~~~~~~~~~~ core/keybindings.c:506:1: warning: 'next_dynamic_keybinding_action' defined but not used [-Wunused-function] next_dynamic_keybinding_action () { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[4]: Leaving directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/src' make[4]: Entering directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/src' CC libdeepin_metacity_private_la-deepin-keybindings.lo In file included from /usr/include/bits/libc-header-start.h:33:0, from /usr/include/limits.h:26, from /usr/lib/gcc/x86_64-redhat-linux/7/include/limits.h:194, from /usr/lib/gcc/x86_64-redhat-linux/7/include/syslimits.h:7, from /usr/lib/gcc/x86_64-redhat-linux/7/include/limits.h:34, from /usr/lib64/glib-2.0/include/glibconfig.h:11, from /usr/include/glib-2.0/glib/gtypes.h:32, from /usr/include/glib-2.0/glib/galloca.h:32, from /usr/include/glib-2.0/glib.h:30, from core/deepin-keybindings.c:15: /usr/include/features.h:373:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ core/deepin-keybindings.c: In function '_do_grab_pointer': core/deepin-keybindings.c:148:16: warning: unused variable 'pointer' [-Wunused-variable] GdkDevice* pointer = gdk_seat_get_pointer(seat); ^~~~~~~ core/deepin-keybindings.c: In function 'do_expose_windows': core/deepin-keybindings.c:337:53: warning: initialization from incompatible pointer type [-Wincompatible-pointer-types] DeepinWorkspaceOverview* active_workspace = deepin_workspace_overview_new(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ core/deepin-keybindings.c: In function 'deepin_init_custom_handlers': core/deepin-keybindings.c:474:13: warning: passing argument 2 of 'deepin_meta_override_keybinding_handler' from incompatible pointer type [-Wincompatible-pointer-types] handle_move_to_workspace, NULL, NULL); ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from core/deepin-keybindings.c:25:0: core/keybindings.h:83:10: note: expected 'MetaKeyHandlerFunc {aka void (*)(struct _MetaDisplay *, struct _MetaScreen *, struct _MetaWindow *, struct *, struct _MetaKeyBinding *, void *)}' but argument is of type 'void (*)(MetaDisplay *, MetaScreen *, MetaWindow *, XIDeviceEvent *, MetaKeyBinding *) {aka void (*)(struct _MetaDisplay *, struct _MetaScreen *, struct _MetaWindow *, struct *, struct _MetaKeyBinding *)}' gboolean deepin_meta_override_keybinding_handler(const char* name, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ core/deepin-keybindings.c:476:13: warning: passing argument 2 of 'deepin_meta_override_keybinding_handler' from incompatible pointer type [-Wincompatible-pointer-types] handle_move_to_workspace, NULL, NULL); ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from core/deepin-keybindings.c:25:0: core/keybindings.h:83:10: note: expected 'MetaKeyHandlerFunc {aka void (*)(struct _MetaDisplay *, struct _MetaScreen *, struct _MetaWindow *, struct *, struct _MetaKeyBinding *, void *)}' but argument is of type 'void (*)(MetaDisplay *, MetaScreen *, MetaWindow *, XIDeviceEvent *, MetaKeyBinding *) {aka void (*)(struct _MetaDisplay *, struct _MetaScreen *, struct _MetaWindow *, struct *, struct _MetaKeyBinding *)}' gboolean deepin_meta_override_keybinding_handler(const char* name, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ At top level: core/deepin-keybindings.c:357:13: warning: 'handle_expose_windows' defined but not used [-Wunused-function] static void handle_expose_windows(MetaDisplay *display, MetaScreen *screen, ^~~~~~~~~~~~~~~~~~~~~ make[4]: Leaving directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/src' make[4]: Entering directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/src' CC libdeepin_metacity_private_la-deepin-corner-indicator.lo In file included from /usr/include/bits/libc-header-start.h:33:0, from /usr/include/string.h:26, from core/deepin-corner-indicator.c:13: /usr/include/features.h:373:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ core/deepin-corner-indicator.c: In function 'deepin_corner_indicator_update_input_shape': core/deepin-corner-indicator.c:74:60: warning: passing argument 1 of 'deepin_animation_image_get_activated' from incompatible pointer type [-Wincompatible-pointer-types] int sz = deepin_animation_image_get_activated (priv->close_image) ? 24 : 4; ^~~~ In file included from core/deepin-corner-indicator.c:21:0: ./include/deepin-animation-image.h:57:10: note: expected 'DeepinAnimationImage * {aka struct _DeepinAnimationImage *}' but argument is of type 'GtkWidget * {aka struct _GtkWidget *}' gboolean deepin_animation_image_get_activated (DeepinAnimationImage *self); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ core/deepin-corner-indicator.c: In function 'is_app_in_list': core/deepin-corner-indicator.c:188:35: warning: unused variable 'priv' [-Wunused-variable] DeepinCornerIndicatorPrivate *priv = self->priv; ^~~~ core/deepin-corner-indicator.c: In function 'is_active_fullscreen': core/deepin-corner-indicator.c:211:39: warning: passing argument 3 of 'is_app_in_list' from incompatible pointer type [-Wincompatible-pointer-types] if (is_app_in_list(self, pid, white_list)) { ^~~~~~~~~~ core/deepin-corner-indicator.c:186:17: note: expected 'const char **' but argument is of type 'char **' static gboolean is_app_in_list (DeepinCornerIndicator *self, int pid, const char **list) ^~~~~~~~~~~~~~ core/deepin-corner-indicator.c: In function 'should_perform_action': core/deepin-corner-indicator.c:238:35: warning: passing argument 3 of 'is_app_in_list' from incompatible pointer type [-Wincompatible-pointer-types] if (is_app_in_list(self, pid, black_list)) { ^~~~~~~~~~ core/deepin-corner-indicator.c:186:17: note: expected 'const char **' but argument is of type 'char **' static gboolean is_app_in_list (DeepinCornerIndicator *self, int pid, const char **list) ^~~~~~~~~~~~~~ core/deepin-corner-indicator.c: In function 'corner_leaved': core/deepin-corner-indicator.c:262:48: warning: passing argument 1 of 'deepin_animation_image_deactivate' from incompatible pointer type [-Wincompatible-pointer-types] deepin_animation_image_deactivate (priv->close_image); ^~~~ In file included from core/deepin-corner-indicator.c:21:0: ./include/deepin-animation-image.h:56:6: note: expected 'DeepinAnimationImage * {aka struct _DeepinAnimationImage *}' but argument is of type 'GtkWidget * {aka struct _GtkWidget *}' void deepin_animation_image_deactivate (DeepinAnimationImage *); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ core/deepin-corner-indicator.c:264:17: warning: 'gdk_window_set_composited' is deprecated [-Wdeprecated-declarations] gdk_window_set_composited (gtk_widget_get_window (self), TRUE); ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/gtk-3.0/gdk/gdkseat.h:28:0, from /usr/include/gtk-3.0/gdk/gdkdisplay.h:33, from /usr/include/gtk-3.0/gdk/gdkscreen.h:32, from /usr/include/gtk-3.0/gdk/gdkapplaunchcontext.h:31, from /usr/include/gtk-3.0/gdk/gdk.h:32, from core/deepin-corner-indicator.c:17: /usr/include/gtk-3.0/gdk/gdkwindow.h:628:6: note: declared here void gdk_window_set_composited (GdkWindow *window, ^~~~~~~~~~~~~~~~~~~~~~~~~ core/deepin-corner-indicator.c:264:67: warning: passing argument 1 of 'gtk_widget_get_window' from incompatible pointer type [-Wincompatible-pointer-types] gdk_window_set_composited (gtk_widget_get_window (self), TRUE); ^~~~ In file included from /usr/include/gtk-3.0/gtk/gtkapplication.h:27:0, from /usr/include/gtk-3.0/gtk/gtkwindow.h:33, from /usr/include/gtk-3.0/gtk/gtkdialog.h:32, from /usr/include/gtk-3.0/gtk/gtkaboutdialog.h:30, from /usr/include/gtk-3.0/gtk/gtk.h:31, from ./include/deepin-message-hub.h:16, from core/deepin-corner-indicator.c:19: /usr/include/gtk-3.0/gtk/gtkwidget.h:914:23: note: expected 'GtkWidget * {aka struct _GtkWidget *}' but argument is of type 'DeepinCornerIndicator * {aka struct _DeepinCornerIndicator *}' GdkWindow * gtk_widget_get_window (GtkWidget *widget); ^~~~~~~~~~~~~~~~~~~~~ core/deepin-corner-indicator.c: In function 'inside_effect_region': core/deepin-corner-indicator.c:284:52: warning: passing argument 1 of 'gtk_widget_get_window' from incompatible pointer type [-Wincompatible-pointer-types] gdk_window_get_geometry (gtk_widget_get_window(self), &x1, &y1, &x2, &y2); ^~~~ In file included from /usr/include/gtk-3.0/gtk/gtkapplication.h:27:0, from /usr/include/gtk-3.0/gtk/gtkwindow.h:33, from /usr/include/gtk-3.0/gtk/gtkdialog.h:32, from /usr/include/gtk-3.0/gtk/gtkaboutdialog.h:30, from /usr/include/gtk-3.0/gtk/gtk.h:31, from ./include/deepin-message-hub.h:16, from core/deepin-corner-indicator.c:19: /usr/include/gtk-3.0/gtk/gtkwidget.h:914:23: note: expected 'GtkWidget * {aka struct _GtkWidget *}' but argument is of type 'DeepinCornerIndicator * {aka struct _DeepinCornerIndicator *}' GdkWindow * gtk_widget_get_window (GtkWidget *widget); ^~~~~~~~~~~~~~~~~~~~~ core/deepin-corner-indicator.c:281:35: warning: unused variable 'priv' [-Wunused-variable] DeepinCornerIndicatorPrivate *priv = self->priv; ^~~~ core/deepin-corner-indicator.c: In function 'distance_factor': core/deepin-corner-indicator.c:293:35: warning: unused variable 'priv' [-Wunused-variable] DeepinCornerIndicatorPrivate *priv = self->priv; ^~~~ core/deepin-corner-indicator.c: In function 'distance_factor_for_corner': core/deepin-corner-indicator.c:308:52: warning: passing argument 1 of 'gtk_widget_get_window' from incompatible pointer type [-Wincompatible-pointer-types] gdk_window_get_geometry (gtk_widget_get_window(self), &x1, &y1, &x2, &y2); ^~~~ In file included from /usr/include/gtk-3.0/gtk/gtkapplication.h:27:0, from /usr/include/gtk-3.0/gtk/gtkwindow.h:33, from /usr/include/gtk-3.0/gtk/gtkdialog.h:32, from /usr/include/gtk-3.0/gtk/gtkaboutdialog.h:30, from /usr/include/gtk-3.0/gtk/gtk.h:31, from ./include/deepin-message-hub.h:16, from core/deepin-corner-indicator.c:19: /usr/include/gtk-3.0/gtk/gtkwidget.h:914:23: note: expected 'GtkWidget * {aka struct _GtkWidget *}' but argument is of type 'DeepinCornerIndicator * {aka struct _DeepinCornerIndicator *}' GdkWindow * gtk_widget_get_window (GtkWidget *widget); ^~~~~~~~~~~~~~~~~~~~~ core/deepin-corner-indicator.c: In function 'at_trigger_point': core/deepin-corner-indicator.c:346:35: warning: unused variable 'priv' [-Wunused-variable] DeepinCornerIndicatorPrivate *priv = self->priv; ^~~~ core/deepin-corner-indicator.c: In function 'perform_action': core/deepin-corner-indicator.c:403:26: warning: passing argument 2 of 'g_timeout_add' from incompatible pointer type [-Wincompatible-pointer-types] g_timeout_add(d, on_delayed_action, self); ^~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/giochannel.h:33:0, from /usr/include/glib-2.0/glib.h:54, from ./include/util.h:26, from core/deepin-corner-indicator.c:16: /usr/include/glib-2.0/glib/gmain.h:574:10: note: expected 'GSourceFunc {aka int (*)(void *)}' but argument is of type 'gboolean (*)(DeepinCornerIndicator *) {aka int (*)(struct _DeepinCornerIndicator *)}' guint g_timeout_add (guint interval, ^~~~~~~~~~~~~ core/deepin-corner-indicator.c: In function 'inside_close_region': core/deepin-corner-indicator.c:468:52: warning: passing argument 1 of 'deepin_animation_image_get_activated' from incompatible pointer type [-Wincompatible-pointer-types] int sz = deepin_animation_image_get_activated (priv->close_image) ? 24 : 4; ^~~~ In file included from core/deepin-corner-indicator.c:21:0: ./include/deepin-animation-image.h:57:10: note: expected 'DeepinAnimationImage * {aka struct _DeepinAnimationImage *}' but argument is of type 'GtkWidget * {aka struct _GtkWidget *}' gboolean deepin_animation_image_get_activated (DeepinAnimationImage *self); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ core/deepin-corner-indicator.c:470:52: warning: passing argument 1 of 'gtk_widget_get_window' from incompatible pointer type [-Wincompatible-pointer-types] gdk_window_get_geometry (gtk_widget_get_window(self), &x1, &y1, &w, &h); ^~~~ In file included from /usr/include/gtk-3.0/gtk/gtkapplication.h:27:0, from /usr/include/gtk-3.0/gtk/gtkwindow.h:33, from /usr/include/gtk-3.0/gtk/gtkdialog.h:32, from /usr/include/gtk-3.0/gtk/gtkaboutdialog.h:30, from /usr/include/gtk-3.0/gtk/gtk.h:31, from ./include/deepin-message-hub.h:16, from core/deepin-corner-indicator.c:19: /usr/include/gtk-3.0/gtk/gtkwidget.h:914:23: note: expected 'GtkWidget * {aka struct _GtkWidget *}' but argument is of type 'DeepinCornerIndicator * {aka struct _DeepinCornerIndicator *}' GdkWindow * gtk_widget_get_window (GtkWidget *widget); ^~~~~~~~~~~~~~~~~~~~~ core/deepin-corner-indicator.c: In function 'mouse_move': core/deepin-corner-indicator.c:496:55: warning: passing argument 1 of 'deepin_animation_image_get_activated' from incompatible pointer type [-Wincompatible-pointer-types] if (!deepin_animation_image_get_activated(priv->close_image)) { ^~~~ In file included from core/deepin-corner-indicator.c:21:0: ./include/deepin-animation-image.h:57:10: note: expected 'DeepinAnimationImage * {aka struct _DeepinAnimationImage *}' but argument is of type 'GtkWidget * {aka struct _GtkWidget *}' gboolean deepin_animation_image_get_activated (DeepinAnimationImage *self); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ core/deepin-corner-indicator.c:497:50: warning: passing argument 1 of 'deepin_animation_image_activate' from incompatible pointer type [-Wincompatible-pointer-types] deepin_animation_image_activate (priv->close_image); ^~~~ In file included from core/deepin-corner-indicator.c:21:0: ./include/deepin-animation-image.h:55:6: note: expected 'DeepinAnimationImage * {aka struct _DeepinAnimationImage *}' but argument is of type 'GtkWidget * {aka struct _GtkWidget *}' void deepin_animation_image_activate (DeepinAnimationImage *); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ core/deepin-corner-indicator.c:498:40: warning: passing argument 1 of 'gtk_widget_queue_draw' from incompatible pointer type [-Wincompatible-pointer-types] gtk_widget_queue_draw (self); ^~~~ In file included from /usr/include/gtk-3.0/gtk/gtkapplication.h:27:0, from /usr/include/gtk-3.0/gtk/gtkwindow.h:33, from /usr/include/gtk-3.0/gtk/gtkdialog.h:32, from /usr/include/gtk-3.0/gtk/gtkaboutdialog.h:30, from /usr/include/gtk-3.0/gtk/gtk.h:31, from ./include/deepin-message-hub.h:16, from core/deepin-corner-indicator.c:19: /usr/include/gtk-3.0/gtk/gtkwidget.h:652:9: note: expected 'GtkWidget * {aka struct _GtkWidget *}' but argument is of type 'DeepinCornerIndicator * {aka struct _DeepinCornerIndicator *}' void gtk_widget_queue_draw (GtkWidget *widget); ^~~~~~~~~~~~~~~~~~~~~ core/deepin-corner-indicator.c:500:17: warning: 'gdk_window_set_composited' is deprecated [-Wdeprecated-declarations] gdk_window_set_composited (gtk_widget_get_window (self), FALSE); ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/gtk-3.0/gdk/gdkseat.h:28:0, from /usr/include/gtk-3.0/gdk/gdkdisplay.h:33, from /usr/include/gtk-3.0/gdk/gdkscreen.h:32, from /usr/include/gtk-3.0/gdk/gdkapplaunchcontext.h:31, from /usr/include/gtk-3.0/gdk/gdk.h:32, from core/deepin-corner-indicator.c:17: /usr/include/gtk-3.0/gdk/gdkwindow.h:628:6: note: declared here void gdk_window_set_composited (GdkWindow *window, ^~~~~~~~~~~~~~~~~~~~~~~~~ core/deepin-corner-indicator.c:500:67: warning: passing argument 1 of 'gtk_widget_get_window' from incompatible pointer type [-Wincompatible-pointer-types] gdk_window_set_composited (gtk_widget_get_window (self), FALSE); ^~~~ In file included from /usr/include/gtk-3.0/gtk/gtkapplication.h:27:0, from /usr/include/gtk-3.0/gtk/gtkwindow.h:33, from /usr/include/gtk-3.0/gtk/gtkdialog.h:32, from /usr/include/gtk-3.0/gtk/gtkaboutdialog.h:30, from /usr/include/gtk-3.0/gtk/gtk.h:31, from ./include/deepin-message-hub.h:16, from core/deepin-corner-indicator.c:19: /usr/include/gtk-3.0/gtk/gtkwidget.h:914:23: note: expected 'GtkWidget * {aka struct _GtkWidget *}' but argument is of type 'DeepinCornerIndicator * {aka struct _DeepinCornerIndicator *}' GdkWindow * gtk_widget_get_window (GtkWidget *widget); ^~~~~~~~~~~~~~~~~~~~~ core/deepin-corner-indicator.c:503:54: warning: passing argument 1 of 'deepin_animation_image_get_activated' from incompatible pointer type [-Wincompatible-pointer-types] if (deepin_animation_image_get_activated(priv->close_image)) { ^~~~ In file included from core/deepin-corner-indicator.c:21:0: ./include/deepin-animation-image.h:57:10: note: expected 'DeepinAnimationImage * {aka struct _DeepinAnimationImage *}' but argument is of type 'GtkWidget * {aka struct _GtkWidget *}' gboolean deepin_animation_image_get_activated (DeepinAnimationImage *self); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ core/deepin-corner-indicator.c:504:52: warning: passing argument 1 of 'deepin_animation_image_deactivate' from incompatible pointer type [-Wincompatible-pointer-types] deepin_animation_image_deactivate (priv->close_image); ^~~~ In file included from core/deepin-corner-indicator.c:21:0: ./include/deepin-animation-image.h:56:6: note: expected 'DeepinAnimationImage * {aka struct _DeepinAnimationImage *}' but argument is of type 'GtkWidget * {aka struct _GtkWidget *}' void deepin_animation_image_deactivate (DeepinAnimationImage *); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ core/deepin-corner-indicator.c:505:40: warning: passing argument 1 of 'gtk_widget_queue_draw' from incompatible pointer type [-Wincompatible-pointer-types] gtk_widget_queue_draw (self); ^~~~ In file included from /usr/include/gtk-3.0/gtk/gtkapplication.h:27:0, from /usr/include/gtk-3.0/gtk/gtkwindow.h:33, from /usr/include/gtk-3.0/gtk/gtkdialog.h:32, from /usr/include/gtk-3.0/gtk/gtkaboutdialog.h:30, from /usr/include/gtk-3.0/gtk/gtk.h:31, from ./include/deepin-message-hub.h:16, from core/deepin-corner-indicator.c:19: /usr/include/gtk-3.0/gtk/gtkwidget.h:652:9: note: expected 'GtkWidget * {aka struct _GtkWidget *}' but argument is of type 'DeepinCornerIndicator * {aka struct _DeepinCornerIndicator *}' void gtk_widget_queue_draw (GtkWidget *widget); ^~~~~~~~~~~~~~~~~~~~~ core/deepin-corner-indicator.c:509:21: warning: 'gdk_window_set_composited' is deprecated [-Wdeprecated-declarations] gdk_window_set_composited (gtk_widget_get_window (self), TRUE); ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/gtk-3.0/gdk/gdkseat.h:28:0, from /usr/include/gtk-3.0/gdk/gdkdisplay.h:33, from /usr/include/gtk-3.0/gdk/gdkscreen.h:32, from /usr/include/gtk-3.0/gdk/gdkapplaunchcontext.h:31, from /usr/include/gtk-3.0/gdk/gdk.h:32, from core/deepin-corner-indicator.c:17: /usr/include/gtk-3.0/gdk/gdkwindow.h:628:6: note: declared here void gdk_window_set_composited (GdkWindow *window, ^~~~~~~~~~~~~~~~~~~~~~~~~ core/deepin-corner-indicator.c:509:71: warning: passing argument 1 of 'gtk_widget_get_window' from incompatible pointer type [-Wincompatible-pointer-types] gdk_window_set_composited (gtk_widget_get_window (self), TRUE); ^~~~ In file included from /usr/include/gtk-3.0/gtk/gtkapplication.h:27:0, from /usr/include/gtk-3.0/gtk/gtkwindow.h:33, from /usr/include/gtk-3.0/gtk/gtkdialog.h:32, from /usr/include/gtk-3.0/gtk/gtkaboutdialog.h:30, from /usr/include/gtk-3.0/gtk/gtk.h:31, from ./include/deepin-message-hub.h:16, from core/deepin-corner-indicator.c:19: /usr/include/gtk-3.0/gtk/gtkwidget.h:914:23: note: expected 'GtkWidget * {aka struct _GtkWidget *}' but argument is of type 'DeepinCornerIndicator * {aka struct _DeepinCornerIndicator *}' GdkWindow * gtk_widget_get_window (GtkWidget *widget); ^~~~~~~~~~~~~~~~~~~~~ core/deepin-corner-indicator.c: In function 'compositing_changed': core/deepin-corner-indicator.c:557:13: warning: 'gdk_window_set_composited' is deprecated [-Wdeprecated-declarations] gdk_window_set_composited (gtk_widget_get_window (self), FALSE); ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/gtk-3.0/gdk/gdkseat.h:28:0, from /usr/include/gtk-3.0/gdk/gdkdisplay.h:33, from /usr/include/gtk-3.0/gdk/gdkscreen.h:32, from /usr/include/gtk-3.0/gdk/gdkapplaunchcontext.h:31, from /usr/include/gtk-3.0/gdk/gdk.h:32, from core/deepin-corner-indicator.c:17: /usr/include/gtk-3.0/gdk/gdkwindow.h:628:6: note: declared here void gdk_window_set_composited (GdkWindow *window, ^~~~~~~~~~~~~~~~~~~~~~~~~ core/deepin-corner-indicator.c:557:63: warning: passing argument 1 of 'gtk_widget_get_window' from incompatible pointer type [-Wincompatible-pointer-types] gdk_window_set_composited (gtk_widget_get_window (self), FALSE); ^~~~ In file included from /usr/include/gtk-3.0/gtk/gtkapplication.h:27:0, from /usr/include/gtk-3.0/gtk/gtkwindow.h:33, from /usr/include/gtk-3.0/gtk/gtkdialog.h:32, from /usr/include/gtk-3.0/gtk/gtkaboutdialog.h:30, from /usr/include/gtk-3.0/gtk/gtk.h:31, from ./include/deepin-message-hub.h:16, from core/deepin-corner-indicator.c:19: /usr/include/gtk-3.0/gtk/gtkwidget.h:914:23: note: expected 'GtkWidget * {aka struct _GtkWidget *}' but argument is of type 'DeepinCornerIndicator * {aka struct _DeepinCornerIndicator *}' GdkWindow * gtk_widget_get_window (GtkWidget *widget); ^~~~~~~~~~~~~~~~~~~~~ core/deepin-corner-indicator.c: In function 'corner_entered': core/deepin-corner-indicator.c:577:42: warning: passing argument 2 of 'g_timeout_add' from incompatible pointer type [-Wincompatible-pointer-types] priv->polling_id = g_timeout_add(50, polling_timeout, self); ^~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/giochannel.h:33:0, from /usr/include/glib-2.0/glib.h:54, from ./include/util.h:26, from core/deepin-corner-indicator.c:16: /usr/include/glib-2.0/glib/gmain.h:574:10: note: expected 'GSourceFunc {aka int (*)(void *)}' but argument is of type 'gboolean (*)(DeepinCornerIndicator *) {aka int (*)(struct _DeepinCornerIndicator *)}' guint g_timeout_add (guint interval, ^~~~~~~~~~~~~ core/deepin-corner-indicator.c: In function 'deepin_corner_indicator_real_draw': core/deepin-corner-indicator.c:644:58: warning: passing argument 1 of 'deepin_animation_image_get_activated' from incompatible pointer type [-Wincompatible-pointer-types] } else if (deepin_animation_image_get_activated (priv->close_image)) { ^~~~ In file included from core/deepin-corner-indicator.c:21:0: ./include/deepin-animation-image.h:57:10: note: expected 'DeepinAnimationImage * {aka struct _DeepinAnimationImage *}' but argument is of type 'GtkWidget * {aka struct _GtkWidget *}' gboolean deepin_animation_image_get_activated (DeepinAnimationImage *self); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ core/deepin-corner-indicator.c: In function 'deepin_corner_indicator_button_pressed': core/deepin-corner-indicator.c:657:68: warning: passing argument 1 of 'deepin_animation_image_get_activated' from incompatible pointer type [-Wincompatible-pointer-types] if (priv->blind_close && deepin_animation_image_get_activated (priv->close_image)) { ^~~~ In file included from core/deepin-corner-indicator.c:21:0: ./include/deepin-animation-image.h:57:10: note: expected 'DeepinAnimationImage * {aka struct _DeepinAnimationImage *}' but argument is of type 'GtkWidget * {aka struct _GtkWidget *}' gboolean deepin_animation_image_get_activated (DeepinAnimationImage *self); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ core/deepin-corner-indicator.c: In function 'on_delayed_close': core/deepin-corner-indicator.c:672:40: warning: passing argument 1 of 'deepin_animation_image_deactivate' from incompatible pointer type [-Wincompatible-pointer-types] deepin_animation_image_deactivate (priv->close_image); ^~~~ In file included from core/deepin-corner-indicator.c:21:0: ./include/deepin-animation-image.h:56:6: note: expected 'DeepinAnimationImage * {aka struct _DeepinAnimationImage *}' but argument is of type 'GtkWidget * {aka struct _GtkWidget *}' void deepin_animation_image_deactivate (DeepinAnimationImage *); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ core/deepin-corner-indicator.c:675:9: warning: 'gdk_window_set_composited' is deprecated [-Wdeprecated-declarations] gdk_window_set_composited (gtk_widget_get_window (self), TRUE); ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/gtk-3.0/gdk/gdkseat.h:28:0, from /usr/include/gtk-3.0/gdk/gdkdisplay.h:33, from /usr/include/gtk-3.0/gdk/gdkscreen.h:32, from /usr/include/gtk-3.0/gdk/gdkapplaunchcontext.h:31, from /usr/include/gtk-3.0/gdk/gdk.h:32, from core/deepin-corner-indicator.c:17: /usr/include/gtk-3.0/gdk/gdkwindow.h:628:6: note: declared here void gdk_window_set_composited (GdkWindow *window, ^~~~~~~~~~~~~~~~~~~~~~~~~ core/deepin-corner-indicator.c:675:59: warning: passing argument 1 of 'gtk_widget_get_window' from incompatible pointer type [-Wincompatible-pointer-types] gdk_window_set_composited (gtk_widget_get_window (self), TRUE); ^~~~ In file included from /usr/include/gtk-3.0/gtk/gtkapplication.h:27:0, from /usr/include/gtk-3.0/gtk/gtkwindow.h:33, from /usr/include/gtk-3.0/gtk/gtkdialog.h:32, from /usr/include/gtk-3.0/gtk/gtkaboutdialog.h:30, from /usr/include/gtk-3.0/gtk/gtk.h:31, from ./include/deepin-message-hub.h:16, from core/deepin-corner-indicator.c:19: /usr/include/gtk-3.0/gtk/gtkwidget.h:914:23: note: expected 'GtkWidget * {aka struct _GtkWidget *}' but argument is of type 'DeepinCornerIndicator * {aka struct _DeepinCornerIndicator *}' GdkWindow * gtk_widget_get_window (GtkWidget *widget); ^~~~~~~~~~~~~~~~~~~~~ core/deepin-corner-indicator.c: In function 'deepin_corner_indicator_button_released': core/deepin-corner-indicator.c:685:68: warning: passing argument 1 of 'deepin_animation_image_get_activated' from incompatible pointer type [-Wincompatible-pointer-types] if (priv->blind_close && deepin_animation_image_get_activated (priv->close_image)) { ^~~~ In file included from core/deepin-corner-indicator.c:21:0: ./include/deepin-animation-image.h:57:10: note: expected 'DeepinAnimationImage * {aka struct _DeepinAnimationImage *}' but argument is of type 'GtkWidget * {aka struct _GtkWidget *}' gboolean deepin_animation_image_get_activated (DeepinAnimationImage *self); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/gobject/gobject.h:27:0, from /usr/include/glib-2.0/gobject/gbinding.h:29, from /usr/include/glib-2.0/glib-object.h:23, from ./include/util.h:27, from core/deepin-corner-indicator.c:16: /usr/include/glib-2.0/gobject/gclosure.h:70:26: warning: passing argument 2 of 'g_timeout_add' from incompatible pointer type [-Wincompatible-pointer-types] #define G_CALLBACK(f) ((GCallback) (f)) ^ core/deepin-corner-indicator.c:691:30: note: in expansion of macro 'G_CALLBACK' g_timeout_add(0, G_CALLBACK(on_delayed_close), widget); ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/giochannel.h:33:0, from /usr/include/glib-2.0/glib.h:54, from ./include/util.h:26, from core/deepin-corner-indicator.c:16: /usr/include/glib-2.0/glib/gmain.h:574:10: note: expected 'GSourceFunc {aka int (*)(void *)}' but argument is of type 'void (*)(void)' guint g_timeout_add (guint interval, ^~~~~~~~~~~~~ core/deepin-corner-indicator.c:693:24: warning: passing argument 1 of 'push_back' from incompatible pointer type [-Wincompatible-pointer-types] push_back (widget, pos); ^~~~~~ core/deepin-corner-indicator.c:351:13: note: expected 'DeepinCornerIndicator * {aka struct _DeepinCornerIndicator *}' but argument is of type 'GtkWidget * {aka struct _GtkWidget *}' static void push_back (DeepinCornerIndicator *self, GdkPoint pos) ^~~~~~~~~ core/deepin-corner-indicator.c: In function 'deepin_corner_indicator_new': core/deepin-corner-indicator.c:738:34: warning: passing argument 1 of 'gtk_window_set_default_size' from incompatible pointer type [-Wincompatible-pointer-types] gtk_window_set_default_size (widget, CORNER_SIZE, CORNER_SIZE); ^~~~~~ In file included from /usr/include/gtk-3.0/gtk/gtkdialog.h:32:0, from /usr/include/gtk-3.0/gtk/gtkaboutdialog.h:30, from /usr/include/gtk-3.0/gtk/gtk.h:31, from ./include/deepin-message-hub.h:16, from core/deepin-corner-indicator.c:19: /usr/include/gtk-3.0/gtk/gtkwindow.h:419:10: note: expected 'GtkWindow * {aka struct _GtkWindow *}' but argument is of type 'GtkWidget * {aka struct _GtkWidget *}' void gtk_window_set_default_size (GtkWindow *window, ^~~~~~~~~~~~~~~~~~~~~~~~~~~ core/deepin-corner-indicator.c:746:9: warning: 'gdk_window_set_composited' is deprecated [-Wdeprecated-declarations] gdk_window_set_composited (gtk_widget_get_window (widget), TRUE); ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/gtk-3.0/gdk/gdkseat.h:28:0, from /usr/include/gtk-3.0/gdk/gdkdisplay.h:33, from /usr/include/gtk-3.0/gdk/gdkscreen.h:32, from /usr/include/gtk-3.0/gdk/gdkapplaunchcontext.h:31, from /usr/include/gtk-3.0/gdk/gdk.h:32, from core/deepin-corner-indicator.c:17: /usr/include/gtk-3.0/gdk/gdkwindow.h:628:6: note: declared here void gdk_window_set_composited (GdkWindow *window, ^~~~~~~~~~~~~~~~~~~~~~~~~ make[4]: Leaving directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/src' make[4]: Entering directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/src' CC libdeepin_metacity_private_la-deepin-timeline.lo In file included from /usr/include/bits/libc-header-start.h:33:0, from /usr/include/limits.h:26, from /usr/lib/gcc/x86_64-redhat-linux/7/include/limits.h:194, from /usr/lib/gcc/x86_64-redhat-linux/7/include/syslimits.h:7, from /usr/lib/gcc/x86_64-redhat-linux/7/include/limits.h:34, from /usr/lib64/glib-2.0/include/glibconfig.h:11, from /usr/include/glib-2.0/glib/gtypes.h:32, from /usr/include/glib-2.0/glib/galloca.h:32, from /usr/include/glib-2.0/glib.h:30, from /usr/include/gtk-3.0/gdk/gdkconfig.h:13, from /usr/include/gtk-3.0/gdk/gdk.h:30, from core/deepin-timeline.c:12: /usr/include/features.h:373:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ make[4]: Leaving directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/src' make[4]: Entering directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/src' CC libdeepin_metacity_private_la-main-private.lo In file included from /usr/include/bits/libc-header-start.h:33:0, from /usr/include/limits.h:26, from /usr/lib/gcc/x86_64-redhat-linux/7/include/limits.h:194, from /usr/lib/gcc/x86_64-redhat-linux/7/include/syslimits.h:7, from /usr/lib/gcc/x86_64-redhat-linux/7/include/limits.h:34, from /usr/lib64/glib-2.0/include/glibconfig.h:11, from /usr/include/glib-2.0/glib/gtypes.h:32, from /usr/include/glib-2.0/glib/galloca.h:32, from /usr/include/glib-2.0/glib.h:30, from ./include/main.h:25, from core/main-private.c:28: /usr/include/features.h:180:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ /usr/include/features.h:373:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ make[4]: Leaving directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/src' make[4]: Entering directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/src' CC libdeepin_metacity_private_la-place.lo In file included from /usr/include/sys/types.h:25:0, from /usr/include/X11/Xlib.h:38, from /usr/include/X11/extensions/XInput2.h:30, from core/window-private.h:36, from core/place.h:25, from core/place.c:27: /usr/include/features.h:373:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ make[4]: Leaving directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/src' make[4]: Entering directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/src' CC libdeepin_metacity_private_la-prefs.lo In file included from /usr/include/sys/types.h:25:0, from /usr/include/X11/Xlib.h:38, from ./include/common.h:30, from ./include/prefs.h:27, from core/prefs.c:26: /usr/include/features.h:373:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ core/prefs.c: In function 'update_cursor_theme_from_gtk': core/prefs.c:1069:42: warning: passing argument 1 of 'g_strdup' makes pointer from integer without a cast [-Wint-conversion] xsettings_cursor_theme = g_strdup (g_value_get_int (&value)); ^~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:79:0, from ./include/common.h:32, from ./include/prefs.h:27, from core/prefs.c:26: /usr/include/glib-2.0/glib/gstrfuncs.h:216:22: note: expected 'const gchar * {aka const char *}' but argument is of type 'gint {aka int}' gchar* g_strdup (const gchar *str) G_GNUC_MALLOC; ^~~~~~~~ make[4]: Leaving directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/src' make[4]: Entering directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/src' CC libdeepin_metacity_private_la-screen.lo In file included from /usr/include/bits/libc-header-start.h:33:0, from /usr/include/limits.h:26, from /usr/lib/gcc/x86_64-redhat-linux/7/include/limits.h:194, from /usr/lib/gcc/x86_64-redhat-linux/7/include/syslimits.h:7, from /usr/lib/gcc/x86_64-redhat-linux/7/include/limits.h:34, from /usr/lib64/glib-2.0/include/glibconfig.h:11, from /usr/include/glib-2.0/glib/gtypes.h:32, from /usr/include/glib-2.0/glib/galloca.h:32, from /usr/include/glib-2.0/glib.h:30, from /usr/include/gtk-3.0/gdk/gdkconfig.h:13, from /usr/include/gtk-3.0/gdk/gdk.h:30, from core/screen.c:28: /usr/include/features.h:373:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ core/screen.c: In function 'reload_xinerama_infos': core/screen.c:196:7: warning: 'gdk_screen_get_n_monitors' is deprecated: Use 'gdk_display_get_n_monitors' instead [-Wdeprecated-declarations] n_infos = gdk_screen_get_n_monitors (gscreen); ^~~~~~~ In file included from /usr/include/gtk-3.0/gdk/gdkapplaunchcontext.h:31:0, from /usr/include/gtk-3.0/gdk/gdk.h:32, from core/screen.c:28: /usr/include/gtk-3.0/gdk/gdkscreen.h:74:14: note: declared here gint gdk_screen_get_n_monitors (GdkScreen *screen); ^~~~~~~~~~~~~~~~~~~~~~~~~ core/screen.c:211:15: warning: 'gdk_screen_get_monitor_geometry' is deprecated: Use 'gdk_monitor_get_geometry' instead [-Wdeprecated-declarations] gdk_screen_get_monitor_geometry (gscreen, i, &r); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/gtk-3.0/gdk/gdkapplaunchcontext.h:31:0, from /usr/include/gtk-3.0/gdk/gdk.h:32, from core/screen.c:28: /usr/include/gtk-3.0/gdk/gdkscreen.h:78:14: note: declared here void gdk_screen_get_monitor_geometry (GdkScreen *screen, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ core/screen.c: In function 'create_guard_window': core/screen.c:344:10: warning: variable 'create_serial' set but not used [-Wunused-but-set-variable] gulong create_serial; ^~~~~~~~~~~~~ core/screen.c: In function 'meta_screen_calc_corner_positions': core/screen.c:390:5: warning: 'gdk_screen_get_n_monitors' is deprecated: Use 'gdk_display_get_n_monitors' instead [-Wdeprecated-declarations] int n = gdk_screen_get_n_monitors(gdk_screen_get_default()); ^~~ In file included from /usr/include/gtk-3.0/gdk/gdkapplaunchcontext.h:31:0, from /usr/include/gtk-3.0/gdk/gdk.h:32, from core/screen.c:28: /usr/include/gtk-3.0/gdk/gdkscreen.h:74:14: note: declared here gint gdk_screen_get_n_monitors (GdkScreen *screen); ^~~~~~~~~~~~~~~~~~~~~~~~~ core/screen.c:400:9: warning: 'gdk_screen_get_monitor_geometry' is deprecated: Use 'gdk_monitor_get_geometry' instead [-Wdeprecated-declarations] gdk_screen_get_monitor_geometry(gdk_screen_get_default(), i, &geo); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/gtk-3.0/gdk/gdkapplaunchcontext.h:31:0, from /usr/include/gtk-3.0/gdk/gdk.h:32, from core/screen.c:28: /usr/include/gtk-3.0/gdk/gdkscreen.h:78:14: note: declared here void gdk_screen_get_monitor_geometry (GdkScreen *screen, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ core/screen.c:417:9: warning: 'gdk_screen_get_monitor_geometry' is deprecated: Use 'gdk_monitor_get_geometry' instead [-Wdeprecated-declarations] gdk_screen_get_monitor_geometry(gdk_screen_get_default(), i, &geo); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/gtk-3.0/gdk/gdkapplaunchcontext.h:31:0, from /usr/include/gtk-3.0/gdk/gdk.h:32, from core/screen.c:28: /usr/include/gtk-3.0/gdk/gdkscreen.h:78:14: note: declared here void gdk_screen_get_monitor_geometry (GdkScreen *screen, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ core/screen.c: In function 'create_screen_corner_window': core/screen.c:444:10: warning: variable 'create_serial' set but not used [-Wunused-but-set-variable] gulong create_serial; ^~~~~~~~~~~~~ core/screen.c: In function 'meta_screen_rebuild_backgrounds': core/screen.c:1017:3: warning: 'gdk_screen_get_n_monitors' is deprecated: Use 'gdk_display_get_n_monitors' instead [-Wdeprecated-declarations] gint n_monitors = gdk_screen_get_n_monitors(gdk_screen_get_default()); ^~~~ In file included from /usr/include/gtk-3.0/gdk/gdkapplaunchcontext.h:31:0, from /usr/include/gtk-3.0/gdk/gdk.h:32, from core/screen.c:28: /usr/include/gtk-3.0/gdk/gdkscreen.h:74:14: note: declared here gint gdk_screen_get_n_monitors (GdkScreen *screen); ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/gtk-3.0/gdk/gdkx.h:54:0, from core/screen.c:29: core/screen.c:1025:57: warning: passing argument 1 of 'gtk_widget_get_window' from incompatible pointer type [-Wincompatible-pointer-types] Window xid = GDK_WINDOW_XID(gtk_widget_get_window(widget)); ^ /usr/include/gtk-3.0/gdk/x11/gdkx11window.h:108:64: note: in definition of macro 'GDK_WINDOW_XID' #define GDK_WINDOW_XID(win) (gdk_x11_window_get_xid (win)) ^~~ In file included from /usr/include/gtk-3.0/gtk/gtkapplication.h:27:0, from /usr/include/gtk-3.0/gtk/gtkwindow.h:33, from /usr/include/gtk-3.0/gtk/gtkdialog.h:32, from /usr/include/gtk-3.0/gtk/gtkaboutdialog.h:30, from /usr/include/gtk-3.0/gtk/gtk.h:31, from ./include/common.h:33, from core/display-private.h:36, from core/screen-private.h:34, from core/screen.c:30: /usr/include/gtk-3.0/gtk/gtkwidget.h:914:23: note: expected 'GtkWidget * {aka struct _GtkWidget *}' but argument is of type 'DeepinDesktopBackground * {aka struct _DeepinDesktopBackground *}' GdkWindow * gtk_widget_get_window (GtkWidget *widget); ^~~~~~~~~~~~~~~~~~~~~ core/screen.c: In function 'meta_screen_ensure_previewing_workspace': core/screen.c:1680:24: warning: assignment from incompatible pointer type [-Wincompatible-pointer-types] screen->ws_previewer = deepin_wm_background_new (screen); ^ core/screen.c: In function 'on_screen_changed': core/screen.c:2623:3: warning: 'gdk_screen_get_width' is deprecated [-Wdeprecated-declarations] screen->rect.width = gdk_screen_get_width(gdkscreen); ^~~~~~ In file included from /usr/include/gtk-3.0/gdk/gdkapplaunchcontext.h:31:0, from /usr/include/gtk-3.0/gdk/gdk.h:32, from core/screen.c:28: /usr/include/gtk-3.0/gdk/gdkscreen.h:58:14: note: declared here gint gdk_screen_get_width (GdkScreen *screen); ^~~~~~~~~~~~~~~~~~~~ core/screen.c:2624:3: warning: 'gdk_screen_get_height' is deprecated [-Wdeprecated-declarations] screen->rect.height = gdk_screen_get_height(gdkscreen); ^~~~~~ In file included from /usr/include/gtk-3.0/gdk/gdkapplaunchcontext.h:31:0, from /usr/include/gtk-3.0/gdk/gdk.h:32, from core/screen.c:28: /usr/include/gtk-3.0/gdk/gdkscreen.h:60:14: note: declared here gint gdk_screen_get_height (GdkScreen *screen); ^~~~~~~~~~~~~~~~~~~~~ core/screen.c:2645:24: warning: unused variable 'corners' [-Wunused-variable] MetaScreenCorner corners[] = { ^~~~~~~ core/screen.c: In function 'take_manager_selection': core/screen.c:3218:7: warning: implicit declaration of function 'abort' [-Wimplicit-function-declaration] abort(); ^~~~~ core/screen.c:3218:7: warning: incompatible implicit declaration of built-in function 'abort' core/screen.c:3218:7: note: include '' or provide a declaration of 'abort' core/screen.c: In function 'meta_screen_remove_workspace': core/screen.c:3334:20: warning: unused variable 'active_index_changed' [-Wunused-variable] gboolean active_index_changed; ^~~~~~~~~~~~~~~~~~~~ core/screen.c: In function 'meta_screen_request_hide_windows': core/screen.c:3417:11: warning: unused variable 'winlist' [-Wunused-variable] GSList *winlist; ^~~~~~~ core/screen.c:3416:11: warning: unused variable 'tmp' [-Wunused-variable] GSList *tmp; ^~~ core/screen.c: In function 'meta_screen_cancel_hide_windows': core/screen.c:3443:11: warning: unused variable 'winlist' [-Wunused-variable] GSList *winlist; ^~~~~~~ core/screen.c:3442:11: warning: unused variable 'tmp' [-Wunused-variable] GSList *tmp; ^~~ core/screen.c: In function 'take_manager_selection': core/screen.c:3248:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ At top level: core/screen.c:1536:1: warning: 'get_window_pixbuf' defined but not used [-Wunused-function] get_window_pixbuf (MetaWindow *window, ^~~~~~~~~~~~~~~~~ make[4]: Leaving directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/src' make[4]: Entering directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/src' CC libdeepin_metacity_private_la-session.lo In file included from /usr/include/sys/types.h:25:0, from /usr/include/X11/Xlib.h:38, from /usr/include/X11/extensions/XInput2.h:30, from core/window-private.h:36, from core/session.h:32, from core/session.c:26: /usr/include/features.h:373:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ make[4]: Leaving directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/src' make[4]: Entering directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/src' CC libdeepin_metacity_private_la-util.lo In file included from /usr/include/bits/libc-header-start.h:33:0, from /usr/include/limits.h:26, from /usr/lib/gcc/x86_64-redhat-linux/7/include/limits.h:194, from /usr/lib/gcc/x86_64-redhat-linux/7/include/syslimits.h:7, from /usr/lib/gcc/x86_64-redhat-linux/7/include/limits.h:34, from /usr/lib64/glib-2.0/include/glibconfig.h:11, from /usr/include/glib-2.0/glib/gtypes.h:32, from /usr/include/glib-2.0/glib/galloca.h:32, from /usr/include/glib-2.0/glib.h:30, from ./include/util.h:26, from core/util.c:27: /usr/include/features.h:373:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ make[4]: Leaving directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/src' make[4]: Entering directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/src' CC libdeepin_metacity_private_la-stack.lo In file included from /usr/include/bits/libc-header-start.h:33:0, from /usr/include/limits.h:26, from /usr/lib/gcc/x86_64-redhat-linux/7/include/limits.h:194, from /usr/lib/gcc/x86_64-redhat-linux/7/include/syslimits.h:7, from /usr/lib/gcc/x86_64-redhat-linux/7/include/limits.h:34, from /usr/lib64/glib-2.0/include/glibconfig.h:11, from /usr/include/glib-2.0/glib/gtypes.h:32, from /usr/include/glib-2.0/glib/galloca.h:32, from /usr/include/glib-2.0/glib.h:30, from core/display-private.h:32, from core/screen-private.h:34, from core/stack.h:42, from core/stack.c:28: /usr/include/features.h:373:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ core/stack.c: In function 'restack_override_redirected_windows_relative_to_managed': core/stack.c:1124:21: warning: passing argument 1 of 'meta_verbose_real' makes pointer from integer without a cast [-Wint-conversion] meta_verbose (META_DEBUG_STACK, "Moving or 0x%lx above topmost managed window 0x%lx\n", ^~~~~~~~~~~~~~~~ In file included from core/window-private.h:39:0, from core/stack.c:29: ./include/util.h:40:6: note: expected 'const char *' but argument is of type 'int' void meta_verbose_real (const char *format, ^~~~~~~~~~~~~~~~~ make[4]: Leaving directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/src' make[4]: Entering directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/src' CC libdeepin_metacity_private_la-window-props.lo In file included from /usr/include/sys/types.h:25:0, from /usr/include/X11/Xlib.h:38, from /usr/include/X11/extensions/XInput2.h:30, from core/window-private.h:36, from core/window-props.h:33, from core/window-props.c:40: /usr/include/features.h:180:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ /usr/include/features.h:373:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ make[4]: Leaving directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/src' make[4]: Entering directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/src' CC libdeepin_metacity_private_la-window.lo In file included from /usr/include/sys/types.h:25:0, from /usr/include/X11/Xlib.h:38, from /usr/include/X11/extensions/XInput2.h:30, from core/window.c:26: /usr/include/features.h:373:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ core/window.c: In function 'meta_window_new_with_attrs': core/window.c:869:48: warning: format '%x' expects argument of type 'unsigned int', but argument 4 has type 'Window {aka long unsigned int}' [-Wformat=] meta_verbose ("%s redirect desktop %p(0x%x), mapped %d\n", __func__, window, xwindow, ~^ %lx core/window.c: In function 'meta_window_free': core/window.c:1042:49: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'Window {aka long unsigned int}' [-Wformat=] meta_verbose ("%s: unredirect desktop (0x%x)\n", __func__, xwindow); ~^ %lx make[4]: Leaving directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/src' make[4]: Entering directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/src' CC libdeepin_metacity_private_la-workspace.lo In file included from /usr/include/sys/types.h:25:0, from /usr/include/X11/Xlib.h:38, from /usr/include/X11/extensions/XInput2.h:30, from core/window-private.h:36, from core/workspace.h:34, from core/workspace.c:25: /usr/include/features.h:373:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ make[4]: Leaving directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/src' make[4]: Entering directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/src' CC libdeepin_metacity_private_la-deepin-dbus-service.lo In file included from /usr/include/bits/libc-header-start.h:33:0, from /usr/include/limits.h:26, from /usr/lib/gcc/x86_64-redhat-linux/7/include/limits.h:194, from /usr/lib/gcc/x86_64-redhat-linux/7/include/syslimits.h:7, from /usr/lib/gcc/x86_64-redhat-linux/7/include/limits.h:34, from /usr/lib64/glib-2.0/include/glibconfig.h:11, from /usr/include/glib-2.0/glib/gtypes.h:32, from /usr/include/glib-2.0/glib/galloca.h:32, from /usr/include/glib-2.0/glib.h:30, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:23, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from core/deepin-dbus-service.c:13: /usr/include/features.h:373:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ core/deepin-dbus-service.c: In function 'deepin_dbus_service_handle_get_current_workspace_background': core/deepin-dbus-service.c:198:5: warning: implicit declaration of function 'free' [-Wimplicit-function-declaration] free(uri); ^~~~ core/deepin-dbus-service.c:198:5: warning: incompatible implicit declaration of built-in function 'free' core/deepin-dbus-service.c:198:5: note: include '' or provide a declaration of 'free' make[4]: Leaving directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/src' make[4]: Entering directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/src' CC libdeepin_metacity_private_la-xprops.lo In file included from /usr/include/bits/libc-header-start.h:33:0, from /usr/include/limits.h:26, from /usr/lib/gcc/x86_64-redhat-linux/7/include/limits.h:194, from /usr/lib/gcc/x86_64-redhat-linux/7/include/syslimits.h:7, from /usr/lib/gcc/x86_64-redhat-linux/7/include/limits.h:34, from /usr/lib64/glib-2.0/include/glibconfig.h:11, from /usr/include/glib-2.0/glib/gtypes.h:32, from /usr/include/glib-2.0/glib/galloca.h:32, from /usr/include/glib-2.0/glib.h:30, from ./include/display.h:23, from ./include/xprops.h:27, from core/xprops.c:82: /usr/include/features.h:373:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ make[4]: Leaving directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/src' make[4]: Entering directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/src' CC libdeepin_metacity_private_la-fixedtip.lo In file included from /usr/include/bits/libc-header-start.h:33:0, from /usr/include/limits.h:26, from /usr/lib/gcc/x86_64-redhat-linux/7/include/limits.h:194, from /usr/lib/gcc/x86_64-redhat-linux/7/include/syslimits.h:7, from /usr/lib/gcc/x86_64-redhat-linux/7/include/limits.h:34, from /usr/lib64/glib-2.0/include/glibconfig.h:11, from /usr/include/glib-2.0/glib/gtypes.h:32, from /usr/include/glib-2.0/glib/galloca.h:32, from /usr/include/glib-2.0/glib.h:30, from /usr/include/gtk-3.0/gdk/gdkconfig.h:13, from /usr/include/gtk-3.0/gdk/gdk.h:30, from /usr/include/gtk-3.0/gtk/gtk.h:30, from ui/fixedtip.h:41, from ui/fixedtip.c:23: /usr/include/features.h:373:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ ui/fixedtip.c: In function 'meta_fixed_tip_show': ui/fixedtip.c:84:7: warning: 'gdk_display_get_screen' is deprecated [-Wdeprecated-declarations] screen = gdk_display_get_screen (gdk_display_get_default (), screen_number); ^~~~~~ In file included from /usr/include/gtk-3.0/gdk/gdkscreen.h:32:0, from /usr/include/gtk-3.0/gdk/gdkapplaunchcontext.h:31, from /usr/include/gtk-3.0/gdk/gdk.h:32, from /usr/include/gtk-3.0/gtk/gtk.h:30, from ui/fixedtip.h:41, from ui/fixedtip.c:23: /usr/include/gtk-3.0/gdk/gdkdisplay.h:56:13: note: declared here GdkScreen * gdk_display_get_screen (GdkDisplay *display, ^~~~~~~~~~~~~~~~~~~~~~ ui/fixedtip.c:110:3: warning: 'gdk_screen_get_monitor_at_point' is deprecated: Use 'gdk_display_get_monitor_at_point' instead [-Wdeprecated-declarations] mon_num = gdk_screen_get_monitor_at_point (screen, root_x, root_y); ^~~~~~~ In file included from /usr/include/gtk-3.0/gdk/gdkapplaunchcontext.h:31:0, from /usr/include/gtk-3.0/gdk/gdk.h:32, from /usr/include/gtk-3.0/gtk/gtk.h:30, from ui/fixedtip.h:41, from ui/fixedtip.c:23: /usr/include/gtk-3.0/gdk/gdkscreen.h:87:15: note: declared here gint gdk_screen_get_monitor_at_point (GdkScreen *screen, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ui/fixedtip.c:111:3: warning: 'gdk_screen_get_monitor_geometry' is deprecated: Use 'gdk_monitor_get_geometry' instead [-Wdeprecated-declarations] gdk_screen_get_monitor_geometry (screen, mon_num, &monitor); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/gtk-3.0/gdk/gdkapplaunchcontext.h:31:0, from /usr/include/gtk-3.0/gdk/gdk.h:32, from /usr/include/gtk-3.0/gtk/gtk.h:30, from ui/fixedtip.h:41, from ui/fixedtip.c:23: /usr/include/gtk-3.0/gdk/gdkscreen.h:78:14: note: declared here void gdk_screen_get_monitor_geometry (GdkScreen *screen, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[4]: Leaving directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/src' make[4]: Entering directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/src' CC libdeepin_metacity_private_la-frames.lo In file included from /usr/include/bits/libc-header-start.h:33:0, from /usr/include/math.h:27, from ui/frames.c:25: /usr/include/features.h:373:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ ui/frames.c: In function 'meta_frames_new': ui/frames.c:602:3: warning: 'gdk_display_get_screen' is deprecated [-Wdeprecated-declarations] screen = gdk_display_get_screen (gdk_display_get_default (), ^~~~~~ In file included from /usr/include/gtk-3.0/gdk/gdkscreen.h:32:0, from /usr/include/gtk-3.0/gdk/gdkapplaunchcontext.h:31, from /usr/include/gtk-3.0/gdk/gdk.h:32, from /usr/include/gtk-3.0/gtk/gtk.h:30, from ./include/common.h:33, from ./include/boxes.h:26, from ui/frames.c:27: /usr/include/gtk-3.0/gdk/gdkdisplay.h:56:13: note: declared here GdkScreen * gdk_display_get_screen (GdkDisplay *display, ^~~~~~~~~~~~~~~~~~~~~~ ui/frames.c: In function 'meta_frames_repaint_frame': ui/frames.c:1266:3: warning: 'gdk_window_process_all_updates' is deprecated [-Wdeprecated-declarations] gdk_window_process_all_updates (); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/gtk-3.0/gdk/gdkseat.h:28:0, from /usr/include/gtk-3.0/gdk/gdkdisplay.h:33, from /usr/include/gtk-3.0/gdk/gdkscreen.h:32, from /usr/include/gtk-3.0/gdk/gdkapplaunchcontext.h:31, from /usr/include/gtk-3.0/gdk/gdk.h:32, from /usr/include/gtk-3.0/gtk/gtk.h:30, from ./include/common.h:33, from ./include/boxes.h:26, from ui/frames.c:27: /usr/include/gtk-3.0/gdk/gdkwindow.h:1058:12: note: declared here void gdk_window_process_all_updates (void); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ui/frames.c: In function 'show_tip_now': ui/frames.c:1376:7: warning: 'gdk_screen_get_number' is deprecated [-Wdeprecated-declarations] screen_number = gdk_screen_get_number (gtk_widget_get_screen (GTK_WIDGET (frames))); ^~~~~~~~~~~~~ In file included from /usr/include/gtk-3.0/gdk/gdkapplaunchcontext.h:31:0, from /usr/include/gtk-3.0/gdk/gdk.h:32, from /usr/include/gtk-3.0/gtk/gtk.h:30, from ./include/common.h:33, from ./include/boxes.h:26, from ui/frames.c:27: /usr/include/gtk-3.0/gdk/gdkscreen.h:56:14: note: declared here gint gdk_screen_get_number (GdkScreen *screen); ^~~~~~~~~~~~~~~~~~~~~ ui/frames.c: In function 'setup_bg_cr': ui/frames.c:2249:3: warning: 'gdk_window_get_background_pattern' is deprecated [-Wdeprecated-declarations] bg_pattern = gdk_window_get_background_pattern (window); ^~~~~~~~~~ In file included from /usr/include/gtk-3.0/gdk/gdkseat.h:28:0, from /usr/include/gtk-3.0/gdk/gdkdisplay.h:33, from /usr/include/gtk-3.0/gdk/gdkscreen.h:32, from /usr/include/gtk-3.0/gdk/gdkapplaunchcontext.h:31, from /usr/include/gtk-3.0/gdk/gdk.h:32, from /usr/include/gtk-3.0/gtk/gtk.h:30, from ./include/common.h:33, from ./include/boxes.h:26, from ui/frames.c:27: /usr/include/gtk-3.0/gdk/gdkwindow.h:784:18: note: declared here cairo_pattern_t *gdk_window_get_background_pattern (GdkWindow *window); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ui/frames.c: In function 'meta_frames_push_delay_exposes': ui/frames.c:3096:7: warning: 'gdk_window_process_all_updates' is deprecated [-Wdeprecated-declarations] gdk_window_process_all_updates (); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/gtk-3.0/gdk/gdkseat.h:28:0, from /usr/include/gtk-3.0/gdk/gdkdisplay.h:33, from /usr/include/gtk-3.0/gdk/gdkscreen.h:32, from /usr/include/gtk-3.0/gdk/gdkapplaunchcontext.h:31, from /usr/include/gtk-3.0/gdk/gdk.h:32, from /usr/include/gtk-3.0/gtk/gtk.h:30, from ./include/common.h:33, from ./include/boxes.h:26, from ui/frames.c:27: /usr/include/gtk-3.0/gdk/gdkwindow.h:1058:12: note: declared here void gdk_window_process_all_updates (void); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[4]: Leaving directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/src' make[4]: Entering directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/src' CC libdeepin_metacity_private_la-deepin-menu.lo In file included from /usr/include/bits/libc-header-start.h:33:0, from /usr/include/stdio.h:28, from ui/deepin-menu.c:13: /usr/include/features.h:373:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ ui/deepin-menu.c: In function 'deepin_window_menu_item_handler': ui/deepin-menu.c:93:17: warning: implicit declaration of function 'meta_workspace_index'; did you mean 'meta_color_spec_render'? [-Wimplicit-function-declaration] meta_workspace_index(display->active_screen->active_workspace), ^~~~~~~~~~~~~~~~~~~~ meta_color_spec_render ui/deepin-menu.c: In function 'deepin_window_menu_new': ui/deepin-menu.c:108:9: warning: unused variable 'i' [-Wunused-variable] int i; ^ make[4]: Leaving directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/src' make[4]: Entering directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/src' CC libdeepin_metacity_private_la-metaaccellabel.lo In file included from /usr/include/bits/libc-header-start.h:33:0, from /usr/include/limits.h:26, from /usr/lib/gcc/x86_64-redhat-linux/7/include/limits.h:194, from /usr/lib/gcc/x86_64-redhat-linux/7/include/syslimits.h:7, from /usr/lib/gcc/x86_64-redhat-linux/7/include/limits.h:34, from /usr/lib64/glib-2.0/include/glibconfig.h:11, from /usr/include/glib-2.0/glib/gtypes.h:32, from /usr/include/glib-2.0/glib/galloca.h:32, from /usr/include/glib-2.0/glib.h:30, from /usr/include/gtk-3.0/gdk/gdkconfig.h:13, from /usr/include/gtk-3.0/gdk/gdk.h:30, from /usr/include/gtk-3.0/gtk/gtk.h:30, from ui/metaaccellabel.h:35, from ui/metaaccellabel.c:33: /usr/include/features.h:373:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ make[4]: Leaving directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/src' make[4]: Entering directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/src' CC libdeepin_metacity_private_la-preview-widget.lo In file included from /usr/include/bits/libc-header-start.h:33:0, from /usr/include/math.h:27, from ui/preview-widget.c:25: /usr/include/features.h:373:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ make[4]: Leaving directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/src' make[4]: Entering directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/src' CC libdeepin_metacity_private_la-resizepopup.lo In file included from /usr/include/bits/libc-header-start.h:33:0, from /usr/include/limits.h:26, from /usr/lib/gcc/x86_64-redhat-linux/7/include/limits.h:194, from /usr/lib/gcc/x86_64-redhat-linux/7/include/syslimits.h:7, from /usr/lib/gcc/x86_64-redhat-linux/7/include/limits.h:34, from /usr/lib64/glib-2.0/include/glibconfig.h:11, from /usr/include/glib-2.0/glib/gtypes.h:32, from /usr/include/glib-2.0/glib/galloca.h:32, from /usr/include/glib-2.0/glib.h:30, from ./include/boxes.h:25, from ./include/resizepopup.h:26, from ui/resizepopup.c:23: /usr/include/features.h:373:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ ui/resizepopup.c: In function 'ensure_size_window': ui/resizepopup.c:96:3: warning: 'gdk_display_get_screen' is deprecated [-Wdeprecated-declarations] screen = gdk_display_get_screen (gdk_x11_lookup_xdisplay (popup->display), ^~~~~~ In file included from /usr/include/gtk-3.0/gdk/gdkscreen.h:32:0, from /usr/include/gtk-3.0/gdk/gdkapplaunchcontext.h:31, from /usr/include/gtk-3.0/gdk/gdk.h:32, from /usr/include/gtk-3.0/gtk/gtk.h:30, from ./include/common.h:33, from ./include/boxes.h:26, from ./include/resizepopup.h:26, from ui/resizepopup.c:23: /usr/include/gtk-3.0/gdk/gdkdisplay.h:56:13: note: declared here GdkScreen * gdk_display_get_screen (GdkDisplay *display, ^~~~~~~~~~~~~~~~~~~~~~ make[4]: Leaving directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/src' make[4]: Entering directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/src' CC libdeepin_metacity_private_la-tabpopup.lo In file included from /usr/include/bits/libc-header-start.h:33:0, from /usr/include/limits.h:26, from /usr/lib/gcc/x86_64-redhat-linux/7/include/limits.h:194, from /usr/lib/gcc/x86_64-redhat-linux/7/include/syslimits.h:7, from /usr/lib/gcc/x86_64-redhat-linux/7/include/limits.h:34, from /usr/lib64/glib-2.0/include/glibconfig.h:11, from /usr/include/glib-2.0/glib/gtypes.h:32, from /usr/include/glib-2.0/glib/galloca.h:32, from /usr/include/glib-2.0/glib.h:30, from ./include/util.h:26, from ui/tabpopup.c:26: /usr/include/features.h:373:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ ui/tabpopup.c: In function 'meta_ui_tab_popup_new': ui/tabpopup.c:211:3: warning: 'gdk_display_get_screen' is deprecated [-Wdeprecated-declarations] screen = gdk_display_get_screen (gdk_display_get_default (), ^~~~~~ In file included from /usr/include/gtk-3.0/gdk/gdkscreen.h:32:0, from /usr/include/gtk-3.0/gdk/gdkapplaunchcontext.h:31, from /usr/include/gtk-3.0/gdk/gdk.h:32, from /usr/include/gtk-3.0/gdk/gdkx.h:28, from ./include/core.h:27, from ui/tabpopup.c:27: /usr/include/gtk-3.0/gdk/gdkdisplay.h:56:13: note: declared here GdkScreen * gdk_display_get_screen (GdkDisplay *display, ^~~~~~~~~~~~~~~~~~~~~~ ui/tabpopup.c:230:7: warning: 'gdk_window_set_background_rgba' is deprecated [-Wdeprecated-declarations] gdk_window_set_background_rgba (gtk_widget_get_window (popup->outline_window), ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/gtk-3.0/gdk/gdkseat.h:28:0, from /usr/include/gtk-3.0/gdk/gdkdisplay.h:33, from /usr/include/gtk-3.0/gdk/gdkscreen.h:32, from /usr/include/gtk-3.0/gdk/gdkapplaunchcontext.h:31, from /usr/include/gtk-3.0/gdk/gdk.h:32, from /usr/include/gtk-3.0/gdk/gdkx.h:28, from ./include/core.h:27, from ui/tabpopup.c:27: /usr/include/gtk-3.0/gdk/gdkwindow.h:778:15: note: declared here void gdk_window_set_background_rgba (GdkWindow *window, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ui/tabpopup.c:256:3: warning: 'gdk_screen_get_width' is deprecated [-Wdeprecated-declarations] screen_width = gdk_screen_get_width (screen); ^~~~~~~~~~~~ In file included from /usr/include/gtk-3.0/gdk/gdkapplaunchcontext.h:31:0, from /usr/include/gtk-3.0/gdk/gdk.h:32, from /usr/include/gtk-3.0/gdk/gdkx.h:28, from ./include/core.h:27, from ui/tabpopup.c:27: /usr/include/gtk-3.0/gdk/gdkscreen.h:58:14: note: declared here gint gdk_screen_get_width (GdkScreen *screen); ^~~~~~~~~~~~~~~~~~~~ make[4]: Leaving directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/src' make[4]: Entering directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/src' CC libdeepin_metacity_private_la-select-image.lo In file included from /usr/include/bits/libc-header-start.h:33:0, from /usr/include/limits.h:26, from /usr/lib/gcc/x86_64-redhat-linux/7/include/limits.h:194, from /usr/lib/gcc/x86_64-redhat-linux/7/include/syslimits.h:7, from /usr/lib/gcc/x86_64-redhat-linux/7/include/limits.h:34, from /usr/lib64/glib-2.0/include/glibconfig.h:11, from /usr/include/glib-2.0/glib/gtypes.h:32, from /usr/include/glib-2.0/glib/galloca.h:32, from /usr/include/glib-2.0/glib.h:30, from ./include/util.h:26, from ui/select-image.c:23: /usr/include/features.h:373:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ ui/select-image.c: In function 'meta_select_image_draw': ui/select-image.c:56:10: warning: variable 'y' set but not used [-Wunused-but-set-variable] int x, y; ^ ui/select-image.c:56:7: warning: variable 'x' set but not used [-Wunused-but-set-variable] int x, y; ^ ui/select-image.c: In function 'meta_select_image_prepare_animation': ui/select-image.c:223:27: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'gint64 {aka long int}' [-Wformat=] g_print("%s: start %lld, end %lld, req(%d, %d)\n", __func__, ~~~^ %ld priv->start_time, priv->end_time, priv->old_req.width, ~~~~~~~~~~~~~~~~ ui/select-image.c:223:37: warning: format '%lld' expects argument of type 'long long int', but argument 4 has type 'gint64 {aka long int}' [-Wformat=] g_print("%s: start %lld, end %lld, req(%d, %d)\n", __func__, ~~~^ %ld priv->start_time, priv->end_time, priv->old_req.width, ~~~~~~~~~~~~~~ make[4]: Leaving directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/src' make[4]: Entering directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/src' CC libdeepin_metacity_private_la-deepin-ease.lo make[4]: Leaving directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/src' make[4]: Entering directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/src' CC libdeepin_metacity_private_la-deepin-tabpopup.lo In file included from /usr/include/bits/libc-header-start.h:33:0, from /usr/include/limits.h:26, from /usr/lib/gcc/x86_64-redhat-linux/7/include/limits.h:194, from /usr/lib/gcc/x86_64-redhat-linux/7/include/syslimits.h:7, from /usr/lib/gcc/x86_64-redhat-linux/7/include/limits.h:34, from /usr/lib64/glib-2.0/include/glibconfig.h:11, from /usr/include/glib-2.0/glib/gtypes.h:32, from /usr/include/glib-2.0/glib/galloca.h:32, from /usr/include/glib-2.0/glib.h:30, from /usr/include/gtk-3.0/gdk/gdkconfig.h:13, from /usr/include/gtk-3.0/gdk/gdk.h:30, from /usr/include/gtk-3.0/gtk/gtk.h:30, from ui/deepin-tabpopup.c:17: /usr/include/features.h:373:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ ui/deepin-tabpopup.c: In function 'on_screen_changed': ui/deepin-tabpopup.c:298:5: warning: 'gdk_screen_get_primary_monitor' is deprecated: Use 'gdk_display_get_primary_monitor' instead [-Wdeprecated-declarations] gint primary = gdk_screen_get_primary_monitor(gdkscreen); ^~~~ In file included from /usr/include/gtk-3.0/gdk/gdkapplaunchcontext.h:31:0, from /usr/include/gtk-3.0/gdk/gdk.h:32, from /usr/include/gtk-3.0/gtk/gtk.h:30, from ui/deepin-tabpopup.c:17: /usr/include/gtk-3.0/gdk/gdkscreen.h:76:14: note: declared here gint gdk_screen_get_primary_monitor (GdkScreen *screen); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ui/deepin-tabpopup.c:299:5: warning: 'gdk_screen_get_monitor_geometry' is deprecated: Use 'gdk_monitor_get_geometry' instead [-Wdeprecated-declarations] gdk_screen_get_monitor_geometry(gdkscreen, primary, &mon_geom); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/gtk-3.0/gdk/gdkapplaunchcontext.h:31:0, from /usr/include/gtk-3.0/gdk/gdk.h:32, from /usr/include/gtk-3.0/gtk/gtk.h:30, from ui/deepin-tabpopup.c:17: /usr/include/gtk-3.0/gdk/gdkscreen.h:78:14: note: declared here void gdk_screen_get_monitor_geometry (GdkScreen *screen, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ui/deepin-tabpopup.c: In function 'on_size_changed': ui/deepin-tabpopup.c:312:5: warning: 'gdk_screen_get_primary_monitor' is deprecated: Use 'gdk_display_get_primary_monitor' instead [-Wdeprecated-declarations] gint primary = gdk_screen_get_primary_monitor(gdk_screen_get_default()); ^~~~ In file included from /usr/include/gtk-3.0/gdk/gdkapplaunchcontext.h:31:0, from /usr/include/gtk-3.0/gdk/gdk.h:32, from /usr/include/gtk-3.0/gtk/gtk.h:30, from ui/deepin-tabpopup.c:17: /usr/include/gtk-3.0/gdk/gdkscreen.h:76:14: note: declared here gint gdk_screen_get_primary_monitor (GdkScreen *screen); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ui/deepin-tabpopup.c:313:5: warning: 'gdk_screen_get_monitor_geometry' is deprecated: Use 'gdk_monitor_get_geometry' instead [-Wdeprecated-declarations] gdk_screen_get_monitor_geometry(gdk_screen_get_default(), primary, &mon_geom); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/gtk-3.0/gdk/gdkapplaunchcontext.h:31:0, from /usr/include/gtk-3.0/gdk/gdk.h:32, from /usr/include/gtk-3.0/gtk/gtk.h:30, from ui/deepin-tabpopup.c:17: /usr/include/gtk-3.0/gdk/gdkscreen.h:78:14: note: declared here void gdk_screen_get_monitor_geometry (GdkScreen *screen, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ui/deepin-tabpopup.c: In function 'deepin_tab_popup_new': ui/deepin-tabpopup.c:340:5: warning: 'gdk_display_get_screen' is deprecated [-Wdeprecated-declarations] screen = gdk_display_get_screen (gdk_display_get_default (), ^~~~~~ In file included from /usr/include/gtk-3.0/gdk/gdkscreen.h:32:0, from /usr/include/gtk-3.0/gdk/gdkapplaunchcontext.h:31, from /usr/include/gtk-3.0/gdk/gdk.h:32, from /usr/include/gtk-3.0/gtk/gtk.h:30, from ui/deepin-tabpopup.c:17: /usr/include/gtk-3.0/gdk/gdkdisplay.h:56:13: note: declared here GdkScreen * gdk_display_get_screen (GdkDisplay *display, ^~~~~~~~~~~~~~~~~~~~~~ ui/deepin-tabpopup.c:344:5: warning: 'gdk_screen_get_primary_monitor' is deprecated: Use 'gdk_display_get_primary_monitor' instead [-Wdeprecated-declarations] gint primary = gdk_screen_get_primary_monitor(screen); ^~~~ In file included from /usr/include/gtk-3.0/gdk/gdkapplaunchcontext.h:31:0, from /usr/include/gtk-3.0/gdk/gdk.h:32, from /usr/include/gtk-3.0/gtk/gtk.h:30, from ui/deepin-tabpopup.c:17: /usr/include/gtk-3.0/gdk/gdkscreen.h:76:14: note: declared here gint gdk_screen_get_primary_monitor (GdkScreen *screen); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ui/deepin-tabpopup.c:345:5: warning: 'gdk_screen_get_monitor_geometry' is deprecated: Use 'gdk_monitor_get_geometry' instead [-Wdeprecated-declarations] gdk_screen_get_monitor_geometry(screen, primary, &mon_geom); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/gtk-3.0/gdk/gdkapplaunchcontext.h:31:0, from /usr/include/gtk-3.0/gdk/gdk.h:32, from /usr/include/gtk-3.0/gtk/gtk.h:30, from ui/deepin-tabpopup.c:17: /usr/include/gtk-3.0/gdk/gdkscreen.h:78:14: note: declared here void gdk_screen_get_monitor_geometry (GdkScreen *screen, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ui/deepin-tabpopup.c:332:16: warning: variable 'visual' set but not used [-Wunused-but-set-variable] GdkVisual *visual; ^~~~~~ make[4]: Leaving directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/src' make[4]: Entering directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/src' CC libdeepin_metacity_private_la-deepin-fixed.lo In file included from /usr/include/bits/libc-header-start.h:33:0, from /usr/include/limits.h:26, from /usr/lib/gcc/x86_64-redhat-linux/7/include/limits.h:194, from /usr/lib/gcc/x86_64-redhat-linux/7/include/syslimits.h:7, from /usr/lib/gcc/x86_64-redhat-linux/7/include/limits.h:34, from /usr/lib64/glib-2.0/include/glibconfig.h:11, from /usr/include/glib-2.0/glib/gtypes.h:32, from /usr/include/glib-2.0/glib/galloca.h:32, from /usr/include/glib-2.0/glib.h:30, from ./include/util.h:26, from ui/deepin-fixed.c:19: /usr/include/features.h:373:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ ui/deepin-fixed.c: In function 'on_tick_callback': ui/deepin-fixed.c:60:25: warning: unused variable 'priv' [-Wunused-variable] DeepinFixedPrivate* priv = self->priv; ^~~~ ui/deepin-fixed.c: In function 'deepin_fixed_raise': ui/deepin-fixed.c:400:10: warning: unused variable 'id' [-Wunused-variable] gint id = g_list_index(priv->children, child); ^~ ui/deepin-fixed.c: In function 'deepin_fixed_realize': ui/deepin-fixed.c:497:9: warning: 'gtk_style_context_set_background' is deprecated: Use 'gtk_render_background' instead [-Wdeprecated-declarations] gtk_style_context_set_background (gtk_widget_get_style_context (widget), ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/gtk-3.0/gtk/gtkicontheme.h:27:0, from /usr/include/gtk-3.0/gtk/gtk.h:123, from ./include/deepin-design.h:16, from ui/deepin-fixed.c:20: /usr/include/gtk-3.0/gtk/gtkstylecontext.h:1232:6: note: declared here void gtk_style_context_set_background (GtkStyleContext *context, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ui/deepin-fixed.c: In function 'deepin_fixed_get_preferred_width': ui/deepin-fixed.c:517:5: warning: 'gdk_screen_get_primary_monitor' is deprecated: Use 'gdk_display_get_primary_monitor' instead [-Wdeprecated-declarations] gint primary = gdk_screen_get_primary_monitor(screen); ^~~~ In file included from /usr/include/gtk-3.0/gdk/gdkapplaunchcontext.h:31:0, from /usr/include/gtk-3.0/gdk/gdk.h:32, from /usr/include/gtk-3.0/gtk/gtk.h:30, from ./include/deepin-design.h:16, from ui/deepin-fixed.c:20: /usr/include/gtk-3.0/gdk/gdkscreen.h:76:14: note: declared here gint gdk_screen_get_primary_monitor (GdkScreen *screen); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ui/deepin-fixed.c:518:5: warning: 'gdk_screen_get_monitor_geometry' is deprecated: Use 'gdk_monitor_get_geometry' instead [-Wdeprecated-declarations] gdk_screen_get_monitor_geometry(screen, primary, &mon_geom); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/gtk-3.0/gdk/gdkapplaunchcontext.h:31:0, from /usr/include/gtk-3.0/gdk/gdk.h:32, from /usr/include/gtk-3.0/gtk/gtk.h:30, from ./include/deepin-design.h:16, from ui/deepin-fixed.c:20: /usr/include/gtk-3.0/gdk/gdkscreen.h:78:14: note: declared here void gdk_screen_get_monitor_geometry (GdkScreen *screen, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ui/deepin-fixed.c:510:21: warning: unused variable 'child_nat' [-Wunused-variable] gint child_min, child_nat; ^~~~~~~~~ ui/deepin-fixed.c:510:10: warning: unused variable 'child_min' [-Wunused-variable] gint child_min, child_nat; ^~~~~~~~~ ui/deepin-fixed.c:509:12: warning: unused variable 'children' [-Wunused-variable] GList *children; ^~~~~~~~ ui/deepin-fixed.c:508:23: warning: unused variable 'child' [-Wunused-variable] DeepinFixedChild *child; ^~~~~ ui/deepin-fixed.c: In function 'deepin_fixed_get_preferred_height': ui/deepin-fixed.c:539:5: warning: 'gdk_screen_get_primary_monitor' is deprecated: Use 'gdk_display_get_primary_monitor' instead [-Wdeprecated-declarations] gint primary = gdk_screen_get_primary_monitor(screen); ^~~~ In file included from /usr/include/gtk-3.0/gdk/gdkapplaunchcontext.h:31:0, from /usr/include/gtk-3.0/gdk/gdk.h:32, from /usr/include/gtk-3.0/gtk/gtk.h:30, from ./include/deepin-design.h:16, from ui/deepin-fixed.c:20: /usr/include/gtk-3.0/gdk/gdkscreen.h:76:14: note: declared here gint gdk_screen_get_primary_monitor (GdkScreen *screen); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ui/deepin-fixed.c:540:5: warning: 'gdk_screen_get_monitor_geometry' is deprecated: Use 'gdk_monitor_get_geometry' instead [-Wdeprecated-declarations] gdk_screen_get_monitor_geometry(screen, primary, &mon_geom); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/gtk-3.0/gdk/gdkapplaunchcontext.h:31:0, from /usr/include/gtk-3.0/gdk/gdk.h:32, from /usr/include/gtk-3.0/gtk/gtk.h:30, from ./include/deepin-design.h:16, from ui/deepin-fixed.c:20: /usr/include/gtk-3.0/gdk/gdkscreen.h:78:14: note: declared here void gdk_screen_get_monitor_geometry (GdkScreen *screen, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ui/deepin-fixed.c:535:21: warning: unused variable 'child_nat' [-Wunused-variable] gint child_min, child_nat; ^~~~~~~~~ ui/deepin-fixed.c:535:10: warning: unused variable 'child_min' [-Wunused-variable] gint child_min, child_nat; ^~~~~~~~~ ui/deepin-fixed.c:534:12: warning: unused variable 'children' [-Wunused-variable] GList *children; ^~~~~~~~ ui/deepin-fixed.c:533:23: warning: unused variable 'child' [-Wunused-variable] DeepinFixedChild *child; ^~~~~ make[4]: Leaving directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/src' make[4]: Entering directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/src' CC libdeepin_metacity_private_la-deepin-tab-widget.lo In file included from /usr/include/bits/libc-header-start.h:33:0, from /usr/include/math.h:27, from ui/deepin-tab-widget.c:14: /usr/include/features.h:373:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ ui/deepin-tab-widget.c: In function 'meta_deepin_tab_widget_get_preferred_height_for_width': ui/deepin-tab-widget.c:152:33: warning: unused variable 'priv' [-Wunused-variable] MetaDeepinTabWidgetPrivate* priv = META_DEEPIN_TAB_WIDGET(widget)->priv; ^~~~ ui/deepin-tab-widget.c: In function 'meta_deepin_tab_widget_select': ui/deepin-tab-widget.c:341:62: warning: passing argument 1 of 'gtk_widget_get_style_context' from incompatible pointer type [-Wincompatible-pointer-types] GtkStyleContext* context = gtk_widget_get_style_context (self); ^~~~ In file included from /usr/include/gtk-3.0/gtk/gtkapplication.h:27:0, from /usr/include/gtk-3.0/gtk/gtkwindow.h:33, from /usr/include/gtk-3.0/gtk/gtkdialog.h:32, from /usr/include/gtk-3.0/gtk/gtkaboutdialog.h:30, from /usr/include/gtk-3.0/gtk/gtk.h:31, from ./include/common.h:33, from ./include/boxes.h:26, from ui/deepin-tab-widget.c:20: /usr/include/gtk-3.0/gtk/gtkwidget.h:1311:19: note: expected 'GtkWidget * {aka struct _GtkWidget *}' but argument is of type 'MetaDeepinTabWidget * {aka struct _MetaDeepinTabWidget *}' GtkStyleContext * gtk_widget_get_style_context (GtkWidget *widget); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ui/deepin-tab-widget.c: In function 'meta_deepin_tab_widget_unselect': ui/deepin-tab-widget.c:351:62: warning: passing argument 1 of 'gtk_widget_get_style_context' from incompatible pointer type [-Wincompatible-pointer-types] GtkStyleContext* context = gtk_widget_get_style_context (self); ^~~~ In file included from /usr/include/gtk-3.0/gtk/gtkapplication.h:27:0, from /usr/include/gtk-3.0/gtk/gtkwindow.h:33, from /usr/include/gtk-3.0/gtk/gtkdialog.h:32, from /usr/include/gtk-3.0/gtk/gtkaboutdialog.h:30, from /usr/include/gtk-3.0/gtk/gtk.h:31, from ./include/common.h:33, from ./include/boxes.h:26, from ui/deepin-tab-widget.c:20: /usr/include/gtk-3.0/gtk/gtkwidget.h:1311:19: note: expected 'GtkWidget * {aka struct _GtkWidget *}' but argument is of type 'MetaDeepinTabWidget * {aka struct _MetaDeepinTabWidget *}' GtkStyleContext * gtk_widget_get_style_context (GtkWidget *widget); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[4]: Leaving directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/src' make[4]: Entering directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/src' CC libdeepin_metacity_private_la-deepin-design.lo In file included from /usr/include/bits/libc-header-start.h:33:0, from /usr/include/limits.h:26, from /usr/lib/gcc/x86_64-redhat-linux/7/include/limits.h:194, from /usr/lib/gcc/x86_64-redhat-linux/7/include/syslimits.h:7, from /usr/lib/gcc/x86_64-redhat-linux/7/include/limits.h:34, from /usr/lib64/glib-2.0/include/glibconfig.h:11, from /usr/include/glib-2.0/glib/gtypes.h:32, from /usr/include/glib-2.0/glib/galloca.h:32, from /usr/include/glib-2.0/glib.h:30, from ./include/util.h:26, from ui/deepin-design.c:14: /usr/include/features.h:373:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ ui/deepin-design.c: In function 'meta_window_get_application_icon': ui/deepin-design.c:121:44: warning: passing argument 1 of 'g_app_info_get_icon' from incompatible pointer type [-Wincompatible-pointer-types] icon = g_app_info_get_icon(appinfo); ^~~~~~~ In file included from /usr/include/glib-2.0/gio/gio.h:32:0, from /usr/include/gio-unix-2.0/gio/gdesktopappinfo.h:24, from ui/deepin-design.c:16: /usr/include/glib-2.0/gio/gappinfo.h:161:13: note: expected 'GAppInfo * {aka struct _GAppInfo *}' but argument is of type 'GDesktopAppInfo * {aka struct _GDesktopAppInfo *}' GIcon * g_app_info_get_icon (GAppInfo *appinfo); ^~~~~~~~~~~~~~~~~~~ make[4]: Leaving directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/src' make[4]: Entering directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/src' CC libdeepin_metacity_private_la-deepin-stackblur.lo In file included from /usr/include/bits/libc-header-start.h:33:0, from /usr/include/math.h:27, from ui/deepin-stackblur.c:13: /usr/include/features.h:373:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ ui/deepin-stackblur.c: In function 'stack_blur_surface': ui/deepin-stackblur.c:212:15: warning: operation on 'p' may be undefined [-Wsequence-point] p = ( yw + ( ( p = x + radius + 1 ) < widthMinus1 ? p : widthMinus1 ) ) << 2; ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ui/deepin-stackblur.c:321:15: warning: operation on 'p' may be undefined [-Wsequence-point] p = ( x + (( ( p = y + radiusPlus1) < heightMinus1 ? p : heightMinus1 ) * width )) << 2; ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[4]: Leaving directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/src' make[4]: Entering directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/src' CC libdeepin_metacity_private_la-deepin-cloned-widget.lo In file included from /usr/include/bits/libc-header-start.h:33:0, from /usr/include/math.h:27, from ui/deepin-cloned-widget.c:14: /usr/include/features.h:373:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ ui/deepin-cloned-widget.c: In function 'meta_deepin_cloned_widget_realize': ui/deepin-cloned-widget.c:418:59: warning: passing argument 1 of 'deepin_shadow_workspace_get_event_window' from incompatible pointer type [-Wincompatible-pointer-types] window = deepin_shadow_workspace_get_event_window(parent); ^~~~~~ In file included from ui/deepin-cloned-widget.c:24:0: ./include/deepin-shadow-workspace.h:76:12: note: expected 'DeepinShadowWorkspace * {aka struct _DeepinShadowWorkspace *}' but argument is of type 'GtkWidget * {aka struct _GtkWidget *}' GdkWindow* deepin_shadow_workspace_get_event_window(DeepinShadowWorkspace*); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ui/deepin-cloned-widget.c: In function 'on_deepin_cloned_widget_drag_data_get': ui/deepin-cloned-widget.c:537:42: warning: format '%ld' expects argument of type 'long int', but argument 2 has type 'GtkWidget * {aka struct _GtkWidget *}' [-Wformat=] gchar* raw_data = g_strdup_printf("%ld", widget); ~~^ ui/deepin-cloned-widget.c:539:33: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'GtkWidget * {aka struct _GtkWidget *}' [-Wformat=] meta_verbose("%s: set data %x\n", __func__, widget); ~^ ui/deepin-cloned-widget.c:540:50: warning: pointer targets in passing argument 4 of 'gtk_selection_data_set' differ in signedness [-Wpointer-sign] gtk_selection_data_set(data, atom_window, 8, raw_data, strlen(raw_data)); ^~~~~~~~ In file included from /usr/include/gtk-3.0/gtk/gtkdnd.h:35:0, from /usr/include/gtk-3.0/gtk/gtktreeview.h:28, from /usr/include/gtk-3.0/gtk/gtkcombobox.h:27, from /usr/include/gtk-3.0/gtk/gtkappchooserbutton.h:29, from /usr/include/gtk-3.0/gtk/gtk.h:42, from ./include/deepin-window-surface-manager.h:15, from ui/deepin-cloned-widget.c:19: /usr/include/gtk-3.0/gtk/gtkselection.h:213:10: note: expected 'const guchar * {aka const unsigned char *}' but argument is of type 'gchar * {aka char *}' void gtk_selection_data_set (GtkSelectionData *selection_data, ^~~~~~~~~~~~~~~~~~~~~~ make[4]: Leaving directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/src' make[4]: Entering directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/src' CC libdeepin_metacity_private_la-deepin-wm-background.lo In file included from /usr/include/bits/libc-header-start.h:33:0, from /usr/include/limits.h:26, from /usr/lib/gcc/x86_64-redhat-linux/7/include/limits.h:194, from /usr/lib/gcc/x86_64-redhat-linux/7/include/syslimits.h:7, from /usr/lib/gcc/x86_64-redhat-linux/7/include/limits.h:34, from /usr/lib64/glib-2.0/include/glibconfig.h:11, from /usr/include/glib-2.0/glib/gtypes.h:32, from /usr/include/glib-2.0/glib/galloca.h:32, from /usr/include/glib-2.0/glib.h:30, from ./include/util.h:26, from ui/deepin-wm-background.c:13: /usr/include/features.h:373:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ ui/deepin-wm-background.c: In function 'on_deepin_workspace_adder_drag_data_received': ui/deepin-wm-background.c:161:37: warning: pointer targets in passing argument 1 of 'atol' differ in signedness [-Wpointer-sign] gpointer p = (gpointer)atol(raw_data); ^~~~~~~~ In file included from ui/deepin-wm-background.c:14:0: /usr/include/stdlib.h:112:17: note: expected 'const char *' but argument is of type 'const guchar * {aka const unsigned char *}' extern long int atol (const char *__nptr) ^~~~ ui/deepin-wm-background.c: In function 'relayout': ui/deepin-wm-background.c:224:5: warning: 'gdk_screen_get_primary_monitor' is deprecated: Use 'gdk_display_get_primary_monitor' instead [-Wdeprecated-declarations] gint monitor_index = gdk_screen_get_primary_monitor(priv->gscreen); ^~~~ In file included from /usr/include/gtk-3.0/gdk/gdkapplaunchcontext.h:31:0, from /usr/include/gtk-3.0/gdk/gdk.h:32, from /usr/include/gtk-3.0/gtk/gtk.h:30, from ui/deepin-wm-background.c:16: /usr/include/gtk-3.0/gdk/gdkscreen.h:76:14: note: declared here gint gdk_screen_get_primary_monitor (GdkScreen *screen); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ui/deepin-wm-background.c:225:5: warning: 'gdk_screen_get_monitor_geometry' is deprecated: Use 'gdk_monitor_get_geometry' instead [-Wdeprecated-declarations] gdk_screen_get_monitor_geometry(priv->gscreen, monitor_index, &geom); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/gtk-3.0/gdk/gdkapplaunchcontext.h:31:0, from /usr/include/gtk-3.0/gdk/gdk.h:32, from /usr/include/gtk-3.0/gtk/gtk.h:30, from ui/deepin-wm-background.c:16: /usr/include/gtk-3.0/gdk/gdkscreen.h:78:14: note: declared here void gdk_screen_get_monitor_geometry (GdkScreen *screen, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ui/deepin-wm-background.c: In function 'place_workspace_thumb': ui/deepin-wm-background.c:351:5: warning: 'gdk_screen_get_primary_monitor' is deprecated: Use 'gdk_display_get_primary_monitor' instead [-Wdeprecated-declarations] gint monitor_index = gdk_screen_get_primary_monitor(priv->gscreen); ^~~~ In file included from /usr/include/gtk-3.0/gdk/gdkapplaunchcontext.h:31:0, from /usr/include/gtk-3.0/gdk/gdk.h:32, from /usr/include/gtk-3.0/gtk/gtk.h:30, from ui/deepin-wm-background.c:16: /usr/include/gtk-3.0/gdk/gdkscreen.h:76:14: note: declared here gint gdk_screen_get_primary_monitor (GdkScreen *screen); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ui/deepin-wm-background.c:352:5: warning: 'gdk_screen_get_monitor_geometry' is deprecated: Use 'gdk_monitor_get_geometry' instead [-Wdeprecated-declarations] gdk_screen_get_monitor_geometry(priv->gscreen, monitor_index, &geom); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/gtk-3.0/gdk/gdkapplaunchcontext.h:31:0, from /usr/include/gtk-3.0/gdk/gdk.h:32, from /usr/include/gtk-3.0/gtk/gtk.h:30, from ui/deepin-wm-background.c:16: /usr/include/gtk-3.0/gdk/gdkscreen.h:78:14: note: declared here void gdk_screen_get_monitor_geometry (GdkScreen *screen, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ui/deepin-wm-background.c: In function 'get_drag_to_remove_area': ui/deepin-wm-background.c:398:9: warning: 'gdk_screen_get_primary_monitor' is deprecated: Use 'gdk_display_get_primary_monitor' instead [-Wdeprecated-declarations] gint monitor_index = gdk_screen_get_primary_monitor(priv->gscreen); ^~~~ In file included from /usr/include/gtk-3.0/gdk/gdkapplaunchcontext.h:31:0, from /usr/include/gtk-3.0/gdk/gdk.h:32, from /usr/include/gtk-3.0/gtk/gtk.h:30, from ui/deepin-wm-background.c:16: /usr/include/gtk-3.0/gdk/gdkscreen.h:76:14: note: declared here gint gdk_screen_get_primary_monitor (GdkScreen *screen); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ui/deepin-wm-background.c:399:9: warning: 'gdk_screen_get_monitor_geometry' is deprecated: Use 'gdk_monitor_get_geometry' instead [-Wdeprecated-declarations] gdk_screen_get_monitor_geometry(priv->gscreen, monitor_index, &geom); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/gtk-3.0/gdk/gdkapplaunchcontext.h:31:0, from /usr/include/gtk-3.0/gdk/gdk.h:32, from /usr/include/gtk-3.0/gtk/gtk.h:30, from ui/deepin-wm-background.c:16: /usr/include/gtk-3.0/gdk/gdkscreen.h:78:14: note: declared here void gdk_screen_get_monitor_geometry (GdkScreen *screen, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ui/deepin-wm-background.c:405:35: warning: passing argument 1 of 'gtk_widget_get_allocation' from incompatible pointer type [-Wincompatible-pointer-types] gtk_widget_get_allocation(dsw, &alloc); ^~~ In file included from /usr/include/gtk-3.0/gtk/gtkapplication.h:27:0, from /usr/include/gtk-3.0/gtk/gtkwindow.h:33, from /usr/include/gtk-3.0/gtk/gtkdialog.h:32, from /usr/include/gtk-3.0/gtk/gtkaboutdialog.h:30, from /usr/include/gtk-3.0/gtk/gtk.h:31, from ui/deepin-wm-background.c:16: /usr/include/gtk-3.0/gtk/gtkwidget.h:934:23: note: expected 'GtkWidget * {aka struct _GtkWidget *}' but argument is of type 'DeepinShadowWorkspace * {aka struct _DeepinShadowWorkspace *}' void gtk_widget_get_allocation (GtkWidget *widget, ^~~~~~~~~~~~~~~~~~~~~~~~~ ui/deepin-wm-background.c: In function '_handle_drag_motion': ui/deepin-wm-background.c:495:39: warning: passing argument 1 of 'gtk_widget_get_allocation' from incompatible pointer type [-Wincompatible-pointer-types] gtk_widget_get_allocation(dsw_dragging, &alloc); ^~~~~~~~~~~~ In file included from /usr/include/gtk-3.0/gtk/gtkapplication.h:27:0, from /usr/include/gtk-3.0/gtk/gtkwindow.h:33, from /usr/include/gtk-3.0/gtk/gtkdialog.h:32, from /usr/include/gtk-3.0/gtk/gtkaboutdialog.h:30, from /usr/include/gtk-3.0/gtk/gtk.h:31, from ui/deepin-wm-background.c:16: /usr/include/gtk-3.0/gtk/gtkwidget.h:934:23: note: expected 'GtkWidget * {aka struct _GtkWidget *}' but argument is of type 'DeepinShadowWorkspace * {aka struct _DeepinShadowWorkspace *}' void gtk_widget_get_allocation (GtkWidget *widget, ^~~~~~~~~~~~~~~~~~~~~~~~~ ui/deepin-wm-background.c:501:39: warning: passing argument 1 of 'gtk_widget_queue_draw' from incompatible pointer type [-Wincompatible-pointer-types] gtk_widget_queue_draw(dsw_dragging); ^~~~~~~~~~~~ In file included from /usr/include/gtk-3.0/gtk/gtkapplication.h:27:0, from /usr/include/gtk-3.0/gtk/gtkwindow.h:33, from /usr/include/gtk-3.0/gtk/gtkdialog.h:32, from /usr/include/gtk-3.0/gtk/gtkaboutdialog.h:30, from /usr/include/gtk-3.0/gtk/gtk.h:31, from ui/deepin-wm-background.c:16: /usr/include/gtk-3.0/gtk/gtkwidget.h:652:9: note: expected 'GtkWidget * {aka struct _GtkWidget *}' but argument is of type 'DeepinShadowWorkspace * {aka struct _DeepinShadowWorkspace *}' void gtk_widget_queue_draw (GtkWidget *widget); ^~~~~~~~~~~~~~~~~~~~~ ui/deepin-wm-background.c:492:5: warning: enumeration value 'DRAG_OP_NONE' not handled in switch [-Wswitch] switch(op) { ^~~~~~ ui/deepin-wm-background.c: In function 'deepin_wm_background_real_draw': ui/deepin-wm-background.c:711:5: warning: 'gdk_screen_get_primary_monitor' is deprecated: Use 'gdk_display_get_primary_monitor' instead [-Wdeprecated-declarations] gint monitor_index = gdk_screen_get_primary_monitor(priv->gscreen); ^~~~ In file included from /usr/include/gtk-3.0/gdk/gdkapplaunchcontext.h:31:0, from /usr/include/gtk-3.0/gdk/gdk.h:32, from /usr/include/gtk-3.0/gtk/gtk.h:30, from ui/deepin-wm-background.c:16: /usr/include/gtk-3.0/gdk/gdkscreen.h:76:14: note: declared here gint gdk_screen_get_primary_monitor (GdkScreen *screen); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ui/deepin-wm-background.c:712:5: warning: 'gdk_screen_get_monitor_geometry' is deprecated: Use 'gdk_monitor_get_geometry' instead [-Wdeprecated-declarations] gdk_screen_get_monitor_geometry(priv->gscreen, monitor_index, &geom); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/gtk-3.0/gdk/gdkapplaunchcontext.h:31:0, from /usr/include/gtk-3.0/gdk/gdk.h:32, from /usr/include/gtk-3.0/gtk/gtk.h:30, from ui/deepin-wm-background.c:16: /usr/include/gtk-3.0/gdk/gdkscreen.h:78:14: note: declared here void gdk_screen_get_monitor_geometry (GdkScreen *screen, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ui/deepin-wm-background.c: In function 'deepin_wm_background_switch_workspace': ui/deepin-wm-background.c:753:5: warning: 'gdk_screen_get_primary_monitor' is deprecated: Use 'gdk_display_get_primary_monitor' instead [-Wdeprecated-declarations] gint monitor_index = gdk_screen_get_primary_monitor(priv->gscreen); ^~~~ In file included from /usr/include/gtk-3.0/gdk/gdkapplaunchcontext.h:31:0, from /usr/include/gtk-3.0/gdk/gdk.h:32, from /usr/include/gtk-3.0/gtk/gtk.h:30, from ui/deepin-wm-background.c:16: /usr/include/gtk-3.0/gdk/gdkscreen.h:76:14: note: declared here gint gdk_screen_get_primary_monitor (GdkScreen *screen); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ui/deepin-wm-background.c:754:5: warning: 'gdk_screen_get_monitor_geometry' is deprecated: Use 'gdk_monitor_get_geometry' instead [-Wdeprecated-declarations] gdk_screen_get_monitor_geometry(priv->gscreen, monitor_index, &geom); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/gtk-3.0/gdk/gdkapplaunchcontext.h:31:0, from /usr/include/gtk-3.0/gdk/gdk.h:32, from /usr/include/gtk-3.0/gtk/gtk.h:30, from ui/deepin-wm-background.c:16: /usr/include/gtk-3.0/gdk/gdkscreen.h:78:14: note: declared here void gdk_screen_get_monitor_geometry (GdkScreen *screen, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ui/deepin-wm-background.c: In function 'on_idle_operate_workspace': ui/deepin-wm-background.c:804:5: warning: enumeration value 'DRAG_OP_NONE' not handled in switch [-Wswitch] switch (priv->current_op) { ^~~~~~ ui/deepin-wm-background.c: In function 'deepin_wm_background_request_workspace_drop_operation': ui/deepin-wm-background.c:835:16: warning: passing argument 1 of 'g_idle_add' from incompatible pointer type [-Wincompatible-pointer-types] g_idle_add(on_idle_operate_workspace, data); ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/giochannel.h:33:0, from /usr/include/glib-2.0/glib.h:54, from ./include/util.h:26, from ui/deepin-wm-background.c:13: /usr/include/glib-2.0/glib/gmain.h:598:10: note: expected 'GSourceFunc {aka int (*)(void *)}' but argument is of type 'gboolean (*)(struct ReorderData *) {aka int (*)(struct ReorderData *)}' guint g_idle_add (GSourceFunc function, ^~~~~~~~~~ ui/deepin-wm-background.c:830:32: warning: unused variable 'priv' [-Wunused-variable] DeepinWMBackgroundPrivate* priv = self->priv; ^~~~ ui/deepin-wm-background.c: In function 'on_deepin_wm_background_drag_data_received': ui/deepin-wm-background.c:850:37: warning: pointer targets in passing argument 1 of 'atol' differ in signedness [-Wpointer-sign] gpointer p = (gpointer)atol(raw_data); ^~~~~~~~ In file included from ui/deepin-wm-background.c:14:0: /usr/include/stdlib.h:112:17: note: expected 'const char *' but argument is of type 'const guchar * {aka const unsigned char *}' extern long int atol (const char *__nptr) ^~~~ ui/deepin-wm-background.c:843:32: warning: unused variable 'priv' [-Wunused-variable] DeepinWMBackgroundPrivate* priv = self->priv; ^~~~ ui/deepin-wm-background.c: In function 'on_deepin_wm_background_drag_drop': ui/deepin-wm-background.c:872:32: warning: unused variable 'priv' [-Wunused-variable] DeepinWMBackgroundPrivate* priv = self->priv; ^~~~ ui/deepin-wm-background.c: In function 'deepin_wm_background_setup': ui/deepin-wm-background.c:886:5: warning: 'gdk_screen_get_primary_monitor' is deprecated: Use 'gdk_display_get_primary_monitor' instead [-Wdeprecated-declarations] gint monitor_index = gdk_screen_get_primary_monitor(priv->gscreen); ^~~~ In file included from /usr/include/gtk-3.0/gdk/gdkapplaunchcontext.h:31:0, from /usr/include/gtk-3.0/gdk/gdk.h:32, from /usr/include/gtk-3.0/gtk/gtk.h:30, from ui/deepin-wm-background.c:16: /usr/include/gtk-3.0/gdk/gdkscreen.h:76:14: note: declared here gint gdk_screen_get_primary_monitor (GdkScreen *screen); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ui/deepin-wm-background.c:887:5: warning: 'gdk_screen_get_monitor_geometry' is deprecated: Use 'gdk_monitor_get_geometry' instead [-Wdeprecated-declarations] gdk_screen_get_monitor_geometry(priv->gscreen, monitor_index, &geom); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/gtk-3.0/gdk/gdkapplaunchcontext.h:31:0, from /usr/include/gtk-3.0/gdk/gdk.h:32, from /usr/include/gtk-3.0/gtk/gtk.h:30, from ui/deepin-wm-background.c:16: /usr/include/gtk-3.0/gdk/gdkscreen.h:78:14: note: declared here void gdk_screen_get_monitor_geometry (GdkScreen *screen, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ui/deepin-wm-background.c: In function 'on_deepin_wm_background_event': ui/deepin-wm-background.c:1026:32: warning: unused variable 'priv' [-Wunused-variable] DeepinWMBackgroundPrivate* priv = self->priv; ^~~~ ui/deepin-wm-background.c: In function 'deepin_wm_background_new': ui/deepin-wm-background.c:1059:5: warning: 'gdk_screen_get_width' is deprecated [-Wdeprecated-declarations] gint w = gdk_screen_get_width(self->priv->gscreen), ^~~~ In file included from /usr/include/gtk-3.0/gdk/gdkapplaunchcontext.h:31:0, from /usr/include/gtk-3.0/gdk/gdk.h:32, from /usr/include/gtk-3.0/gtk/gtk.h:30, from ui/deepin-wm-background.c:16: /usr/include/gtk-3.0/gdk/gdkscreen.h:58:14: note: declared here gint gdk_screen_get_width (GdkScreen *screen); ^~~~~~~~~~~~~~~~~~~~ ui/deepin-wm-background.c:1060:10: warning: 'gdk_screen_get_height' is deprecated [-Wdeprecated-declarations] h = gdk_screen_get_height(self->priv->gscreen); ^ In file included from /usr/include/gtk-3.0/gdk/gdkapplaunchcontext.h:31:0, from /usr/include/gtk-3.0/gdk/gdk.h:32, from /usr/include/gtk-3.0/gtk/gtk.h:30, from ui/deepin-wm-background.c:16: /usr/include/gtk-3.0/gdk/gdkscreen.h:60:14: note: declared here gint gdk_screen_get_height (GdkScreen *screen); ^~~~~~~~~~~~~~~~~~~~~ ui/deepin-wm-background.c: In function '_create_workspace': ui/deepin-wm-background.c:1141:5: warning: 'gdk_screen_get_primary_monitor' is deprecated: Use 'gdk_display_get_primary_monitor' instead [-Wdeprecated-declarations] gint monitor_index = gdk_screen_get_primary_monitor(priv->gscreen); ^~~~ In file included from /usr/include/gtk-3.0/gdk/gdkapplaunchcontext.h:31:0, from /usr/include/gtk-3.0/gdk/gdk.h:32, from /usr/include/gtk-3.0/gtk/gtk.h:30, from ui/deepin-wm-background.c:16: /usr/include/gtk-3.0/gdk/gdkscreen.h:76:14: note: declared here gint gdk_screen_get_primary_monitor (GdkScreen *screen); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ui/deepin-wm-background.c:1142:5: warning: 'gdk_screen_get_monitor_geometry' is deprecated: Use 'gdk_monitor_get_geometry' instead [-Wdeprecated-declarations] gdk_screen_get_monitor_geometry(priv->gscreen, monitor_index, &geom); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/gtk-3.0/gdk/gdkapplaunchcontext.h:31:0, from /usr/include/gtk-3.0/gdk/gdk.h:32, from /usr/include/gtk-3.0/gtk/gtk.h:30, from ui/deepin-wm-background.c:16: /usr/include/gtk-3.0/gdk/gdkscreen.h:78:14: note: declared here void gdk_screen_get_monitor_geometry (GdkScreen *screen, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ui/deepin-wm-background.c: In function 'get_drag_operation': ui/deepin-wm-background.c:441:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ make[4]: Leaving directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/src' make[4]: Entering directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/src' CC libdeepin_metacity_private_la-deepin-desktop-background.lo In file included from /usr/include/bits/libc-header-start.h:33:0, from /usr/include/limits.h:26, from /usr/lib/gcc/x86_64-redhat-linux/7/include/limits.h:194, from /usr/lib/gcc/x86_64-redhat-linux/7/include/syslimits.h:7, from /usr/lib/gcc/x86_64-redhat-linux/7/include/limits.h:34, from /usr/lib64/glib-2.0/include/glibconfig.h:11, from /usr/include/glib-2.0/glib/gtypes.h:32, from /usr/include/glib-2.0/glib/galloca.h:32, from /usr/include/glib-2.0/glib.h:30, from /usr/include/gtk-3.0/gdk/gdkconfig.h:13, from /usr/include/gtk-3.0/gdk/gdk.h:30, from /usr/include/gtk-3.0/gtk/gtk.h:30, from ./include/deepin-desktop-background.h:16, from ui/deepin-desktop-background.c:12: /usr/include/features.h:373:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ ui/deepin-desktop-background.c: In function 'deepin_desktop_background_real_draw': ui/deepin-desktop-background.c:62:5: warning: 'gdk_screen_get_n_monitors' is deprecated: Use 'gdk_display_get_n_monitors' instead [-Wdeprecated-declarations] if (priv->monitor >= gdk_screen_get_n_monitors(gdk_screen_get_default())) ^~ In file included from /usr/include/gtk-3.0/gdk/gdkapplaunchcontext.h:31:0, from /usr/include/gtk-3.0/gdk/gdk.h:32, from /usr/include/gtk-3.0/gtk/gtk.h:30, from ./include/deepin-desktop-background.h:16, from ui/deepin-desktop-background.c:12: /usr/include/gtk-3.0/gdk/gdkscreen.h:74:14: note: declared here gint gdk_screen_get_n_monitors (GdkScreen *screen); ^~~~~~~~~~~~~~~~~~~~~~~~~ ui/deepin-desktop-background.c:93:5: warning: 'gdk_screen_get_primary_monitor' is deprecated: Use 'gdk_display_get_primary_monitor' instead [-Wdeprecated-declarations] if (priv->monitor != gdk_screen_get_primary_monitor(gdk_screen_get_default())) ^~ In file included from /usr/include/gtk-3.0/gdk/gdkapplaunchcontext.h:31:0, from /usr/include/gtk-3.0/gdk/gdk.h:32, from /usr/include/gtk-3.0/gtk/gtk.h:30, from ./include/deepin-desktop-background.h:16, from ui/deepin-desktop-background.c:12: /usr/include/gtk-3.0/gdk/gdkscreen.h:76:14: note: declared here gint gdk_screen_get_primary_monitor (GdkScreen *screen); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ui/deepin-desktop-background.c: In function 'on_screen_changed': ui/deepin-desktop-background.c:127:9: warning: 'gdk_screen_get_n_monitors' is deprecated: Use 'gdk_display_get_n_monitors' instead [-Wdeprecated-declarations] if (priv->monitor >= gdk_screen_get_n_monitors(gdk_screen_get_default())) ^~ In file included from /usr/include/gtk-3.0/gdk/gdkapplaunchcontext.h:31:0, from /usr/include/gtk-3.0/gdk/gdk.h:32, from /usr/include/gtk-3.0/gtk/gtk.h:30, from ./include/deepin-desktop-background.h:16, from ui/deepin-desktop-background.c:12: /usr/include/gtk-3.0/gdk/gdkscreen.h:74:14: note: declared here gint gdk_screen_get_n_monitors (GdkScreen *screen); ^~~~~~~~~~~~~~~~~~~~~~~~~ ui/deepin-desktop-background.c:130:9: warning: 'gdk_screen_get_monitor_geometry' is deprecated: Use 'gdk_monitor_get_geometry' instead [-Wdeprecated-declarations] gdk_screen_get_monitor_geometry(gdk_screen_get_default(), ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/gtk-3.0/gdk/gdkapplaunchcontext.h:31:0, from /usr/include/gtk-3.0/gdk/gdk.h:32, from /usr/include/gtk-3.0/gtk/gtk.h:30, from ./include/deepin-desktop-background.h:16, from ui/deepin-desktop-background.c:12: /usr/include/gtk-3.0/gdk/gdkscreen.h:78:14: note: declared here void gdk_screen_get_monitor_geometry (GdkScreen *screen, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ui/deepin-desktop-background.c: In function 'deepin_desktop_background_new': ui/deepin-desktop-background.c:167:5: warning: 'gdk_screen_get_monitor_geometry' is deprecated: Use 'gdk_monitor_get_geometry' instead [-Wdeprecated-declarations] gdk_screen_get_monitor_geometry(gdk_screen_get_default(), monitor, &priv->geometry); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/gtk-3.0/gdk/gdkapplaunchcontext.h:31:0, from /usr/include/gtk-3.0/gdk/gdk.h:32, from /usr/include/gtk-3.0/gtk/gtk.h:30, from ./include/deepin-desktop-background.h:16, from ui/deepin-desktop-background.c:12: /usr/include/gtk-3.0/gdk/gdkscreen.h:78:14: note: declared here void gdk_screen_get_monitor_geometry (GdkScreen *screen, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[4]: Leaving directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/src' make[4]: Entering directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/src' CC libdeepin_metacity_private_la-deepin-background-cache.lo In file included from /usr/include/bits/libc-header-start.h:33:0, from /usr/include/math.h:27, from ui/deepin-background-cache.c:13: /usr/include/features.h:373:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ ui/deepin-background-cache.c: In function 'deepin_background_cache_load_background_for_workspace': ui/deepin-background-cache.c:251:5: warning: 'gdk_screen_get_n_monitors' is deprecated: Use 'gdk_display_get_n_monitors' instead [-Wdeprecated-declarations] gint n_monitors = gdk_screen_get_n_monitors(gscreen); ^~~~ In file included from /usr/include/gtk-3.0/gdk/gdkapplaunchcontext.h:31:0, from /usr/include/gtk-3.0/gdk/gdk.h:32, from ui/deepin-background-cache.c:17: /usr/include/gtk-3.0/gdk/gdkscreen.h:74:14: note: declared here gint gdk_screen_get_n_monitors (GdkScreen *screen); ^~~~~~~~~~~~~~~~~~~~~~~~~ ui/deepin-background-cache.c:279:9: warning: 'gdk_screen_get_monitor_geometry' is deprecated: Use 'gdk_monitor_get_geometry' instead [-Wdeprecated-declarations] gdk_screen_get_monitor_geometry(gscreen, monitor, &r); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/gtk-3.0/gdk/gdkapplaunchcontext.h:31:0, from /usr/include/gtk-3.0/gdk/gdk.h:32, from ui/deepin-background-cache.c:17: /usr/include/gtk-3.0/gdk/gdkscreen.h:78:14: note: declared here void gdk_screen_get_monitor_geometry (GdkScreen *screen, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ui/deepin-background-cache.c: In function 'deepin_background_cache_load_background': ui/deepin-background-cache.c:313:35: warning: unused variable 'priv' [-Wunused-variable] DeepinBackgroundCachePrivate* priv = self->priv; ^~~~ ui/deepin-background-cache.c: In function '_do_reload_background': ui/deepin-background-cache.c:325:35: warning: unused variable 'priv' [-Wunused-variable] DeepinBackgroundCachePrivate* priv = self->priv; ^~~~ ui/deepin-background-cache.c: In function 'change_background': ui/deepin-background-cache.c:374:16: warning: unused variable 'old' [-Wunused-variable] char **old = extra_uris; ^~~ ui/deepin-background-cache.c:384:67: warning: passing argument 3 of 'g_settings_set_strv' from incompatible pointer type [-Wincompatible-pointer-types] g_settings_set_strv (priv->extra_settings, "background-uris", extra_uris); ^~~~~~~~~~ In file included from /usr/include/glib-2.0/gio/gio.h:114:0, from /usr/include/gtk-3.0/gdk/gdkapplaunchcontext.h:28, from /usr/include/gtk-3.0/gdk/gdk.h:32, from ui/deepin-background-cache.c:17: /usr/include/glib-2.0/gio/gsettings.h:187:25: note: expected 'const gchar * const* {aka const char * const*}' but argument is of type 'char **' gboolean g_settings_set_strv (GSettings *settings, ^~~~~~~~~~~~~~~~~~~ ui/deepin-background-cache.c: In function 'on_workspace_removed': ui/deepin-background-cache.c:489:67: warning: passing argument 3 of 'g_settings_set_strv' from incompatible pointer type [-Wincompatible-pointer-types] g_settings_set_strv (priv->extra_settings, "background-uris", new_extra_uris); ^~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/gio/gio.h:114:0, from /usr/include/gtk-3.0/gdk/gdkapplaunchcontext.h:28, from /usr/include/gtk-3.0/gdk/gdk.h:32, from ui/deepin-background-cache.c:17: /usr/include/glib-2.0/gio/gsettings.h:187:25: note: expected 'const gchar * const* {aka const char * const*}' but argument is of type 'char **' gboolean g_settings_set_strv (GSettings *settings, ^~~~~~~~~~~~~~~~~~~ ui/deepin-background-cache.c: In function 'reorder_workspace_background': ui/deepin-background-cache.c:530:67: warning: passing argument 3 of 'g_settings_set_strv' from incompatible pointer type [-Wincompatible-pointer-types] g_settings_set_strv (priv->extra_settings, "background-uris", new_extra_uris); ^~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/gio/gio.h:114:0, from /usr/include/gtk-3.0/gdk/gdkapplaunchcontext.h:28, from /usr/include/gtk-3.0/gdk/gdk.h:32, from ui/deepin-background-cache.c:17: /usr/include/glib-2.0/gio/gsettings.h:187:25: note: expected 'const gchar * const* {aka const char * const*}' but argument is of type 'char **' gboolean g_settings_set_strv (GSettings *settings, ^~~~~~~~~~~~~~~~~~~ At top level: ui/deepin-background-cache.c:202:13: warning: 'on_file_changed' defined but not used [-Wunused-function] static void on_file_changed(GFileMonitor *monitor, ^~~~~~~~~~~~~~~ make[4]: Leaving directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/src' make[4]: Entering directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/src' CC libdeepin_metacity_private_la-deepin-shadow-workspace.lo In file included from /usr/include/bits/libc-header-start.h:33:0, from /usr/include/math.h:27, from ui/deepin-shadow-workspace.c:13: /usr/include/features.h:373:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ ui/deepin-shadow-workspace.c: In function 'on_desktop_changed': ui/deepin-shadow-workspace.c:750:31: warning: passing argument 1 of 'gtk_widget_is_visible' from incompatible pointer type [-Wincompatible-pointer-types] if (gtk_widget_is_visible(self)) { ^~~~ In file included from /usr/include/gtk-3.0/gtk/gtkapplication.h:27:0, from /usr/include/gtk-3.0/gtk/gtkwindow.h:33, from /usr/include/gtk-3.0/gtk/gtkdialog.h:32, from /usr/include/gtk-3.0/gtk/gtkaboutdialog.h:30, from /usr/include/gtk-3.0/gtk/gtk.h:31, from ./include/common.h:33, from ./include/boxes.h:26, from ./include/window.h:27, from ui/../core/window-private.h:37, from ui/../core/workspace.h:34, from ui/deepin-shadow-workspace.c:21: /usr/include/gtk-3.0/gtk/gtkwidget.h:853:23: note: expected 'GtkWidget * {aka struct _GtkWidget *}' but argument is of type 'DeepinShadowWorkspace * {aka struct _DeepinShadowWorkspace *}' gboolean gtk_widget_is_visible (GtkWidget *widget); ^~~~~~~~~~~~~~~~~~~~~ ui/deepin-shadow-workspace.c:751:31: warning: passing argument 1 of 'gtk_widget_queue_draw' from incompatible pointer type [-Wincompatible-pointer-types] gtk_widget_queue_draw(self); ^~~~ In file included from /usr/include/gtk-3.0/gtk/gtkapplication.h:27:0, from /usr/include/gtk-3.0/gtk/gtkwindow.h:33, from /usr/include/gtk-3.0/gtk/gtkdialog.h:32, from /usr/include/gtk-3.0/gtk/gtkaboutdialog.h:30, from /usr/include/gtk-3.0/gtk/gtk.h:31, from ./include/common.h:33, from ./include/boxes.h:26, from ./include/window.h:27, from ui/../core/window-private.h:37, from ui/../core/workspace.h:34, from ui/deepin-shadow-workspace.c:21: /usr/include/gtk-3.0/gtk/gtkwidget.h:652:9: note: expected 'GtkWidget * {aka struct _GtkWidget *}' but argument is of type 'DeepinShadowWorkspace * {aka struct _DeepinShadowWorkspace *}' void gtk_widget_queue_draw (GtkWidget *widget); ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/lib64/glib-2.0/include/glibconfig.h:9:0, from /usr/include/glib-2.0/glib/gtypes.h:32, from /usr/include/glib-2.0/glib/galloca.h:32, from /usr/include/glib-2.0/glib.h:30, from ./include/util.h:26, from ui/deepin-shadow-workspace.c:16: ui/deepin-shadow-workspace.c: In function 'close_window': /usr/include/glib-2.0/glib/gmacros.h:280:15: warning: 'return' with a value, in function returning void #define FALSE (0) ^ ui/deepin-shadow-workspace.c:1153:30: note: in expansion of macro 'FALSE' if (!priv->ready) return FALSE; ^~~~~ ui/deepin-shadow-workspace.c:1148:13: note: declared here static void close_window(DeepinShadowWorkspace *self, MetaDeepinClonedWidget *clone) ^~~~~~~~~~~~ ui/deepin-shadow-workspace.c: In function 'on_deepin_cloned_widget_drag_begin': ui/deepin-shadow-workspace.c:1241:50: warning: comparison of distinct pointer types lacks a cast if (!priv->thumb_mode && priv->hovered_clone == widget) { ^~ ui/deepin-shadow-workspace.c: In function 'on_deepin_cloned_widget_drag_end': ui/deepin-shadow-workspace.c:1254:50: warning: comparison of distinct pointer types lacks a cast if (!priv->thumb_mode && priv->hovered_clone == widget) { ^~ ui/deepin-shadow-workspace.c: In function 'on_deepin_shadow_workspace_released': ui/deepin-shadow-workspace.c:1468:51: warning: passing argument 2 of 'g_idle_add' makes pointer from integer without a cast [-Wint-conversion] g_idle_add((GSourceFunc)on_idle_end_grab, gdk_event_get_time(event)); ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/giochannel.h:33:0, from /usr/include/glib-2.0/glib.h:54, from ./include/util.h:26, from ui/deepin-shadow-workspace.c:16: /usr/include/glib-2.0/glib/gmain.h:598:10: note: expected 'gpointer {aka void *}' but argument is of type 'guint32 {aka unsigned int}' guint g_idle_add (GSourceFunc function, ^~~~~~~~~~ ui/deepin-shadow-workspace.c: In function 'on_deepin_shadow_workspace_motion': ui/deepin-shadow-workspace.c:1494:42: warning: passing argument 1 of 'gtk_drag_check_threshold' from incompatible pointer type [-Wincompatible-pointer-types] if (gtk_drag_check_threshold(self, ^~~~ In file included from /usr/include/gtk-3.0/gtk/gtktreeview.h:28:0, from /usr/include/gtk-3.0/gtk/gtkcombobox.h:27, from /usr/include/gtk-3.0/gtk/gtkappchooserbutton.h:29, from /usr/include/gtk-3.0/gtk/gtk.h:42, from ./include/common.h:33, from ./include/boxes.h:26, from ./include/window.h:27, from ui/../core/window-private.h:37, from ui/../core/workspace.h:34, from ui/deepin-shadow-workspace.c:21: /usr/include/gtk-3.0/gtk/gtkdnd.h:115:10: note: expected 'GtkWidget * {aka struct _GtkWidget *}' but argument is of type 'DeepinShadowWorkspace * {aka struct _DeepinShadowWorkspace *}' gboolean gtk_drag_check_threshold (GtkWidget *widget, ^~~~~~~~~~~~~~~~~~~~~~~~ ui/deepin-shadow-workspace.c:1504:34: warning: unused variable 'ctx' [-Wunused-variable] GdkDragContext * ctx = gtk_drag_begin_with_coordinates (GTK_WIDGET(self), ^~~ ui/deepin-shadow-workspace.c: In function 'on_deepin_shadow_workspace_drag_data_received': ui/deepin-shadow-workspace.c:1584:37: warning: pointer targets in passing argument 1 of 'atol' differ in signedness [-Wpointer-sign] gpointer p = (gpointer)atol(raw_data); ^~~~~~~~ In file included from ui/deepin-shadow-workspace.c:15:0: /usr/include/stdlib.h:112:17: note: expected 'const char *' but argument is of type 'const guchar * {aka const unsigned char *}' extern long int atol (const char *__nptr) ^~~~ ui/deepin-shadow-workspace.c:1590:54: warning: passing argument 1 of 'gtk_widget_get_parent' from incompatible pointer type [-Wincompatible-pointer-types] GtkWidget *owner = gtk_widget_get_parent(dsw_dragging); ^~~~~~~~~~~~ In file included from /usr/include/gtk-3.0/gtk/gtkapplication.h:27:0, from /usr/include/gtk-3.0/gtk/gtkwindow.h:33, from /usr/include/gtk-3.0/gtk/gtkdialog.h:32, from /usr/include/gtk-3.0/gtk/gtkaboutdialog.h:30, from /usr/include/gtk-3.0/gtk/gtk.h:31, from ./include/common.h:33, from ./include/boxes.h:26, from ./include/window.h:27, from ui/../core/window-private.h:37, from ui/../core/workspace.h:34, from ui/deepin-shadow-workspace.c:21: /usr/include/gtk-3.0/gtk/gtkwidget.h:896:23: note: expected 'GtkWidget * {aka struct _GtkWidget *}' but argument is of type 'DeepinShadowWorkspace * {aka struct _DeepinShadowWorkspace *}' GtkWidget * gtk_widget_get_parent (GtkWidget *widget); ^~~~~~~~~~~~~~~~~~~~~ ui/deepin-shadow-workspace.c:1595:67: warning: passing argument 1 of 'deepin_wm_background_request_workspace_drop_operation' from incompatible pointer type [-Wincompatible-pointer-types] deepin_wm_background_request_workspace_drop_operation(owner, dsw_dragging); ^~~~~ In file included from ui/deepin-shadow-workspace.c:30:0: ./include/deepin-wm-background.h:56:6: note: expected 'DeepinWMBackground * {aka struct _DeepinWMBackground *}' but argument is of type 'GtkWidget * {aka struct _GtkWidget *}' void deepin_wm_background_request_workspace_drop_operation(DeepinWMBackground* , DeepinShadowWorkspace *); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ui/deepin-shadow-workspace.c:1603:32: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'MetaDeepinClonedWidget * {aka struct _MetaDeepinClonedWidget *}' [-Wformat=] meta_verbose("%s: get %x\n", __func__, target_clone); ~^ ui/deepin-shadow-workspace.c: In function 'on_deepin_shadow_workspace_drag_data_get': ui/deepin-shadow-workspace.c:1645:42: warning: format '%ld' expects argument of type 'long int', but argument 2 has type 'GtkWidget * {aka struct _GtkWidget *}' [-Wformat=] gchar* raw_data = g_strdup_printf("%ld", widget); ~~^ ui/deepin-shadow-workspace.c:1647:33: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'GtkWidget * {aka struct _GtkWidget *}' [-Wformat=] meta_verbose("%s: set data %x\n", __func__, widget); ~^ ui/deepin-shadow-workspace.c:1648:46: warning: pointer targets in passing argument 4 of 'gtk_selection_data_set' differ in signedness [-Wpointer-sign] gtk_selection_data_set(data, atom_ws, 8, raw_data, strlen(raw_data)); ^~~~~~~~ In file included from /usr/include/gtk-3.0/gtk/gtkdnd.h:35:0, from /usr/include/gtk-3.0/gtk/gtktreeview.h:28, from /usr/include/gtk-3.0/gtk/gtkcombobox.h:27, from /usr/include/gtk-3.0/gtk/gtkappchooserbutton.h:29, from /usr/include/gtk-3.0/gtk/gtk.h:42, from ./include/common.h:33, from ./include/boxes.h:26, from ./include/window.h:27, from ui/../core/window-private.h:37, from ui/../core/workspace.h:34, from ui/deepin-shadow-workspace.c:21: /usr/include/gtk-3.0/gtk/gtkselection.h:213:10: note: expected 'const guchar * {aka const unsigned char *}' but argument is of type 'gchar * {aka char *}' void gtk_selection_data_set (GtkSelectionData *selection_data, ^~~~~~~~~~~~~~~~~~~~~~ ui/deepin-shadow-workspace.c: In function 'deepin_shadow_workspace_new': ui/deepin-shadow-workspace.c:1707:5: warning: 'gdk_screen_get_primary_monitor' is deprecated: Use 'gdk_display_get_primary_monitor' instead [-Wdeprecated-declarations] self->priv->primary = gdk_screen_get_primary_monitor(screen); ^~~~ In file included from /usr/include/gtk-3.0/gdk/gdkapplaunchcontext.h:31:0, from /usr/include/gtk-3.0/gdk/gdk.h:32, from ui/deepin-shadow-workspace.c:17: /usr/include/gtk-3.0/gdk/gdkscreen.h:76:14: note: declared here gint gdk_screen_get_primary_monitor (GdkScreen *screen); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ui/deepin-shadow-workspace.c:1708:5: warning: 'gdk_screen_get_monitor_geometry' is deprecated: Use 'gdk_monitor_get_geometry' instead [-Wdeprecated-declarations] gdk_screen_get_monitor_geometry(screen, self->priv->primary, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/gtk-3.0/gdk/gdkapplaunchcontext.h:31:0, from /usr/include/gtk-3.0/gdk/gdk.h:32, from ui/deepin-shadow-workspace.c:17: /usr/include/gtk-3.0/gdk/gdkscreen.h:78:14: note: declared here void gdk_screen_get_monitor_geometry (GdkScreen *screen, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ui/deepin-shadow-workspace.c: In function 'deepin_shadow_workspace_set_scale': ui/deepin-shadow-workspace.c:1754:18: warning: unused variable 'display' [-Wunused-variable] MetaDisplay* display = meta_get_display(); ^~~~~~~ At top level: ui/deepin-shadow-workspace.c:1876:14: warning: '_gdk_x11_device_xi2_translate_state' defined but not used [-Wunused-function] static guint _gdk_x11_device_xi2_translate_state( ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ui/deepin-shadow-workspace.c:927:13: warning: 'union_with_clip' defined but not used [-Wunused-function] static void union_with_clip (GtkWidget *widget, ^~~~~~~~~~~~~~~ ui/deepin-shadow-workspace.c:425:13: warning: 'natural_placement' defined but not used [-Wunused-function] static void natural_placement (DeepinShadowWorkspace* self, MetaRectangle area) ^~~~~~~~~~~~~~~~~ ui/deepin-shadow-workspace.c:167:17: warning: 'on_idle_finish_close' defined but not used [-Wunused-function] static gboolean on_idle_finish_close(DeepinShadowWorkspace* self) ^~~~~~~~~~~~~~~~~~~~ make[4]: Leaving directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/src' make[4]: Entering directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/src' CC libdeepin_metacity_private_la-deepin-workspace-overview.lo In file included from /usr/include/bits/libc-header-start.h:33:0, from /usr/include/math.h:27, from ui/deepin-workspace-overview.c:13: /usr/include/features.h:373:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ ui/deepin-workspace-overview.c: In function 'grid_placement': ui/deepin-workspace-overview.c:211:37: warning: unused variable 'priv' [-Wunused-variable] DeepinWorkspaceOverviewPrivate* priv = self->priv; ^~~~ ui/deepin-workspace-overview.c: In function 'on_deepin_cloned_widget_released': ui/deepin-workspace-overview.c:749:47: warning: passing argument 2 of 'g_idle_add' makes pointer from integer without a cast [-Wint-conversion] g_idle_add((GSourceFunc)on_idle_end_grab, gdk_event_get_time(event)); ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/giochannel.h:33:0, from /usr/include/glib-2.0/glib.h:54, from ./include/util.h:26, from ui/deepin-workspace-overview.c:16: /usr/include/glib-2.0/glib/gmain.h:598:10: note: expected 'gpointer {aka void *}' but argument is of type 'guint32 {aka unsigned int}' guint g_idle_add (GSourceFunc function, ^~~~~~~~~~ ui/deepin-workspace-overview.c: In function 'on_close_button_clicked': ui/deepin-workspace-overview.c:790:59: warning: passing argument 2 of 'gtk_container_remove' from incompatible pointer type [-Wincompatible-pointer-types] gtk_container_remove(GTK_CONTAINER(self), clone); ^~~~~ In file included from /usr/include/gtk-3.0/gtk/gtkbin.h:33:0, from /usr/include/gtk-3.0/gtk/gtkwindow.h:35, from /usr/include/gtk-3.0/gtk/gtkdialog.h:32, from /usr/include/gtk-3.0/gtk/gtkaboutdialog.h:30, from /usr/include/gtk-3.0/gtk/gtk.h:31, from ./include/common.h:33, from ui/../core/display-private.h:36, from ui/../core/screen-private.h:34, from ui/deepin-workspace-overview.c:21: /usr/include/gtk-3.0/gtk/gtkcontainer.h:151:9: note: expected 'GtkWidget * {aka struct _GtkWidget *}' but argument is of type 'MetaDeepinClonedWidget * {aka struct _MetaDeepinClonedWidget *}' void gtk_container_remove (GtkContainer *container, ^~~~~~~~~~~~~~~~~~~~ ui/deepin-workspace-overview.c: In function 'get_nearest_monitor': ui/deepin-workspace-overview.c:825:5: warning: 'gdk_screen_get_n_monitors' is deprecated: Use 'gdk_display_get_n_monitors' instead [-Wdeprecated-declarations] num_monitors = gdk_screen_get_n_monitors (screen); ^~~~~~~~~~~~ In file included from /usr/include/gtk-3.0/gdk/gdkapplaunchcontext.h:31:0, from /usr/include/gtk-3.0/gdk/gdk.h:32, from ui/deepin-workspace-overview.c:17: /usr/include/gtk-3.0/gdk/gdkscreen.h:74:14: note: declared here gint gdk_screen_get_n_monitors (GdkScreen *screen); ^~~~~~~~~~~~~~~~~~~~~~~~~ ui/deepin-workspace-overview.c:831:9: warning: 'gdk_screen_get_monitor_geometry' is deprecated: Use 'gdk_monitor_get_geometry' instead [-Wdeprecated-declarations] gdk_screen_get_monitor_geometry (screen, i, &monitor); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/gtk-3.0/gdk/gdkapplaunchcontext.h:31:0, from /usr/include/gtk-3.0/gdk/gdk.h:32, from ui/deepin-workspace-overview.c:17: /usr/include/gtk-3.0/gdk/gdkscreen.h:78:14: note: declared here void gdk_screen_get_monitor_geometry (GdkScreen *screen, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ui/deepin-workspace-overview.c: In function 'get_monitor_at_window': ui/deepin-workspace-overview.c:866:5: warning: 'gdk_screen_get_n_monitors' is deprecated: Use 'gdk_display_get_n_monitors' instead [-Wdeprecated-declarations] num_monitors = gdk_screen_get_n_monitors (screen); ^~~~~~~~~~~~ In file included from /usr/include/gtk-3.0/gdk/gdkapplaunchcontext.h:31:0, from /usr/include/gtk-3.0/gdk/gdk.h:32, from ui/deepin-workspace-overview.c:17: /usr/include/gtk-3.0/gdk/gdkscreen.h:74:14: note: declared here gint gdk_screen_get_n_monitors (GdkScreen *screen); ^~~~~~~~~~~~~~~~~~~~~~~~~ ui/deepin-workspace-overview.c:871:9: warning: 'gdk_screen_get_monitor_geometry' is deprecated: Use 'gdk_monitor_get_geometry' instead [-Wdeprecated-declarations] gdk_screen_get_monitor_geometry (screen, i, &tmp_monitor); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/gtk-3.0/gdk/gdkapplaunchcontext.h:31:0, from /usr/include/gtk-3.0/gdk/gdk.h:32, from ui/deepin-workspace-overview.c:17: /usr/include/gtk-3.0/gdk/gdkscreen.h:78:14: note: declared here void gdk_screen_get_monitor_geometry (GdkScreen *screen, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ui/deepin-workspace-overview.c: In function '_clone_window': ui/deepin-workspace-overview.c:894:46: warning: passing argument 1 of 'clone_get_info' from incompatible pointer type [-Wincompatible-pointer-types] ClonedPrivateInfo* info = clone_get_info(widget); ^~~~~~ ui/deepin-workspace-overview.c:101:27: note: expected 'MetaDeepinClonedWidget * {aka struct _MetaDeepinClonedWidget *}' but argument is of type 'GtkWidget * {aka struct _GtkWidget *}' static ClonedPrivateInfo* clone_get_info(MetaDeepinClonedWidget* w) ^~~~~~~~~~~~~~ ui/deepin-workspace-overview.c: In function 'deepin_workspace_overview_populate': ui/deepin-workspace-overview.c:931:5: warning: 'gdk_screen_get_primary_monitor' is deprecated: Use 'gdk_display_get_primary_monitor' instead [-Wdeprecated-declarations] priv->primary = gdk_screen_get_primary_monitor(screen); ^~~~ In file included from /usr/include/gtk-3.0/gdk/gdkapplaunchcontext.h:31:0, from /usr/include/gtk-3.0/gdk/gdk.h:32, from ui/deepin-workspace-overview.c:17: /usr/include/gtk-3.0/gdk/gdkscreen.h:76:14: note: declared here gint gdk_screen_get_primary_monitor (GdkScreen *screen); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ui/deepin-workspace-overview.c:932:5: warning: 'gdk_screen_get_n_monitors' is deprecated: Use 'gdk_display_get_n_monitors' instead [-Wdeprecated-declarations] gint n_monitors = gdk_screen_get_n_monitors(screen); ^~~~ In file included from /usr/include/gtk-3.0/gdk/gdkapplaunchcontext.h:31:0, from /usr/include/gtk-3.0/gdk/gdk.h:32, from ui/deepin-workspace-overview.c:17: /usr/include/gtk-3.0/gdk/gdkscreen.h:74:14: note: declared here gint gdk_screen_get_n_monitors (GdkScreen *screen); ^~~~~~~~~~~~~~~~~~~~~~~~~ ui/deepin-workspace-overview.c:933:55: warning: passing argument 2 of 'g_ptr_array_new_full' from incompatible pointer type [-Wincompatible-pointer-types] priv->monitors = g_ptr_array_new_full(n_monitors, monitor_data_destroy); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:31:0, from ./include/util.h:26, from ui/deepin-workspace-overview.c:16: /usr/include/glib-2.0/glib/garray.h:136:12: note: expected 'GDestroyNotify {aka void (*)(void *)}' but argument is of type 'void (*)(MonitorData *) {aka void (*)(struct _MonitorData *)}' GPtrArray* g_ptr_array_new_full (guint reserved_size, ^~~~~~~~~~~~~~~~~~~~ ui/deepin-workspace-overview.c:939:9: warning: 'gdk_screen_get_monitor_geometry' is deprecated: Use 'gdk_monitor_get_geometry' instead [-Wdeprecated-declarations] gdk_screen_get_monitor_geometry(screen, i, (GdkRectangle*)&md->mon_rect); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/gtk-3.0/gdk/gdkapplaunchcontext.h:31:0, from /usr/include/gtk-3.0/gdk/gdk.h:32, from ui/deepin-workspace-overview.c:17: /usr/include/gtk-3.0/gdk/gdkscreen.h:78:14: note: declared here void gdk_screen_get_monitor_geometry (GdkScreen *screen, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ui/deepin-workspace-overview.c:947:73: warning: passing argument 3 of 'meta_workspace_get_work_area_for_xinerama' from incompatible pointer type [-Wincompatible-pointer-types] meta_workspace_get_work_area_for_xinerama(ws, xinerama->number, (GdkRectangle*)&md->mon_workarea); ^ In file included from ui/deepin-workspace-overview.c:22:0: ui/../core/workspace.h:88:6: note: expected 'MetaRectangle * {aka struct _MetaRectangle *}' but argument is of type 'GdkRectangle * {aka struct _cairo_rectangle_int *}' void meta_workspace_get_work_area_for_xinerama (MetaWorkspace *workspace, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ui/deepin-workspace-overview.c: In function 'on_deepin_workspace_overview_show': ui/deepin-workspace-overview.c:1027:37: warning: unused variable 'priv' [-Wunused-variable] DeepinWorkspaceOverviewPrivate* priv = self->priv; ^~~~ ui/deepin-workspace-overview.c: In function 'on_deepin_workspace_overview_pressed': ui/deepin-workspace-overview.c:1039:47: warning: passing argument 2 of 'g_idle_add' makes pointer from integer without a cast [-Wint-conversion] g_idle_add((GSourceFunc)on_idle_end_grab, gdk_event_get_time(event)); ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/giochannel.h:33:0, from /usr/include/glib-2.0/glib.h:54, from ./include/util.h:26, from ui/deepin-workspace-overview.c:16: /usr/include/glib-2.0/glib/gmain.h:598:10: note: expected 'gpointer {aka void *}' but argument is of type 'guint32 {aka unsigned int}' guint g_idle_add (GSourceFunc function, ^~~~~~~~~~ ui/deepin-workspace-overview.c: In function 'on_window_change_workspace': ui/deepin-workspace-overview.c:1057:25: warning: passing argument 1 of 'gtk_widget_show' from incompatible pointer type [-Wincompatible-pointer-types] gtk_widget_show(widget); ^~~~~~ In file included from /usr/include/gtk-3.0/gtk/gtkapplication.h:27:0, from /usr/include/gtk-3.0/gtk/gtkwindow.h:33, from /usr/include/gtk-3.0/gtk/gtkdialog.h:32, from /usr/include/gtk-3.0/gtk/gtkaboutdialog.h:30, from /usr/include/gtk-3.0/gtk/gtk.h:31, from ./include/common.h:33, from ui/../core/display-private.h:36, from ui/../core/screen-private.h:34, from ui/deepin-workspace-overview.c:21: /usr/include/gtk-3.0/gtk/gtkwidget.h:626:12: note: expected 'GtkWidget * {aka struct _GtkWidget *}' but argument is of type 'MetaDeepinClonedWidget * {aka struct _MetaDeepinClonedWidget *}' void gtk_widget_show (GtkWidget *widget); ^~~~~~~~~~~~~~~ ui/deepin-workspace-overview.c: In function 'deepin_workspace_overview_new': ui/deepin-workspace-overview.c:1072:5: warning: 'gdk_screen_get_width' is deprecated [-Wdeprecated-declarations] self->priv->fixed_width = gdk_screen_get_width(screen); ^~~~ In file included from /usr/include/gtk-3.0/gdk/gdkapplaunchcontext.h:31:0, from /usr/include/gtk-3.0/gdk/gdk.h:32, from ui/deepin-workspace-overview.c:17: /usr/include/gtk-3.0/gdk/gdkscreen.h:58:14: note: declared here gint gdk_screen_get_width (GdkScreen *screen); ^~~~~~~~~~~~~~~~~~~~ ui/deepin-workspace-overview.c:1073:5: warning: 'gdk_screen_get_height' is deprecated [-Wdeprecated-declarations] self->priv->fixed_height = gdk_screen_get_height(screen); ^~~~ In file included from /usr/include/gtk-3.0/gdk/gdkapplaunchcontext.h:31:0, from /usr/include/gtk-3.0/gdk/gdk.h:32, from ui/deepin-workspace-overview.c:17: /usr/include/gtk-3.0/gdk/gdkscreen.h:60:14: note: declared here gint gdk_screen_get_height (GdkScreen *screen); ^~~~~~~~~~~~~~~~~~~~~ ui/deepin-workspace-overview.c: In function 'deepin_workspace_overview_handle_event': ui/deepin-workspace-overview.c:1192:51: warning: passing argument 2 of 'g_idle_add' makes pointer from integer without a cast [-Wint-conversion] g_idle_add((GSourceFunc)on_idle_end_grab, event->time); ^~~~~ In file included from /usr/include/glib-2.0/glib/giochannel.h:33:0, from /usr/include/glib-2.0/glib.h:54, from ./include/util.h:26, from ui/deepin-workspace-overview.c:16: /usr/include/glib-2.0/glib/gmain.h:598:10: note: expected 'gpointer {aka void *}' but argument is of type 'Time {aka long unsigned int}' guint g_idle_add (GSourceFunc function, ^~~~~~~~~~ At top level: ui/deepin-workspace-overview.c:529:13: warning: 'union_with_clip' defined but not used [-Wunused-function] static void union_with_clip (GtkWidget *widget, ^~~~~~~~~~~~~~~ ui/deepin-workspace-overview.c:168:17: warning: 'rect_is_overlapping_any' defined but not used [-Wunused-function] static gboolean rect_is_overlapping_any(MetaRectangle rect, MetaRectangle* rects, gint n, MetaRectangle border) ^~~~~~~~~~~~~~~~~~~~~~~ ui/deepin-workspace-overview.c:165:18: warning: 'ACCURACY' defined but not used [-Wunused-const-variable=] static const int ACCURACY = 20; ^~~~~~~~ ui/deepin-workspace-overview.c:164:18: warning: 'MAX_TRANSLATIONS' defined but not used [-Wunused-const-variable=] static const int MAX_TRANSLATIONS = 100000; ^~~~~~~~~~~~~~~~ ui/deepin-workspace-overview.c:163:18: warning: 'GAPS' defined but not used [-Wunused-const-variable=] static const int GAPS = 10; ^~~~ make[4]: Leaving directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/src' make[4]: Entering directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/src' CC libdeepin_metacity_private_la-deepin-window-surface-manager.lo In file included from /usr/include/bits/libc-header-start.h:33:0, from /usr/include/math.h:27, from ui/deepin-window-surface-manager.c:13: /usr/include/features.h:373:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ ui/deepin-window-surface-manager.c: In function 'get_desktop_window_surface_from_xlib': ui/deepin-window-surface-manager.c:98:12: warning: variable 'xwindow' set but not used [-Wunused-but-set-variable] Window xwindow; ^~~~~~~ ui/deepin-window-surface-manager.c:97:17: warning: unused variable 'screen' [-Wunused-variable] MetaScreen *screen; ^~~~~~ make[4]: Leaving directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/src' make[4]: Entering directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/src' CC libdeepin_metacity_private_la-deepin-workspace-adder.lo In file included from /usr/include/bits/libc-header-start.h:33:0, from /usr/include/math.h:27, from ui/deepin-workspace-adder.c:13: /usr/include/features.h:373:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ ui/deepin-workspace-adder.c: In function 'deepin_workspace_adder_enter': ui/deepin-workspace-adder.c:117:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ ui/deepin-workspace-adder.c: In function 'deepin_workspace_adder_leave': ui/deepin-workspace-adder.c:125:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ ui/deepin-workspace-adder.c: In function 'deepin_workspace_adder_drag_motion': ui/deepin-workspace-adder.c:138:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ At top level: ui/deepin-workspace-adder.c:43:13: warning: '_draw_round_box' defined but not used [-Wunused-function] static void _draw_round_box(cairo_t* cr, gint width, gint height, double radius) ^~~~~~~~~~~~~~~ make[4]: Leaving directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/src' make[4]: Entering directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/src' CC libdeepin_metacity_private_la-deepin-stated-image.lo In file included from /usr/include/bits/libc-header-start.h:33:0, from /usr/include/math.h:27, from ui/deepin-stated-image.c:15: /usr/include/features.h:373:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ ui/deepin-stated-image.c: In function 'deepin_stated_image_leave': ui/deepin-stated-image.c:212:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ ui/deepin-stated-image.c: In function 'deepin_stated_image_enter': ui/deepin-stated-image.c:222:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ ui/deepin-stated-image.c: In function 'deepin_stated_image_button_press': ui/deepin-stated-image.c:232:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ ui/deepin-stated-image.c: In function 'deepin_stated_image_button_release': ui/deepin-stated-image.c:242:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ make[4]: Leaving directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/src' make[4]: Entering directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/src' CC libdeepin_metacity_private_la-deepin-animation-image.lo In file included from /usr/include/bits/libc-header-start.h:33:0, from /usr/include/math.h:27, from ui/deepin-animation-image.c:15: /usr/include/features.h:373:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ ui/deepin-animation-image.c: In function 'deepin_animation_image_set_property': ui/deepin-animation-image.c:88:27: warning: unused variable 'image' [-Wunused-variable] DeepinAnimationImage *image = DEEPIN_ANIMATION_IMAGE (object); ^~~~~ ui/deepin-animation-image.c: In function 'deepin_animation_image_get_property': ui/deepin-animation-image.c:105:34: warning: unused variable 'priv' [-Wunused-variable] DeepinAnimationImagePrivate *priv = image->priv; ^~~~ ui/deepin-animation-image.c: In function 'deepin_animation_image_draw': ui/deepin-animation-image.c:118:34: warning: unused variable 'priv' [-Wunused-variable] DeepinAnimationImagePrivate *priv = image->priv; ^~~~ At top level: ui/deepin-animation-image.c:38:20: warning: 'image_props' defined but not used [-Wunused-variable] static GParamSpec *image_props[NUM_PROPERTIES] = { NULL, }; ^~~~~~~~~~~ make[4]: Leaving directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/src' make[4]: Entering directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/src' CC libdeepin_metacity_private_la-deepin-workspace-indicator.lo In file included from /usr/include/bits/libc-header-start.h:33:0, from /usr/include/limits.h:26, from /usr/lib/gcc/x86_64-redhat-linux/7/include/limits.h:194, from /usr/lib/gcc/x86_64-redhat-linux/7/include/syslimits.h:7, from /usr/lib/gcc/x86_64-redhat-linux/7/include/limits.h:34, from /usr/lib64/glib-2.0/include/glibconfig.h:11, from /usr/include/glib-2.0/glib/gtypes.h:32, from /usr/include/glib-2.0/glib/galloca.h:32, from /usr/include/glib-2.0/glib.h:30, from ./include/util.h:26, from ui/deepin-workspace-indicator.c:13: /usr/include/features.h:373:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ ui/deepin-workspace-indicator.c: In function 'deepin_workspace_indicator_real_draw': ui/deepin-workspace-indicator.c:88:38: warning: unused variable 'priv' [-Wunused-variable] DeepinWorkspaceIndicatorPrivate* priv = DEEPIN_WORKSPACE_INDICATOR(widget)->priv; ^~~~ ui/deepin-workspace-indicator.c: In function 'deepin_workspace_indicator_setup_style': ui/deepin-workspace-indicator.c:112:30: warning: passing argument 1 of 'deepin_setup_style_class' from incompatible pointer type [-Wincompatible-pointer-types] deepin_setup_style_class(dwi, styles[0]); ^~~ In file included from ./include/ui.h:183:0, from ui/../core/screen-private.h:37, from ui/deepin-workspace-indicator.c:19: ./include/deepin-design.h:105:6: note: expected 'GtkWidget * {aka struct _GtkWidget *}' but argument is of type 'DeepinWorkspaceIndicator * {aka struct _DeepinWorkspaceIndicator *}' void deepin_setup_style_class(GtkWidget* widget, const char* class_name); ^~~~~~~~~~~~~~~~~~~~~~~~ ui/deepin-workspace-indicator.c: In function 'relayout': ui/deepin-workspace-indicator.c:127:5: warning: 'gdk_screen_get_primary_monitor' is deprecated: Use 'gdk_display_get_primary_monitor' instead [-Wdeprecated-declarations] gint primary = gdk_screen_get_primary_monitor(gdk_screen_get_default()); ^~~~ In file included from /usr/include/gtk-3.0/gdk/gdkapplaunchcontext.h:31:0, from /usr/include/gtk-3.0/gdk/gdk.h:32, from ui/deepin-workspace-indicator.c:16: /usr/include/gtk-3.0/gdk/gdkscreen.h:76:14: note: declared here gint gdk_screen_get_primary_monitor (GdkScreen *screen); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ui/deepin-workspace-indicator.c:128:5: warning: 'gdk_screen_get_monitor_geometry' is deprecated: Use 'gdk_monitor_get_geometry' instead [-Wdeprecated-declarations] gdk_screen_get_monitor_geometry(gdk_screen_get_default(), primary, &mon_geom); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/gtk-3.0/gdk/gdkapplaunchcontext.h:31:0, from /usr/include/gtk-3.0/gdk/gdk.h:32, from ui/deepin-workspace-indicator.c:16: /usr/include/gtk-3.0/gdk/gdkscreen.h:78:14: note: declared here void gdk_screen_get_monitor_geometry (GdkScreen *screen, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ui/deepin-workspace-indicator.c: In function 'on_workspace_added': ui/deepin-workspace-indicator.c:157:41: warning: initialization from incompatible pointer type [-Wincompatible-pointer-types] DeepinWorkspacePreviewEntry *dwpe = deepin_workspace_preview_entry_new(ws); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ui/deepin-workspace-indicator.c: In function 'deepin_workspace_indicator_new': ui/deepin-workspace-indicator.c:220:5: warning: 'gdk_screen_get_primary_monitor' is deprecated: Use 'gdk_display_get_primary_monitor' instead [-Wdeprecated-declarations] gint primary = gdk_screen_get_primary_monitor(gdkscreen); ^~~~ In file included from /usr/include/gtk-3.0/gdk/gdkapplaunchcontext.h:31:0, from /usr/include/gtk-3.0/gdk/gdk.h:32, from ui/deepin-workspace-indicator.c:16: /usr/include/gtk-3.0/gdk/gdkscreen.h:76:14: note: declared here gint gdk_screen_get_primary_monitor (GdkScreen *screen); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ui/deepin-workspace-indicator.c:221:5: warning: 'gdk_screen_get_monitor_geometry' is deprecated: Use 'gdk_monitor_get_geometry' instead [-Wdeprecated-declarations] gdk_screen_get_monitor_geometry(gdkscreen, primary, &monitor_geom); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/gtk-3.0/gdk/gdkapplaunchcontext.h:31:0, from /usr/include/gtk-3.0/gdk/gdk.h:32, from ui/deepin-workspace-indicator.c:16: /usr/include/gtk-3.0/gdk/gdkscreen.h:78:14: note: declared here void gdk_screen_get_monitor_geometry (GdkScreen *screen, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ui/deepin-workspace-indicator.c:248:49: warning: initialization from incompatible pointer type [-Wincompatible-pointer-types] DeepinWorkspacePreviewEntry *dwpe = deepin_workspace_preview_entry_new(ws); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ui/deepin-workspace-indicator.c:270:44: warning: passing argument 1 of 'deepin_workspace_indicator_setup_style' from incompatible pointer type [-Wincompatible-pointer-types] deepin_workspace_indicator_setup_style(dwi); ^~~ ui/deepin-workspace-indicator.c:105:13: note: expected 'DeepinWorkspaceIndicator * {aka struct _DeepinWorkspaceIndicator *}' but argument is of type 'GtkWidget * {aka struct _GtkWidget *}' static void deepin_workspace_indicator_setup_style(DeepinWorkspaceIndicator *dwi) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[4]: Leaving directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/src' make[4]: Entering directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/src' CC libdeepin_metacity_private_la-deepin-workspace-preview-entry.lo In file included from /usr/include/bits/libc-header-start.h:33:0, from /usr/include/math.h:27, from ui/deepin-workspace-preview-entry.c:13: /usr/include/features.h:373:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ ui/deepin-workspace-preview-entry.c: In function 'deepin_workspace_preview_entry_init': ui/deepin-workspace-preview-entry.c:71:5: warning: 'gdk_screen_get_primary_monitor' is deprecated: Use 'gdk_display_get_primary_monitor' instead [-Wdeprecated-declarations] gint primary = gdk_screen_get_primary_monitor(screen); ^~~~ In file included from /usr/include/gtk-3.0/gdk/gdkapplaunchcontext.h:31:0, from /usr/include/gtk-3.0/gdk/gdk.h:32, from ui/deepin-workspace-preview-entry.c:17: /usr/include/gtk-3.0/gdk/gdkscreen.h:76:14: note: declared here gint gdk_screen_get_primary_monitor (GdkScreen *screen); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ui/deepin-workspace-preview-entry.c:72:5: warning: 'gdk_screen_get_monitor_geometry' is deprecated: Use 'gdk_monitor_get_geometry' instead [-Wdeprecated-declarations] gdk_screen_get_monitor_geometry(screen, primary, &monitor_geom); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/gtk-3.0/gdk/gdkapplaunchcontext.h:31:0, from /usr/include/gtk-3.0/gdk/gdk.h:32, from ui/deepin-workspace-preview-entry.c:17: /usr/include/gtk-3.0/gdk/gdkscreen.h:78:14: note: declared here void gdk_screen_get_monitor_geometry (GdkScreen *screen, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[4]: Leaving directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/src' make[4]: Entering directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/src' CC libdeepin_metacity_private_la-select-workspace.lo In file included from /usr/include/bits/libc-header-start.h:33:0, from /usr/include/limits.h:26, from /usr/lib/gcc/x86_64-redhat-linux/7/include/limits.h:194, from /usr/lib/gcc/x86_64-redhat-linux/7/include/syslimits.h:7, from /usr/lib/gcc/x86_64-redhat-linux/7/include/limits.h:34, from /usr/lib64/glib-2.0/include/glibconfig.h:11, from /usr/include/glib-2.0/glib/gtypes.h:32, from /usr/include/glib-2.0/glib/galloca.h:32, from /usr/include/glib-2.0/glib.h:30, from /usr/include/gtk-3.0/gdk/gdkconfig.h:13, from /usr/include/gtk-3.0/gdk/gdk.h:30, from /usr/include/gtk-3.0/gtk/gtk.h:30, from ui/select-workspace.c:23: /usr/include/features.h:373:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ make[4]: Leaving directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/src' make[4]: Entering directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/src' CC libdeepin_metacity_private_la-tile-preview.lo In file included from /usr/include/bits/libc-header-start.h:33:0, from /usr/include/limits.h:26, from /usr/lib/gcc/x86_64-redhat-linux/7/include/limits.h:194, from /usr/lib/gcc/x86_64-redhat-linux/7/include/syslimits.h:7, from /usr/lib/gcc/x86_64-redhat-linux/7/include/limits.h:34, from /usr/lib64/glib-2.0/include/glibconfig.h:11, from /usr/include/glib-2.0/glib/gtypes.h:32, from /usr/include/glib-2.0/glib/galloca.h:32, from /usr/include/glib-2.0/glib.h:30, from /usr/include/gtk-3.0/gdk/gdkconfig.h:13, from /usr/include/gtk-3.0/gdk/gdk.h:30, from /usr/include/gtk-3.0/gtk/gtk.h:30, from ui/tile-preview.c:24: /usr/include/features.h:373:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ ui/tile-preview.c: In function 'meta_tile_preview_composited_changed': ui/tile-preview.c:117:3: warning: 'gtk_widget_is_composited' is deprecated: Use 'gdk_screen_is_composited' instead [-Wdeprecated-declarations] preview->has_alpha = visual && gtk_widget_is_composited (widget); ^~~~~~~ In file included from /usr/include/gtk-3.0/gtk/gtkapplication.h:27:0, from /usr/include/gtk-3.0/gtk/gtkwindow.h:33, from /usr/include/gtk-3.0/gtk/gtkdialog.h:32, from /usr/include/gtk-3.0/gtk/gtkaboutdialog.h:30, from /usr/include/gtk-3.0/gtk/gtk.h:31, from ui/tile-preview.c:24: /usr/include/gtk-3.0/gtk/gtkwidget.h:1247:10: note: declared here gboolean gtk_widget_is_composited (GtkWidget *widget); ^~~~~~~~~~~~~~~~~~~~~~~~ ui/tile-preview.c: In function 'meta_tile_preview_new': ui/tile-preview.c:128:3: warning: 'gdk_display_get_screen' is deprecated [-Wdeprecated-declarations] screen = gdk_display_get_screen (gdk_display_get_default (), screen_number); ^~~~~~ In file included from /usr/include/gtk-3.0/gdk/gdkscreen.h:32:0, from /usr/include/gtk-3.0/gdk/gdkapplaunchcontext.h:31, from /usr/include/gtk-3.0/gdk/gdk.h:32, from /usr/include/gtk-3.0/gtk/gtk.h:30, from ui/tile-preview.c:24: /usr/include/gtk-3.0/gdk/gdkdisplay.h:56:13: note: declared here GdkScreen * gdk_display_get_screen (GdkDisplay *display, ^~~~~~~~~~~~~~~~~~~~~~ ui/tile-preview.c: In function 'meta_tile_preview_show': ui/tile-preview.c:213:7: warning: 'gdk_window_set_background_rgba' is deprecated [-Wdeprecated-declarations] gdk_window_set_background_rgba (window, &clr); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/gtk-3.0/gdk/gdkseat.h:28:0, from /usr/include/gtk-3.0/gdk/gdkdisplay.h:33, from /usr/include/gtk-3.0/gdk/gdkscreen.h:32, from /usr/include/gtk-3.0/gdk/gdkapplaunchcontext.h:31, from /usr/include/gtk-3.0/gdk/gdk.h:32, from /usr/include/gtk-3.0/gtk/gtk.h:30, from ui/tile-preview.c:24: /usr/include/gtk-3.0/gdk/gdkwindow.h:778:15: note: declared here void gdk_window_set_background_rgba (GdkWindow *window, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[4]: Leaving directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/src' make[4]: Entering directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/src' CC libdeepin_metacity_private_la-theme-parser.lo In file included from /usr/include/bits/libc-header-start.h:33:0, from /usr/include/limits.h:26, from /usr/lib/gcc/x86_64-redhat-linux/7/include/limits.h:194, from /usr/lib/gcc/x86_64-redhat-linux/7/include/syslimits.h:7, from /usr/lib/gcc/x86_64-redhat-linux/7/include/limits.h:34, from /usr/lib64/glib-2.0/include/glibconfig.h:11, from /usr/include/glib-2.0/glib/gtypes.h:32, from /usr/include/glib-2.0/glib/galloca.h:32, from /usr/include/glib-2.0/glib.h:30, from ./include/boxes.h:25, from ui/theme.h:25, from ui/theme-parser.h:22, from ui/theme-parser.c:23: /usr/include/features.h:373:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ ui/theme-parser.c: In function 'meta_theme_load': ui/theme-parser.c:4316:11: warning: implicit declaration of function 'g_access'; did you mean 'access'? [-Wimplicit-function-declaration] if (g_access (theme_dir, F_OK) < 0) ^~~~~~~~ access make[4]: Leaving directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/src' make[4]: Entering directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/src' CC libdeepin_metacity_private_la-theme.lo In file included from /usr/include/bits/libc-header-start.h:33:0, from /usr/include/limits.h:26, from /usr/lib/gcc/x86_64-redhat-linux/7/include/limits.h:194, from /usr/lib/gcc/x86_64-redhat-linux/7/include/syslimits.h:7, from /usr/lib/gcc/x86_64-redhat-linux/7/include/limits.h:34, from /usr/lib64/glib-2.0/include/glibconfig.h:11, from /usr/include/glib-2.0/glib/gtypes.h:32, from /usr/include/glib-2.0/glib/galloca.h:32, from /usr/include/glib-2.0/glib.h:30, from /usr/include/gtk-3.0/gdk/gdkconfig.h:13, from /usr/include/gtk-3.0/gdk/gdk.h:30, from /usr/include/gtk-3.0/gtk/gtk.h:30, from ui/frames.h:25, from ui/theme.c:54: /usr/include/features.h:373:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ make[4]: Leaving directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/src' make[4]: Entering directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/src' CC libdeepin_metacity_private_la-ui.lo In file included from /usr/include/sys/types.h:25:0, from /usr/include/X11/Xlib.h:38, from ./include/common.h:30, from ./include/prefs.h:27, from ui/ui.c:22: /usr/include/features.h:373:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ ui/ui.c: In function 'meta_ui_create_frame_window': ui/ui.c:341:3: warning: 'gdk_display_get_screen' is deprecated [-Wdeprecated-declarations] GdkScreen *screen = gdk_display_get_screen (display, screen_no); ^~~~~~~~~ In file included from /usr/include/gtk-3.0/gdk/gdkscreen.h:32:0, from /usr/include/gtk-3.0/gdk/gdkapplaunchcontext.h:31, from /usr/include/gtk-3.0/gdk/gdk.h:32, from /usr/include/gtk-3.0/gtk/gtk.h:30, from ./include/common.h:33, from ./include/prefs.h:27, from ui/ui.c:22: /usr/include/gtk-3.0/gdk/gdkdisplay.h:56:13: note: declared here GdkScreen * gdk_display_get_screen (GdkDisplay *display, ^~~~~~~~~~~~~~~~~~~~~~ ui/ui.c: In function 'meta_ui_theme_get_frame_borders': ui/ui.c:671:7: warning: 'gdk_display_get_screen' is deprecated [-Wdeprecated-declarations] GdkScreen *screen = gdk_display_get_screen (display, XScreenNumberOfScreen (ui->xscreen)); ^~~~~~~~~ In file included from /usr/include/gtk-3.0/gdk/gdkscreen.h:32:0, from /usr/include/gtk-3.0/gdk/gdkapplaunchcontext.h:31, from /usr/include/gtk-3.0/gdk/gdk.h:32, from /usr/include/gtk-3.0/gtk/gtk.h:30, from ./include/common.h:33, from ./include/prefs.h:27, from ui/ui.c:22: /usr/include/gtk-3.0/gdk/gdkdisplay.h:56:13: note: declared here GdkScreen * gdk_display_get_screen (GdkDisplay *display, ^~~~~~~~~~~~~~~~~~~~~~ make[4]: Leaving directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/src' make[4]: Entering directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/src' CC libdeepin_metacity_private_la-deepin-dbus-wm.lo In file included from /usr/include/bits/libc-header-start.h:33:0, from /usr/include/limits.h:26, from /usr/lib/gcc/x86_64-redhat-linux/7/include/limits.h:194, from /usr/lib/gcc/x86_64-redhat-linux/7/include/syslimits.h:7, from /usr/lib/gcc/x86_64-redhat-linux/7/include/limits.h:34, from /usr/lib64/glib-2.0/include/glibconfig.h:11, from /usr/include/glib-2.0/glib/gtypes.h:32, from /usr/include/glib-2.0/glib/galloca.h:32, from /usr/include/glib-2.0/glib.h:30, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:23, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from deepin-dbus-wm.h:10, from deepin-dbus-wm.c:11: /usr/include/features.h:373:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ make[4]: Leaving directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/src' make[4]: Entering directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/src' CC main.o In file included from /usr/include/bits/libc-header-start.h:33:0, from /usr/include/limits.h:26, from /usr/lib/gcc/x86_64-redhat-linux/7/include/limits.h:194, from /usr/lib/gcc/x86_64-redhat-linux/7/include/syslimits.h:7, from /usr/lib/gcc/x86_64-redhat-linux/7/include/limits.h:34, from /usr/lib64/glib-2.0/include/glibconfig.h:11, from /usr/include/glib-2.0/glib/gtypes.h:32, from /usr/include/glib-2.0/glib/galloca.h:32, from /usr/include/glib-2.0/glib.h:30, from ./include/main.h:25, from core/main.c:46: /usr/include/features.h:180:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ /usr/include/features.h:373:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ make[4]: Leaving directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/src' make[4]: Entering directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/src' CC util.o In file included from /usr/include/bits/libc-header-start.h:33:0, from /usr/include/limits.h:26, from /usr/lib/gcc/x86_64-redhat-linux/7/include/limits.h:194, from /usr/lib/gcc/x86_64-redhat-linux/7/include/syslimits.h:7, from /usr/lib/gcc/x86_64-redhat-linux/7/include/limits.h:34, from /usr/lib64/glib-2.0/include/glibconfig.h:11, from /usr/include/glib-2.0/glib/gtypes.h:32, from /usr/include/glib-2.0/glib/galloca.h:32, from /usr/include/glib-2.0/glib.h:30, from ./include/util.h:26, from core/util.c:27: /usr/include/features.h:373:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ make[4]: Leaving directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/src' make[4]: Entering directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/src' CC theme-viewer.o In file included from /usr/include/bits/libc-header-start.h:33:0, from /usr/include/limits.h:26, from /usr/lib/gcc/x86_64-redhat-linux/7/include/limits.h:194, from /usr/lib/gcc/x86_64-redhat-linux/7/include/syslimits.h:7, from /usr/lib/gcc/x86_64-redhat-linux/7/include/limits.h:34, from /usr/lib64/glib-2.0/include/glibconfig.h:11, from /usr/include/glib-2.0/glib/gtypes.h:32, from /usr/include/glib-2.0/glib/galloca.h:32, from /usr/include/glib-2.0/glib.h:30, from ./include/util.h:26, from ui/theme-viewer.c:23: /usr/include/features.h:373:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ ui/theme-viewer.c:1154:37: warning: 'position_expression_tests' defined but not used [-Wunused-const-variable=] static const PositionExpressionTest position_expression_tests[] = { ^~~~~~~~~~~~~~~~~~~~~~~~~ make[4]: Leaving directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/src' make[4]: Entering directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/src' CC boxes.o In file included from /usr/include/bits/libc-header-start.h:33:0, from /usr/include/limits.h:26, from /usr/lib/gcc/x86_64-redhat-linux/7/include/limits.h:194, from /usr/lib/gcc/x86_64-redhat-linux/7/include/syslimits.h:7, from /usr/lib/gcc/x86_64-redhat-linux/7/include/limits.h:34, from /usr/lib64/glib-2.0/include/glibconfig.h:11, from /usr/include/glib-2.0/glib/gtypes.h:32, from /usr/include/glib-2.0/glib/galloca.h:32, from /usr/include/glib-2.0/glib.h:30, from ./include/boxes.h:25, from core/boxes.c:27: /usr/include/features.h:373:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ make[4]: Leaving directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/src' make[4]: Entering directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/src' CC gradient.o In file included from /usr/include/bits/libc-header-start.h:33:0, from /usr/include/limits.h:26, from /usr/lib/gcc/x86_64-redhat-linux/7/include/limits.h:194, from /usr/lib/gcc/x86_64-redhat-linux/7/include/syslimits.h:7, from /usr/lib/gcc/x86_64-redhat-linux/7/include/limits.h:34, from /usr/lib64/glib-2.0/include/glibconfig.h:11, from /usr/include/glib-2.0/glib/gtypes.h:32, from /usr/include/glib-2.0/glib/galloca.h:32, from /usr/include/glib-2.0/glib.h:30, from /usr/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf.h:29, from ui/gradient.h:25, from ui/gradient.c:23: /usr/include/features.h:373:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ make[4]: Leaving directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/src' make[4]: Entering directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/src' CC testboxes.o In file included from /usr/include/bits/libc-header-start.h:33:0, from /usr/include/limits.h:26, from /usr/lib/gcc/x86_64-redhat-linux/7/include/limits.h:194, from /usr/lib/gcc/x86_64-redhat-linux/7/include/syslimits.h:7, from /usr/lib/gcc/x86_64-redhat-linux/7/include/limits.h:34, from /usr/lib64/glib-2.0/include/glibconfig.h:11, from /usr/include/glib-2.0/glib/gtypes.h:32, from /usr/include/glib-2.0/glib/galloca.h:32, from /usr/include/glib-2.0/glib.h:30, from ./include/boxes.h:25, from core/testboxes.c:22: /usr/include/features.h:373:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ make[4]: Leaving directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/src' make[4]: Entering directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/src' CC async-getprop.o In file included from /usr/include/assert.h:35:0, from core/async-getprop.c:31: /usr/include/features.h:373:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ make[4]: Leaving directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/src' make[4]: Entering directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/src' CC testasyncgetprop.o In file included from /usr/include/sys/types.h:25:0, from /usr/include/X11/Xlib.h:38, from core/async-getprop.h:33, from core/testasyncgetprop.c:28: /usr/include/features.h:373:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ make[4]: Leaving directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/src' make[4]: Entering directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/src' CC testgradient.o In file included from /usr/include/bits/libc-header-start.h:33:0, from /usr/include/limits.h:26, from /usr/lib/gcc/x86_64-redhat-linux/7/include/limits.h:194, from /usr/lib/gcc/x86_64-redhat-linux/7/include/syslimits.h:7, from /usr/lib/gcc/x86_64-redhat-linux/7/include/limits.h:34, from /usr/lib64/glib-2.0/include/glibconfig.h:11, from /usr/include/glib-2.0/glib/gtypes.h:32, from /usr/include/glib-2.0/glib/galloca.h:32, from /usr/include/glib-2.0/glib.h:30, from /usr/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf.h:29, from ui/gradient.h:25, from ui/testgradient.c:21: /usr/include/features.h:373:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ make[4]: Leaving directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/src' make[4]: Entering directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/src' ITMRG metacity.desktop make[4]: Leaving directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/src' make[4]: Entering directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/src' ITMRG 50-metacity-navigation.xml make[4]: Leaving directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/src' make[4]: Entering directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/src' ITMRG metacity-wm.desktop make[4]: Leaving directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/src' make[4]: Entering directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/src' ITMRG 50-metacity-system.xml make[4]: Leaving directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/src' make[4]: Entering directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/src' ITMRG 50-metacity-windows.xml make[4]: Leaving directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/src' make[4]: Entering directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/src' ITMRG org.gnome.metacity.gschema.xml make[4]: Leaving directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/src' make[4]: Entering directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/src' CCLD testboxes make[4]: Leaving directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/src' make[4]: Entering directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/src' CCLD libdeepin-metacity-private.la make[4]: Leaving directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/src' make[4]: Entering directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/src' CCLD testgradient make[4]: Leaving directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/src' make[4]: Entering directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/src' GEN org.gnome.metacity.gschema.valid make[4]: Leaving directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/src' make[4]: Entering directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/src' CCLD testasyncgetprop make[4]: Leaving directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/src' make[4]: Entering directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/src' CCLD deepin-metacity make[4]: Leaving directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/src' make[4]: Entering directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/src' CCLD deepin-metacity-theme-viewer make[4]: Leaving directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/src' Making all in po make[2]: Entering directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/po' MSGFMT ar.gmo make[2]: Leaving directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/po' make[2]: Entering directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/po' MSGFMT am.gmo make[2]: Leaving directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/po' make[2]: Entering directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/po' MSGFMT ast.gmo make[2]: Leaving directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/po' make[2]: Entering directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/po' MSGFMT as.gmo make[2]: Leaving directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/po' make[2]: Entering directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/po' MSGFMT az.gmo make[2]: Leaving directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/po' make[2]: Entering directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/po' MSGFMT be.gmo make[2]: Leaving directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/po' make[2]: Entering directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/po' MSGFMT bg.gmo make[2]: Leaving directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/po' make[2]: Entering directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/po' MSGFMT be@latin.gmo make[2]: Leaving directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/po' make[2]: Entering directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/po' MSGFMT bn_IN.gmo make[2]: Leaving directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/po' make[2]: Entering directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/po' MSGFMT bn.gmo make[2]: Leaving directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/po' make[2]: Entering directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/po' MSGFMT bs.gmo make[2]: Leaving directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/po' make[2]: Entering directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/po' MSGFMT br.gmo make[2]: Leaving directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/po' make[2]: Entering directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/po' MSGFMT ca@valencia.gmo make[2]: Leaving directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/po' make[2]: Entering directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/po' MSGFMT ca.gmo make[2]: Leaving directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/po' make[2]: Entering directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/po' MSGFMT cs.gmo make[2]: Leaving directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/po' make[2]: Entering directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/po' MSGFMT crh.gmo make[2]: Leaving directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/po' make[2]: Entering directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/po' MSGFMT da.gmo make[2]: Leaving directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/po' make[2]: Entering directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/po' MSGFMT cy.gmo make[2]: Leaving directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/po' make[2]: Entering directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/po' MSGFMT de.gmo make[2]: Leaving directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/po' make[2]: Entering directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/po' MSGFMT dz.gmo make[2]: Leaving directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/po' make[2]: Entering directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/po' MSGFMT el.gmo make[2]: Leaving directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/po' make[2]: Entering directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/po' MSGFMT en_CA.gmo make[2]: Leaving directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/po' make[2]: Entering directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/po' MSGFMT en_GB.gmo make[2]: Leaving directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/po' make[2]: Entering directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/po' MSGFMT en@shaw.gmo make[2]: Leaving directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/po' make[2]: Entering directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/po' MSGFMT eo.gmo make[2]: Leaving directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/po' make[2]: Entering directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/po' MSGFMT et.gmo make[2]: Leaving directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/po' make[2]: Entering directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/po' MSGFMT es.gmo make[2]: Leaving directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/po' make[2]: Entering directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/po' MSGFMT eu.gmo make[2]: Leaving directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/po' make[2]: Entering directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/po' MSGFMT fi.gmo make[2]: Leaving directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/po' make[2]: Entering directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/po' MSGFMT fa.gmo make[2]: Leaving directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/po' make[2]: Entering directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/po' MSGFMT fr.gmo make[2]: Leaving directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/po' make[2]: Entering directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/po' MSGFMT ga.gmo make[2]: Leaving directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/po' make[2]: Entering directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/po' MSGFMT gl.gmo make[2]: Leaving directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/po' make[2]: Entering directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/po' MSGFMT gu.gmo make[2]: Leaving directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/po' make[2]: Entering directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/po' MSGFMT ha.gmo make[2]: Leaving directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/po' make[2]: Entering directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/po' MSGFMT he.gmo make[2]: Leaving directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/po' make[2]: Entering directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/po' MSGFMT hi.gmo make[2]: Leaving directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/po' make[2]: Entering directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/po' MSGFMT hu.gmo make[2]: Leaving directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/po' make[2]: Entering directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/po' MSGFMT hr.gmo make[2]: Leaving directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/po' make[2]: Entering directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/po' MSGFMT id.gmo make[2]: Leaving directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/po' make[2]: Entering directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/po' MSGFMT hy.gmo make[2]: Leaving directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/po' make[2]: Entering directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/po' MSGFMT is.gmo make[2]: Leaving directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/po' make[2]: Entering directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/po' MSGFMT ig.gmo make[2]: Leaving directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/po' make[2]: Entering directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/po' MSGFMT it.gmo make[2]: Leaving directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/po' make[2]: Entering directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/po' MSGFMT ja.gmo make[2]: Leaving directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/po' make[2]: Entering directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/po' MSGFMT ka.gmo make[2]: Leaving directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/po' make[2]: Entering directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/po' MSGFMT kn.gmo make[2]: Leaving directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/po' make[2]: Entering directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/po' MSGFMT ko.gmo make[2]: Leaving directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/po' make[2]: Entering directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/po' MSGFMT la.gmo make[2]: Leaving directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/po' make[2]: Entering directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/po' MSGFMT ku.gmo make[2]: Leaving directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/po' make[2]: Entering directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/po' MSGFMT lt.gmo make[2]: Leaving directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/po' make[2]: Entering directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/po' MSGFMT lv.gmo make[2]: Leaving directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/po' make[2]: Entering directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/po' MSGFMT mai.gmo make[2]: Leaving directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/po' make[2]: Entering directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/po' MSGFMT mg.gmo make[2]: Leaving directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/po' make[2]: Entering directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/po' MSGFMT mk.gmo make[2]: Leaving directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/po' make[2]: Entering directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/po' MSGFMT ml.gmo make[2]: Leaving directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/po' make[2]: Entering directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/po' MSGFMT mr.gmo make[2]: Leaving directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/po' make[2]: Entering directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/po' MSGFMT mn.gmo make[2]: Leaving directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/po' make[2]: Entering directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/po' MSGFMT nb.gmo make[2]: Leaving directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/po' make[2]: Entering directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/po' MSGFMT ms.gmo make[2]: Leaving directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/po' make[2]: Entering directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/po' MSGFMT nds.gmo make[2]: Leaving directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/po' make[2]: Entering directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/po' MSGFMT ne.gmo make[2]: Leaving directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/po' make[2]: Entering directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/po' MSGFMT nl.gmo make[2]: Leaving directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/po' make[2]: Entering directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/po' MSGFMT oc.gmo make[2]: Leaving directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/po' make[2]: Entering directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/po' MSGFMT nn.gmo make[2]: Leaving directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/po' make[2]: Entering directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/po' MSGFMT or.gmo make[2]: Leaving directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/po' make[2]: Entering directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/po' MSGFMT pl.gmo make[2]: Leaving directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/po' make[2]: Entering directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/po' MSGFMT pa.gmo make[2]: Leaving directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/po' make[2]: Entering directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/po' MSGFMT pt.gmo make[2]: Leaving directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/po' make[2]: Entering directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/po' MSGFMT pt_BR.gmo make[2]: Leaving directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/po' make[2]: Entering directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/po' MSGFMT ru.gmo make[2]: Leaving directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/po' make[2]: Entering directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/po' MSGFMT ro.gmo make[2]: Leaving directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/po' make[2]: Entering directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/po' MSGFMT si.gmo make[2]: Leaving directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/po' make[2]: Entering directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/po' MSGFMT rw.gmo make[2]: Leaving directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/po' make[2]: Entering directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/po' MSGFMT sl.gmo make[2]: Leaving directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/po' make[2]: Entering directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/po' MSGFMT sk.gmo make[2]: Leaving directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/po' make[2]: Entering directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/po' MSGFMT sq.gmo make[2]: Leaving directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/po' make[2]: Entering directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/po' MSGFMT sr.gmo make[2]: Leaving directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/po' make[2]: Entering directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/po' MSGFMT sv.gmo make[2]: Leaving directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/po' make[2]: Entering directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/po' MSGFMT sr@latin.gmo make[2]: Leaving directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/po' make[2]: Entering directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/po' MSGFMT ta.gmo make[2]: Leaving directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/po' make[2]: Entering directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/po' MSGFMT te.gmo make[2]: Leaving directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/po' make[2]: Entering directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/po' MSGFMT tk.gmo make[2]: Leaving directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/po' make[2]: Entering directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/po' MSGFMT th.gmo make[2]: Leaving directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/po' make[2]: Entering directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/po' MSGFMT tr.gmo make[2]: Leaving directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/po' make[2]: Entering directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/po' MSGFMT ug.gmo make[2]: Leaving directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/po' make[2]: Entering directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/po' MSGFMT uk.gmo make[2]: Leaving directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/po' make[2]: Entering directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/po' MSGFMT vi.gmo make[2]: Leaving directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/po' make[2]: Entering directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/po' MSGFMT wa.gmo make[2]: Leaving directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/po' make[2]: Entering directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/po' MSGFMT xh.gmo make[2]: Leaving directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/po' make[2]: Entering directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/po' MSGFMT yo.gmo make[2]: Leaving directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/po' make[2]: Entering directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/po' MSGFMT zh_CN.gmo make[2]: Leaving directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/po' make[2]: Entering directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/po' MSGFMT zh_HK.gmo make[2]: Leaving directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/po' make[2]: Entering directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/po' MSGFMT zh_TW.gmo make[2]: Leaving directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/po' + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.d0feH6 + umask 022 + cd /home/zsun/rpmbuild/BUILD + '[' /home/zsun/rpmbuild/BUILDROOT/deepin-metacity-3.22.10-1.fc26.x86_64 '!=' / ']' + rm -rf /home/zsun/rpmbuild/BUILDROOT/deepin-metacity-3.22.10-1.fc26.x86_64 ++ dirname /home/zsun/rpmbuild/BUILDROOT/deepin-metacity-3.22.10-1.fc26.x86_64 + mkdir -p /home/zsun/rpmbuild/BUILDROOT + mkdir /home/zsun/rpmbuild/BUILDROOT/deepin-metacity-3.22.10-1.fc26.x86_64 + cd deepin-metacity-3.22.10 + /usr/bin/make install DESTDIR=/home/zsun/rpmbuild/BUILDROOT/deepin-metacity-3.22.10-1.fc26.x86_64 PREFIX=/usr Making install in doc make[1]: Entering directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/doc' Making install in man make[2]: Entering directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/doc/man' make[3]: Entering directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/doc/man' make[3]: Nothing to be done for 'install-exec-am'. /usr/bin/mkdir -p '/home/zsun/rpmbuild/BUILDROOT/deepin-metacity-3.22.10-1.fc26.x86_64/usr/share/man/man1' /usr/bin/install -c -m 644 metacity.1 metacity-theme-viewer.1 metacity-window-demo.1 metacity-message.1 '/home/zsun/rpmbuild/BUILDROOT/deepin-metacity-3.22.10-1.fc26.x86_64/usr/share/man/man1' /usr/bin/make install-data-hook make[4]: Entering directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/doc/man' cd /home/zsun/rpmbuild/BUILDROOT/deepin-metacity-3.22.10-1.fc26.x86_64 && find ./usr/share/man -type f -a -name '*metacity*' | awk '{a=$0; gsub("metacity", "deepin-metacity", $0); print "mv" ,a,$0}' | sh - make[4]: Leaving directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/doc/man' make[3]: Leaving directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/doc/man' make[2]: Leaving directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/doc/man' Making install in creating_themes make[2]: Entering directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/doc/creating_themes' make[3]: Entering directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/doc/creating_themes' make[3]: Nothing to be done for 'install-exec-am'. /usr/bin/install -c -m 644 C/index.docbook /home/zsun/rpmbuild/BUILDROOT/deepin-metacity-3.22.10-1.fc26.x86_64/usr/share/help/C/creating-deepin-metacity-themes/index.docbook /usr/bin/install -c -m 644 de/index.docbook /home/zsun/rpmbuild/BUILDROOT/deepin-metacity-3.22.10-1.fc26.x86_64/usr/share/help/de/creating-deepin-metacity-themes/index.docbook make[3]: Leaving directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/doc/creating_themes' make[2]: Leaving directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/doc/creating_themes' make[2]: Entering directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/doc' make[3]: Entering directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/doc' make[3]: Nothing to be done for 'install-exec-am'. make[3]: Nothing to be done for 'install-data-am'. make[3]: Leaving directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/doc' make[2]: Leaving directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/doc' make[1]: Leaving directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/doc' Making install in src make[1]: Entering directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/src' /usr/bin/make install-recursive make[2]: Entering directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/src' Making install in tools make[3]: Entering directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/src/tools' make[4]: Entering directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/src/tools' /usr/bin/mkdir -p '/home/zsun/rpmbuild/BUILDROOT/deepin-metacity-3.22.10-1.fc26.x86_64/usr/bin' /bin/sh ../../libtool --mode=install /usr/bin/install -c metacity-message metacity-window-demo '/home/zsun/rpmbuild/BUILDROOT/deepin-metacity-3.22.10-1.fc26.x86_64/usr/bin' libtool: install: /usr/bin/install -c metacity-message /home/zsun/rpmbuild/BUILDROOT/deepin-metacity-3.22.10-1.fc26.x86_64/usr/bin/metacity-message libtool: install: /usr/bin/install -c metacity-window-demo /home/zsun/rpmbuild/BUILDROOT/deepin-metacity-3.22.10-1.fc26.x86_64/usr/bin/metacity-window-demo /usr/bin/mkdir -p '/home/zsun/rpmbuild/BUILDROOT/deepin-metacity-3.22.10-1.fc26.x86_64/usr/share/deepin-metacity/icons' /usr/bin/install -c -m 644 metacity-window-demo.png '/home/zsun/rpmbuild/BUILDROOT/deepin-metacity-3.22.10-1.fc26.x86_64/usr/share/deepin-metacity/icons' make[4]: Leaving directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/src/tools' make[3]: Leaving directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/src/tools' Making install in themes make[3]: Entering directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/src/themes' make[4]: Entering directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/src/themes' make[4]: Nothing to be done for 'install-exec-am'. /bin/sh /home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/build-aux/install-sh -d /home/zsun/rpmbuild/BUILDROOT/deepin-metacity-3.22.10-1.fc26.x86_64/usr/share/themes; \ for THEME in Adwaita Atlanta Bright Crux Esco HighContrast AgingGorilla Metabox Simple; do \ echo '-- Installing theme '$THEME; \ /bin/sh /home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/build-aux/install-sh -d /home/zsun/rpmbuild/BUILDROOT/deepin-metacity-3.22.10-1.fc26.x86_64/usr/share/themes/$THEME; \ /bin/sh /home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/build-aux/install-sh -d /home/zsun/rpmbuild/BUILDROOT/deepin-metacity-3.22.10-1.fc26.x86_64/usr/share/themes/$THEME/deepin-metacity-1; \ (installfiles=`find ./$THEME -name "*.png" -o -name "*.xml"`; \ for i in $installfiles; do \ echo '-- Installing '$i ; \ /usr/bin/install -c -m 644 $i /home/zsun/rpmbuild/BUILDROOT/deepin-metacity-3.22.10-1.fc26.x86_64/usr/share/themes/$THEME/deepin-metacity-1 ; \ done) \ done -- Installing theme Adwaita -- Installing ./Adwaita/metacity-theme-3.xml -- Installing theme Atlanta -- Installing ./Atlanta/metacity-theme-1.xml -- Installing theme Bright -- Installing ./Bright/metacity-theme-1.xml -- Installing ./Bright/metacity-theme-2.xml -- Installing theme Crux -- Installing ./Crux/active-restore-button.png -- Installing ./Crux/inactive-maximize-button.png -- Installing ./Crux/inactive-restore-button.png -- Installing ./Crux/active-bottom-mid-left-border.png -- Installing ./Crux/metacity-theme-1.xml -- Installing ./Crux/active-unstick-button.png -- Installing ./Crux/active-button-pressed.png -- Installing ./Crux/active-minimize-button.png -- Installing ./Crux/active-menu-button-pressed.png -- Installing ./Crux/active-right-top-border.png -- Installing ./Crux/active-button-prelight.png -- Installing ./Crux/active-close-button.png -- Installing ./Crux/inactive-menu-button-prelight.png -- Installing ./Crux/inactive-border-top-right-border.png -- Installing ./Crux/inactive-bottom-right-corner.png -- Installing ./Crux/active-bottom-right-border.png -- Installing ./Crux/inactive-top-left-border.png -- Installing ./Crux/inactive-unabove-button.png -- Installing ./Crux/inactive-top-center-left.png -- Installing ./Crux/active-bottom-left-corner.png -- Installing ./Crux/active-border-top-left-border.png -- Installing ./Crux/active-bottom-right-corner.png -- Installing ./Crux/active-border-top-right-border.png -- Installing ./Crux/inactive-left-top-border.png -- Installing ./Crux/inactive-minimize-button.png -- Installing ./Crux/inactive-right-top-border-shaded.png -- Installing ./Crux/active-left-top-border.png -- Installing ./Crux/active-top-center-mid-left.png -- Installing ./Crux/active-top-right-corner.png -- Installing ./Crux/inactive-right-border.png -- Installing ./Crux/inactive-bottom-mid-border.png -- Installing ./Crux/active-above-button.png -- Installing ./Crux/active-button.png -- Installing ./Crux/active-bottom-left-border.png -- Installing ./Crux/active-top-center-right.png -- Installing ./Crux/inactive-menu-button-pressed.png -- Installing ./Crux/inactive-top-center-mid.png -- Installing ./Crux/inactive-unstick-button.png -- Installing ./Crux/active-maximize-button.png -- Installing ./Crux/active-left-border.png -- Installing ./Crux/active-bottom-mid-right-border.png -- Installing ./Crux/metacity-theme-2.xml -- Installing ./Crux/inactive-bottom-left-border.png -- Installing ./Crux/inactive-right-top-border.png -- Installing ./Crux/active-top-right-border.png -- Installing ./Crux/active-right-top-border-shaded.png -- Installing ./Crux/active-stick-button.png -- Installing ./Crux/inactive-top-mid-border.png -- Installing ./Crux/active-menu-button-prelight.png -- Installing ./Crux/inactive-above-button.png -- Installing ./Crux/inactive-close-button.png -- Installing ./Crux/inactive-button.png -- Installing ./Crux/active-unshade-button.png -- Installing ./Crux/inactive-top-center-right.png -- Installing ./Crux/inactive-left-border.png -- Installing ./Crux/active-top-left-border.png -- Installing ./Crux/active-top-center-mid-right.png -- Installing ./Crux/inactive-menu-button.png -- Installing ./Crux/active-menu-button.png -- Installing ./Crux/inactive-left-top-border-shaded.png -- Installing ./Crux/inactive-stick-button.png -- Installing ./Crux/inactive-button-prelight.png -- Installing ./Crux/active-top-center-left.png -- Installing ./Crux/active-unabove-button.png -- Installing ./Crux/inactive-button-pressed.png -- Installing ./Crux/inactive-shade-button.png -- Installing ./Crux/active-right-border.png -- Installing ./Crux/active-left-top-border-shaded.png -- Installing ./Crux/inactive-bottom-right-border.png -- Installing ./Crux/active-top-left-corner.png -- Installing ./Crux/inactive-bottom-left-corner.png -- Installing ./Crux/inactive-border-top-left-border.png -- Installing ./Crux/active-top-mid-left-border.png -- Installing ./Crux/inactive-top-left-corner.png -- Installing ./Crux/inactive-top-right-corner.png -- Installing ./Crux/active-shade-button.png -- Installing ./Crux/inactive-unshade-button.png -- Installing ./Crux/inactive-top-right-border.png -- Installing ./Crux/active-top-mid-right-border.png -- Installing theme Esco -- Installing ./Esco/metacity-theme-1.xml -- Installing theme HighContrast -- Installing ./HighContrast/metacity-theme-3.xml -- Installing theme AgingGorilla -- Installing ./AgingGorilla/inactive-maximize-button.png -- Installing ./AgingGorilla/metacity-theme-1.xml -- Installing ./AgingGorilla/active-minimize-button.png -- Installing ./AgingGorilla/active-close-button.png -- Installing ./AgingGorilla/inactive-minimize-button.png -- Installing ./AgingGorilla/active-button.png -- Installing ./AgingGorilla/active-maximize-button.png -- Installing ./AgingGorilla/active-minimize-menu-icon.png -- Installing ./AgingGorilla/active-maximize-menu-icon.png -- Installing ./AgingGorilla/inactive-close-button.png -- Installing ./AgingGorilla/inactive-menu-button.png -- Installing ./AgingGorilla/active-menu-button.png -- Installing ./AgingGorilla/active-close-menu-icon.png -- Installing theme Metabox -- Installing ./Metabox/metacity-theme-1.xml -- Installing theme Simple -- Installing ./Simple/metacity-theme-1.xml -- Installing ./Simple/close.png -- Installing ./Simple/maximized.png -- Installing ./Simple/minimize.png -- Installing ./Simple/maximize.png make[4]: Leaving directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/src/themes' make[3]: Leaving directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/src/themes' make[3]: Entering directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/src' make[4]: Entering directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/src' /usr/bin/mkdir -p '/home/zsun/rpmbuild/BUILDROOT/deepin-metacity-3.22.10-1.fc26.x86_64/usr/lib64' /bin/sh ../libtool --mode=install /usr/bin/install -c libdeepin-metacity-private.la '/home/zsun/rpmbuild/BUILDROOT/deepin-metacity-3.22.10-1.fc26.x86_64/usr/lib64' libtool: install: /usr/bin/install -c .libs/libdeepin-metacity-private.so.3.0.0 /home/zsun/rpmbuild/BUILDROOT/deepin-metacity-3.22.10-1.fc26.x86_64/usr/lib64/libdeepin-metacity-private.so.3.0.0 libtool: install: (cd /home/zsun/rpmbuild/BUILDROOT/deepin-metacity-3.22.10-1.fc26.x86_64/usr/lib64 && { ln -s -f libdeepin-metacity-private.so.3.0.0 libdeepin-metacity-private.so.3 || { rm -f libdeepin-metacity-private.so.3 && ln -s libdeepin-metacity-private.so.3.0.0 libdeepin-metacity-private.so.3; }; }) libtool: install: (cd /home/zsun/rpmbuild/BUILDROOT/deepin-metacity-3.22.10-1.fc26.x86_64/usr/lib64 && { ln -s -f libdeepin-metacity-private.so.3.0.0 libdeepin-metacity-private.so || { rm -f libdeepin-metacity-private.so && ln -s libdeepin-metacity-private.so.3.0.0 libdeepin-metacity-private.so; }; }) libtool: install: /usr/bin/install -c .libs/libdeepin-metacity-private.lai /home/zsun/rpmbuild/BUILDROOT/deepin-metacity-3.22.10-1.fc26.x86_64/usr/lib64/libdeepin-metacity-private.la libtool: warning: remember to run 'libtool --finish /usr/lib64' /usr/bin/mkdir -p '/home/zsun/rpmbuild/BUILDROOT/deepin-metacity-3.22.10-1.fc26.x86_64/usr/bin' /bin/sh ../libtool --mode=install /usr/bin/install -c deepin-metacity deepin-metacity-theme-viewer '/home/zsun/rpmbuild/BUILDROOT/deepin-metacity-3.22.10-1.fc26.x86_64/usr/bin' libtool: warning: 'libdeepin-metacity-private.la' has not been installed in '/usr/lib64' libtool: install: /usr/bin/install -c .libs/deepin-metacity /home/zsun/rpmbuild/BUILDROOT/deepin-metacity-3.22.10-1.fc26.x86_64/usr/bin/deepin-metacity libtool: warning: 'libdeepin-metacity-private.la' has not been installed in '/usr/lib64' libtool: install: /usr/bin/install -c .libs/deepin-metacity-theme-viewer /home/zsun/rpmbuild/BUILDROOT/deepin-metacity-3.22.10-1.fc26.x86_64/usr/bin/deepin-metacity-theme-viewer /usr/bin/mkdir -p '/home/zsun/rpmbuild/BUILDROOT/deepin-metacity-3.22.10-1.fc26.x86_64/usr/share/GConf/gsettings/' /usr/bin/install -c -m 644 metacity-schemas.convert '/home/zsun/rpmbuild/BUILDROOT/deepin-metacity-3.22.10-1.fc26.x86_64/usr/share/GConf/gsettings/' /usr/bin/mkdir -p '/home/zsun/rpmbuild/BUILDROOT/deepin-metacity-3.22.10-1.fc26.x86_64/usr/share/applications' /usr/bin/install -c -m 644 metacity.desktop '/home/zsun/rpmbuild/BUILDROOT/deepin-metacity-3.22.10-1.fc26.x86_64/usr/share/applications' /usr/bin/mkdir -p '/home/zsun/rpmbuild/BUILDROOT/deepin-metacity-3.22.10-1.fc26.x86_64/usr/include/deepin-metacity/metacity-private' /usr/bin/install -c -m 644 include/boxes.h ui/gradient.h include/util.h include/common.h ui/preview-widget.h ui/theme-parser.h ui/theme.h '/home/zsun/rpmbuild/BUILDROOT/deepin-metacity-3.22.10-1.fc26.x86_64/usr/include/deepin-metacity/metacity-private' /usr/bin/mkdir -p '/home/zsun/rpmbuild/BUILDROOT/deepin-metacity-3.22.10-1.fc26.x86_64/usr/lib64/pkgconfig' /usr/bin/install -c -m 644 libmetacity-private.pc '/home/zsun/rpmbuild/BUILDROOT/deepin-metacity-3.22.10-1.fc26.x86_64/usr/lib64/pkgconfig' /usr/bin/mkdir -p '/home/zsun/rpmbuild/BUILDROOT/deepin-metacity-3.22.10-1.fc26.x86_64/usr/share/deepin-metacity' /usr/bin/install -c -m 644 deepin-wm.css texture.png close.png path.svg close_hover.png close_normal.png close_press.png close_marker_hover.png close_marker_press.png sticked_hover.png sticked_normal.png sticked_press.png unsticked_hover.png unsticked_normal.png unsticked_press.png deepin-toggle-desktop.svg topleft.png topright.png bottomleft.png bottomright.png '/home/zsun/rpmbuild/BUILDROOT/deepin-metacity-3.22.10-1.fc26.x86_64/usr/share/deepin-metacity' /usr/bin/mkdir -p '/home/zsun/rpmbuild/BUILDROOT/deepin-metacity-3.22.10-1.fc26.x86_64/usr/share/gnome/wm-properties' /usr/bin/install -c -m 644 metacity-wm.desktop '/home/zsun/rpmbuild/BUILDROOT/deepin-metacity-3.22.10-1.fc26.x86_64/usr/share/gnome/wm-properties' /usr/bin/mkdir -p '/home/zsun/rpmbuild/BUILDROOT/deepin-metacity-3.22.10-1.fc26.x86_64/usr/share/gnome-control-center/keybindings' /usr/bin/install -c -m 644 50-metacity-navigation.xml 50-metacity-system.xml 50-metacity-windows.xml '/home/zsun/rpmbuild/BUILDROOT/deepin-metacity-3.22.10-1.fc26.x86_64/usr/share/gnome-control-center/keybindings' if test -n "org.gnome.metacity.gschema.xml"; then \ test -z "/usr/share/glib-2.0/schemas" || /usr/bin/mkdir -p "/home/zsun/rpmbuild/BUILDROOT/deepin-metacity-3.22.10-1.fc26.x86_64/usr/share/glib-2.0/schemas"; \ /usr/bin/install -c -m 644 org.gnome.metacity.gschema.xml "/home/zsun/rpmbuild/BUILDROOT/deepin-metacity-3.22.10-1.fc26.x86_64/usr/share/glib-2.0/schemas"; \ test -n "1/home/zsun/rpmbuild/BUILDROOT/deepin-metacity-3.22.10-1.fc26.x86_64" || glib-compile-schemas /usr/share/glib-2.0/schemas; \ fi /usr/bin/make install-data-hook make[5]: Entering directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/src' cd /home/zsun/rpmbuild/BUILDROOT/deepin-metacity-3.22.10-1.fc26.x86_64 && find ./ -type f -a -name '*metacity*' |grep -v gschema.xml | grep -v deepin-metacity | awk '{a=$0; gsub("metacity", "deepin-metacity", $0); print "mv" ,a,$0}' | sh - mv /home/zsun/rpmbuild/BUILDROOT/deepin-metacity-3.22.10-1.fc26.x86_64/usr/share/glib-2.0/schemas/org.gnome.metacity.gschema.xml /home/zsun/rpmbuild/BUILDROOT/deepin-metacity-3.22.10-1.fc26.x86_64/usr/share/glib-2.0/schemas/com.deepin.wrap.gnome.metacity.gschema.xml make[5]: Leaving directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/src' make[4]: Leaving directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/src' make[3]: Leaving directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/src' make[2]: Leaving directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/src' make[1]: Leaving directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/src' Making install in po make[1]: Entering directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/po' linguas="am ar as ast az be be@latin bg bn bn_IN br bs ca ca@valencia crh cs cy da de dz el en_CA en_GB en@shaw eo es et eu fa fi fr ga gl gu ha he hi hr hu hy id ig is it ja ka kn ko ku la lt lv mai mg mk ml mn mr ms nb nds ne nl nn oc or pa pl pt pt_BR ro ru rw si sk sl sq sr sr@latin sv ta te th tk tr ug uk vi wa xh yo zh_CN zh_HK zh_TW "; \ for lang in $linguas; do \ dir=/home/zsun/rpmbuild/BUILDROOT/deepin-metacity-3.22.10-1.fc26.x86_64/usr/share/locale/$lang/LC_MESSAGES; \ /bin/sh /home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/build-aux/install-sh -d $dir; \ if test -r $lang.gmo; then \ /usr/bin/install -c -m 644 $lang.gmo $dir/deepin-metacity.mo; \ echo "installing $lang.gmo as $dir/deepin-metacity.mo"; \ else \ /usr/bin/install -c -m 644 ./$lang.gmo $dir/deepin-metacity.mo; \ echo "installing ./$lang.gmo as" \ "$dir/deepin-metacity.mo"; \ fi; \ if test -r $lang.gmo.m; then \ /usr/bin/install -c -m 644 $lang.gmo.m $dir/deepin-metacity.mo.m; \ echo "installing $lang.gmo.m as $dir/deepin-metacity.mo.m"; \ else \ if test -r ./$lang.gmo.m ; then \ /usr/bin/install -c -m 644 ./$lang.gmo.m \ $dir/deepin-metacity.mo.m; \ echo "installing ./$lang.gmo.m as" \ "$dir/deepin-metacity.mo.m"; \ else \ true; \ fi; \ fi; \ done installing am.gmo as /home/zsun/rpmbuild/BUILDROOT/deepin-metacity-3.22.10-1.fc26.x86_64/usr/share/locale/am/LC_MESSAGES/deepin-metacity.mo installing ar.gmo as /home/zsun/rpmbuild/BUILDROOT/deepin-metacity-3.22.10-1.fc26.x86_64/usr/share/locale/ar/LC_MESSAGES/deepin-metacity.mo installing as.gmo as /home/zsun/rpmbuild/BUILDROOT/deepin-metacity-3.22.10-1.fc26.x86_64/usr/share/locale/as/LC_MESSAGES/deepin-metacity.mo installing ast.gmo as /home/zsun/rpmbuild/BUILDROOT/deepin-metacity-3.22.10-1.fc26.x86_64/usr/share/locale/ast/LC_MESSAGES/deepin-metacity.mo installing az.gmo as /home/zsun/rpmbuild/BUILDROOT/deepin-metacity-3.22.10-1.fc26.x86_64/usr/share/locale/az/LC_MESSAGES/deepin-metacity.mo installing be.gmo as /home/zsun/rpmbuild/BUILDROOT/deepin-metacity-3.22.10-1.fc26.x86_64/usr/share/locale/be/LC_MESSAGES/deepin-metacity.mo installing be@latin.gmo as /home/zsun/rpmbuild/BUILDROOT/deepin-metacity-3.22.10-1.fc26.x86_64/usr/share/locale/be@latin/LC_MESSAGES/deepin-metacity.mo installing bg.gmo as /home/zsun/rpmbuild/BUILDROOT/deepin-metacity-3.22.10-1.fc26.x86_64/usr/share/locale/bg/LC_MESSAGES/deepin-metacity.mo installing bn.gmo as /home/zsun/rpmbuild/BUILDROOT/deepin-metacity-3.22.10-1.fc26.x86_64/usr/share/locale/bn/LC_MESSAGES/deepin-metacity.mo installing bn_IN.gmo as /home/zsun/rpmbuild/BUILDROOT/deepin-metacity-3.22.10-1.fc26.x86_64/usr/share/locale/bn_IN/LC_MESSAGES/deepin-metacity.mo installing br.gmo as /home/zsun/rpmbuild/BUILDROOT/deepin-metacity-3.22.10-1.fc26.x86_64/usr/share/locale/br/LC_MESSAGES/deepin-metacity.mo installing bs.gmo as /home/zsun/rpmbuild/BUILDROOT/deepin-metacity-3.22.10-1.fc26.x86_64/usr/share/locale/bs/LC_MESSAGES/deepin-metacity.mo installing ca.gmo as /home/zsun/rpmbuild/BUILDROOT/deepin-metacity-3.22.10-1.fc26.x86_64/usr/share/locale/ca/LC_MESSAGES/deepin-metacity.mo installing ca@valencia.gmo as /home/zsun/rpmbuild/BUILDROOT/deepin-metacity-3.22.10-1.fc26.x86_64/usr/share/locale/ca@valencia/LC_MESSAGES/deepin-metacity.mo installing crh.gmo as /home/zsun/rpmbuild/BUILDROOT/deepin-metacity-3.22.10-1.fc26.x86_64/usr/share/locale/crh/LC_MESSAGES/deepin-metacity.mo installing cs.gmo as /home/zsun/rpmbuild/BUILDROOT/deepin-metacity-3.22.10-1.fc26.x86_64/usr/share/locale/cs/LC_MESSAGES/deepin-metacity.mo installing cy.gmo as /home/zsun/rpmbuild/BUILDROOT/deepin-metacity-3.22.10-1.fc26.x86_64/usr/share/locale/cy/LC_MESSAGES/deepin-metacity.mo installing da.gmo as /home/zsun/rpmbuild/BUILDROOT/deepin-metacity-3.22.10-1.fc26.x86_64/usr/share/locale/da/LC_MESSAGES/deepin-metacity.mo installing de.gmo as /home/zsun/rpmbuild/BUILDROOT/deepin-metacity-3.22.10-1.fc26.x86_64/usr/share/locale/de/LC_MESSAGES/deepin-metacity.mo installing dz.gmo as /home/zsun/rpmbuild/BUILDROOT/deepin-metacity-3.22.10-1.fc26.x86_64/usr/share/locale/dz/LC_MESSAGES/deepin-metacity.mo installing el.gmo as /home/zsun/rpmbuild/BUILDROOT/deepin-metacity-3.22.10-1.fc26.x86_64/usr/share/locale/el/LC_MESSAGES/deepin-metacity.mo installing en_CA.gmo as /home/zsun/rpmbuild/BUILDROOT/deepin-metacity-3.22.10-1.fc26.x86_64/usr/share/locale/en_CA/LC_MESSAGES/deepin-metacity.mo installing en_GB.gmo as /home/zsun/rpmbuild/BUILDROOT/deepin-metacity-3.22.10-1.fc26.x86_64/usr/share/locale/en_GB/LC_MESSAGES/deepin-metacity.mo installing en@shaw.gmo as /home/zsun/rpmbuild/BUILDROOT/deepin-metacity-3.22.10-1.fc26.x86_64/usr/share/locale/en@shaw/LC_MESSAGES/deepin-metacity.mo installing eo.gmo as /home/zsun/rpmbuild/BUILDROOT/deepin-metacity-3.22.10-1.fc26.x86_64/usr/share/locale/eo/LC_MESSAGES/deepin-metacity.mo installing es.gmo as /home/zsun/rpmbuild/BUILDROOT/deepin-metacity-3.22.10-1.fc26.x86_64/usr/share/locale/es/LC_MESSAGES/deepin-metacity.mo installing et.gmo as /home/zsun/rpmbuild/BUILDROOT/deepin-metacity-3.22.10-1.fc26.x86_64/usr/share/locale/et/LC_MESSAGES/deepin-metacity.mo installing eu.gmo as /home/zsun/rpmbuild/BUILDROOT/deepin-metacity-3.22.10-1.fc26.x86_64/usr/share/locale/eu/LC_MESSAGES/deepin-metacity.mo installing fa.gmo as /home/zsun/rpmbuild/BUILDROOT/deepin-metacity-3.22.10-1.fc26.x86_64/usr/share/locale/fa/LC_MESSAGES/deepin-metacity.mo installing fi.gmo as /home/zsun/rpmbuild/BUILDROOT/deepin-metacity-3.22.10-1.fc26.x86_64/usr/share/locale/fi/LC_MESSAGES/deepin-metacity.mo installing fr.gmo as /home/zsun/rpmbuild/BUILDROOT/deepin-metacity-3.22.10-1.fc26.x86_64/usr/share/locale/fr/LC_MESSAGES/deepin-metacity.mo installing ga.gmo as /home/zsun/rpmbuild/BUILDROOT/deepin-metacity-3.22.10-1.fc26.x86_64/usr/share/locale/ga/LC_MESSAGES/deepin-metacity.mo installing gl.gmo as /home/zsun/rpmbuild/BUILDROOT/deepin-metacity-3.22.10-1.fc26.x86_64/usr/share/locale/gl/LC_MESSAGES/deepin-metacity.mo installing gu.gmo as /home/zsun/rpmbuild/BUILDROOT/deepin-metacity-3.22.10-1.fc26.x86_64/usr/share/locale/gu/LC_MESSAGES/deepin-metacity.mo installing ha.gmo as /home/zsun/rpmbuild/BUILDROOT/deepin-metacity-3.22.10-1.fc26.x86_64/usr/share/locale/ha/LC_MESSAGES/deepin-metacity.mo installing he.gmo as /home/zsun/rpmbuild/BUILDROOT/deepin-metacity-3.22.10-1.fc26.x86_64/usr/share/locale/he/LC_MESSAGES/deepin-metacity.mo installing hi.gmo as /home/zsun/rpmbuild/BUILDROOT/deepin-metacity-3.22.10-1.fc26.x86_64/usr/share/locale/hi/LC_MESSAGES/deepin-metacity.mo installing hr.gmo as /home/zsun/rpmbuild/BUILDROOT/deepin-metacity-3.22.10-1.fc26.x86_64/usr/share/locale/hr/LC_MESSAGES/deepin-metacity.mo installing hu.gmo as /home/zsun/rpmbuild/BUILDROOT/deepin-metacity-3.22.10-1.fc26.x86_64/usr/share/locale/hu/LC_MESSAGES/deepin-metacity.mo installing hy.gmo as /home/zsun/rpmbuild/BUILDROOT/deepin-metacity-3.22.10-1.fc26.x86_64/usr/share/locale/hy/LC_MESSAGES/deepin-metacity.mo installing id.gmo as /home/zsun/rpmbuild/BUILDROOT/deepin-metacity-3.22.10-1.fc26.x86_64/usr/share/locale/id/LC_MESSAGES/deepin-metacity.mo installing ig.gmo as /home/zsun/rpmbuild/BUILDROOT/deepin-metacity-3.22.10-1.fc26.x86_64/usr/share/locale/ig/LC_MESSAGES/deepin-metacity.mo installing is.gmo as /home/zsun/rpmbuild/BUILDROOT/deepin-metacity-3.22.10-1.fc26.x86_64/usr/share/locale/is/LC_MESSAGES/deepin-metacity.mo installing it.gmo as /home/zsun/rpmbuild/BUILDROOT/deepin-metacity-3.22.10-1.fc26.x86_64/usr/share/locale/it/LC_MESSAGES/deepin-metacity.mo installing ja.gmo as /home/zsun/rpmbuild/BUILDROOT/deepin-metacity-3.22.10-1.fc26.x86_64/usr/share/locale/ja/LC_MESSAGES/deepin-metacity.mo installing ka.gmo as /home/zsun/rpmbuild/BUILDROOT/deepin-metacity-3.22.10-1.fc26.x86_64/usr/share/locale/ka/LC_MESSAGES/deepin-metacity.mo installing kn.gmo as /home/zsun/rpmbuild/BUILDROOT/deepin-metacity-3.22.10-1.fc26.x86_64/usr/share/locale/kn/LC_MESSAGES/deepin-metacity.mo installing ko.gmo as /home/zsun/rpmbuild/BUILDROOT/deepin-metacity-3.22.10-1.fc26.x86_64/usr/share/locale/ko/LC_MESSAGES/deepin-metacity.mo installing ku.gmo as /home/zsun/rpmbuild/BUILDROOT/deepin-metacity-3.22.10-1.fc26.x86_64/usr/share/locale/ku/LC_MESSAGES/deepin-metacity.mo installing la.gmo as /home/zsun/rpmbuild/BUILDROOT/deepin-metacity-3.22.10-1.fc26.x86_64/usr/share/locale/la/LC_MESSAGES/deepin-metacity.mo installing lt.gmo as /home/zsun/rpmbuild/BUILDROOT/deepin-metacity-3.22.10-1.fc26.x86_64/usr/share/locale/lt/LC_MESSAGES/deepin-metacity.mo installing lv.gmo as /home/zsun/rpmbuild/BUILDROOT/deepin-metacity-3.22.10-1.fc26.x86_64/usr/share/locale/lv/LC_MESSAGES/deepin-metacity.mo installing mai.gmo as /home/zsun/rpmbuild/BUILDROOT/deepin-metacity-3.22.10-1.fc26.x86_64/usr/share/locale/mai/LC_MESSAGES/deepin-metacity.mo installing mg.gmo as /home/zsun/rpmbuild/BUILDROOT/deepin-metacity-3.22.10-1.fc26.x86_64/usr/share/locale/mg/LC_MESSAGES/deepin-metacity.mo installing mk.gmo as /home/zsun/rpmbuild/BUILDROOT/deepin-metacity-3.22.10-1.fc26.x86_64/usr/share/locale/mk/LC_MESSAGES/deepin-metacity.mo installing ml.gmo as /home/zsun/rpmbuild/BUILDROOT/deepin-metacity-3.22.10-1.fc26.x86_64/usr/share/locale/ml/LC_MESSAGES/deepin-metacity.mo installing mn.gmo as /home/zsun/rpmbuild/BUILDROOT/deepin-metacity-3.22.10-1.fc26.x86_64/usr/share/locale/mn/LC_MESSAGES/deepin-metacity.mo installing mr.gmo as /home/zsun/rpmbuild/BUILDROOT/deepin-metacity-3.22.10-1.fc26.x86_64/usr/share/locale/mr/LC_MESSAGES/deepin-metacity.mo installing ms.gmo as /home/zsun/rpmbuild/BUILDROOT/deepin-metacity-3.22.10-1.fc26.x86_64/usr/share/locale/ms/LC_MESSAGES/deepin-metacity.mo installing nb.gmo as /home/zsun/rpmbuild/BUILDROOT/deepin-metacity-3.22.10-1.fc26.x86_64/usr/share/locale/nb/LC_MESSAGES/deepin-metacity.mo installing nds.gmo as /home/zsun/rpmbuild/BUILDROOT/deepin-metacity-3.22.10-1.fc26.x86_64/usr/share/locale/nds/LC_MESSAGES/deepin-metacity.mo installing ne.gmo as /home/zsun/rpmbuild/BUILDROOT/deepin-metacity-3.22.10-1.fc26.x86_64/usr/share/locale/ne/LC_MESSAGES/deepin-metacity.mo installing nl.gmo as /home/zsun/rpmbuild/BUILDROOT/deepin-metacity-3.22.10-1.fc26.x86_64/usr/share/locale/nl/LC_MESSAGES/deepin-metacity.mo installing nn.gmo as /home/zsun/rpmbuild/BUILDROOT/deepin-metacity-3.22.10-1.fc26.x86_64/usr/share/locale/nn/LC_MESSAGES/deepin-metacity.mo installing oc.gmo as /home/zsun/rpmbuild/BUILDROOT/deepin-metacity-3.22.10-1.fc26.x86_64/usr/share/locale/oc/LC_MESSAGES/deepin-metacity.mo installing or.gmo as /home/zsun/rpmbuild/BUILDROOT/deepin-metacity-3.22.10-1.fc26.x86_64/usr/share/locale/or/LC_MESSAGES/deepin-metacity.mo installing pa.gmo as /home/zsun/rpmbuild/BUILDROOT/deepin-metacity-3.22.10-1.fc26.x86_64/usr/share/locale/pa/LC_MESSAGES/deepin-metacity.mo installing pl.gmo as /home/zsun/rpmbuild/BUILDROOT/deepin-metacity-3.22.10-1.fc26.x86_64/usr/share/locale/pl/LC_MESSAGES/deepin-metacity.mo installing pt.gmo as /home/zsun/rpmbuild/BUILDROOT/deepin-metacity-3.22.10-1.fc26.x86_64/usr/share/locale/pt/LC_MESSAGES/deepin-metacity.mo installing pt_BR.gmo as /home/zsun/rpmbuild/BUILDROOT/deepin-metacity-3.22.10-1.fc26.x86_64/usr/share/locale/pt_BR/LC_MESSAGES/deepin-metacity.mo installing ro.gmo as /home/zsun/rpmbuild/BUILDROOT/deepin-metacity-3.22.10-1.fc26.x86_64/usr/share/locale/ro/LC_MESSAGES/deepin-metacity.mo installing ru.gmo as /home/zsun/rpmbuild/BUILDROOT/deepin-metacity-3.22.10-1.fc26.x86_64/usr/share/locale/ru/LC_MESSAGES/deepin-metacity.mo installing rw.gmo as /home/zsun/rpmbuild/BUILDROOT/deepin-metacity-3.22.10-1.fc26.x86_64/usr/share/locale/rw/LC_MESSAGES/deepin-metacity.mo installing si.gmo as /home/zsun/rpmbuild/BUILDROOT/deepin-metacity-3.22.10-1.fc26.x86_64/usr/share/locale/si/LC_MESSAGES/deepin-metacity.mo installing sk.gmo as /home/zsun/rpmbuild/BUILDROOT/deepin-metacity-3.22.10-1.fc26.x86_64/usr/share/locale/sk/LC_MESSAGES/deepin-metacity.mo installing sl.gmo as /home/zsun/rpmbuild/BUILDROOT/deepin-metacity-3.22.10-1.fc26.x86_64/usr/share/locale/sl/LC_MESSAGES/deepin-metacity.mo installing sq.gmo as /home/zsun/rpmbuild/BUILDROOT/deepin-metacity-3.22.10-1.fc26.x86_64/usr/share/locale/sq/LC_MESSAGES/deepin-metacity.mo installing sr.gmo as /home/zsun/rpmbuild/BUILDROOT/deepin-metacity-3.22.10-1.fc26.x86_64/usr/share/locale/sr/LC_MESSAGES/deepin-metacity.mo installing sr@latin.gmo as /home/zsun/rpmbuild/BUILDROOT/deepin-metacity-3.22.10-1.fc26.x86_64/usr/share/locale/sr@latin/LC_MESSAGES/deepin-metacity.mo installing sv.gmo as /home/zsun/rpmbuild/BUILDROOT/deepin-metacity-3.22.10-1.fc26.x86_64/usr/share/locale/sv/LC_MESSAGES/deepin-metacity.mo installing ta.gmo as /home/zsun/rpmbuild/BUILDROOT/deepin-metacity-3.22.10-1.fc26.x86_64/usr/share/locale/ta/LC_MESSAGES/deepin-metacity.mo installing te.gmo as /home/zsun/rpmbuild/BUILDROOT/deepin-metacity-3.22.10-1.fc26.x86_64/usr/share/locale/te/LC_MESSAGES/deepin-metacity.mo installing th.gmo as /home/zsun/rpmbuild/BUILDROOT/deepin-metacity-3.22.10-1.fc26.x86_64/usr/share/locale/th/LC_MESSAGES/deepin-metacity.mo installing tk.gmo as /home/zsun/rpmbuild/BUILDROOT/deepin-metacity-3.22.10-1.fc26.x86_64/usr/share/locale/tk/LC_MESSAGES/deepin-metacity.mo installing tr.gmo as /home/zsun/rpmbuild/BUILDROOT/deepin-metacity-3.22.10-1.fc26.x86_64/usr/share/locale/tr/LC_MESSAGES/deepin-metacity.mo installing ug.gmo as /home/zsun/rpmbuild/BUILDROOT/deepin-metacity-3.22.10-1.fc26.x86_64/usr/share/locale/ug/LC_MESSAGES/deepin-metacity.mo installing uk.gmo as /home/zsun/rpmbuild/BUILDROOT/deepin-metacity-3.22.10-1.fc26.x86_64/usr/share/locale/uk/LC_MESSAGES/deepin-metacity.mo installing vi.gmo as /home/zsun/rpmbuild/BUILDROOT/deepin-metacity-3.22.10-1.fc26.x86_64/usr/share/locale/vi/LC_MESSAGES/deepin-metacity.mo installing wa.gmo as /home/zsun/rpmbuild/BUILDROOT/deepin-metacity-3.22.10-1.fc26.x86_64/usr/share/locale/wa/LC_MESSAGES/deepin-metacity.mo installing xh.gmo as /home/zsun/rpmbuild/BUILDROOT/deepin-metacity-3.22.10-1.fc26.x86_64/usr/share/locale/xh/LC_MESSAGES/deepin-metacity.mo installing yo.gmo as /home/zsun/rpmbuild/BUILDROOT/deepin-metacity-3.22.10-1.fc26.x86_64/usr/share/locale/yo/LC_MESSAGES/deepin-metacity.mo installing zh_CN.gmo as /home/zsun/rpmbuild/BUILDROOT/deepin-metacity-3.22.10-1.fc26.x86_64/usr/share/locale/zh_CN/LC_MESSAGES/deepin-metacity.mo installing zh_HK.gmo as /home/zsun/rpmbuild/BUILDROOT/deepin-metacity-3.22.10-1.fc26.x86_64/usr/share/locale/zh_HK/LC_MESSAGES/deepin-metacity.mo installing zh_TW.gmo as /home/zsun/rpmbuild/BUILDROOT/deepin-metacity-3.22.10-1.fc26.x86_64/usr/share/locale/zh_TW/LC_MESSAGES/deepin-metacity.mo make[1]: Leaving directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10/po' make[1]: Entering directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10' make[2]: Entering directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10' make[2]: Nothing to be done for 'install-exec-am'. make[2]: Nothing to be done for 'install-data-am'. make[2]: Leaving directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10' make[1]: Leaving directory '/home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10' + find /home/zsun/rpmbuild/BUILDROOT/deepin-metacity-3.22.10-1.fc26.x86_64 -name '*.la' -delete + /usr/lib/rpm/find-lang.sh /home/zsun/rpmbuild/BUILDROOT/deepin-metacity-3.22.10-1.fc26.x86_64 deepin-metacity + /usr/lib/rpm/find-debuginfo.sh --strict-build-id -m --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 /home/zsun/rpmbuild/BUILD/deepin-metacity-3.22.10 extracting debug info from /home/zsun/rpmbuild/BUILDROOT/deepin-metacity-3.22.10-1.fc26.x86_64/usr/lib64/libdeepin-metacity-private.so.3.0.0 extracting debug info from /home/zsun/rpmbuild/BUILDROOT/deepin-metacity-3.22.10-1.fc26.x86_64/usr/bin/deepin-metacity-message extracting debug info from /home/zsun/rpmbuild/BUILDROOT/deepin-metacity-3.22.10-1.fc26.x86_64/usr/bin/deepin-metacity-theme-viewer extracting debug info from /home/zsun/rpmbuild/BUILDROOT/deepin-metacity-3.22.10-1.fc26.x86_64/usr/bin/deepin-metacity-window-demo extracting debug info from /home/zsun/rpmbuild/BUILDROOT/deepin-metacity-3.22.10-1.fc26.x86_64/usr/bin/deepin-metacity /usr/lib/rpm/sepdebugcrcfix: Updated 5 CRC32s, 0 CRC32s did match. symlinked /usr/lib/debug/usr/lib64/libdeepin-metacity-private.so.3.0.0.debug to /usr/lib/debug/usr/lib64/libdeepin-metacity-private.so.debug symlinked /usr/lib/debug/usr/lib64/libdeepin-metacity-private.so.3.0.0.debug to /usr/lib/debug/usr/lib64/libdeepin-metacity-private.so.3.debug 5708 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 + /usr/lib/rpm/brp-python-hardlink Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.CgbIya + umask 022 + cd /home/zsun/rpmbuild/BUILD + cd deepin-metacity-3.22.10 + desktop-file-validate /usr/share/gnome/applications/deepin-metacity.desktop /usr/share/gnome/wm-properties/deepin-metacity-wm.desktop /usr/share/gnome/applications/deepin-metacity.desktop: file does not exist /usr/share/gnome/wm-properties/deepin-metacity-wm.desktop: file does not exist error: Bad exit status from /var/tmp/rpm-tmp.CgbIya (%check) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.CgbIya (%check)