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

Bug#1045055: creduce: Fails to build source after successful build



Source: creduce
Version: 2.10.0+20220116-1
Severity: minor
Tags: trixie sid ftbfs
User: lucas@debian.org
Usertags: ftbfs-sab-20230813 ftbfs-source-after-build
User: debian-qa@lists.debian.org
Usertags: qa-doublebuild

Hi,

This package fails to build a source package after a successful build
(dpkg-buildpackage ; dpkg-buildpackage -S).

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/SourceAfterBuild

Relevant part of the build log:
> cd /<<PKGBUILDDIR>> && runuser -u user42 -- dpkg-buildpackage --sanitize-env -us -uc -rfakeroot -S
> -------------------------------------------------------------------------------------------------------------------------------
> 
> dpkg-buildpackage: info: source package creduce
> dpkg-buildpackage: info: source version 2.10.0+20220116-1
> dpkg-buildpackage: info: source distribution unstable
> dpkg-buildpackage: info: source changed by Matthias Klose <doko@debian.org>
>  dpkg-source --before-build .
>  fakeroot debian/rules clean
> dh clean  --with autoreconf --parallel
>    debian/rules override_dh_auto_clean
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> rm -rf tests/tmp_*
> dh_auto_clean
> 	make -j8 distclean
> make[2]: Entering directory '/<<PKGBUILDDIR>>'
> Making distclean in clang_delta
> make[3]: Entering directory '/<<PKGBUILDDIR>>/clang_delta'
> test -z "git_version.txt git_version.txt.tmp git_version.cpp git_version.cpp.tmp tests/lit.site.cfg tests/remove_lit_checks" || rm -f git_version.txt git_version.txt.tmp git_version.cpp git_version.cpp.tmp tests/lit.site.cfg tests/remove_lit_checks
> rm -rf .libs _libs
> list=''; \
> for dir in $list; do \
>   if test -d "$dir"; then \
>     rm -rf $dir; \
>   fi; \
> done
> rm -f *.o
> rm -f *.lo
> rm -f *.tab.c
> test -z "" || rm -f 
>  rm -f clang_delta
> rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
> test . = "." || test -z "" || rm -f 
> rm -f ./.deps/clang_delta-AggregateToScalar.Po
> rm -f ./.deps/clang_delta-BinOpSimplification.Po
> rm -f ./.deps/clang_delta-CallExprToValue.Po
> rm -f ./.deps/clang_delta-ClangDelta.Po
> rm -f ./.deps/clang_delta-ClassTemplateToClass.Po
> rm -f ./.deps/clang_delta-CombineGlobalVarDecl.Po
> rm -f ./.deps/clang_delta-CombineLocalVarDecl.Po
> rm -f ./.deps/clang_delta-CopyPropagation.Po
> rm -f ./.deps/clang_delta-EmptyStructToInt.Po
> rm -f ./.deps/clang_delta-ExpressionDetector.Po
> rm -f ./.deps/clang_delta-InstantiateTemplateParam.Po
> rm -f ./.deps/clang_delta-InstantiateTemplateTypeParamToInt.Po
> rm -f ./.deps/clang_delta-LiftAssignmentExpr.Po
> rm -f ./.deps/clang_delta-LocalToGlobal.Po
> rm -f ./.deps/clang_delta-MoveFunctionBody.Po
> rm -f ./.deps/clang_delta-MoveGlobalVar.Po
> rm -f ./.deps/clang_delta-ParamToGlobal.Po
> rm -f ./.deps/clang_delta-ParamToLocal.Po
> rm -f ./.deps/clang_delta-ReduceArrayDim.Po
> rm -f ./.deps/clang_delta-ReduceArraySize.Po
> rm -f ./.deps/clang_delta-ReduceClassTemplateParameter.Po
> rm -f ./.deps/clang_delta-ReducePointerLevel.Po
> rm -f ./.deps/clang_delta-ReducePointerPairs.Po
> rm -f ./.deps/clang_delta-RemoveAddrTaken.Po
> rm -f ./.deps/clang_delta-RemoveArray.Po
> rm -f ./.deps/clang_delta-RemoveBaseClass.Po
> rm -f ./.deps/clang_delta-RemoveCtorInitializer.Po
> rm -f ./.deps/clang_delta-RemoveEnumMemberValue.Po
> rm -f ./.deps/clang_delta-RemoveNamespace.Po
> rm -f ./.deps/clang_delta-RemoveNestedFunction.Po
> rm -f ./.deps/clang_delta-RemovePointer.Po
> rm -f ./.deps/clang_delta-RemoveTrivialBaseTemplate.Po
> rm -f ./.deps/clang_delta-RemoveUnresolvedBase.Po
> rm -f ./.deps/clang_delta-RemoveUnusedEnumMember.Po
> rm -f ./.deps/clang_delta-RemoveUnusedFunction.Po
> rm -f ./.deps/clang_delta-RemoveUnusedOuterClass.Po
> rm -f ./.deps/clang_delta-RemoveUnusedStructField.Po
> rm -f ./.deps/clang_delta-RemoveUnusedVar.Po
> rm -f ./.deps/clang_delta-RenameCXXMethod.Po
> rm -f ./.deps/clang_delta-RenameClass.Po
> rm -f ./.deps/clang_delta-RenameFun.Po
> rm -f ./.deps/clang_delta-RenameParam.Po
> rm -f ./.deps/clang_delta-RenameVar.Po
> rm -f ./.deps/clang_delta-ReplaceArrayAccessWithIndex.Po
> rm -f ./.deps/clang_delta-ReplaceArrayIndexVar.Po
> rm -f ./.deps/clang_delta-ReplaceCallExpr.Po
> rm -f ./.deps/clang_delta-ReplaceClassWithBaseTemplateSpec.Po
> rm -f ./.deps/clang_delta-ReplaceDependentName.Po
> rm -f ./.deps/clang_delta-ReplaceDependentTypedef.Po
> rm -f ./.deps/clang_delta-ReplaceDerivedClass.Po
> rm -f ./.deps/clang_delta-ReplaceFunctionDefWithDecl.Po
> rm -f ./.deps/clang_delta-ReplaceOneLevelTypedefType.Po
> rm -f ./.deps/clang_delta-ReplaceSimpleTypedef.Po
> rm -f ./.deps/clang_delta-ReplaceUndefinedFunction.Po
> rm -f ./.deps/clang_delta-ReturnVoid.Po
> rm -f ./.deps/clang_delta-RewriteUtils.Po
> rm -f ./.deps/clang_delta-SimpleInliner.Po
> rm -f ./.deps/clang_delta-SimplifyCallExpr.Po
> rm -f ./.deps/clang_delta-SimplifyCommaExpr.Po
> rm -f ./.deps/clang_delta-SimplifyDependentTypedef.Po
> rm -f ./.deps/clang_delta-SimplifyIf.Po
> rm -f ./.deps/clang_delta-SimplifyNestedClass.Po
> rm -f ./.deps/clang_delta-SimplifyRecursiveTemplateInstantiation.Po
> rm -f ./.deps/clang_delta-SimplifyStruct.Po
> rm -f ./.deps/clang_delta-SimplifyStructUnionDecl.Po
> rm -f ./.deps/clang_delta-TemplateArgToInt.Po
> rm -f ./.deps/clang_delta-TemplateNonTypeArgToInt.Po
> rm -f ./.deps/clang_delta-Transformation.Po
> rm -f ./.deps/clang_delta-TransformationManager.Po
> rm -f ./.deps/clang_delta-UnifyFunctionDecl.Po
> rm -f ./.deps/clang_delta-UnionToStruct.Po
> rm -f ./.deps/clang_delta-VectorToArray.Po
> rm -f ./.deps/clang_delta-git_version.Po
> rm -f Makefile
> make[3]: Leaving directory '/<<PKGBUILDDIR>>/clang_delta'
> Making distclean in clex
> make[3]: Entering directory '/<<PKGBUILDDIR>>/clex'
> rm -rf .libs _libs
> rm -f *.o
> rm -f *.lo
> rm -f *.tab.c
> test -z "" || rm -f 
>  rm -f clex strlex
> rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
> test . = "." || test -z "" || rm -f 
> rm -f ./.deps/clex-clex.Po
> rm -f ./.deps/clex-driver.Po
> rm -f ./.deps/strlex-driver.Po
> rm -f ./.deps/strlex-strlex.Po
> rm -f Makefile
> make[3]: Leaving directory '/<<PKGBUILDDIR>>/clex'
> Making distclean in creduce
> make[3]: Entering directory '/<<PKGBUILDDIR>>/creduce'
> test -z "creduce creduce_config.pm git_version.txt git_version.txt.tmp" || rm -f creduce creduce_config.pm git_version.txt git_version.txt.tmp
> rm -rf .libs _libs
> for pm in creduce_regexes.pm creduce_utils.pm pass_balanced.pm pass_blank.pm pass_clang.pm pass_clang_binsrch.pm pass_clex.pm pass_comments.pm pass_ifs.pm pass_include_includes.pm pass_includes.pm pass_indent.pm pass_ints.pm pass_line_markers.pm pass_lines.pm pass_peep.pm pass_special.pm pass_ternary.pm pass_unifdef.pm; do \
>   test \! -L "$pm" || rm -f "$pm"; \
> done
> rm -f *.lo
> test -z "" || rm -f 
> test . = "." || test -z "" || rm -f 
> rm -f Makefile
> make[3]: Leaving directory '/<<PKGBUILDDIR>>/creduce'
> Making distclean in delta
> make[3]: Entering directory '/<<PKGBUILDDIR>>/delta'
> rm -rf .libs _libs
> rm -f *.o
> rm -f *.lo
> rm -f *.tab.c
> test -z "" || rm -f 
> rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
>  rm -f topformflat
> test . = "." || test -z "" || rm -f 
> rm -f ./.deps/topformflat-topformflat.Po
> rm -f Makefile
> make[3]: Leaving directory '/<<PKGBUILDDIR>>/delta'
> Making distclean in scripts
> make[3]: Entering directory '/<<PKGBUILDDIR>>/scripts'
> rm -rf .libs _libs
> rm -f *.lo
> test -z "" || rm -f 
> test . = "." || test -z "" || rm -f 
> rm -f Makefile
> make[3]: Leaving directory '/<<PKGBUILDDIR>>/scripts'
> Making distclean in tests
> make[3]: Entering directory '/<<PKGBUILDDIR>>/tests'
> rm -rf .libs _libs
> for f in run_tests test0.bat test0.sh test1.sh test2.sh test3.sh test4.sh test5.sh test6.sh test7.sh file1.c file2.c file3.c; do \
>   test \! -L "$f" || rm -f "$f"; \
> done
> rm -f *.lo
> test -z "" || rm -f 
> test . = "." || test -z "" || rm -f 
> rm -f Makefile
> make[3]: Leaving directory '/<<PKGBUILDDIR>>/tests'
> Making distclean in unifdef
> make[3]: Entering directory '/<<PKGBUILDDIR>>/unifdef'
> rm -rf .libs _libs
> rm -f *.o
> rm -f *.lo
> rm -f *.tab.c
> test -z "" || rm -f 
> rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
>  rm -f unifdef
> test . = "." || test -z "" || rm -f 
> rm -f ./.deps/unifdef-unifdef.Po
> rm -f Makefile
> make[3]: Leaving directory '/<<PKGBUILDDIR>>/unifdef'
> make[3]: Entering directory '/<<PKGBUILDDIR>>'
> rm -rf .libs _libs
> rm -f *.lo
> test -z "" || rm -f 
> 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[3]: Leaving directory '/<<PKGBUILDDIR>>'
> rm -f config.status config.cache config.log configure.lineno config.status.lineno
> rm -f Makefile
> make[2]: Leaving directory '/<<PKGBUILDDIR>>'
> make[1]: Leaving directory '/<<PKGBUILDDIR>>'
>    dh_autoreconf_clean
>    dh_clean
>  dpkg-source -b .
> dpkg-source: info: using source format '3.0 (quilt)'
> dpkg-source: info: building creduce using existing ./creduce_2.10.0+20220116.orig.tar.xz
> dpkg-source: info: using patch list from debian/patches/series
> dpkg-source: warning: ignoring deletion of file aclocal.m4, use --include-removal to override
> dpkg-source: warning: ignoring deletion of file Makefile.in, use --include-removal to override
> dpkg-source: warning: ignoring deletion of file configure, use --include-removal to override
> dpkg-source: warning: ignoring deletion of file config.h.in, use --include-removal to override
> dpkg-source: warning: ignoring deletion of file clex/Makefile.in, use --include-removal to override
> dpkg-source: warning: ignoring deletion of file unifdef/Makefile.in, use --include-removal to override
> dpkg-source: warning: ignoring deletion of file m4/ltsugar.m4, use --include-removal to override
> dpkg-source: warning: ignoring deletion of file m4/lt~obsolete.m4, use --include-removal to override
> dpkg-source: warning: ignoring deletion of file m4/ltversion.m4, use --include-removal to override
> dpkg-source: warning: ignoring deletion of file m4/libtool.m4, use --include-removal to override
> dpkg-source: warning: ignoring deletion of file m4/ltoptions.m4, use --include-removal to override
> dpkg-source: warning: ignoring deletion of file delta/Makefile.in, use --include-removal to override
> dpkg-source: warning: ignoring deletion of file clang_delta/Makefile.in, use --include-removal to override
> dpkg-source: warning: ignoring deletion of file tests/Makefile.in, use --include-removal to override
> dpkg-source: warning: ignoring deletion of file creduce/Makefile.in, use --include-removal to override
> dpkg-source: warning: ignoring deletion of file scripts/Makefile.in, use --include-removal to override
> dpkg-source: warning: ignoring deletion of file autoconf/install-sh, use --include-removal to override
> dpkg-source: warning: ignoring deletion of file autoconf/compile, use --include-removal to override
> dpkg-source: warning: ignoring deletion of file autoconf/ltmain.sh, use --include-removal to override
> dpkg-source: warning: ignoring deletion of file autoconf/depcomp, use --include-removal to override
> dpkg-source: warning: ignoring deletion of file autoconf/ylwrap, use --include-removal to override
> dpkg-source: warning: ignoring deletion of file autoconf/missing, use --include-removal to override
> dpkg-source: info: local changes detected, the modified files are:
>  creduce-2.10.0+20220116/clex/clex.c
>  creduce-2.10.0+20220116/clex/strlex.c
>  creduce-2.10.0+20220116/delta/topformflat.c
> dpkg-source: error: aborting due to unexpected upstream changes, see /tmp/creduce_2.10.0+20220116-1.diff.kzefx1
> dpkg-source: info: Hint: make sure the version in debian/changelog matches the unpacked source tree
> dpkg-source: info: you can integrate the local changes with dpkg-source --commit
> dpkg-buildpackage: error: dpkg-source -b . subprocess returned exit status 2
> 
> E: Command 'cd /<<PKGBUILDDIR>> && runuser -u user42 -- dpkg-buildpackage --sanitize-env -us -uc -rfakeroot -S' failed to run.


The full build log is available from:
http://qa-logs.debian.net/2023/08/13/creduce_2.10.0+20220116-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: