[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#957335: hime: ftbfs with GCC-10



Package: src:hime
Version: 0.9.10+git20170427+dfsg1-3
Severity: normal
Tags: sid bullseye
User: debian-gcc@lists.debian.org
Usertags: ftbfs-gcc-10

Please keep this issue open in the bug tracker for the package it
was filed for.  If a fix in another package is required, please
file a bug for the other package (or clone), and add a block in this
package. Please keep the issue open until the package can be built in
a follow-up test rebuild.

The package fails to build in a test rebuild on at least amd64 with
gcc-10/g++-10, but succeeds to build with gcc-9/g++-9. The
severity of this report will be raised before the bullseye release,
so nothing has to be done for the buster release.

The full build log can be found at:
http://people.debian.org/~doko/logs/gcc10-20200225/hime_0.9.10+git20170427+dfsg1-3_unstable_gcc10.log
The last lines of the build log are at the end of this report.

To build with GCC 10, either set CC=gcc-10 CXX=g++-10 explicitly,
or install the gcc, g++, gfortran, ... packages from experimental.

  apt-get -t=experimental install g++ 

Common build failures are new warnings resulting in build failures with
-Werror turned on, or new/dropped symbols in Debian symbols files.
For other C/C++ related build failures see the porting guide at
http://gcc.gnu.org/gcc-10/porting_to.html

[...]
  im-addr.c -> im-addr.o
gcc -Wdate-time -D_FORTIFY_SOURCE=2 -DUNIX=1  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -pthread -I/usr/include/libappindicator-0.1 -I/usr/include/libdbusmenu-glib-0.4 -I/usr/include/gtk-2.0 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/fribidi -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -I./IMdkit/include -I./im-client -DHIME_TABLE_DIR=\"/usr/share/hime/table\" -DHIME_OGG_DIR=\"/usr/share/hime/ogg\" -DDOC_DIR=\"/usr/share/doc/hime\" -DHIME_DEFAULT_ICON_DIR=\"/usr/share/pixmaps/hime\" -DHIME_SCRIPT_DIR=\"/usr/share/hime/script\" -DHIME_BIN_DIR=\"/usr
 /bin\" -DSYS_ICON_DIR=\"/usr/share/pixmaps\" -DFREEBSD=0 -DMAC_OS=0 -DHIME_VERSION=\"0.9.10\" -DG_DISABLE_SINGLE_INCLUDES -DG_DISABLE_DEPRECATED -DGDK_DISABLE_SINGLE_INCLUDES -DGDK_DISABLE_DEPRECATED -DGTK_DISABLE_SINGLE_INCLUDES -DGTK_DISABLE_DEPRECATED -DGSEAL_ENABLE -DUSE_XIM=1 -DTRAY_ENABLED=1 -DTRAY_UNITY=1 -DHIME_i18n_message=1 -DUSE_TSIN=1 -c im-addr.c
In file included from hime.h:22,
                 from im-addr.c:22:
os-dep.h:13: warning: "G_CONST_RETURN" redefined
   13 | #define G_CONST_RETURN const
      | 
In file included from /usr/lib/x86_64-linux-gnu/glib-2.0/include/glibconfig.h:9,
                 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 os-dep.h:11,
                 from hime.h:22,
                 from im-addr.c:22:
/usr/include/glib-2.0/glib/gmacros.h:913: note: this is the location of the previous definition
  913 | #define G_CONST_RETURN const GLIB_DEPRECATED_MACRO_IN_2_30_FOR(const)
      | 
  im-dispatch.c -> im-dispatch.o
gcc -Wdate-time -D_FORTIFY_SOURCE=2 -DUNIX=1  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -pthread -I/usr/include/libappindicator-0.1 -I/usr/include/libdbusmenu-glib-0.4 -I/usr/include/gtk-2.0 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/fribidi -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -I./IMdkit/include -I./im-client -DHIME_TABLE_DIR=\"/usr/share/hime/table\" -DHIME_OGG_DIR=\"/usr/share/hime/ogg\" -DDOC_DIR=\"/usr/share/doc/hime\" -DHIME_DEFAULT_ICON_DIR=\"/usr/share/pixmaps/hime\" -DHIME_SCRIPT_DIR=\"/usr/share/hime/script\" -DHIME_BIN_DIR=\"/usr
 /bin\" -DSYS_ICON_DIR=\"/usr/share/pixmaps\" -DFREEBSD=0 -DMAC_OS=0 -DHIME_VERSION=\"0.9.10\" -DG_DISABLE_SINGLE_INCLUDES -DG_DISABLE_DEPRECATED -DGDK_DISABLE_SINGLE_INCLUDES -DGDK_DISABLE_DEPRECATED -DGTK_DISABLE_SINGLE_INCLUDES -DGTK_DISABLE_DEPRECATED -DGSEAL_ENABLE -DUSE_XIM=1 -DTRAY_ENABLED=1 -DTRAY_UNITY=1 -DHIME_i18n_message=1 -DUSE_TSIN=1 -c im-dispatch.c
In file included from hime.h:22,
                 from im-dispatch.c:25:
os-dep.h:13: warning: "G_CONST_RETURN" redefined
   13 | #define G_CONST_RETURN const
      | 
In file included from /usr/lib/x86_64-linux-gnu/glib-2.0/include/glibconfig.h:9,
                 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 os-dep.h:11,
                 from hime.h:22,
                 from im-dispatch.c:25:
/usr/include/glib-2.0/glib/gmacros.h:913: note: this is the location of the previous definition
  913 | #define G_CONST_RETURN const GLIB_DEPRECATED_MACRO_IN_2_30_FOR(const)
      | 
  im-srv.c -> im-srv.o
gcc -Wdate-time -D_FORTIFY_SOURCE=2 -DUNIX=1  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -pthread -I/usr/include/libappindicator-0.1 -I/usr/include/libdbusmenu-glib-0.4 -I/usr/include/gtk-2.0 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/fribidi -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -I./IMdkit/include -I./im-client -DHIME_TABLE_DIR=\"/usr/share/hime/table\" -DHIME_OGG_DIR=\"/usr/share/hime/ogg\" -DDOC_DIR=\"/usr/share/doc/hime\" -DHIME_DEFAULT_ICON_DIR=\"/usr/share/pixmaps/hime\" -DHIME_SCRIPT_DIR=\"/usr/share/hime/script\" -DHIME_BIN_DIR=\"/usr
 /bin\" -DSYS_ICON_DIR=\"/usr/share/pixmaps\" -DFREEBSD=0 -DMAC_OS=0 -DHIME_VERSION=\"0.9.10\" -DG_DISABLE_SINGLE_INCLUDES -DG_DISABLE_DEPRECATED -DGDK_DISABLE_SINGLE_INCLUDES -DGDK_DISABLE_DEPRECATED -DGTK_DISABLE_SINGLE_INCLUDES -DGTK_DISABLE_DEPRECATED -DGSEAL_ENABLE -DUSE_XIM=1 -DTRAY_ENABLED=1 -DTRAY_UNITY=1 -DHIME_i18n_message=1 -DUSE_TSIN=1 -c im-srv.c
In file included from hime.h:22,
                 from im-srv.c:29:
os-dep.h:13: warning: "G_CONST_RETURN" redefined
   13 | #define G_CONST_RETURN const
      | 
In file included from /usr/lib/x86_64-linux-gnu/glib-2.0/include/glibconfig.h:9,
                 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 os-dep.h:11,
                 from hime.h:22,
                 from im-srv.c:29:
/usr/include/glib-2.0/glib/gmacros.h:913: note: this is the location of the previous definition
  913 | #define G_CONST_RETURN const GLIB_DEPRECATED_MACRO_IN_2_30_FOR(const)
      | 
  hime-crypt.c -> hime-crypt.o
gcc -Wdate-time -D_FORTIFY_SOURCE=2 -DUNIX=1  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -pthread -I/usr/include/libappindicator-0.1 -I/usr/include/libdbusmenu-glib-0.4 -I/usr/include/gtk-2.0 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/fribidi -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -I./IMdkit/include -I./im-client -DHIME_TABLE_DIR=\"/usr/share/hime/table\" -DHIME_OGG_DIR=\"/usr/share/hime/ogg\" -DDOC_DIR=\"/usr/share/doc/hime\" -DHIME_DEFAULT_ICON_DIR=\"/usr/share/pixmaps/hime\" -DHIME_SCRIPT_DIR=\"/usr/share/hime/script\" -DHIME_BIN_DIR=\"/usr
 /bin\" -DSYS_ICON_DIR=\"/usr/share/pixmaps\" -DFREEBSD=0 -DMAC_OS=0 -DHIME_VERSION=\"0.9.10\" -DG_DISABLE_SINGLE_INCLUDES -DG_DISABLE_DEPRECATED -DGDK_DISABLE_SINGLE_INCLUDES -DGDK_DISABLE_DEPRECATED -DGTK_DISABLE_SINGLE_INCLUDES -DGTK_DISABLE_DEPRECATED -DGSEAL_ENABLE -DUSE_XIM=1 -DTRAY_ENABLED=1 -DTRAY_UNITY=1 -DHIME_i18n_message=1 -DUSE_TSIN=1 -c hime-crypt.c
linking hime ...
gcc  -Wl,-rpath,//usr/lib/x86_64-linux-gnu/hime -o hime hime.o eve.o util.o hime-conf.o hime-settings.o locale.o hime-icon.o about.o hime-exec-script.o pho-play.o cache.o gtk_bug_fix.o phrase-save-menu.o win-pho.o pho.o pho-util.o pho-sym.o table-update.o pho-dbg.o gtab.o win-gtab.o gtab-util.o gtab-list.o gtab-buf.o hime-common.o phrase.o t2s-lookup.o gtab-use-count.o win-save-phrase.o unix-exec.o pho-kbm-name.o statistic.o tsin-scan.o hime-module.o lang.o hime-module-cb.o gtab-init.o fullchar.o gtab-tsin-fname.o win-message.o win-sym.o win-inmd-switch.o pinyin.o win-pho-near.o win-kbm.o pho2pinyin.o IC.o tray.o tray-double.o gdkpixbuf-drawable.o tray-appindicator.o tsin.o tsin-util.o win0.o win1.o tsin-parse.o IMdkit/lib/libXimd.a im-addr.o im-dispatch.o im-srv.o hime-crypt.o -lXtst -Wl,-z,relro -Wl,--as-needed -Wl,--as-needed -lX11 -lm -lappindicator -ldbusmenu-glib -lgtk-x11-2.0 -lgdk-x11-2.0 -lpangocairo-1.0 -latk-1.0 -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lpangoft2-1.0 -lpango-1.0
  -lgobject-2.0 -lglib-2.0 -lfontconfig -lfreetype -lX11 -ldl -L/usr/X11R6/lib
/usr/bin/ld: hime-settings.o:(.bss+0x134): multiple definition of `hime_tray_display'; eve.o:(.bss+0x1c): first defined here
/usr/bin/ld: pho2pinyin.o:(.bss+0x3c4): multiple definition of `pin_juyinN'; pho.o:(.bss+0x38): first defined here
/usr/bin/ld: pho2pinyin.o:(.bss+0x3c8): multiple definition of `pin_juyin'; hime-common.o:(.bss+0x0): first defined here
/usr/bin/ld: pho2pinyin.o:./src/pho2pinyin.c:32: multiple definition of `text_pho_N'; hime-common.o:./src/hime-common.c:23: first defined here
/usr/bin/ld: pho2pinyin.o:(.bss+0x80): multiple definition of `poo'; pho.o:(.bss+0x360): first defined here
/usr/bin/ld: pho2pinyin.o:(.bss+0xc0): multiple definition of `phkbm'; pho.o:(.bss+0x40): first defined here
/usr/bin/ld: tsin.o:(.bss+0x0): multiple definition of `tss'; pho2pinyin.o:(.bss+0x20): first defined here
collect2: error: ld returned 1 exit status
make[2]: *** [Makefile:176: hime] Error 1
make[2]: Leaving directory '/<<PKGBUILDDIR>>/src'
make[1]: *** [Makefile:20: all] Error 1
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
dh_auto_build: error: make -j1 returned exit code 2
make: *** [debian/rules:20: build] Error 25
dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2


Reply to: