[Pkg-ime-devel] Bug#893386: librime 1.2.10+dfsg2-1 makes brise FTBFS

Adrian Bunk bunk at debian.org
Sun Mar 18 13:26:43 UTC 2018

Package: librime-bin
Version: 1.2.10+dfsg2-1
Severity: serious
Control: affects -1 src:brise


   debian/rules override_dh_auto_build
make[1]: Entering directory '/build/1st/brise-0.35'
# create a default.custom.yaml here, and use it
# to build all the schemas
echo "patch:"          > default.custom.yaml
echo "  schema_list:" >> default.custom.yaml
find -name '*.schema.yaml' \
    | xargs -l1 basename -s .schema.yaml \
    | perl -pe 's/^/    - schema: /' \
    | sort | uniq >> default.custom.yaml
mkdir -p data
cp -v default.custom.yaml data
'default.custom.yaml' -> 'data/default.custom.yaml'
cp -v extra/*.yaml data
'extra/array30.dict.yaml' -> 'data/array30.dict.yaml'
'extra/array30.schema.yaml' -> 'data/array30.schema.yaml'
'extra/scj6.dict.yaml' -> 'data/scj6.dict.yaml'
'extra/scj6.schema.yaml' -> 'data/scj6.schema.yaml'
'extra/stenotype.schema.yaml' -> 'data/stenotype.schema.yaml'
'extra/wubi_trad.schema.yaml' -> 'data/wubi_trad.schema.yaml'
	make -j1
make[2]: Entering directory '/build/1st/brise-0.35'
building rime data.
rime_deployer --build  /build/1st/brise-0.35/data
make[2]: Leaving directory '/build/1st/brise-0.35'
# restore the original copy of default.yaml
cp -v default.yaml data
'default.yaml' -> 'data/default.yaml'
rm -fv data/default.custom.yaml
removed 'data/default.custom.yaml'
make[1]: Leaving directory '/build/1st/brise-0.35'
 fakeroot debian/rules binary
dh binary
	make -j1 install DESTDIR=/build/1st/brise-0.35/debian/tmp AM_UPDATE_INFO_DIR=no
make[1]: Entering directory '/build/1st/brise-0.35'
installing rime data into '/build/1st/brise-0.35/debian/tmp/usr/share/rime-data'.
install: omitting directory '/build/1st/brise-0.35/data/build'
make[1]: *** [Makefile:32: install] Error 1
make[1]: Leaving directory '/build/1st/brise-0.35'
dh_auto_install: make -j1 install DESTDIR=/build/1st/brise-0.35/debian/tmp AM_UPDATE_INFO_DIR=no returned exit code 2
make: *** [debian/rules:5: binary] Error 2

The failure is caused by a data/build directory created
when building brise with librime 1.2.10+dfsg2-1.

I do not know which of the packages needs fixing,
please reassign if I reported against the wrong one.

More information about the Pkg-ime-devel mailing list