Source: yara
Version: 4.3.2-1
Severity: minor
Tags: trixie sid ftbfs
User: [email protected]
Usertags: ftbfs-sab-20230813 ftbfs-source-after-build
User: [email protected]
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 yara
> dpkg-buildpackage: info: source version 4.3.2-1
> dpkg-buildpackage: info: source distribution unstable
> dpkg-buildpackage: info: source changed by Hilko Bengen <[email protected]>
>  dpkg-source --before-build .
> dpkg-source: info: using options from yara-4.3.2/debian/source/options: 
> --extend-diff-ignore=^REVISION$
>  fakeroot debian/rules clean
> dh clean  --with sphinxdoc
>    debian/rules override_dh_auto_clean
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> rm -rf yara-python/build docs/_build
> dh_auto_clean
>       make -j8 distclean
> make[2]: Entering directory '/<<PKGBUILDDIR>>'
> test -z "tests/mapper" || rm -f tests/mapper
> test -z "libyara.la" || rm -f libyara.la
> rm -rf .libs _libs
> rm -f *.o
>  rm -f yara yarac
> test -z "" || rm -f 
> rm -f *.lo
>  rm -f test-arena test-alignment test-atoms test-api test-rules test-pe 
> test-elf test-version test-bitmask test-math test-stack test-re-split 
> test-async test-string test-exception test-macho test-dex test-dotnet 
> test-magic
> test -z "test-arena.log test-alignment.log test-atoms.log test-api.log 
> test-rules.log test-pe.log test-elf.log test-version.log test-bitmask.log 
> test-math.log test-stack.log test-re-split.log test-async.log test-string.log 
> test-exception.log test-macho.log test-dex.log test-dotnet.log 
> test-magic.log" || rm -f test-arena.log test-alignment.log test-atoms.log 
> test-api.log test-rules.log test-pe.log test-elf.log test-version.log 
> test-bitmask.log test-math.log test-stack.log test-re-split.log 
> test-async.log test-string.log test-exception.log test-macho.log test-dex.log 
> test-dotnet.log test-magic.log
> rm -f *.tab.c
> rm -f cli/*.o
> test -z "yara.pc" || rm -f yara.pc
> test -z "test-arena.trs test-alignment.trs test-atoms.trs test-api.trs 
> test-rules.trs test-pe.trs test-elf.trs test-version.trs test-bitmask.trs 
> test-math.trs test-stack.trs test-re-split.trs test-async.trs test-string.trs 
> test-exception.trs test-macho.trs test-dex.trs test-dotnet.trs 
> test-magic.trs" || rm -f test-arena.trs test-alignment.trs test-atoms.trs 
> test-api.trs test-rules.trs test-pe.trs test-elf.trs test-version.trs 
> test-bitmask.trs test-math.trs test-stack.trs test-re-split.trs 
> test-async.trs test-string.trs test-exception.trs test-macho.trs test-dex.trs 
> test-dotnet.trs test-magic.trs
> rm -rf libyara/.libs libyara/_libs
> rm -f libyara/*.o
> rm -f libtool config.lt
> test . = "." || test -z "" || rm -f 
> rm -f cli/.deps/.dirstamp
> rm -f ./so_locations
> rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
> rm -rf libyara/modules/console/.libs libyara/modules/console/_libs
> rm -f cli/.dirstamp
> rm -f cscope.out cscope.in.out cscope.po.out cscope.files
> test -z "test-suite.log" || rm -f test-suite.log
> rm -rf libyara/modules/cuckoo/.libs libyara/modules/cuckoo/_libs
> rm -f libyara/*.lo
> rm -f libyara/.deps/.dirstamp
> rm -rf libyara/modules/dex/.libs libyara/modules/dex/_libs
> rm -f libyara/.dirstamp
> rm -rf libyara/modules/dotnet/.libs libyara/modules/dotnet/_libs
> rm -rf libyara/modules/elf/.libs libyara/modules/elf/_libs
> rm -f libyara/modules/console/*.o
> rm -f libyara/modules/console/.deps/.dirstamp
> rm -f libyara/modules/console/*.lo
> rm -f libyara/modules/console/.dirstamp
> rm -rf libyara/modules/hash/.libs libyara/modules/hash/_libs
> rm -f libyara/modules/cuckoo/*.o
> rm -f libyara/modules/cuckoo/.deps/.dirstamp
> rm -f libyara/modules/cuckoo/*.lo
> rm -f libyara/modules/cuckoo/.dirstamp
> rm -f libyara/modules/dex/*.o
> rm -rf libyara/modules/macho/.libs libyara/modules/macho/_libs
> rm -f libyara/modules/dex/*.lo
> rm -f libyara/modules/dex/.deps/.dirstamp
> rm -rf libyara/modules/magic/.libs libyara/modules/magic/_libs
> rm -f libyara/modules/dex/.dirstamp
> rm -f libyara/modules/dotnet/*.o
> rm -rf libyara/modules/math/.libs libyara/modules/math/_libs
> rm -f libyara/modules/dotnet/.deps/.dirstamp
> rm -f libyara/modules/dotnet/*.lo
> rm -rf libyara/modules/pb_tests/.libs libyara/modules/pb_tests/_libs
> rm -f libyara/modules/dotnet/.dirstamp
> rm -f libyara/modules/elf/*.o
> rm -rf libyara/modules/pe/.libs libyara/modules/pe/_libs
> rm -f libyara/modules/elf/.deps/.dirstamp
> rm -rf libyara/modules/pe/authenticode-parser/.libs 
> libyara/modules/pe/authenticode-parser/_libs
> rm -f libyara/modules/elf/*.lo
> rm -f libyara/modules/hash/*.o
> rm -f libyara/modules/elf/.dirstamp
> rm -rf libyara/modules/string/.libs libyara/modules/string/_libs
> rm -f libyara/modules/hash/*.lo
> rm -rf libyara/modules/tests/.libs libyara/modules/tests/_libs
> rm -f libyara/modules/hash/.deps/.dirstamp
> rm -f libyara/modules/macho/*.o
> rm -f libyara/modules/hash/.dirstamp
> rm -rf libyara/modules/time/.libs libyara/modules/time/_libs
> rm -f libyara/modules/macho/*.lo
> rm -f libyara/modules/macho/.deps/.dirstamp
> rm -rf libyara/proc/.libs libyara/proc/_libs
> rm -f libyara/modules/magic/*.o
> rm -f libyara/modules/macho/.dirstamp
> rm -rf libyara/tlshc/.libs libyara/tlshc/_libs
> rm -f libyara/modules/magic/.deps/.dirstamp
> rm -rf tests/.libs tests/_libs
> rm -f libyara/modules/magic/.dirstamp
> rm -f libyara/modules/magic/*.lo
> rm -f libyara/modules/math/.deps/.dirstamp
> rm -f libyara/modules/math/.dirstamp
> rm -f libyara/modules/pb_tests/.deps/.dirstamp
> rm -f libyara/modules/pb_tests/.dirstamp
> rm -f libyara/modules/pe/.deps/.dirstamp
> rm -f libyara/modules/pe/.dirstamp
> rm -f libyara/modules/pe/authenticode-parser/.deps/.dirstamp
> rm -f libyara/modules/math/*.o
> rm -f libyara/modules/pe/authenticode-parser/.dirstamp
> rm -f libyara/modules/math/*.lo
> rm -f libyara/modules/pb_tests/*.o
> rm -f libyara/modules/pb_tests/*.lo
> rm -f libyara/modules/string/.deps/.dirstamp
> rm -f libyara/modules/pe/*.o
> rm -f libyara/modules/string/.dirstamp
> rm -f libyara/modules/pe/*.lo
> rm -f libyara/modules/tests/.deps/.dirstamp
> rm -f libyara/modules/pe/authenticode-parser/*.o
> rm -f libyara/modules/tests/.dirstamp
> rm -f libyara/modules/pe/authenticode-parser/*.lo
> rm -f libyara/modules/time/.deps/.dirstamp
> rm -f libyara/modules/string/*.o
> rm -f libyara/modules/string/*.lo
> rm -f libyara/modules/time/.dirstamp
> rm -f libyara/proc/.deps/.dirstamp
> rm -f libyara/modules/tests/*.o
> rm -f libyara/proc/.dirstamp
> rm -f libyara/modules/tests/*.lo
> rm -f libyara/tlshc/.deps/.dirstamp
> rm -f libyara/modules/time/*.o
> rm -f libyara/tlshc/.dirstamp
> rm -f libyara/modules/time/*.lo
> rm -f tests/.deps/.dirstamp
> rm -f libyara/proc/*.o
> rm -f tests/.dirstamp
> rm -f libyara/proc/*.lo
> rm -f libyara/tlshc/*.o
> rm -f libyara/tlshc/*.lo
> rm -f tests/*.o
> rm -f config.status config.cache config.log configure.lineno 
> config.status.lineno
> rm -f cli/.deps/args.Po
> rm -f cli/.deps/common.Po
> rm -f cli/.deps/threading.Po
> rm -f cli/.deps/yara.Po
> rm -f cli/.deps/yarac.Po
> rm -f libyara/.deps/la-ahocorasick.Plo
> rm -f libyara/.deps/la-arena.Plo
> rm -f libyara/.deps/la-atoms.Plo
> rm -f libyara/.deps/la-base64.Plo
> rm -f libyara/.deps/la-bitmask.Plo
> rm -f libyara/.deps/la-compiler.Plo
> rm -f libyara/.deps/la-endian.Plo
> rm -f libyara/.deps/la-exec.Plo
> rm -f libyara/.deps/la-exefiles.Plo
> rm -f libyara/.deps/la-filemap.Plo
> rm -f libyara/.deps/la-grammar.Plo
> rm -f libyara/.deps/la-hash.Plo
> rm -f libyara/.deps/la-hex_grammar.Plo
> rm -f libyara/.deps/la-hex_lexer.Plo
> rm -f libyara/.deps/la-lexer.Plo
> rm -f libyara/.deps/la-libyara.Plo
> rm -f libyara/.deps/la-mem.Plo
> rm -f libyara/.deps/la-modules.Plo
> rm -f libyara/.deps/la-notebook.Plo
> rm -f libyara/.deps/la-object.Plo
> rm -f libyara/.deps/la-parser.Plo
> rm -f libyara/.deps/la-proc.Plo
> rm -f libyara/.deps/la-re.Plo
> rm -f libyara/.deps/la-re_grammar.Plo
> rm -f libyara/.deps/la-re_lexer.Plo
> rm -f libyara/.deps/la-rules.Plo
> rm -f libyara/.deps/la-scan.Plo
> rm -f libyara/.deps/la-scanner.Plo
> rm -f libyara/.deps/la-simple_str.Plo
> rm -f libyara/.deps/la-sizedstr.Plo
> rm -f libyara/.deps/la-stack.Plo
> rm -f libyara/.deps/la-stopwatch.Plo
> rm -f libyara/.deps/la-stream.Plo
> rm -f libyara/.deps/la-strutils.Plo
> rm -f libyara/.deps/la-threading.Plo
> rm -f libyara/modules/console/.deps/la-console.Plo
> rm -f libyara/modules/cuckoo/.deps/la-cuckoo.Plo
> rm -f libyara/modules/dex/.deps/la-dex.Plo
> rm -f libyara/modules/dotnet/.deps/la-dotnet.Plo
> rm -f libyara/modules/elf/.deps/la-elf.Plo
> rm -f libyara/modules/hash/.deps/la-hash.Plo
> rm -f libyara/modules/macho/.deps/la-macho.Plo
> rm -f libyara/modules/magic/.deps/la-magic.Plo
> rm -f libyara/modules/math/.deps/la-math.Plo
> rm -f libyara/modules/pb_tests/.deps/la-pb_tests.Plo
> rm -f libyara/modules/pb_tests/.deps/la-pb_tests.pb-c.Plo
> rm -f libyara/modules/pe/.deps/la-pe.Plo
> rm -f libyara/modules/pe/.deps/la-pe_utils.Plo
> rm -f libyara/modules/pe/authenticode-parser/.deps/la-authenticode.Plo
> rm -f libyara/modules/pe/authenticode-parser/.deps/la-certificate.Plo
> rm -f libyara/modules/pe/authenticode-parser/.deps/la-countersignature.Plo
> rm -f libyara/modules/pe/authenticode-parser/.deps/la-helper.Plo
> rm -f libyara/modules/pe/authenticode-parser/.deps/la-structs.Plo
> rm -f libyara/modules/string/.deps/la-string.Plo
> rm -f libyara/modules/tests/.deps/la-tests.Plo
> rm -f libyara/modules/time/.deps/la-time.Plo
> rm -f libyara/proc/.deps/la-freebsd.Plo
> rm -f libyara/proc/.deps/la-linux.Plo
> rm -f libyara/proc/.deps/la-mach.Plo
> rm -f libyara/proc/.deps/la-none.Plo
> rm -f libyara/proc/.deps/la-openbsd.Plo
> rm -f libyara/proc/.deps/la-windows.Plo
> rm -f libyara/tlshc/.deps/la-tlsh.Plo
> rm -f libyara/tlshc/.deps/la-tlsh_impl.Plo
> rm -f libyara/tlshc/.deps/la-tlsh_util.Plo
> rm -f tests/.deps/mapper-mapper.Po
> rm -f tests/.deps/test-alignment.Po
> rm -f tests/.deps/test-api.Po
> rm -f tests/.deps/test-arena.Po
> rm -f tests/.deps/test-async.Po
> rm -f tests/.deps/test-atoms.Po
> rm -f tests/.deps/test-bitmask.Po
> rm -f tests/.deps/test-dex.Po
> rm -f tests/.deps/test-dotnet.Po
> rm -f tests/.deps/test-elf.Po
> rm -f tests/.deps/test-exception.Po
> rm -f tests/.deps/test-macho.Po
> rm -f tests/.deps/test-magic.Po
> rm -f tests/.deps/test-math.Po
> rm -f tests/.deps/test-pb.Po
> rm -f tests/.deps/test-pe.Po
> rm -f tests/.deps/test-re-split.Po
> rm -f tests/.deps/test-rules.Po
> rm -f tests/.deps/test-stack.Po
> rm -f tests/.deps/test-string.Po
> rm -f tests/.deps/test-version.Po
> rm -f tests/.deps/util.Po
> 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 options from yara-4.3.2/debian/source/options: 
> --extend-diff-ignore=^REVISION$
> dpkg-source: info: using source format '3.0 (quilt)'
> dpkg-source: info: building yara using existing ./yara_4.3.2.orig.tar.gz
> dpkg-source: error: cannot represent change to test-arena-stream: binary file 
> contents changed
> dpkg-source: error: add test-arena-stream in debian/source/include-binaries 
> if you want to store the modified binary in the debian tarball
> dpkg-source: error: cannot represent change to test-rules.yarc: binary file 
> contents changed
> dpkg-source: error: add test-rules.yarc in debian/source/include-binaries if 
> you want to store the modified binary in the debian tarball
> dpkg-source: error: unrepresentable changes to source
> dpkg-buildpackage: error: dpkg-source -b . subprocess returned exit status 1
> 
> 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/yara_4.3.2-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