#984576 bcron FTCBFS: multiple reasons

Package:
src:bcron
Source:
bcron
Submitter:
Helmut Grohne
Date:
2022-06-14 09:36:07 UTC
Severity:
normal
Tags:
#984576#5
Date:
2021-03-05 11:02:13 UTC
From:
To:
bcron cannot be cross built from source, because its python3 dependency
cannot be installed for the host architecture. It really wants to run
python3 though, so it should request it for the build architecture e.g.
by annotating the dependency :any. Beyond this, debian/rules forces the
build architecture compiler. A simple solution to get the right compiler
is asking dpkg's buildtools.mk for help. Please consider applying the
attached patch to make bcron cross buildable.

Helmut

#984576#10
Date:
2022-06-14 09:34:01 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
bcron, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 984576@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Georges Khaznadar <georgesk@debian.org> (supplier of updated bcron package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)
Format: 1.8
Date: Mon, 13 Jun 2022 19:34:54 +0200
Source: bcron
Architecture: source
Version: 0.11-10
Distribution: unstable
Urgency: low
Maintainer: Debian QA Group <packages@qa.debian.org>
Changed-By: Georges Khaznadar <georgesk@debian.org>
Closes: 983799 984576
Changes:
 bcron (0.11-10) unstable; urgency=low
 .
   [ Debian Janitor ]
   * QA Upload.
     Orphan package - see bug 983799.
 .
   [ Georges Khaznadar ]
   * adopted the package, in order to participate to the transition
     implying the new package cron-daemon-common, which provides common
     data files and directories for all packages which implement cron-daemon.
     Closes: #983799
   * added Conflicts/Replaces clauses for all other packages which can
     provide cron-daemon, and for the previous version of bcron. Added
     a Pre-Depends clause on cron-daemon-common, on ${misc:Pre-Depends},
     and init-system-helpers (>= 1.54~)
   * added a target override_dh_auto_clean into d/rules to erase generated
     files before a rebuild
   * bumped Standards-Version: 4.6.0, debhelper-compat (= 13)
   * applied Helmut Grohne's patch. Closes: #984576, see below
   * modified the recommendation on daemon, to become a dependency
   * modified scripts bcron-update in order to let the pre-dependency
     package cron-daemon-common rule the directory /var/spool/cron/crontabs,
     and let files /var/spool/cron/crontabs/* have the root owner and crontab
     group
   * created the file d/bcron.prerm to move files
     /var/spool/cron/crontabs/:etc:* to /var/tmp when the package is removed.
 .
   [Helmut Grohne]
   * Fix FTCBFS:
     + Annotate python3 dependency with :any.
     + Let dpkg's buildtools.mk supply a CC.
Checksums-Sha1:
 095193eb398bf0abfd073c9dcc2087ca138b0df0 1981 bcron_0.11-10.dsc
 332ad833770766e2ded5fd193814756f40f0a28b 17816 bcron_0.11-10.debian.tar.xz
 23248c856e155bec1c5d7547213864ae854d6637 7210 bcron_0.11-10_source.buildinfo
Checksums-Sha256:
 2e2ba39b7bc55fa51790b408185c61736bb6f8a8a074c0adcd4a2cfd46d70b30 1981 bcron_0.11-10.dsc
 9fc426883679bba5d7eaf02d84640e2d5a53a17ea26bef25166c9595c9f75e26 17816 bcron_0.11-10.debian.tar.xz
 3da55a5c63b63a3a627b0d923b3ff1ec65e1b202f31a1280ee1456bf4fb475c2 7210 bcron_0.11-10_source.buildinfo
Files:
 3f6c28a77857eabadbd590a67c9ac756 1981 admin optional bcron_0.11-10.dsc
 5b1323698799676f1d29cd99a958efdf 17816 admin optional bcron_0.11-10.debian.tar.xz
 97c1088b8b78fa068791b51a00f26cd7 7210 admin optional bcron_0.11-10_source.buildinfo
-----BEGIN PGP SIGNATURE-----

iQJIBAEBCAAyFiEEM0CzZP9nFT+3zK6FHCgWkHE2rjkFAmKoToEUHGdlb3JnZXNr
QGRlYmlhbi5vcmcACgkQHCgWkHE2rjmUSw//bmNfO7s6DVIPSLDH3/X7VN+A6caq
O14ZQQW4tmfIFT5CJp4MPXEN46tbbmw1Q3sAwr0xUu0OOZCehaXAyFnE6jyujT1T
RImDVYUIVHRgHxOGl3itjU3JReaNLo4e0qef2uOfbBKj9e0/Jp8AI51xqI3FHGHo
Lh0Tgyc2kcBJqqAfmtIqurM8fDgwu1xY85XdCpfPiYIH0vXy62LBUijhZ8iaGptr
ntB2aAREfA7cNpmw2UmO1Z+fphm5afjSWiB3mpMHHEnEGkYpZn8z8G3Pu/ojsQtb
TfY1ujuSl9dSkixLN7ujlb8m7Fhz5IX2HOyCDrXx6sKceyUEsasvX9cZqt5/+Cbw
UnDL/aFuQ/O/WJDGgA+mdcqt7OtHTEV9PufqoqDDoWXx66ixZyzfjHpFRA5XMdEM
+FsrclZyClzANB6EFczKPojaRkiQH2M6jlw7xlGVmkDQUc8hwZwlWRkOxPCsGpgG
hMA1+GhNfdY5b8iUzBIEDQEvGTzeOXOaBnCJcGIsJQceFCHMzIKlbP6IQwD94U81
tOWBZGNT7Jo5ofyE8JHv47P/Tiwz6801hzl9xAniuh96bhAS/+jFHNhwGpK98wJ0
61yx1YWDz18vfII4uGTG79zMLWAChk+og/BJHHIuDhai5dQX9LEL5xgsiFU5sJYn
tfyy1WouBqj6Vpk=
=ipg9
-----END PGP SIGNATURE-----