Hi,I plan to clean the apt cache by default for forky and implement that already in the trixie sbuild. This would make a number of R packages (via dh-r) and autodep8 FTBFS. For autodep8 there is an open MR linked already and for dh-r a fix has been committed in git:
https://salsa.debian.org/r-pkg-team/dh-r/-/commit/144893ae70c2be8ce403b048b095aabaf6865fd8Please speak up if there is any problem with this plan. You can test the new behaviour with:
sbuild --starting-build-commands='apt-get distclean' -d unstable <pkg>Note that you may still want to apply more fixes as outlined in my mail below.
Cheers Jochen * Jochen Sprickerhof <jspricke@debian.org> [2025-03-02 08:36]:
Hi Andreas, * Andreas Tille <tille@debian.org> [2025-03-01 22:39]:if you can provide a patch / MR I'm fine to apply it but currently I have no more free spoons to work on this.The real question here is how to solve #1089197, i.e. how to encode the package relationships without depending on the apt cache (grep-aptavail or rmadison or anything else that is network related). I have no experience with R packages so I would need some input here. Possible ways I see are:1. Don't add relations automatically and let the maintainer do it. 2. Always add all package names from the DISCRIPTION file to Suggest:From my understanding this would need some mapping from the R package name to the Debian package name and maybe a rename of the Debian packages to simplify the mapping.3. Add the list of R package in Debian to dh-r and use it to convert the package name. Note that this needs to be updated whenever a R packages is added or removed in Debian. (This is what dh-python has, afair).Cheers Jochen
Attachment:
signature.asc
Description: PGP signature