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

Bug#921755: ibus-rime: FTBFS (Syntax error in cmake code)



Package: src:ibus-rime
Version: 1.3.0-1
Severity: serious
Tags: ftbfs

Dear maintainer:

I tried to build this package in buster but it failed:

--------------------------------------------------------------------------------
[...]
 debian/rules build-arch
dh build-arch
   dh_update_autotools_config -a
   dh_autoreconf -a
   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 -a
	make -j1 "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 8.2.0
-- The CXX compiler identification is GNU 8.2.0
-- 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.19
-- Checking for module 'libnotify'
--   Found libnotify, version 0.7.7
-- Checking for module 'rime'
CMake Error at /usr/share/cmake-3.13/Modules/FindPkgConfig.cmake:54 (set):
  Syntax error in cmake code at

    /usr/share/cmake-3.13/Modules/FindPkgConfig.cmake:54

  when parsing string

    $/usr/{LIB_INSTALL_DIR}

  Syntax $/usr/{} is not supported.  Only ${}, $ENV{}, and $CACHE{} are
  allowed.
Call Stack (most recent call first):
  /usr/share/cmake-3.13/Modules/FindPkgConfig.cmake:81 (_pkgconfig_set)
  /usr/share/cmake-3.13/Modules/FindPkgConfig.cmake:103 (_pkgconfig_invoke)
  /usr/share/cmake-3.13/Modules/FindPkgConfig.cmake:473 (pkg_get_variable)
  /usr/share/cmake-3.13/Modules/FindPkgConfig.cmake:622 (_pkg_check_modules_internal)
  /usr/share/cmake/rime/RimeConfig.cmake:22 (PKG_CHECK_MODULES)
  CMakeLists.txt:21 (find_package)


-- Configuring incomplete, errors occurred!
See also "/<<PKGBUILDDIR>>/build/CMakeFiles/CMakeOutput.log".
make[1]: *** [Makefile:15: ibus-engine-rime] Error 1
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
dh_auto_build: make -j1 "INSTALL=install --strip-program=true" returned exit code 2
make: *** [debian/rules:11: build-arch] Error 2
dpkg-buildpackage: error: debian/rules build-arch subprocess returned exit status 2
--------------------------------------------------------------------------------

(The above is just how the build ends and not necessarily the most relevant part)

The build was made in my autobuilder with "dpkg-buildpackage -B"
and it also fails here:

https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/ibus-rime.html

where you can get a full build log if you need it.

If this is really a bug in one of the build-depends, please use reassign and affects,
so that this is still visible in the BTS web page for this package.

Thanks.


Reply to: