Package: sbuild
Version: 0.80.1
Severity: important

Dear Maintainer,

I am running a builder for the Tryton packages that is configured to provide 
a changes as well as a source.changes file. The first used for the
upload to the reprepro mirror, the latter used to upload to Debian.

The results of the last builder run caused mismatches of checksums when
importing to reprepro. Indeed the control of the checksums prooved to be
wrong. I suspect the following lines in the build logs to be the
culprit:

"""
Signature with key 'mathi...@m9s.biz' requested:
 signfile dsc 
/home/mathiasb/bin/tryton/debian_builder/results/sid/tryton-server_5.0.30-1.dsc 
mathi...@m9s.biz

 fixup_buildinfo 
/home/mathiasb/bin/tryton/debian_builder/results/sid/tryton-server_5.0.30-1.dsc 
/home/mathiasb/bin/tryton/debian_builder/results/sid/tryton-server_5.0.30-1_amd64.buildinfo
 signfile buildinfo 
/home/mathiasb/bin/tryton/debian_builder/results/sid/tryton-server_5.0.30-1_amd64.buildinfo
 mathi...@m9s.biz

 fixup_changes dsc 
/home/mathiasb/bin/tryton/debian_builder/results/sid/tryton-server_5.0.30-1.dsc 
/home/mathiasb/bin/tryton/debian_builder/results/sid/tryton-server_5.0.30-1_amd64.changes
 fixup_changes buildinfo 
/home/mathiasb/bin/tryton/debian_builder/results/sid/tryton-server_5.0.30-1_amd64.buildinfo
 
/home/mathiasb/bin/tryton/debian_builder/results/sid/tryton-server_5.0.30-1_amd64.changes
 signfile changes 
/home/mathiasb/bin/tryton/debian_builder/results/sid/tryton-server_5.0.30-1_amd64.changes
 mathi...@m9s.biz

Successfully signed dsc, buildinfo, changes files

---> from here comes the problematic part from --source-only-changes

 unsignfile 
/home/mathiasb/bin/tryton/debian_builder/results/sid/tryton-server_5.0.30-1_amd64.buildinfo
 unsignfile 
/home/mathiasb/bin/tryton/debian_builder/results/sid/tryton-server_5.0.30-1.dsc
 signfile dsc 
/home/mathiasb/bin/tryton/debian_builder/results/sid/tryton-server_5.0.30-1.dsc 
mathi...@m9s.biz

 fixup_buildinfo 
/home/mathiasb/bin/tryton/debian_builder/results/sid/tryton-server_5.0.30-1.dsc 
/home/mathiasb/bin/tryton/debian_builder/results/sid/tryton-server_5.0.30-1_amd64.buildinfo
 signfile buildinfo 
/home/mathiasb/bin/tryton/debian_builder/results/sid/tryton-server_5.0.30-1_amd64.buildinfo
 mathi...@m9s.biz

 fixup_changes dsc 
/home/mathiasb/bin/tryton/debian_builder/results/sid/tryton-server_5.0.30-1.dsc 
/home/mathiasb/bin/tryton/debian_builder/results/sid/tryton-server_5.0.30-1_source.changes
 fixup_changes buildinfo 
/home/mathiasb/bin/tryton/debian_builder/results/sid/tryton-server_5.0.30-1_amd64.buildinfo
 
/home/mathiasb/bin/tryton/debian_builder/results/sid/tryton-server_5.0.30-1_source.changes
 signfile changes 
/home/mathiasb/bin/tryton/debian_builder/results/sid/tryton-server_5.0.30-1_source.changes
 mathi...@m9s.biz

Successfully signed dsc, buildinfo, changes files
"""


Indeed running without --sourice-only-changes produced correct changes files.

The options used for the sbuild run are
['sbuild', '--quiet', '--chroot=sid-amd64-sbuild', '--keyid=mathi...@m9s.biz', 
'--source', '--mailfrom="Debian Autobuilder <sbu...@m9s.biz>"', 
'--mail-log-to=mathi...@m9s.biz', '--sbuild-mode=user', '--no-apt-update', 
'--no-apt-upgrade', '--no-apt-distupgrade', '--lintian-opts=-i -v -I -E 
--pedantic', '--bd-uninstallable-explainer=apt', '--source-only-changes', 
'/home/mathiasb/bin/tryton/debian_builder/build/tryton-server']

I am attaching for reference two changes files, one with --source-only-changes, 
one
without.



-- System Information:
Debian Release: bullseye/sid
  APT prefers testing
  APT policy: (800, 'testing'), (700, 'unstable'), (600, 'experimental'), (500, 
'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 5.9.0-4-amd64 (SMP w/4 CPU threads)
Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=de_DE.utf8, LC_CTYPE=de_DE.utf8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages sbuild depends on:
ii  adduser         3.118
ii  libsbuild-perl  0.80.1
ii  perl            5.32.0-5

Versions of packages sbuild recommends:
ii  autopkgtest  5.15
ii  debootstrap  1.0.123
ii  schroot      1.6.10-11+b1

Versions of packages sbuild suggests:
pn  deborphan  <none>
ii  e2fsprogs  1.45.6-1
ii  kmod       27+20200310-2
ii  wget       1.20.3-1+b3

-- no debconf information

-- 

    Mathias Behrle
    PGP/GnuPG key availabable from any keyserver, ID: 0xD6D09BE48405BBF6
    AC29 7E5C 46B9 D0B6 1C71  7681 D6D0 9BE4 8405 BBF6

Attachment: tryton-server_5.0.30-1_amd64.changes_source-only-changes
Description: Binary data

Attachment: tryton-server_5.0.30-1_amd64.changes
Description: Binary data

Reply via email to