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

Bug#1049771: ibus-m17n: Fails to build binary packages again after successful build



Source: ibus-m17n
Version: 1.4.20-1
Severity: minor
Tags: trixie sid ftbfs
User: lucas@debian.org
Usertags: ftbfs-binary-20230816 ftbfs-binary-after-build
User: debian-qa@lists.debian.org
Usertags: qa-doublebuild

Hi,

This package fails to do build a binary-only build (not source) after a
successful build (dpkg-buildpackage ; dpkg-buildpackage -b).

This is probably a clear violation of Debian Policy section 4.9 (clean target),
but this is filed as severity:minor for now, because a discussion on
debian-devel showed that we might want to revisit the requirement of a working
'clean' target.

More information about this class of issues, included common problems and
solutions, is available at
https://wiki.debian.org/qa.debian.org/FTBFS/DoubleBuild

Relevant part of the build log:
> cd /<<PKGBUILDDIR>> && runuser -u user42 -- dpkg-buildpackage --sanitize-env -us -uc -rfakeroot -b
> --------------------------------------------------------------------------------------------------------------------------
> 
> dpkg-buildpackage: info: source package ibus-m17n
> dpkg-buildpackage: info: source version 1.4.20-1
> dpkg-buildpackage: info: source distribution unstable
> dpkg-buildpackage: info: source changed by Gunnar Hjalmarsson <gunnarhj@debian.org>
>  dpkg-source --before-build .
> dpkg-buildpackage: info: host architecture amd64
>  debian/rules clean
> dh clean
>    dh_auto_clean
> 	make -j8 distclean
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> Making distclean in src
> make[2]: Entering directory '/<<PKGBUILDDIR>>/src'
> test -z "m17n.xml ibus-setup-m17n.desktop ibus-setup-m17n.desktop.in " || rm -f m17n.xml ibus-setup-m17n.desktop ibus-setup-m17n.desktop.in 
> rm -rf .libs _libs
> test -z "libm17ncommon.la" || rm -f libm17ncommon.la
> rm -f *.o
>  rm -f ibus-engine-m17n ibus-setup-m17n
> test -z "test-m17n.log" || rm -f test-m17n.log
>  rm -f test-m17n
> rm -f *.lo
> rm -f *.tab.c
> test -z "" || rm -f 
> rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
> test -z "test-m17n.trs" || rm -f test-m17n.trs
> test . = "." || test -z "" || rm -f 
> test -z "m17n.xml.in " || rm -f m17n.xml.in 
> test -z "test-suite.log" || rm -f test-suite.log
> rm -f ./so_locations
> rm -f .deps/minput_list.Plo
> rm -f ./.deps/engine.Po
> rm -f ./.deps/ibus_setup_m17n-setup.Po
> rm -f ./.deps/m17nutil.Plo
> rm -f ./.deps/main.Po
> rm -f ./.deps/test_m17n-test.Po
> rm -f Makefile
> make[2]: Leaving directory '/<<PKGBUILDDIR>>/src'
> Making distclean in icons
> make[2]: Entering directory '/<<PKGBUILDDIR>>/icons'
> make[3]: Entering directory '/<<PKGBUILDDIR>>/icons'
> rm -rf .libs _libs
> rm -f *.lo
> test -z "" || rm -f 
> rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
> test . = "." || test -z "" || rm -f 
> make[3]: Leaving directory '/<<PKGBUILDDIR>>/icons'
> rm -f Makefile
> make[2]: Leaving directory '/<<PKGBUILDDIR>>/icons'
> Making distclean in m4
> make[2]: Entering directory '/<<PKGBUILDDIR>>/m4'
> rm -rf .libs _libs
> rm -f *.lo
> test -z "" || rm -f 
> test . = "." || test -z "" || rm -f 
> rm -f Makefile
> make[2]: Leaving directory '/<<PKGBUILDDIR>>/m4'
> Making distclean in po
> make[2]: Entering directory '/<<PKGBUILDDIR>>/po'
> rm -f *.insert-header
> rm -f remove-potcdate.sed
> rm -f stamp-poT
> rm -f core core.* ibus-m17n.po ibus-m17n.1po ibus-m17n.2po *.new.po
> rm -fr *.o
> rm -f Makefile Makefile.in POTFILES *.mo
> make[2]: Leaving directory '/<<PKGBUILDDIR>>/po'
> make[2]: Entering directory '/<<PKGBUILDDIR>>'
> rm -rf .libs _libs
> rm -f -r "`uname -i`"
> rm -f *.lo
> test -z "ibus-m17n.spec" || rm -f ibus-m17n.spec
> rm -f config.h stamp-h1
> rm -f libtool config.lt
> rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
> test . = "." || test -z "" || rm -f 
> rm -f cscope.out cscope.in.out cscope.po.out cscope.files
> test -z "po/stamp-it " || rm -f po/stamp-it 
> make[2]: Leaving directory '/<<PKGBUILDDIR>>'
> rm -f config.status config.cache config.log configure.lineno config.status.lineno
> rm -f Makefile
> make[1]: Leaving directory '/<<PKGBUILDDIR>>'
>    dh_autoreconf_clean
>    dh_clean
>  debian/rules binary
> dh binary
>    dh_update_autotools_config
>    dh_autoreconf
> Copying file ABOUT-NLS
> Copying file config.rpath
> Copying file m4/codeset.m4
> Copying file m4/extern-inline.m4
> Copying file m4/fcntl-o.m4
> Copying file m4/gettext.m4
> Copying file m4/glibc2.m4
> Copying file m4/glibc21.m4
> Copying file m4/iconv.m4
> Copying file m4/intdiv0.m4
> Copying file m4/intl.m4
> Copying file m4/intldir.m4
> Copying file m4/intlmacosx.m4
> Copying file m4/intmax.m4
> Copying file m4/inttypes-pri.m4
> Copying file m4/inttypes_h.m4
> Copying file m4/lcmessage.m4
> Copying file m4/lib-ld.m4
> Copying file m4/lib-link.m4
> Copying file m4/lib-prefix.m4
> Copying file m4/lock.m4
> Copying file m4/longlong.m4
> Copying file m4/nls.m4
> Copying file m4/po.m4
> Copying file m4/printf-posix.m4
> Copying file m4/progtest.m4
> Copying file m4/size_max.m4
> Copying file m4/stdint_h.m4
> Copying file m4/threadlib.m4
> Copying file m4/uintmax_t.m4
> Copying file m4/visibility.m4
> Copying file m4/wchar_t.m4
> Copying file m4/wint_t.m4
> Copying file m4/xsize.m4
> Copying file po/Makefile.in.in
> Copying file po/Makevars.template
> Copying file po/Rules-quot
> Copying file po/boldquot.sed
> Copying file po/en@boldquot.header
> Copying file po/en@quot.header
> Copying file po/insert-header.sin
> Copying file po/quot.sed
> Copying file po/remove-potcdate.sin
> libtoolize: putting auxiliary files in '.'.
> libtoolize: copying file './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'
> configure.ac:34: warning: The macro `AC_GNU_SOURCE' is obsolete.
> configure.ac:34: You should run autoupdate.
> ./lib/autoconf/specific.m4:312: AC_GNU_SOURCE is expanded from...
> configure.ac:34: the top level
> configure.ac:45: warning: The macro `AM_DISABLE_STATIC' is obsolete.
> configure.ac:45: You should run autoupdate.
> m4/ltoptions.m4:260: AM_DISABLE_STATIC is expanded from...
> configure.ac:45: the top level
> configure.ac:49: warning: The macro `AC_ISC_POSIX' is obsolete.
> configure.ac:49: You should run autoupdate.
> ./lib/autoconf/specific.m4:550: AC_ISC_POSIX is expanded from...
> configure.ac:49: the top level
> configure.ac:50: warning: The macro `AC_HEADER_STDC' is obsolete.
> configure.ac:50: You should run autoupdate.
> ./lib/autoconf/headers.m4:704: AC_HEADER_STDC is expanded from...
> configure.ac:50: the top level
> configure.ac:51: warning: The macro `AM_PROG_LIBTOOL' is obsolete.
> configure.ac:51: You should run autoupdate.
> m4/libtool.m4:101: AM_PROG_LIBTOOL is expanded from...
> configure.ac:51: the top level
> configure.ac:34: installing './compile'
> configure.ac:51: installing './config.guess'
> configure.ac:51: installing './config.sub'
> configure.ac:33: installing './install-sh'
> configure.ac:33: installing './missing'
> Makefile.am: installing './INSTALL'
> src/Makefile.am: installing './depcomp'
> parallel-tests: installing './test-driver'
>    debian/rules override_dh_auto_configure
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> dh_auto_configure -- \
> 	--with-gtk=3.0
> 	./configure --build=x86_64-linux-gnu --prefix=/usr --includedir=\${prefix}/include --mandir=\${prefix}/share/man --infodir=\${prefix}/share/info --sysconfdir=/etc --localstatedir=/var --disable-option-checking --disable-silent-rules --libdir=\${prefix}/lib/x86_64-linux-gnu --runstatedir=/run --disable-maintainer-mode --disable-dependency-tracking --with-gtk=3.0
> checking for a BSD-compatible install... /usr/bin/install -c
> checking whether build environment is sane... yes
> checking for a race-free mkdir -p... /bin/mkdir -p
> checking for gawk... no
> checking for mawk... mawk
> checking whether make sets $(MAKE)... yes
> checking whether make supports nested variables... yes
> checking whether make supports the include directive... yes (GNU style)
> 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 the compiler supports GNU C... yes
> checking whether gcc accepts -g... yes
> checking for gcc option to enable C11 features... none needed
> checking whether gcc understands -c and -o together... yes
> checking dependency style of gcc... none
> checking for stdio.h... yes
> checking for stdlib.h... yes
> checking for string.h... yes
> checking for inttypes.h... yes
> checking for stdint.h... yes
> checking for strings.h... yes
> checking for sys/stat.h... yes
> checking for sys/types.h... yes
> checking for unistd.h... yes
> checking for wchar.h... yes
> checking for minix/config.h... no
> checking whether it is safe to define __EXTENSIONS__... yes
> checking whether _XOPEN_SOURCE should be defined... no
> checking whether make supports nested variables... (cached) yes
> checking nano version... 0 (release)
> checking whether build environment is sane... yes
> checking whether to enable maintainer-specific portions of Makefiles... no
> checking for gcc... (cached) gcc
> checking whether the compiler supports GNU C... (cached) yes
> checking whether gcc accepts -g... (cached) yes
> checking for gcc option to enable C11 features... (cached) none needed
> checking whether gcc understands -c and -o together... (cached) yes
> checking dependency style of gcc... (cached) none
> checking for g++... g++
> checking whether the compiler supports GNU C++... yes
> checking whether g++ accepts -g... yes
> checking for g++ option to enable C++11 features... none needed
> checking dependency style of g++... none
> checking for library containing strerror... none required
> checking for grep that handles long lines and -e... /bin/grep
> checking for egrep... /bin/grep -E
> 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 a sed that does not truncate output... /bin/sed
> checking for fgrep... /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 file... file
> 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... /bin/dd
> checking how to truncate binary pipes... /bin/dd bs=4096 count=1
> checking for mt... no
> checking if : is a manifest tool... no
> 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... yes
> 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 how to run the C++ preprocessor... g++ -E
> checking for ld used by g++... /usr/bin/ld -m elf_x86_64
> checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yes
> checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
> checking for g++ option to produce PIC... -fPIC -DPIC
> checking if g++ PIC flag -fPIC -DPIC works... yes
> checking if g++ static flag -static works... yes
> checking if g++ supports -c -o file.o... yes
> checking if g++ supports -c -o file.o... (cached) yes
> checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
> checking dynamic linker characteristics... (cached) GNU/Linux ld.so
> checking how to hardcode library paths into programs... immediate
> checking for pkg-config... /usr/bin/pkg-config
> checking pkg-config is at least version 0.9.0... yes
> checking for
>     ibus-1.0 >= 1.4
> ... yes
> checking for
>     m17n-shell
> ... yes
> checking which gtk+ version to compile against... 3.0
> checking for gtk+-3.0 >= 2.90.5... yes
> checking for minput_list... yes
> checking whether NLS is requested... yes
> checking for msgfmt... /usr/bin/msgfmt
> checking for gmsgfmt... /usr/bin/msgfmt
> checking for xgettext... /usr/bin/xgettext
> checking for msgmerge... /usr/bin/msgmerge
> checking for ld used by gcc... /usr/bin/ld -m elf_x86_64
> checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yes
> checking for shared library run path origin... done
> checking how to run the C preprocessor... gcc -E
> checking for CFPreferencesCopyAppValue... no
> checking for CFLocaleCopyCurrent... no
> checking for GNU gettext in libc... yes
> checking whether to use NLS... yes
> checking where the gettext function comes from... libc
> checking that generated files are newer than configure... done
> checking that generated files are newer than configure... done
> configure: creating ./config.status
> config.status: creating po/Makefile.in
> config.status: creating Makefile
> config.status: creating ibus-m17n.spec
> config.status: creating src/Makefile
> config.status: creating icons/Makefile
> config.status: creating m4/Makefile
> config.status: creating config.h
> config.status: executing depfiles commands
> config.status: executing libtool commands
> config.status: executing po-directories commands
> config.status: creating po/POTFILES
> config.status: creating po/Makefile
> make[1]: Leaving directory '/<<PKGBUILDDIR>>'
>    dh_auto_build
> 	make -j8
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> make  all-recursive
> make[2]: Entering directory '/<<PKGBUILDDIR>>'
> Making all in src
> make[3]: Entering directory '/<<PKGBUILDDIR>>/src'
> gcc -DHAVE_CONFIG_H -I. -I..   -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ibus-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -pthread -I/usr/include/libmount -I/usr/include/blkid   -DPKGDATADIR=\"/usr/share/ibus-m17n\" -DLIBEXECDIR=\"/usr/libexec\"  -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -c -o main.o main.c
> gcc -DHAVE_CONFIG_H -I. -I..   -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ibus-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -pthread -I/usr/include/libmount -I/usr/include/blkid   -DPKGDATADIR=\"/usr/share/ibus-m17n\" -DLIBEXECDIR=\"/usr/libexec\"  -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -c -o engine.o engine.c
> /bin/bash ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I..   -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ibus-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -pthread -I/usr/include/libmount -I/usr/include/blkid   -DPKGDATADIR=\"/usr/share/ibus-m17n\" -DLIBEXECDIR=\"/usr/libexec\"  -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -c -o m17nutil.lo m17nutil.c
> gcc -DHAVE_CONFIG_H -I. -I..   -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -pthread  -I/usr/include/ibus-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -pthread -I/usr/include/libmount -I/usr/include/blkid   -DPKGDATADIR=\"/usr/share/ibus-m17n\" 
> -DLIBEXECDIR=\"/usr/libexec\"   -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -c -o ibus_setup_m17n-setup.o `test -f 'setup.c' || echo './'`setup.c
> make[3]: *** No rule to make target 'm17n.xml.in', needed by 'm17n.xml'.  Stop.
> make[3]: *** Waiting for unfinished jobs....
> libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ibus-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -pthread -I/usr/include/libmount -I/usr/include/blkid -DPKGDATADIR=\"/usr/share/ibus-m17n\" -DLIBEXECDIR=\"/usr/libexec\" -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -c m17nutil.c  -fPIC -DPIC -o .libs/m17nutil.o
> make[3]: Leaving directory '/<<PKGBUILDDIR>>/src'
> make[2]: *** [Makefile:542: all-recursive] Error 1
> make[2]: Leaving directory '/<<PKGBUILDDIR>>'
> make[1]: *** [Makefile:451: all] Error 2
> make[1]: Leaving directory '/<<PKGBUILDDIR>>'
> dh_auto_build: error: make -j8 returned exit code 2
> make: *** [debian/rules:12: binary] Error 25
> dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
> 
> E: Command 'cd /<<PKGBUILDDIR>> && runuser -u user42 -- dpkg-buildpackage --sanitize-env -us -uc -rfakeroot -b' failed to run.


The full build log is available from:
http://qa-logs.debian.net/2023/08/16/ibus-m17n_1.4.20-1_unstable.log

If you reassign this bug to another package, please mark it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects

If you fail to reproduce this, please provide a build log and diff it with mine
so that we can identify if something relevant changed in the meantime.


Reply to: