Source: universal-ctags
Version: 5.9.20210829.0-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 universal-ctags
> dpkg-buildpackage: info: source version 5.9.20210829.0-1
> dpkg-buildpackage: info: source distribution unstable
> dpkg-buildpackage: info: source changed by Alessandro Ghedini 
> <[email protected]>
>  dpkg-source --before-build .
> dpkg-buildpackage: info: host architecture amd64
>  fakeroot debian/rules clean
> dh clean --with=autoreconf
>    dh_auto_clean
>       make -j8 distclean
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> Making distclean in gnulib
> make[2]: Entering directory '/<<PKGBUILDDIR>>/gnulib'
> make[3]: Entering directory '/<<PKGBUILDDIR>>/gnulib'
> test -z "" || rm -f 
> test -z "libgnu.a" || rm -f libgnu.a
> test -z "" || rm -f 
> rm -f *.o
> test -z "core *.stackdump alloca.h alloca.h-t ctype.h ctype.h-t 
> malloc/dynarray.gl.h malloc/dynarray.gl.h-t malloc/dynarray-skeleton.gl.h 
> malloc/dynarray-skeleton.gl.h-t fnmatch.h fnmatch.h-t inttypes.h inttypes.h-t 
> langinfo.h langinfo.h-t limits.h limits.h-t locale.h locale.h-t stdbool.h 
> stdbool.h-t stddef.h stddef.h-t stdint.h stdint.h-t stdlib.h stdlib.h-t 
> string.h string.h-t sys/types.h sys/types.h-t unistd.h unistd.h-t wchar.h 
> wchar.h-t wctype.h wctype.h-t" || rm -f core *.stackdump alloca.h alloca.h-t 
> ctype.h ctype.h-t malloc/dynarray.gl.h malloc/dynarray.gl.h-t 
> malloc/dynarray-skeleton.gl.h malloc/dynarray-skeleton.gl.h-t fnmatch.h 
> fnmatch.h-t inttypes.h inttypes.h-t langinfo.h langinfo.h-t limits.h 
> limits.h-t locale.h locale.h-t stdbool.h stdbool.h-t stddef.h stddef.h-t 
> stdint.h stdint.h-t stdlib.h stdlib.h-t string.h string.h-t sys/types.h 
> sys/types.h-t unistd.h unistd.h-t wchar.h wchar.h-t wctype.h wctype.h-t
> rm -f *.tab.c
> test -z "" || rm -f 
> rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
> test . = "." || test -z "" || rm -f 
> rm -f glthread/.deps/.dirstamp
> rm -f glthread/*.o
> rm -f glthread/.dirstamp
> rm -f malloc/*.o
> rm -f malloc/.deps/.dirstamp
> rm -f malloc/.dirstamp
> test -z "" || rm -f 
> make[3]: Leaving directory '/<<PKGBUILDDIR>>/gnulib'
> rm -f ./.deps/btowc.Po
> rm -f ./.deps/fnmatch.Po
> rm -f ./.deps/fnmatch_loop.Po
> rm -f ./.deps/hard-locale.Po
> rm -f ./.deps/isblank.Po
> rm -f ./.deps/lc-charset-dispatch.Po
> rm -f ./.deps/localcharset.Po
> rm -f ./.deps/localeconv.Po
> rm -f ./.deps/mbrtowc.Po
> rm -f ./.deps/mbsinit.Po
> rm -f ./.deps/mbsrtowcs-state.Po
> rm -f ./.deps/mbsrtowcs.Po
> rm -f ./.deps/mbtowc-lock.Po
> rm -f ./.deps/mbtowc.Po
> rm -f ./.deps/memchr.Po
> rm -f ./.deps/mempcpy.Po
> rm -f ./.deps/nl_langinfo-lock.Po
> rm -f ./.deps/nl_langinfo.Po
> rm -f ./.deps/regcomp.Po
> rm -f ./.deps/regex.Po
> rm -f ./.deps/regex_internal.Po
> rm -f ./.deps/regexec.Po
> rm -f ./.deps/setlocale-lock.Po
> rm -f ./.deps/setlocale_null.Po
> rm -f ./.deps/strnlen.Po
> rm -f ./.deps/strnlen1.Po
> rm -f ./.deps/unistd.Po
> rm -f ./.deps/wcrtomb.Po
> rm -f ./.deps/wctype-h.Po
> rm -f ./.deps/windows-mutex.Po
> rm -f ./.deps/windows-once.Po
> rm -f ./.deps/windows-recmutex.Po
> rm -f ./.deps/windows-rwlock.Po
> rm -f ./.deps/wmemchr.Po
> rm -f ./.deps/wmempcpy.Po
> rm -f glthread/.deps/lock.Po
> rm -f glthread/.deps/threadlib.Po
> rm -f malloc/.deps/dynarray-skeleton.Po
> rm -f malloc/.deps/dynarray_at_failure.Po
> rm -f malloc/.deps/dynarray_emplace_enlarge.Po
> rm -f malloc/.deps/dynarray_finalize.Po
> rm -f malloc/.deps/dynarray_resize.Po
> rm -f malloc/.deps/dynarray_resize_clear.Po
> rm -f Makefile
> make[2]: Leaving directory '/<<PKGBUILDDIR>>/gnulib'
> Making distclean in .
> make[2]: Entering directory '/<<PKGBUILDDIR>>'
> test -z "ctags readtags optscript" || rm -f ctags readtags optscript
> test -z "./packcc main/repoinfo.h peg/varlink.c peg/kotlin.c peg/varlink.h 
> peg/kotlin.h" || rm -f ./packcc main/repoinfo.h peg/varlink.c peg/kotlin.c 
> peg/varlink.h peg/kotlin.h
> echo Cleaning test units
> echo Cleaning main part tests
> rm -rf ManTest
> test -z "libctags.a" || rm -f libctags.a
> test -z "mini-geany" || rm -f mini-geany
> rm -f *.o
> Cleaning test units
> if test -d $(pwd)/Units; then \
>       /bin/bash ./misc/units clean $(pwd)/Units; \
> fi
> test -z "" || rm -f 
> Cleaning main part tests
> if test -d $(pwd)/Tmain; then \
>       /bin/bash ./misc/units clean-tmain $(pwd)/Tmain; \
> fi
> rm -f *.tab.c
> rm -f dsl/*.o
> test -z "" || rm -f 
> rm -f config.h stamp-h1
> rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
> rm -f extra-cmds/*.o
> test . = "." || test -z "" || rm -f 
> rm -f cscope.out cscope.in.out cscope.po.out cscope.files
> rm -f dsl/.deps/.dirstamp
> rm -f libreadtags/*.o
> rm -f dsl/.dirstamp
> rm -f main/*.o
> rm -f extra-cmds/.deps/.dirstamp
> rm -f extra-cmds/.dirstamp
> rm -f optlib/*.o
> rm -f libreadtags/.deps/.dirstamp
> rm -f libreadtags/.dirstamp
> rm -f parsers/*.o
> rm -f main/.deps/.dirstamp
> rm -f main/.dirstamp
> rm -f optlib/.deps/.dirstamp
> rm -f optlib/.dirstamp
> rm -f parsers/.deps/.dirstamp
> rm -f parsers/.dirstamp
> rm -f parsers/cxx/*.o
> rm -f parsers/cxx/.deps/.dirstamp
> rm -f parsers/cxx/.dirstamp
> rm -f peg/.deps/.dirstamp
> rm -f peg/*.o
> rm -f peg/.dirstamp
> make[3]: Entering directory '/<<PKGBUILDDIR>>/docs'
> Makefile:13: *** The 'sphinx-build' command was not found. Make sure you have 
> Sphinx installed, then set the SPHINXBUILD environment variable to point to 
> the full path of the 'sphinx-build' executable. Alternatively you can add the 
> directory with the executable to your PATH. If you don't have Sphinx 
> installed, grab it from http://sphinx-doc.org/.  Stop.
> make[3]: Leaving directory '/<<PKGBUILDDIR>>/docs'
> make[2]: *** [Makefile:6641: clean-local] Error 2
> make[2]: Leaving directory '/<<PKGBUILDDIR>>'
> make[1]: *** [Makefile:5771: distclean-recursive] Error 1
> make[1]: Leaving directory '/<<PKGBUILDDIR>>'
> dh_auto_clean: error: make -j8 distclean returned exit code 2
> make: *** [debian/rules:10: clean] Error 25
> dpkg-buildpackage: error: fakeroot debian/rules clean 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/universal-ctags_5.9.20210829.0-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 via email to