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

Bug#957352: ibus-rime: ftbfs with GCC-10



Package: src:ibus-rime
Version: 1.4.0-2
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/ibus-rime_1.4.0-2_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

[...]
	make -j4 clean
make[1]: Entering directory '/<<PKGBUILDDIR>>'
if  [ -e build ]; then rm -R build; fi
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
   dh_clean
 debian/rules binary
dh binary
   dh_update_autotools_config
   dh_autoreconf
   debian/rules override_dh_auto_configure
make[1]: Entering directory '/<<PKGBUILDDIR>>'
dh_auto_configure -- --libexecdir=/usr/lib/ibus
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
   dh_auto_build
	make -j4 "INSTALL=install --strip-program=true"
make[1]: Entering directory '/<<PKGBUILDDIR>>'
mkdir -p build
(cd build; cmake -DCMAKE_BUILD_TYPE=Release .. && make)
-- The C compiler identification is GNU 10.0.1
-- The CXX compiler identification is GNU 10.0.1
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found PkgConfig: /usr/bin/pkg-config (found version "0.29") 
-- Checking for module 'ibus-1.0'
--   Found ibus-1.0, version 1.5.21
-- Checking for module 'libnotify'
--   Found libnotify, version 0.7.8
-- Checking for module 'rime'
--   Found rime, version 1.5.3
-- Found Rime: /usr/lib/x86_64-linux-gnu/librime.so  
-- Found RimeData: /usr/share/rime-data  
-- Precompiler macro RIME_DATA_DIR is set to "/usr/share/rime-data"
-- Configuring done
-- Generating done
-- Build files have been written to: /<<PKGBUILDDIR>>/build
make[2]: Entering directory '/<<PKGBUILDDIR>>/build'
make[2]: warning: jobserver unavailable: using -j1.  Add '+' to parent make rule.
make[3]: Entering directory '/<<PKGBUILDDIR>>/build'
make[4]: Entering directory '/<<PKGBUILDDIR>>/build'
Scanning dependencies of target ibus-engine-rime
make[4]: Leaving directory '/<<PKGBUILDDIR>>/build'
make[4]: Entering directory '/<<PKGBUILDDIR>>/build'
[ 25%] Building C object CMakeFiles/ibus-engine-rime.dir/rime_engine.c.o
[ 50%] Building C object CMakeFiles/ibus-engine-rime.dir/rime_main.c.o
[ 75%] Building C object CMakeFiles/ibus-engine-rime.dir/rime_settings.c.o
[100%] Linking C executable ibus-engine-rime
/usr/bin/ld: CMakeFiles/ibus-engine-rime.dir/rime_main.c.o:./build/./rime_settings.h:23: multiple definition of `g_ibus_rime_settings'; CMakeFiles/ibus-engine-rime.dir/rime_engine.c.o:./build/./rime_settings.h:23: first defined here
/usr/bin/ld: CMakeFiles/ibus-engine-rime.dir/rime_settings.c.o:./build/./rime_settings.h:23: multiple definition of `g_ibus_rime_settings'; CMakeFiles/ibus-engine-rime.dir/rime_engine.c.o:./build/./rime_settings.h:23: first defined here
collect2: error: ld returned 1 exit status
make[4]: *** [CMakeFiles/ibus-engine-rime.dir/build.make:116: ibus-engine-rime] Error 1
make[4]: Leaving directory '/<<PKGBUILDDIR>>/build'
make[3]: *** [CMakeFiles/Makefile2:76: CMakeFiles/ibus-engine-rime.dir/all] Error 2
make[3]: Leaving directory '/<<PKGBUILDDIR>>/build'
make[2]: *** [Makefile:84: all] Error 2
make[2]: Leaving directory '/<<PKGBUILDDIR>>/build'
make[1]: *** [Makefile:15: ibus-engine-rime] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
dh_auto_build: error: make -j4 "INSTALL=install --strip-program=true" returned exit code 2
make: *** [debian/rules:11: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2


Reply to: