Source: groonga-normalizer-mysql Version: 1.2.1-1 Severity: minor Tags: trixie sid ftbfs User: [email protected] Usertags: ftbfs-binary-20230816 ftbfs-binary-after-build User: [email protected] 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 groonga-normalizer-mysql > dpkg-buildpackage: info: source version 1.2.1-1 > dpkg-buildpackage: info: source distribution unstable > dpkg-buildpackage: info: source changed by Kentaro Hayashi <[email protected]> > 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 build > make[2]: Entering directory '/<<PKGBUILDDIR>>/build' > Making distclean in cmake_modules > make[3]: Entering directory '/<<PKGBUILDDIR>>/build/cmake_modules' > rm -rf .libs _libs > rm -f *.lo > test -z "" || rm -f > test . = "." || test -z "" || rm -f > rm -f Makefile > make[3]: Leaving directory '/<<PKGBUILDDIR>>/build/cmake_modules' > make[3]: Entering directory '/<<PKGBUILDDIR>>/build' > 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>>/build' > rm -f Makefile > make[2]: Leaving directory '/<<PKGBUILDDIR>>/build' > Making distclean in normalizers > make[2]: Entering directory '/<<PKGBUILDDIR>>/normalizers' > rm -rf .libs _libs > test -z "mysql.la" || rm -f mysql.la > rm -f *.o > rm -f *.lo > rm -f *.tab.c > test -z "" || rm -f > rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags > test . = "." || test -z "" || rm -f > rm -f ./so_locations > rm -f ./.deps/mysql.Plo > rm -f Makefile > make[2]: Leaving directory '/<<PKGBUILDDIR>>/normalizers' > Making distclean in packages > make[2]: Entering directory '/<<PKGBUILDDIR>>/packages' > Making distclean in ubuntu > make[3]: Entering directory '/<<PKGBUILDDIR>>/packages/ubuntu' > rm -rf .libs _libs > rm -f *.lo > test -z "" || rm -f > test . = "." || test -z "" || rm -f > rm -f Makefile > make[3]: Leaving directory '/<<PKGBUILDDIR>>/packages/ubuntu' > Making distclean in source > make[3]: Entering directory '/<<PKGBUILDDIR>>/packages/source' > rm -rf .libs _libs > rm -f *.lo > test -z "" || rm -f > test . = "." || test -z "" || rm -f > rm -f Makefile > make[3]: Leaving directory '/<<PKGBUILDDIR>>/packages/source' > make[3]: Entering directory '/<<PKGBUILDDIR>>/packages' > 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>>/packages' > rm -f Makefile > make[2]: Leaving directory '/<<PKGBUILDDIR>>/packages' > Making distclean in test > make[2]: Entering directory '/<<PKGBUILDDIR>>/test' > rm -rf .libs _libs > test -z "" || rm -f > rm -f *.lo > test -z "" || rm -f > test -z "" || rm -f > test -z "test-suite.log" || rm -f test-suite.log > test . = "." || test -z "" || rm -f > rm -f Makefile > make[2]: Leaving directory '/<<PKGBUILDDIR>>/test' > Making distclean in doc > make[2]: Entering directory '/<<PKGBUILDDIR>>/doc' > Making distclean in text > make[3]: Entering directory '/<<PKGBUILDDIR>>/doc/text' > rm -rf .libs _libs > rm -f *.lo > test -z "" || rm -f > test . = "." || test -z "" || rm -f > rm -f Makefile > make[3]: Leaving directory '/<<PKGBUILDDIR>>/doc/text' > make[3]: Entering directory '/<<PKGBUILDDIR>>/doc' > 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>>/doc' > rm -f Makefile > make[2]: Leaving directory '/<<PKGBUILDDIR>>/doc' > make[2]: Entering directory '/<<PKGBUILDDIR>>' > rm -rf .libs _libs > rm -f *.lo > test -z "groonga-normalizer-mysql.pc" || rm -f groonga-normalizer-mysql.pc > 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 > 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 > 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:25: warning: 'AM_CONFIG_HEADER': this macro is obsolete. > configure.ac:25: You should use the 'AC_CONFIG_HEADERS' macro instead. > ./lib/autoconf/general.m4:2434: AC_DIAGNOSE is expanded from... > aclocal.m4:1089: AM_CONFIG_HEADER is expanded from... > configure.ac:25: the top level > configure.ac:29: warning: The macro `AC_PROG_LIBTOOL' is obsolete. > configure.ac:29: You should run autoupdate. > m4/libtool.m4:100: AC_PROG_LIBTOOL is expanded from... > configure.ac:29: the top level > configure.ac:29: installing './compile' > configure.ac:27: installing './missing' > normalizers/Makefile.am: installing './depcomp' > dh_auto_configure > ./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 > 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 how to create a pax tar archive... gnutar > 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 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 a sed that does not truncate output... /bin/sed > checking for grep that handles long lines and -e... /bin/grep > checking for egrep... /bin/grep -E > 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 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 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... yes > checking for clang... no > checking for pkg-config... /usr/bin/pkg-config > checking pkg-config is at least version 0.9.0... yes > checking for groonga >= 8.0.4... yes > checking for ruby3.0... no > checking for ruby30... no > checking for ruby2.7... no > checking for ruby27... no > checking for ruby2.6... no > checking for ruby26... no > checking for ruby2.5... no > checking for ruby25... no > checking for ruby2.4... no > checking for ruby24... no > checking for ruby2.3... no > checking for ruby23... no > checking for ruby2.2... no > checking for ruby22... no > checking for ruby2.1... no > checking for ruby21... no > checking for ruby... no > checking that generated files are newer than configure... done > configure: creating ./config.status > config.status: creating Makefile > config.status: creating groonga-normalizer-mysql.pc > config.status: creating build/Makefile > config.status: creating build/cmake_modules/Makefile > config.status: creating normalizers/Makefile > config.status: creating packages/Makefile > config.status: creating packages/ubuntu/Makefile > config.status: creating packages/source/Makefile > config.status: creating test/Makefile > config.status: creating doc/Makefile > config.status: creating doc/text/Makefile > config.status: creating config.h > config.status: executing depfiles commands > config.status: executing libtool commands > groonga-normalizer-mysql 1.2.1 configuration: > ----------------------- > Compiler: gcc > CFLAGS: -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. > -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra > -Wmissing-declarations -Wmissing-prototypes > CXXFLAGS: -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. > -fstack-protector-strong -Wformat -Werror=format-security > Libraries: > > Groonga > CFLAGS: -I/usr/include/groonga > Libraries: -lgroonga > install directory: ${GROONGA_PLUGINS_DIR}/normalizers > dh_auto_build > make -j8 > make[1]: Entering directory '/<<PKGBUILDDIR>>' > make all-recursive > make[2]: Entering directory '/<<PKGBUILDDIR>>' > Making all in build > make[3]: Entering directory '/<<PKGBUILDDIR>>/build' > Making all in cmake_modules > make[4]: Entering directory '/<<PKGBUILDDIR>>/build/cmake_modules' > make[4]: Nothing to be done for 'all'. > make[4]: Leaving directory '/<<PKGBUILDDIR>>/build/cmake_modules' > make[4]: Entering directory '/<<PKGBUILDDIR>>/build' > make[4]: Nothing to be done for 'all-am'. > make[4]: Leaving directory '/<<PKGBUILDDIR>>/build' > make[3]: Leaving directory '/<<PKGBUILDDIR>>/build' > Making all in normalizers > make[3]: Entering directory '/<<PKGBUILDDIR>>/normalizers' > /bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. > -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/groonga -g -O2 > -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat > -Werror=format-security -Wall -Wextra -Wmissing-declarations > -Wmissing-prototypes -c -o mysql.lo mysql.c > libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time > -D_FORTIFY_SOURCE=2 -I/usr/include/groonga -g -O2 > -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat > -Werror=format-security -Wall -Wextra -Wmissing-declarations > -Wmissing-prototypes -c mysql.c -fPIC -DPIC -o .libs/mysql.o > In file included from /usr/include/string.h:535, > from /usr/include/groonga/groonga/groonga.h:25, > from /usr/include/groonga/groonga.h:25, > from /usr/include/groonga/groonga/plugin.h:23, > from /usr/include/groonga/groonga/normalizer.h:22, > from mysql.c:29: > In function âstrncatâ, > inlined from âsized_buffer_appendâ at mysql.c:260:3, > inlined from âsized_buffer_dump_stringâ at mysql.c:287:5, > inlined from âsnippetâ at mysql.c:315:3, > inlined from ânormalizeâ at mysql.c:448:5: > /usr/include/x86_64-linux-gnu/bits/string_fortified.h:138:10: warning: > â__builtin___strncat_chkâ specified bound 256 equals destination size > [-Wstringop-overflow=] > 138 | return __builtin___strncat_chk (__dest, __src, __len, > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > 139 | __glibc_objsize (__dest)); > | ~~~~~~~~~~~~~~~~~~~~~~~~~ > libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time > -D_FORTIFY_SOURCE=2 -I/usr/include/groonga -g -O2 > -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat > -Werror=format-security -Wall -Wextra -Wmissing-declarations > -Wmissing-prototypes -c mysql.c -o mysql.o >/dev/null 2>&1 > /bin/bash ../libtool --tag=CC --mode=link gcc -I/usr/include/groonga -g > -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat > -Werror=format-security -Wall -Wextra -Wmissing-declarations > -Wmissing-prototypes -avoid-version -module -no-undefined -Wl,-z,relro -o > mysql.la -rpath /usr/lib/x86_64-linux-gnu/groonga/plugins/normalizers > mysql.lo -lgroonga > libtool: link: gcc -shared -fPIC -DPIC .libs/mysql.o -lgroonga -g -O2 > -fstack-protector-strong -Wl,-z -Wl,relro -Wl,-soname -Wl,mysql.so -o > .libs/mysql.so > libtool: link: ar cr .libs/mysql.a mysql.o > libtool: link: ranlib .libs/mysql.a > libtool: link: ( cd ".libs" && rm -f "mysql.la" && ln -s "../mysql.la" > "mysql.la" ) > make[3]: Leaving directory '/<<PKGBUILDDIR>>/normalizers' > Making all in packages > make[3]: Entering directory '/<<PKGBUILDDIR>>/packages' > Making all in ubuntu > make[4]: Entering directory '/<<PKGBUILDDIR>>/packages/ubuntu' > make[4]: Nothing to be done for 'all'. > make[4]: Leaving directory '/<<PKGBUILDDIR>>/packages/ubuntu' > Making all in source > make[4]: Entering directory '/<<PKGBUILDDIR>>/packages/source' > make[4]: Nothing to be done for 'all'. > make[4]: Leaving directory '/<<PKGBUILDDIR>>/packages/source' > make[4]: Entering directory '/<<PKGBUILDDIR>>/packages' > make[4]: Nothing to be done for 'all-am'. > make[4]: Leaving directory '/<<PKGBUILDDIR>>/packages' > make[3]: Leaving directory '/<<PKGBUILDDIR>>/packages' > Making all in test > make[3]: Entering directory '/<<PKGBUILDDIR>>/test' > make[3]: Nothing to be done for 'all'. > make[3]: Leaving directory '/<<PKGBUILDDIR>>/test' > Making all in doc > make[3]: Entering directory '/<<PKGBUILDDIR>>/doc' > Making all in text > make[4]: Entering directory '/<<PKGBUILDDIR>>/doc/text' > make[4]: *** No rule to make target 'lgpl-2.0.txt', needed by 'all-am'. Stop. > make[4]: Leaving directory '/<<PKGBUILDDIR>>/doc/text' > make[3]: *** [Makefile:380: all-recursive] Error 1 > make[3]: Leaving directory '/<<PKGBUILDDIR>>/doc' > make[2]: *** [Makefile:514: all-recursive] Error 1 > make[2]: Leaving directory '/<<PKGBUILDDIR>>' > make[1]: *** [Makefile:402: all] Error 2 > make[1]: Leaving directory '/<<PKGBUILDDIR>>' > dh_auto_build: error: make -j8 returned exit code 2 > make: *** [debian/rules:10: 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/groonga-normalizer-mysql_1.2.1-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.

